]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix typo in assertion
[thirdparty/glibc.git] / ChangeLog
CommitLineData
01eb16fd
AS
12014-05-13 Andreas Schwab <schwab@suse.de>
2
3 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4
637461d9
JM
52014-05-12 Joseph Myers <joseph@codesourcery.com>
6
7 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8 (__ASSUME_UTIMES): Do not condition on kernel version.
9 (__ASSUME_PSELECT): Define unconditionally.
10 (__ASSUME_PPOLL): Likewise.
11 (__ASSUME_ATFCTS): Likewise.
12 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
15 (__ASSUME_UTIMENSAT): Define unconditionally.
16 (__ASSUME_PRIVATE_FUTEX): Likewise.
17 (__ASSUME_FALLOCATE): Likewise.
18 (__ASSUME_O_CLOEXEC): Likewise.
19 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
21 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
22 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
23 (__ASSUME_IN_NONBLOCK): Likewise.
24 (__ASSUME_PIPE2): Likewise.
25 (__ASSUME_EVENTFD2): Likewise.
26 (__ASSUME_SIGNALFD4): Likewise.
27 (__ASSUME_DUP3): Likewise.
28 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
30 (__ASSUME_AT_RANDOM): Likewise.
31 (__ASSUME_PREADV): Likewise.
32 (__ASSUME_PWRITEV): Likewise.
33 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
34 (__ASSUME_F_GETOWN_EX): Define unconditionally.
35 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
36 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
38 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39 (__ASSUME_O_CLOEXEC): Define unconditionally.
40 (__ASSUME_PSELECT): Do not undefine conditionally.
41 (__ASSUME_PPOLL): Likewise.
42 (__ASSUME_ATFCTS): Likewise.
43 (__ASSUME_SET_ROBUST_LIST): Likewise.
44 (__ASSUME_UTIMENSAT): Likewise.
45 (__ASSUME_FDATASYNC): Define unconditionally.
46 * sysdeps/unix/sysv/linux/arm/kernel-features.h
47 (__ASSUME_SIGFRAME_V2): Likewise.
48 )__ASSUME_EVENTFD2): Likewise.
49 (__ASSUME_SIGNALFD4): Likewise.
50 (__ASSUME_PSELECT): Do not undefine conditionally.
51 (__ASSUME_PPOLL): Likewise.
52 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53 (__ASSUME_PSELECT): Define unconditionally.
54 (__ASSUME_PPOLL): Likewise.
55 (__ASSUME_O_CLOEXEC): Likewise.
56 (__ASSUME_SOCK_CLOEXEC): Likewise.
57 (__ASSUME_IN_NONBLOCK): Likewise.
58 (__ASSUME_PIPE2): Likewise.
59 (__ASSUME_EVENTFD2): Likewise.
60 (__ASSUME_SIGNALFD4): Likewise.
61 (__ASSUME_DUP3): Likewise.
62 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
63 (__ASSUME_O_CLOEXEC): Likewise.
64 (__ASSUME_SOCK_CLOEXEC): Likewise.
65 (__ASSUME_IN_NONBLOCK): Likewise.
66 (__ASSUME_PIPE2): Likewise.
67 (__ASSUME_EVENTFD2): Likewise.
68 (__ASSUME_SIGNALFD4): Likewise.
69 (__ASSUME_DUP3): Likewise.
70 * sysdeps/unix/sysv/linux/mips/kernel-features.h
71 (__ASSUME_EVENTFD2): Likewise.
72 (__ASSUME_SIGNALFD4): Likewise.
73 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
74
315eb1d8
AS
752014-05-12 Andreas Schwab <schwab@suse.de>
76
77 [BZ #16932]
78 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
79 (_nss_nis_gethostbyname4_r): Return error if item length is larger
80 than maximum RPC packet size.
81 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
82 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
83 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
84 (_nss_nis_getservbyport_r): Likewise.
85
91df99f7
WN
862014-05-12 Will Newton <will.newton@linaro.org>
87
88 * malloc/Makefile (tests): Add tst-mallopt.
89 * malloc/tst-mallopt.c: New file.
90
0a982a29
RM
912014-05-09 Roland McGrath <roland@hack.frob.com>
92
93 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
94 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
95
0ded08a5
AZ
962014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
97
98 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
99 (tst-tlsmod6.so): Likewise.
100
55d4d550
RM
1012014-05-09 Roland McGrath <roland@hack.frob.com>
102
103 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
104
77d08aca
JM
1052014-05-09 Joseph Myers <joseph@codesourcery.com>
106
107 [BZ #16064]
108 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
109 and <dl-procinfo.h>.
110 (__fegetenv): Save SSE state in envp->__eip if supported.
111 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
112 envp->__eip if supported.
113 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
114 and <dl-procinfo.h>.
115 (__fesetenv): Always set __eip, __cs_selector, __opcode,
116 __data_offset and __data_selector in environment to 0. Set SSE
117 state if supported.
118 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
119 test-fenv-sse.
120 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
121 -mfpmath=sse.
122 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
123
28162f4d
WN
1242014-05-09 Will Newton <will.newton@linaro.org>
125
126 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
127 and libc_relro_required for ARM.
128 * sysdeps/arm/preconfigure: Regenerate.
129
5a414ff7
DV
1302014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
131 Stefan Liebler <stli@linux.vnet.ibm.com>
132
133 * config.make.in (enable-lock-elision): New Makefile variable.
134 * configure.ac: Likewise.
135 * configure: Regenerate.
136 * sysdeps/s390/configure.ac:
137 Add check for gcc transactions support.
138 * sysdeps/s390/configure: Regenerate.
139 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
140 Build elision files if enabled.
141 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
142 Add lock elision support for s390.
143 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
144 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
145 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
146 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
147 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
148 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
149 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
150 Likewise.
151 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
152 Likewise.
153 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
154 Likewise.
155 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
156 Likewise.
157 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
158 (__lll_timedlock_elision, __lll_lock_elision)
159 (__lll_unlock_elision, __lll_trylock_elision)
160 (lll_timedlock_elision, lll_lock_elision)
161 (lll_unlock_elision, lll_trylock_elision): Add.
162 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
163 (pthread_mutex_t): Add lock elision support for s390.
164
f63c86fe
WN
1652014-05-09 Will Newton <will.newton@linaro.org>
166
167 * sysdeps/arm/armv7/strcmp.S: New file.
168 * NEWS: Mention addition of ARMv7 optimized strcmp.
169
7a1a51b5
RM
1702014-05-08 Roland McGrath <roland@hack.frob.com>
171
95afbbe5
RM
172 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
173 look for %.ac rather than %.in.
174
175 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
176 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
177 * sysdeps/mach/hurd/configure: Regenerated.
178 * sysdeps/unix/sysv/linux/configure: Regenerated.
179
7a1a51b5
RM
180 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
181
5057ad3b
SE
1822014-05-07 Steve Ellcey <sellcey@mips.com>
183
184 [BZ# 16922]
185 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
186 (LONG_SUB): Ditto.
187 (PTR_SUB): Ditto.
188
8dc97517
AS
1892014-05-07 Andreas Schwab <schwab@suse.de>
190
191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
192 when skipping over non-matching result from nscd.
193
ce0c5b8f
OB
1942014-05-07 Ondřej Bílka <neleai@seznam.cz>
195
196 [BZ #16876]
197 * nptl/sockperf.c (client): Check socket return value.
8dc97517 198
a1189263
OB
199 [BZ #16877]
200 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
201 nscd security class.
ce0c5b8f 202
0f58d252
RM
2032014-05-06 Roland McGrath <roland@hack.frob.com>
204
205 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
206 * sysdeps/arm/unwind.h: ... here.
207
83df9ad0
AJ
2082014-05-06 Aurelien Jarno <aurelien@aurel32.net>
209
ce0c5b8f
OB
210 [BZ# 16916]
211 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
212 Define.
83df9ad0 213
f360f94a
VR
2142014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
215
216 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
217 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
218 multiarch strncpy for PPC64.
219 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
220 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
222 multiarch optimizations.
223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
224 (__libc_ifunc_impl_list): Likewise.
225 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
226 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
227 multiarch stpncpy for PPC64.
228 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
229 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
230
978a41c3
AS
2312014-05-06 Andreas Schwab <schwab@suse.de>
232
233 [BZ #16912]
234 * gmon/mcount.c (_MCOUNT_DECL): Use
235 atomic_compare_and_exchange_bool_acq instead of
236 catomic_compare_and_exchange_bool_acq.
237
eb1ed03d
RM
2382014-05-05 Roland McGrath <roland@hack.frob.com>
239
fe658845
RM
240 * elf/Makefile (others, install-bin): Remove pldd.
241 (pldd-modules): Variable removed.
242 ($(objpfx)pldd): Target removed.
243 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
244 (others, install-bin): Append pldd here.
245 ($(objpfx)pldd): New target.
246
eb1ed03d
RM
247 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
248 to 0, so the first #if test emitted later doesn't see it undefined.
249 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
250 * sysdeps/gnu/errlist.c: Regenerated.
251
19c4bec0
AZ
2522014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
253
254 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
255 [libc_hidden_builtin_def]: Define to empty value.
256 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
257 [libc_hidden_builtin_def]: Likewise.
258 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
259 [libc_hidden_builtin_def]: Likewise.
260 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
261 [libc_hidden_builtin_def]: Likewise.
262 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
263 __redirect_memcpy and define ifunc as default hidden symbol.
264 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
265 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
266
7776e669
AC
2672014-05-04 Adam Conrad <adconrad@0c3.net>
268
269 * locale/iso-4217.def: Reintroduce XDR currency.
270
d69aeb12
AM
2712014-05-04 Allan McRae <allan@archlinux.org>
272
273 * po/eo.po: Update Esperanto translation from translation project.
274
8f1df5cf
CD
2752014-05-02 Carlos O'Donell <carlos@redhat.com>
276
277 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
278 and FEATURE_INDEX_MAX to 1.
279 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
280
13e402e7
SE
2812014-05-01 Steve Ellcey <sellcey@mips.com>
282
283 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
284 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
285 * iconvdata/big5.c (ONE_DIRECTION): Define.
286 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
287 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
288 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
289 * iconvdata/cp932.c (ONE_DIRECTION): Define.
290 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
291 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
292 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
293 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
294 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
295 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
296 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
297 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
298 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
299 * iconvdata/gbk.c (ONE_DIRECTION): Define.
300 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
301 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
302 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
303 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
304 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
305 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
306 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
307 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
308 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
309 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
310 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
311 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
312 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
313 * iconvdata/iso646.c (ONE_DIRECTION): Define.
314 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
315 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
316 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
317 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
318 * iconvdata/johab.c (ONE_DIRECTION): Define.
319 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
320 * iconvdata/sjis.c (ONE_DIRECTION): Define.
321 * iconvdata/t.61.c (ONE_DIRECTION): Define.
322 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
323 * iconvdata/tscii.c (ONE_DIRECTION): Define.
324 * iconvdata/uhc.c (ONE_DIRECTION): Define.
325 * iconvdata/unicode.c (ONE_DIRECTION): Define.
326 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
327 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
328 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
329
c727f032
RM
3302014-05-01 Roland McGrath <roland@hack.frob.com>
331
8f2f08d0
RM
332 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
333 (_IO_JUMPS_OFFSET): Define to 0.
334
c727f032
RM
335 * nptl/sysdeps/pthread/bits/libc-lock.h
336 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
337 (__libc_lock_define_initialized_recursive): Always define using
338 initializer. Modern compilers treat uninitialized (implicit zero) and
339 explicit zero initializers the same (i.e. put the datum in bss).
340
a849e800
AS
3412014-05-01 Andreas Schwab <schwab@linux-m68k.org>
342
343 * nscd/nscd-client.h: Include <string.h>.
344
5331255b
DM
3452014-05-01 David S. Miller <davem@davemloft.net>
346
347 [BZ #16885]
348 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
349 multiple zero bytes exist at the end of a string.
350 Reported by Aurelien Jarno <aurelien@aurel32.net>
351
352 * string/test-strcmp.c (check): Add explicit test for situations where
353 there are multiple zero bytes after the first.
354
4fdfe821
AS
3552014-05-01 Andreas Schwab <schwab@linux-m68k.org>
356
357 [BZ #16890]
358 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
359 when compiling wprintf.
360 * stdio-common/tstdiomisc.c (t3): New function.
361 (main): Call it.
362
0cdddc25
SE
3632014-05-01 Steve Ellcey <sellcey@mips.com>
364
365 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
366 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
367 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
368 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
369
6426d77e
SE
3702014-05-01 Steve Ellcey <sellcey@mips.com>
371
372 * stdlib/longlong.h: Updated from GCC.
373
6d96f5e4
WN
3742014-05-01 Will Newton <will.newton@linaro.org>
375 Bernard Ogden <bernie.ogden@linaro.org>
376
7470db0c
WN
377 * NEWS: Update fixed bug list.
378
6d96f5e4
WN
379 [BZ #15119]
380 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
381
211d653c
DM
3822014-04-30 David S. Miller <davem@davemloft.net>
383
4fa262fa
DM
384 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
385 (libc_feholdexcept_setround_sparc_ctx): New function.
386 (libc_fesetenv_sparc_ctx): Likewise.
387 (libc_feupdateenv_sparc_ctx): Likewise.
388 (libc_feholdsetround_sparc_ctx): Likewise.
389 (libc_feholdexcept_setround_ctx): Define.
390 (libc_feholdexcept_setroundf_ctx): Likewise.
391 (libc_feholdexcept_setroundl_ctx): Likewise.
392 (libc_fesetenv_ctx): Likewise.
393 (libc_fesetenvf_ctx): Likewise.
394 (libc_fesetenvl_ctx): Likewise.
395 (libc_feupdateenv_ctx): Likewise.
396 (libc_feupdateenvf_ctx): Likewise.
397 (libc_feupdateenvl_ctx): Likewise.
398 (libc_feresetround_ctx): Likewise.
399 (libc_feresetroundf_ctx): Likewise.
400 (libc_feresetroundl_ctx): Likewise.
401 (libc_feholdsetround_ctx): Likewise.
402 (libc_feholdsetroundf_ctx): Likewise.
403 (libc_feholdsetroundl_ctx): Likewise.
404
1d3d93ef
DM
405 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
406 with __USE_GNU instead of XOPEN cpp guards.
407
8aa583c3
DM
408 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
409 0.
410
211d653c
DM
411 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
412 with XOPEN cpp guards.
413
60c8f1f6
JB
4142014-04-30 Julian Brown <julian@codesourcery.com>
415
416 [BZ #16888]
417 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
418 handling.
419
9a461d46
JM
4202014-04-30 Joseph Myers <joseph@codesourcery.com>
421
d0f5b3f8
JM
422 [BZ #9894]
423 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
424 Change to 2.6.32.
425 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
426 * sysdeps/unix/sysv/linux/configure: Regenerated.
427 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
428 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
429 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
430 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
431 * README: Update reference to required Linux kernel version.
432 * manual/install.texi (Linux): Update reference to required Linux
433 kernel headers version.
434 * INSTALL: Regenerated.
435
9a461d46
JM
436 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
437 header inclusion.
438 [POSIX] (limits.h): Likewise.
439 [POSIX] (math.h): Likewise.
440 [POSIX] (sys/wait.h): Likewise.
441 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
442 function.
443 [POSIX] (stddef.h): Do not allow header inclusion.
444
1775babf
AZ
4452014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
446
57f41c40 447 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 448
8f630cca
YY
4492014-04-30 Yang Yingliang <yangyingliang@huawei.com>
450
451 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
452 Return immediately after lll_futex_wake.
453
1cdeb237
SP
4542014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
455
bc8f194c
SP
456 [BZ #16791]
457 * nscd/nscd-client.h (datahead_init_common): Initialize entire
458 structure.
459 (datahead_init_pos): Call datahead_init_common early.
460 (datahead_init_neg): Likewise.
461
1cdeb237
SP
462 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
463 datahead_init_neg): New functions.
464 * nscd/aicache.c (addhstaiX): Use them.
465 * nscd/grpcache.c (cache_addgr): Likewise.
466 * nscd/hstcache.c (cache_addhst): Likewise.
467 * nscd/initgrcache.c (addinitgroupsX): Likewise.
468 * nscd/netgroupcache.c (do_notfound): Likewise.
469 (addgetnetgrentX): Likewise.
470 (addinnetgrX): Likewise.
471 * nscd/pwdcache.c (cache_addpw): Likewise.
472 * nscd/servicescache.c (cache_addserv): Likewise.
473
16b293a7
SP
4742014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
475 Atsushi Onoe <atsushi@onoe.org>
476
477 [BZ #14308]
478 [BZ #12994]
479 [BZ #13651]
480 * resolv/res_query.c (__libc_res_nsearch): Return if at least
481 one response is valid.
482 * resolv/res_send.c (send_dg): Check for validity of other
483 response if the current response is a referral.
484
a28a9b94
SE
4852014-04-29 Steve Ellcey <sellcey@mips.com>
486
487 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
488
2ca180e9
SL
4892014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
490
491 [BZ #16823]
492 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
493 Always divide by positive zero when computing -Inf result.
494 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
495 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
496
18f2945a
AZ
4972014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
498
499 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
500 FPSCR if value do not change.
501 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
502 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
503 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
504 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
505 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
506 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
507 function.
508
5abebba4
CD
5092014-05-29 Carlos O'Donell <carlos@systemhalted.org>
510
511 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
512 * sysdeps/unix/sysv/linux/hppa: Move directory from
513 ports/systeps/unix/sysv/linux/hppa.
514 * README: Update listing for hppa-*-linux-gnu.
515
f7ed60c2
OB
5162014-04-28 Ondřej Bílka <neleai@seznam.cz>
517
fff763a5
OB
518 [BZ #16754]
519 * manual/stdio.texi (Hook functions): Fix types of stream hook
520 functions.
f7ed60c2
OB
521 [BZ #16854]
522 * socket/sys/socket.h: Fix typo in comment.
523
df639d73
WD
5242014-04-28 Wilco <wdijkstr@arm.com>
525
f7ed60c2 526 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
527 * sysdeps/arm/math_private.h: New file.
528 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
529
48332d82
L
5302014-04-25 H.J. Lu <hongjiu.lu@intel.com>
531
532 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
533 with __int128_t.
534 (La_x86_64_retval): Likewise.
535
e5e0d9a4
IB
5362014-04-24 Ian Bolton <ian.bolton@arm.com>
537
538 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
539 fpsr if value didn't change.
540 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
541 to fpcr if value didn't change.
542 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
543 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
544 fpsr or fpcr if value didn't change.
545 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
546 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
547 fpcr if value didn't change.
548 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
549 to fpsr if value didn't change.
550
bacc75f7
SP
5512014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
552
553 * nptl/tst-sem3.c: Use test-skeleton.c
554 (main): Rename to do_test. Use return instead of
555 exit.
556 * nptl/tst-sem4.c: Use test-skeleton.c
557 (main): Rename to do_test.
558
a059d359
DM
5592014-04-22 David S. Miller <davem@davemloft.net>
560
561 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
562 (struct sigaction): New struct member __glibc_reserved0, change
563 type of sa_flags to int.
564
ea6c92f3
YZ
5652014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
566
567 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
568 (COUNT_LEADING_ZEROS_0): Define for AArch64.
569
766c4a36
SP
5702014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
571
572 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
573 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
574
140cc7ab
VK
5752014-04-22 Will Newton <will.newton@linaro.org>
576 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
577
578 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
579 (__longjmp): Add longjmp and longjmp_target SystemTap
580 probes.
581 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
582 (__sigsetjmp): Add setjmp SystemTap probe.
583
c54e5cf7
CD
5842014-04-17 Carlos O'Donell <carlos@redhat.com>
585
586 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
587 match manual order.
588
75ffb047
AZ
5892014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
590
591 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
592
2cd925f7
AZ
593 * sysdeps/powerpc/fpu/fenv_private.h
594 (libc_feholdexcept_setroundl_ctx): Define to
595 libc_feholdexcept_setround_ppc_ctx.
596 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
597 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
598 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
599 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
600
39e6cd8d
IB
6012014-04-17 Ian Bolton <ian.bolton@arm.com>
602
603 * sysdeps/aarch64/math-tests.h: New file.
604
f9281df9
SY
6052014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
606
607 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
608 New.
609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
610 Check and set bit_AVX2_Usable.
611 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
612 macro.
613 (bit_AVX2): Likewise.
614 (index_AVX2_Usable): Likewise.
615 (CPUID_AVX2): Likewise.
616 (HAS_AVX2): Likewise.
617
37d35007
WN
6182014-04-17 Will Newton <will.newton@linaro.org>
619
7c677662
WN
620 * manual/setjmp.texi (System V contexts): Add note that
621 calling setcontext on a context created by a call to a
622 signal handler is undefined. Update text to note that
623 setcontext from a signal handler is possible but not
624 recommended.
625
37d35007 626 [BZ #16629]
e04a4e9d
WN
627 * stdlib/tst-setcontext.c: Include signal.h.
628 (main): Check that the signal stack before and
629 after swapcontext is the same.
630
37d35007
WN
631 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
632 Re-implement to restore registers in user code and avoid
633 rt_sigreturn system call.
634
423a7160
W
6352014-04-17 Wilco <wdijkstr@arm.com>
636
637 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
638 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
639 * math/test-fenv.c: Skip exception trap tests on targets which only
640 support non-stop mode.
641
bc93ab29
IB
6422014-04-17 Ian Bolton <ian.bolton@arm.com>
643 Wilco Dijkstra <wilco.dijkstra@arm.com>
644
645 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
646 (libc_feholdsetround_aarch64_ctx)
647 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
648 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
649 (libc_feresetround_ctx, libc_feresetroundf_ctx)
650 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
651 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
652 (libc_feresetround_noexl_ctx): Define.
653
95fc5fa3
RH
6542014-04-16 Richard Henderson <rth@redhat.com>
655
ddb04724
RH
656 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
657
d77c0899
RH
658 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
659 unwind tables.
660
a3df56fc
RH
661 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
662 const from the non-libc, non-ldso copy.
663
95fc5fa3
RH
664 * sysdeps/alpha/libm-test-ulps: Regenerate.
665
7e0b6763
IB
6662014-04-16 Ian Bolton <ian.bolton@arm.com>
667 Wilco Dijkstra <wilco.dijkstra@arm.com>
668
669 * sysdeps/aarch64/fpu/math_private.h: New file.
670
a9ea2e0c
MS
6712014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
672
673 * sysdeps/aarch64/libm-test-ulps: Regenerate.
674
ea8ba7cd
IZ
6752014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
676
677 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
678 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
679 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
680 Intel MPX bound registers before _dl_profile_fixup.
681 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
682 registers after _dl_profile_fixup. Save and restore bound
683 registers bnd0/bnd1 when calling _dl_call_pltexit.
684 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
685 (LR_BND_OFFSET): Likewise.
686 (LRV_BND0_OFFSET): Likewise.
687 (LRV_BND1_OFFSET): Likewise.
688
9f2a4fbc
ST
6892014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
690
691 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
692 to...
693 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
694 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
695 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
696 fields.
9f2a4fbc 697
fd15a59b
ST
6982014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
699
700 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
701
f19dfa0a
SL
7022014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
703
704 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
705
4fa8bc3b
SL
7062014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
707
708 [BZ #14770]
709 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
710 * sysdeps/s390/configure: Regenerate.
711
8ea587db
SL
712 [BZ #16824]
713 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
714 Set round-to-nearest internally to reduce error accumulation.
715
aa5f0ff1
AM
7162014-04-16 Alan Modra <amodra@gmail.com>
717
718 [BZ #16740]
719 [BZ #16619]
720 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
721 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 722 * NEWS: Update fixed bug list.
aa5f0ff1 723
bb9c256f
SP
7242014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
725
726 * benchtests/Makefile: Depend on libraries in build directory.
727 (bench-math): Separate out math tests.
728 (bench-pthread): Separate out pthread tests.
729 (bench): Include math and pthread tests.
730
f737dfd0
CD
7312014-04-14 Carlos O'Donell <carlos@redhat.com>
732
733 [BZ #16831]
734 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
735 _dl_debug_initialize.
736
0699f766
CD
737 * configure.ac: Remove SELinux header check.
738 * configure: Regenerate.
739 * nscd/selinux.c (perms): Array of const char* to permission names.
740 (nscd_request_avc_has_perm): Call security_deny_unknown to find
741 default policy. Call string_to_security_class and string_to_av_perm to
742 translate strings. Enforce default policy and call avs_has_perm with
743 results of translated strings.
744
809bd45f
DM
7452014-04-13 David S. Miller <davem@davemloft.net>
746
747 * sysdeps/sparc/fpu/libm-test-ulps: Update.
748
89e691f2
AM
7492014-04-12 Allan McRae <allan@archlinux.org>
750
751 [BZ #16838]
752 * manual/string.texi (Collation Functions): Fix qsort argument
753 order in example.
754 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
755
9c9daaeb
CM
7562014-04-11 Chris Metcalf <cmetcalf@tilera.com>
757
758 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
759 Make the test a no-op if there are no exceptions defined.
760
95561fb9
PP
7612014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
762
fe8d072c 763 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
764 enable-hardcoded-path-in-tests
765
970c602a
WN
7662014-04-11 Will Newton <will.newton@linaro.org>
767
768 * benchtests/Makefile (extra-objs): Add json-lib.o.
769 (bench-func): Tidy up JSON output.
770 * benchtests/bench-skeleton.c: Include json-lib.h.
771 (main): Use JSON library functions to do output of
772 benchmark results.
773 * benchtests/bench-timing-type.c (main): Output the
774 timing type simply, leaving formatting to the user.
775 * benchtests/json-lib.c: New file.
776 * benchtests/json-lib.h: Likewise.
777
36875b06
TR
7782014-04-11 Torvald Riegel <triegel@redhat.com>
779
780 [BZ #15215]
781 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
782 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
783 memory barriers. Add comments.
784 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
785 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
786 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
787 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
788 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
789 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
790
579db35a
SL
7912014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
792
793 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
794 * sysdeps/s390/s390-64/configure.ac: ... this ...
795 * sysdeps/s390/configure.ac: ... to here.
796 * sysdeps/s390/s390-32/configure: Delete file.
797 * sysdeps/s390/s390-64/configure: Delete file.
798 * sysdeps/s390/configure: Regenerate.
799
c12e9f37
JAPH
8002014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
801
802 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
803
439bda32
WN
8042014-04-11 Will Newton <will.newton@linaro.org>
805
806 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
807 to zero if it is not defined elsewhere. (mtrim): Test
808 the value of MALLOC_DEBUG with #if rather than #ifdef.
809
6a5d6ea1
TR
8102014-04-10 Torvald Riegel <triegel@redhat.com>
811
812 * benchtests/pthread_once-inputs: New file.
813 * benchtests/pthread_once-source.c: New file.
814 * benchtests/README: Update documentation.
815
a4c75cfd
IZ
8162014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
817 H.J. Lu <hongjiu.lu@intel.com>
818
819 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
820 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
821 * sysdeps/x86_64/configure: Regenerated.
822 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
823 macro.
824 (REGISTER_SAVE_RAX): Likewise.
825 (REGISTER_SAVE_RCX): Likewise.
826 (REGISTER_SAVE_RDX): Likewise.
827 (REGISTER_SAVE_RSI): Likewise.
828 (REGISTER_SAVE_RDI): Likewise.
829 (REGISTER_SAVE_R8): Likewise.
830 (REGISTER_SAVE_R9): Likewise.
831 (REGISTER_SAVE_BND0): Likewise.
832 (REGISTER_SAVE_BND1): Likewise.
833 (REGISTER_SAVE_BND2): Likewise.
834 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
835 bound registers when calling _dl_fixup.
836
27822ce6
AZ
8372014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
838
839 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
840 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
841 of its definition.
27822ce6
AZ
842 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
843 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
844 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
845 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
846 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
847 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
848 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
849
a88ddc90
PTB
8502014-04-09 Peter Brett <peter@peter-b.co.uk>
851
852 [BZ #15514]
853 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
854 pathconf(_PC_NAME_MAX).
855
01f8eac2
AZ
8562014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
857
858 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
859 Remove macro usage.
860 (__PTHREAD_SPINS): Move definition to ...
861 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
862 (__PTHREAD_SPINS): ... here.
863 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
864 (__PTHREAD_SPIN): Likewise.
865 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
866 (__PTHREAD_SPIN): Likewise.
867 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
868 (__PTHREAD_SPIN): Likewise.
869 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
870 (__PTHREAD_SPIN): Likewise.
871 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
872 (__PTHREAD_SPIN): Likewise.
873 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
874 (__PTHREAD_SPIN): Likewise.
875 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
876 (__PTHREAD_SPIN): Likewise.
877 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
878 (__PTHREAD_SPIN): Likewise.
879 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
880 (__PTHREAD_SPIN): Likewise.
881 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
882 (__PTHREAD_SPIN): Likewise.
883 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
884 (__PTHREAD_SPIN): Likewise.
885 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
886 (__PTHREAD_SPIN): Likewise.
887
de21c33c
AZ
888 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
889 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
890 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
891 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
892 imply folder.
893 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
894 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
895 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
896 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
897 correct imply path.
898 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
899 strlen symbol for non multi-arch builds.
900 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
901 missing hidden_def and weak_alias.
902
862c472e
CD
9032014-04-08 Carlos O'Donell <carlos@redhat.com>
904
905 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
906
8667f90e
WN
9072014-04-07 Will Newton <will.newton@linaro.org>
908
909 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
910 and contents. [!_LIBC] Remove #ifndef and contents.
911 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
912 * string/memccpy.c (__memccpy): Use ANSI prototype.
913 * string/memfrob.c (memfrob): Likewise.
914 * string/strcoll.c (STRCOLL): Likewise.
915 * string/strlen.c (strlen): Likewise.
916 * string/strtok.c (STRTOK): Likewise.
917 * string/strcat.c: Remove unused #include of memcopy.h.
918 (strcat): Use ANSI prototype.
919 * string/strchr.c: Remove unused #include of memcopy.h.
920 (strchr): Use ANSI prototype.
921 * string/strcmp.c: Remove unused #include of memcopy.h.
922 (strcmp): Use ANSI prototype.
923 * string/strcpy.c: Remove unused #include of memcopy.h.
924 (strcpy): Use ANSI prototype.
925
7ffa9423
AZ
9262014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
927
928 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
929 * config.make.in (config-extra-cppflags): Set it from
930 libc_extra_cppflags.
931 * configure.ac (libc_extra_cflags): Make it accumulate over
932 configure fragments.
933 (libc_extra_cppflags): New flag.
934 * configure. Regenerate.
935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
936 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
937 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
939
8bd70862
AZ
940 [BZ #16815]
941 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
942 result for FE_DOWNWARD rounding mode.
943 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
944 Likewise.
945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
946
d42f3448
CM
9472014-04-04 Chris Metcalf <cmetcalf@tilera.com>
948
949 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
950 in function argument name.
951
1c21d115
DS
9522014-04-03 David Svoboda <svoboda@cert.org>
953
954 [BZ #5666]
955 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
956 explicitly.
957
fcccd512
RM
9582014-04-03 Roland McGrath <roland@hack.frob.com>
959
960 * elf/dl-unmap-segments.h: New file.
961 * sysdeps/generic/ldsodefs.h
962 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
963 * elf/dl-close.c: Include <dl-unmap-segments.h>.
964 * elf/dl-fptr.c: Likewise.
965 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
966 * sysdeps/aarch64/tlsdesc.c: Likewise.
967 * sysdeps/arm/tlsdesc.c: Likewise.
968 * sysdeps/i386/tlsdesc.c: Likewise.
969 * sysdeps/tile/dl-runtime.c: Likewise.
970 * sysdeps/x86_64/tlsdesc.c: Likewise.
971 * elf/dl-load.h: New file.
972 * elf/dl-load.c: Include it.
973 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
974 Macros moved to dl-load.h.
975 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
976 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
977 Use _dl_unmap_segments in place of __munmap.
978 Break out segment-mapping loop into ...
979 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
980
f6488e2b
WN
9812014-04-03 Will Newton <will.newton@linaro.org>
982
983 * elf/dl-lookup.c (do_lookup_x): Remove comment
984 referring to nested function and move variable
985 declarations down to before first use.
986
6f05bafe
JM
9872014-04-02 Joseph Myers <joseph@codesourcery.com>
988
a84e78c8
JM
989 [BZ #16799]
990 [BZ #16800]
991 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
992 with 0 numerator.
993 * math/s_catanf.c (__catanf): Likewise.
994 * math/s_catanh.c (__catanh): Likewise.
995 * math/s_catanhf.c (__catanhf): Likewise.
996 * math/s_catanhl.c (__catanhl): Likewise.
997 * math/s_catanl.c (__catanl): Likewise.
998 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
999 by positive zero when computing -Inf result.
1000 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1001 (catanh_test): Likewise.
1002 * sysdeps/i386/fpu/libm-test-ulps: Update.
1003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1004
6f05bafe
JM
1005 [BZ #16789]
1006 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1007 instead of using underflowing value in computing result.
1008 * math/s_clog10.c (__clog10): Likewise.
1009 * math/s_clog10f.c (__clog10f): Likewise.
1010 * math/s_clog10l.c (__clog10l): Likewise.
1011 * math/s_clogf.c (__clogf): Likewise.
1012 * math/s_clogl.c (__clogl): Likewise.
1013 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1014 (clog10_test): Likewise.
1015 * sysdeps/i386/fpu/libm-test-ulps: Update.
1016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1017
b0abbc21
AM
10182014-04-02 Alan Modra <amodra@gmail.com>
1019
1020 [BZ #16739]
1021 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1022 output when value is near a power of two. Use int64_t for lx and
1023 remove casts. Use decimal rather than hex exponent constants.
1024 Don't use long double multiplication when double will suffice.
1025 * math/libm-test.inc (nextafter_test_data): Add tests.
1026 * NEWS: Add 16739 and 16786 to bug list.
1027
af6b1797
AM
1028 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1029
483818d7
AM
1030 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1031
f6c55796
WN
10322014-04-01 Will Newton <will.newton@linaro.org>
1033
1034 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1035 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
1036
13f7fe35
FW
10372014-04-01 Florian Weimer <fweimer@redhat.com>
1038
1039 [BZ #13347]
1040 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1041 * nptl/tst-setuid2.c: New file.
1042 * nptl/Makefile (xtests): Add tst-setuid2.
1043
c859b32e
AM
10442014-04-01 Alan Modra <amodra@gmail.com>
1045
1046 [BZ #16786]
1047 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1048
54fa2475
JM
10492014-03-31 Joseph Myers <joseph@codesourcery.com>
1050
8795b4a4
JM
1051 [BZ #6803]
1052 [BZ #6804]
1053 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1054 set errno as appropriate.
1055 * math/w_scalbf.c (__scalbf): Likewise.
1056 * math/w_scalbl.c (__scalbl): Likewise.
1057 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1058 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1059 * math/libm-test.inc (scalb_test_data): Add errno expectations.
1060 Add more NaN tests.
1061
54fa2475
JM
1062 [BZ #16349]
1063 * math/w_atan2.c: Include <errno.h>.
1064 (__atan2): Set errno for result underflowing to zero.
1065 * math/w_atan2f.c: Include <errno.h>.
1066 (__atan2f): Set errno for result underflowing to zero.
1067 * math/w_atan2l.c: Include <errno.h>.
1068 (__atan2l): Set errno for result underflowing to zero.
1069 * math/auto-libm-test-in: Don't allow missing errno for some atan2
1070 tests.
1071 * math/auto-libm-test-out: Regenerated.
1072
757d9dd5
AZ
10732014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1074
1075 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1076 Encode instruction correctly in little endian.
1077 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1078 Likewise.
1079 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1080 Likewise.
1081 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1082 Likewise.
1083 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1084 Likewise.
1085
d7a68734
JM
10862014-03-31 Joseph Myers <joseph@codesourcery.com>
1087
47c5adeb
JM
1088 [BZ #9894]
1089 * sysdeps/unix/sysv/linux/kernel-features.h
1090 [__sparc__ && !__arch64__ && !__sparc_v9__]
1091 (__ASSUME_SET_ROBUST_LIST): Do not define.
1092 [__sparc__ && !__arch64__ && !__sparc_v9__]
1093 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1094 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1095 Likewise.
1096 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1097 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1098 (__ASSUME_REQUEUE_PI): Likewise.
1099 (__ASSUME_SET_ROBUST_LIST): Likewise.
1100 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1101 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1102 Undefine.
1103 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1104 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1105 Likewise.
1106 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1107 Likewise.
1108 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1109 Likewise.
1110 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1111 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1112 Undefine.
1113 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1114 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1115 Likewise.
1116
d7a68734
JM
1117 [BZ #16648]
1118 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1119 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1120 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1121
c760f5c2
WN
11222014-03-31 Will Newton <will.newton@linaro.org>
1123
1124 * benchtests/Makefile (bench): Add ffs and ffsll to list
1125 of tests.
1126 * benchtests/ffs-inputs: New file.
1127 * benchtests/ffsll-inputs: Likewise.
1128
ea6029b1
JM
11292014-03-29 Joseph Myers <joseph@codesourcery.com>
1130
1131 [BZ #16770]
1132 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1133 too large before casting to int.
1134 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1135 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1136 * math/libm-test.inc (scalb_test_data): Add more tests.
1137
cf806aff
SP
11382014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1139
56737508
SP
1140 * benchtests/Makefile (DETAILED_OPT): New make option.
1141 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1142 set.
1143 * benchtests/bench-skeleton.c: Include stdbool.h.
1144 (main): Store and print timings per input.
1145 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1146 member to each argument value.
1147 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1148 (_print_arg_data): Initialize per-input timing to 0.
1149
cb5e4aad
SP
1150 * benchtests/Makefile (timing-type): New binary.
1151 (bench-clean): Also remove bench-timing-type.
1152 (bench): New target for timing-type.
1153 (bench-func): Print output in JSON format.
1154 * benchtests/bench-skeleton.c (main): Print output in JSON
1155 format.
1156 * benchtests/bench-timing-type.c: New file.
1157 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1158 (TIMING_PRINT_STATS): Remove.
1159 * benchtests/scripts/bench.py (_print_arg_data): Store variant
1160 name separately.
1161
cf806aff
SP
1162 * benchtests/bench-modf.c: Remove.
1163 * benchtests/modf-inputs: New inputs file.
1164
289e0779
JM
11652014-03-28 Joseph Myers <joseph@codesourcery.com>
1166
1167 [BZ #16362]
1168 * math/s_clog10.c (M_PI_LOG10E): New macro.
1169 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1170 imaginary parts are 0.
1171 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1172 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1173 imaginary parts are 0.
1174 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1175 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1176 imaginary parts are 0.
1177 * math/libm-test.inc (clog10_test_data): Update expected results
1178 for when real and imaginary parts are 0.
1179
277ae3f1
PP
11802014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1181
1182 * elf/dl-load.c: Finish conversion of __builtin_expect into
1183 __glibc_{un}likely.
1184
03a7091f
JM
11852014-03-27 Joseph Myers <joseph@codesourcery.com>
1186
1187 [BZ #16348]
1188 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1189 1+x for argument with exponent below -67.
1190 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1191 Likewise.
1192 * math/auto-libm-test-in: Add more tests of exp.
1193 * math/auto-libm-test-out: Regenerated.
1194
ea7d8b95
SP
11952014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1196
dd3022d7
SP
1197 [BZ #16759]
1198 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1199 (nscd_getnetgrent): Use it.
1200
ea7d8b95
SP
1201 [BZ #16760]
1202 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1203 of stpcpy.
1204
df5b85da
AK
12052014-03-27 Andi Kleen <ak@linux.intel.com>
1206
57f41c40
AS
1207 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1208 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1209 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1210 (lll_robust_unlock): Remove out of line section. Use cfi
1211 intrinsics.
df5b85da 1212 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
1213 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1214 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1215 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1216 (lll_robust_unlock): Remove out of line section. Use cfi
1217 intrinsics.
df5b85da
AK
1218 (LLL_STUB_UNWIND_INFO*): Remove.
1219
fbd6b5a4
SP
12202014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1221
1222 [BZ #16758]
1223 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1224 blank values.
1225
1b26b855
PP
12262014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1227
1228 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1229
9be36fb8
JM
12302014-03-26 Joseph Myers <joseph@codesourcery.com>
1231
1232 [BZ #16198]
1233 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1234 fnstenv.
1235 * math/test-fenv-preserve.c: New file.
1236 * math/Makefile (tests): Add test-fenv-preserve.
1237
60a2f3c1
WN
12382014-03-26 Will Newton <will.newton@linaro.org>
1239
1240 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1241
a5e5f1e2
RM
12422014-03-25 Roland McGrath <roland@hack.frob.com>
1243
1244 * scripts/versionlist.awk: Partition the version sets and emit all
1245 GLIBC_* (sorted) before all others (sorted).
1246
00f4012a
JM
12472014-03-25 Joseph Myers <joseph@codesourcery.com>
1248
1249 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1250 GLIBC_2.2.5 version.
1251
7bc5a741
AZ
12522014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1253
1254 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1255 calls.
1256
7578473b
AZ
1257 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1258 previous change.
1259
f3f1dab3
AZ
1260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1261
6da36183
AS
12622014-03-25 Andreas Schwab <schwab@suse.de>
1263
1264 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1265 label to be used after in6ailist is initialized.
1266
f3f1dab3 12672014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 1268
7578473b 1269 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
1270 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1271
046651c1
JM
12722014-03-25 Joseph Myers <joseph@codesourcery.com>
1273
1274 [BZ #16357]
1275 [BZ #16599]
1276 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1277 min_plus_half.
1278 (fp_formats): Update initializers.
1279 (init_fp_formats): Initialize new field.
1280 (output_for_one_input_case): Allow underflow for results up to
1281 min_plus_half.
1282 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1283 * math/auto-libm-test-in: Don't mark some underflows from asin and
1284 atanh as spurious.
1285 * math/auto-libm-test-out: Regenerated.
1286 * sysdeps/i386/fpu/libm-test-ulps: Update.
1287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1288
003e49ed
AS
12892014-03-25 Andreas Schwab <schwab@suse.de>
1290
1291 * libio/Makefile (tst-ftell-partial-wide-ENV)
1292 (tst-ftell-active-handler-ENV): Define.
1293
de031874
SL
12942014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1295
1296 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1297
55a81e3b
PP
12982014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1299
1300 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1301
f3426898
JM
13022014-03-24 Joseph Myers <joseph@codesourcery.com>
1303
1304 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1305 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1306 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1307
a42faf59
PP
13082014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1309
1310 [BZ #16634]
a42faf59 1311 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
1312 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1313 (open_path): Change from boolean 'secure' to complete flag 'mode'
1314 (_dl_map_object): Adjust.
a42faf59
PP
1315 * elf/Makefile (tests): Add tst-dlopen-aout.
1316 * elf/tst-dlopen-aout.c: New test.
1317
50936127
SL
13182014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1319
1320 [BZ #16714]
1321 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1322 (struct stat): Rename member pad0 to __glibc_reserved0.
1323
26011b5c
SL
1324 [BZ #16712]
1325 * sysdeps/s390/s390-32/bits/wordsize.h
1326 (__WORDSIZE32_SIZE_ULONG): New define.
1327 * sysdeps/s390/s390-64/bits/wordsize.h
1328 (__WORDSIZE32_SIZE_ULONG): Likewise.
1329 * sysdeps/generic/stdint.h (SIZE_MAX):
1330 Define as UL if __WORDSIZE32_SIZE_ULONG.
1331
a2d86bf1
SL
1332 [BZ #16713]
1333 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1334 (__glibc_reserved0): New variable.
1335 (sa_flags): Change type to int.
1336
78b6eebc
SL
1337 * posix/Makefile (before-compile): Use += before-compile instead
1338 of a :=.
1339
f1399b5a
SL
1340 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1341 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1342
a071766e
AS
13432014-03-20 Andreas Schwab <schwab@suse.de>
1344
1345 [BZ #16743]
1346 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1347 non-matching result from nscd.
1348
27c673b8
SP
13492014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1350
1351 * scripts/bench.py: Moved to ...
1352 * benchtests/scripts/bench.py: ... here.
1353 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1354
44152e4b
AS
13552014-03-24 Andreas Schwab <schwab@suse.de>
1356
1357 [BZ #16002]
1358 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1359 alloca_account and account alloca use for struct in6ailist.
1360
b376a11a
JM
13612014-03-24 Joseph Myers <joseph@codesourcery.com>
1362
1363 [BZ #16284]
1364 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1365 rounding mode to recompute results that overflow to infinity or
1366 underflow to zero.
1367 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1368 bug 16284.
1369 * math/auto-libm-test-out: Regenerated.
1370 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1371 (ccosh_test): Likewise.
1372 (csin_test_data): Use plus_oflow.
1373 (csin_test): Use ALL_RM_TEST.
1374 (csinh_test_data): Use plus_oflow.
1375 (csinh_test): Use ALL_RM_TEST.
1376 * sysdeps/i386/fpu/libm-test-ulps: Update.
1377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1378
f7be7376
JM
13792014-03-21 Joseph Myers <joseph@codesourcery.com>
1380
1ca2d03e
JM
1381 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1382 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1383 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1384
f7be7376
JM
1385 [BZ #16731]
1386 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1387 when x - 1 is zero.
1388 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1389 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1390 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1391 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1392 argument is 1.
1393 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1394 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1395 zero.
1396 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1397 * sysdeps/i386/fpu/libm-test-ulps: Update.
1398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1399
fdf4534d
SP
14002014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1401
df26ea53
SP
1402 * scripts/bench.pl: Remove file.
1403 * scripts/bench.py: New benchmark script.
1404 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1405 * benchtests/README: Mention python dependency.
1406 * scripts/pylintrc: New file.
1407 * scripts/pylint: New file.
1408
fdf4534d
SP
1409 * bits/mathdef.h: Use #ifdef instead of #if.
1410 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1411 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1412 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1413 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1414 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1415 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1416
6f23d093
AZ
14172014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1418 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1419
1420 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1421 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1422 and strpbrk-ppc64 objects.
1423 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1424 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1425 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1426 multiarch strpbrk for POWER7.
1427 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1428 multiarch strpbrk for PPC64.
1429 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1430 ifunc selector.
1431 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1432 strpbrk for POWER7.
1433
8c92dfff
JM
14342014-03-20 Joseph Myers <joseph@codesourcery.com>
1435
1436 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1437 (atan_test): Likewise.
1438 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1439 (atanh_test): Use ALL_RM_TEST.
1440 (atan2_test_data): Likewise.
1441 (cabs_test): Likewise.
1442 (cacosh_test): Likewise.
1443 (carg_test): Likewise.
1444 (casin_test): Likewise.
1445 (casinh_test): Likewise.
1446 (cbrt_test): Likewise.
1447 (csqrt_test): Likewise.
1448 (erf_test): Likewise.
1449 (erfc_test): Likewise.
1450 (pow10_test): Likewise.
1451 (exp2_test): Likewise.
1452 (hypot_test): Likewise.
1453 (j0_test): Likewise.
1454 (j1_test): Likewise.
1455 (lgamma_test): Likewise.
1456 (gamma_test): Likewise.
1457 (sincos_test): Likewise.
1458 (tanh_test): Likewise.
1459 (y0_test): Likewise.
1460 (y1_test): Likewise.
1461 * sysdeps/i386/fpu/libm-test-ulps: Update.
1462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1463
6eaf95cb
AZ
14642014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1465
a387428c
SP
1466 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1467 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
1468 and strcspn-ppc64 objects.
1469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1470 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1471 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1472 multiarch strcspn for POWER7.
1473 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1474 multiarch strcspn for PPC64.
1475 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1476 ifunc selector.
1477 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1478 strcspn for POWER7.
1479
ae3a5dff
JM
14802014-03-20 Joseph Myers <joseph@codesourcery.com>
1481
1482 * math/gen-libm-test.pl (generate_testfile): Expect only function
1483 name as argument to AUTO_TESTS_* and pass results for all rounding
1484 modes to parse_args.
1485 (parse_auto_input): Separate inputs of automatic tests from
1486 outputs before storing in %auto_tests.
1487 * math/libm-test.inc (acos_test_data): Update call to
1488 AUTO_TESTS_f_f.
1489 (acos_test): Use ALL_RM_TEST.
1490 (acos_tonearest_test_data): Remove.
1491 (acos_test_tonearest): Likewise.
1492 (acos_towardzero_test_data): Likewise.
1493 (acos_test_towardzero): Likewise.
1494 (acos_downward_test_data): Likewise.
1495 (acos_test_downward): Likewise.
1496 (acos_upward_test_data): Likewise.
1497 (acos_test_upward): Likewise.
1498 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1499 (asin_test_data): Likewise.
1500 (asin_test): Use ALL_RM_TEST.
1501 (asin_tonearest_test_data): Remove.
1502 (asin_test_tonearest): Likewise.
1503 (asin_towardzero_test_data): Likewise.
1504 (asin_test_towardzero): Likewise.
1505 (asin_downward_test_data): Likewise.
1506 (asin_test_downward): Likewise.
1507 (asin_upward_test_data): Likewise.
1508 (asin_test_upward): Likewise.
1509 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1510 (atan_test_data): Likewise.
1511 (atanh_test_data): Likewise.
1512 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1513 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1514 (carg_test_data): Likewise.
1515 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1516 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1517 (ccosh_test_data): Likewise.
1518 (cexp_test_data): Likewise.
1519 (clog_test_data): Likewise.
1520 (clog10_test_data): Likewise.
1521 (cos_test_data): Update call to AUTO_TESTS_f_f.
1522 (cos_test): Use ALL_RM_TEST.
1523 (cos_tonearest_test_data): Remove.
1524 (cos_test_tonearest): Likewise.
1525 (cos_towardzero_test_data): Likewise.
1526 (cos_test_towardzero): Likewise.
1527 (cos_downward_test_data): Likewise.
1528 (cos_test_downward): Likewise.
1529 (cos_upward_test_data): Likewise.
1530 (cos_test_upward): Likewise.
1531 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1532 (cosh_test): Use ALL_RM_TEST.
1533 (cosh_tonearest_test_data): Remove.
1534 (cosh_test_tonearest): Likewise.
1535 (cosh_towardzero_test_data): Likewise.
1536 (cosh_test_towardzero): Likewise.
1537 (cosh_downward_test_data): Likewise.
1538 (cosh_test_downward): Likewise.
1539 (cosh_upward_test_data): Likewise.
1540 (cosh_test_upward): Likewise.
1541 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1542 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1543 (ctan_test_data): Likewise.
1544 (ctan_test): Use ALL_RM_TEST.
1545 (ctan_tonearest_test_data): Remove.
1546 (ctan_test_tonearest): Likewise.
1547 (ctan_towardzero_test_data): Likewise.
1548 (ctan_test_towardzero): Likewise.
1549 (ctan_downward_test_data): Likewise.
1550 (ctan_test_downward): Likewise.
1551 (ctan_upward_test_data): Likewise.
1552 (ctan_test_upward): Likewise.
1553 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1554 (ctanh_test): Use ALL_RM_TEST.
1555 (ctanh_tonearest_test_data): Remove.
1556 (ctanh_test_tonearest): Likewise.
1557 (ctanh_towardzero_test_data): Likewise.
1558 (ctanh_test_towardzero): Likewise.
1559 (ctanh_downward_test_data): Likewise.
1560 (ctanh_test_downward): Likewise.
1561 (ctanh_upward_test_data): Likewise.
1562 (ctanh_test_upward): Likewise.
1563 (erf_test_data): Update call to AUTO_TESTS_f_f.
1564 (erfc_test_data): Likewise.
1565 (exp_test_data): Likewise.
1566 (exp_test): Use ALL_RM_TEST.
1567 (exp_tonearest_test_data): Remove.
1568 (exp_test_tonearest): Likewise.
1569 (exp_towardzero_test_data): Likewise.
1570 (exp_test_towardzero): Likewise.
1571 (exp_downward_test_data): Likewise.
1572 (exp_test_downward): Likewise.
1573 (exp_upward_test_data): Likewise.
1574 (exp_test_upward): Likewise.
1575 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1576 (exp10_test): Use ALL_RM_TEST.
1577 (exp10_tonearest_test_data): Remove.
1578 (exp10_test_tonearest): Likewise.
1579 (exp10_towardzero_test_data): Likewise.
1580 (exp10_test_towardzero): Likewise.
1581 (exp10_downward_test_data): Likewise.
1582 (exp10_test_downward): Likewise.
1583 (exp10_upward_test_data): Likewise.
1584 (exp10_test_upward): Likewise.
1585 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1586 (expm1_test_data): Likewise.
1587 (expm1_test): Use ALL_RM_TEST.
1588 (expm1_tonearest_test_data): Remove.
1589 (expm1_test_tonearest): Likewise.
1590 (expm1_towardzero_test_data): Likewise.
1591 (expm1_test_towardzero): Likewise.
1592 (expm1_downward_test_data): Likewise.
1593 (expm1_test_downward): Likewise.
1594 (expm1_upward_test_data): Likewise.
1595 (expm1_test_upward): Likewise.
1596 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1597 (fma_test): Use ALL_RM_TEST.
1598 (fma_towardzero_test_data): Remove.
1599 (fma_test_towardzero): Likewise.
1600 (fma_downward_test_data): Likewise.
1601 (fma_test_downward): Likewise.
1602 (fma_upward_test_data): Likewise.
1603 (fma_test_upward): Likewise.
1604 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1605 (j0_test_data): Update call to AUTO_TESTS_f_f.
1606 (j1_test_data): Likewise.
1607 (jn_test_data): Update call to AUTO_TESTS_if_f.
1608 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1609 (log_test_data): Update call to AUTO_TESTS_f_f.
1610 (log10_test_data): Likewise.
1611 (log1p_test_data): Likewise.
1612 (log2_test_data): Likewise.
1613 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1614 (pow_tonearest_test_data): Likewise.
1615 (sin_test_data): Update call to AUTO_TESTS_f_f.
1616 (sin_test): Use ALL_RM_TEST.
1617 (sin_tonearest_test_data): Remove.
1618 (sin_test_tonearest): Likewise.
1619 (sin_towardzero_test_data): Likewise.
1620 (sin_test_towardzero): Likewise.
1621 (sin_downward_test_data): Likewise.
1622 (sin_test_downward): Likewise.
1623 (sin_upward_test_data): Likewise.
1624 (sin_test_upward): Likewise.
1625 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1626 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1627 (sinh_test): Use ALL_RM_TEST.
1628 (sinh_tonearest_test_data): Remove.
1629 (sinh_test_tonearest): Likewise.
1630 (sinh_towardzero_test_data): Likewise.
1631 (sinh_test_towardzero): Likewise.
1632 (sinh_downward_test_data): Likewise.
1633 (sinh_test_downward): Likewise.
1634 (sinh_upward_test_data): Likewise.
1635 (sinh_test_upward): Likewise.
1636 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1637 (sqrt_test): Use ALL_RM_TEST.
1638 (sqrt_tonearest_test_data): Remove.
1639 (sqrt_test_tonearest): Likewise.
1640 (sqrt_towardzero_test_data): Likewise.
1641 (sqrt_test_towardzero): Likewise.
1642 (sqrt_downward_test_data): Likewise.
1643 (sqrt_test_downward): Likewise.
1644 (sqrt_upward_test_data): Likewise.
1645 (sqrt_test_upward): Likewise.
1646 (tan_test_data): Update call to AUTO_TESTS_f_f.
1647 (tan_test): Use ALL_RM_TEST.
1648 (tan_tonearest_test_data): Remove.
1649 (tan_test_tonearest): Likewise.
1650 (tan_towardzero_test_data): Likewise.
1651 (tan_test_towardzero): Likewise.
1652 (tan_downward_test_data): Likewise.
1653 (tan_test_downward): Likewise.
1654 (tan_upward_test_data): Likewise.
1655 (tan_test_upward): Likewise.
1656 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1657 (tgamma_test_data): Likewise.
1658 (y0_test_data): Likewise.
1659 (y1_test_data): Likewise.
1660 (yn_test_data): Update call to AUTO_TESTS_if_f.
1661 (main): Do not call removed functions.
1662
d71aeee8
JM
16632014-03-19 Joseph Myers <joseph@codesourcery.com>
1664
1665 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1666 (ldexp_test_data): Remove.
1667 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1668 scalbn_test_data.
1669 (scalb_test): Use ALL_RM_TEST.
1670
baaf1ded
AS
16712014-03-19 Andreas Schwab <schwab@suse.de>
1672
1673 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1674
b1115e91
JM
16752014-03-19 Joseph Myers <joseph@codesourcery.com>
1676
1677 [BZ #16649]
1678 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1679 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1680 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1681 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1682 (__ASSUME_PREADV): Undefine.
1683 (__ASSUME_PWRITEV): Likewise.
1684
0283ecca
RM
16852014-03-18 Roland McGrath <roland@hack.frob.com>
1686
7d375303
RM
1687 * bits/mman-linux.h: Add comment about non-Linux use.
1688 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1689 bits/mman-linux.h resting place.
1690
0283ecca
RM
1691 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1692 * bits/mman-linux.h: ... here.
1693
aebe1003
AZ
16942014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1695
1696 * conform/conformtest.pl: Add standard definition when calling C
1697 preprocessor on data files.
1698 (checknamespace): Remove unused variable.
1699
b29b6bb8
JM
17002014-03-18 Joseph Myers <joseph@codesourcery.com>
1701
1702 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1703 minus_oflow, plus_uflow and minus_uflow in expected results.
1704 * math/libm-test.inc (scalbn_test_data): Add more tests of
1705 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1706 minus_uflow.
1707 (scalbn_test): Use ALL_RM_TEST.
1708 (scalbln_test_data): Add more tests of negative arguments. Use
1709 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1710 (scalbln_test): Use ALL_RM_TEST.
1711
c8f8fa15
RM
17122014-03-18 Roland McGrath <roland@hack.frob.com>
1713
1714 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1715
fede7a5f
WN
17162014-03-18 Will Newton <will.newton@linaro.org>
1717
1718 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1719 inaccurate comment.
1720
80cf0a58
JM
17212014-03-18 Joseph Myers <joseph@codesourcery.com>
1722
1723 * Makerules [!subdir] (check-abi): Exit with error status if a
1724 test failed.
1725
b3620862
JM
17262014-03-17 Joseph Myers <joseph@codesourcery.com>
1727
1728 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1729 for rint. Include results for all rounding modes.
1730 (nearbyint_test): Use ALL_RM_TEST.
1731 (rint_test_data): Include all tests used for nearbyint.
1732
788bba36
WN
17332014-03-17 Will Newton <will.newton@linaro.org>
1734
04ec140a
WN
1735 * nptl/sysdeps/pthread/pthread.h: Revert previous
1736 change.
1737
7579d8d5
WN
1738 * sysdeps/generic/ldsodefs.h: Revert previous
1739 change.
1740
c15cf13a
WN
1741 * libio/genops.c: Revert previous change.
1742 * libio/libioP.h: Likewise.
1743 * stdio-common/vfprintf.c: Likewise.
1744
d0ac1324
WN
1745 * sysdeps/generic/math_private.h: Revert previous
1746 change.
1747
9290130a
WN
1748 * sysdeps/generic/math_private.h: Check whether
1749 HAVE_RM_CTX is defined with #ifdef rather
1750 than #if.
1751
afb466fc
WN
1752 * argp/argp-fmtstream.h: Check whether
1753 __STRICT_ANSI__ is defined with #ifdef rather
1754 than #if.
1755 * argp/argp.h: Likewise.
1756
f7efd7c3
WN
1757 * libio/genops.c: Check whether
1758 _IO_JUMPS_OFFSET is defined with #ifdef rather
1759 than #if.
1760 * libio/libioP.h: Likewise.
1761 * stdio-common/vfprintf.c: Likewise.
1762
53f1bed3
WN
1763 * sysdeps/generic/ldsodefs.h: Check whether
1764 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1765 than #if.
1766
788bba36
WN
1767 * nptl/sysdeps/pthread/pthread.h: Check
1768 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1769 its value.
1770
fcd89ebe
SP
17712014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1772
ae42bbc5
SP
1773 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1774 setting O_APPEND.
1775 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1776 test case.
1777
ea33158c
SP
1778 [BZ #16680]
1779 * libio/fileops.c (_IO_file_open): Seek to end of file but
1780 don't cache the offset.
1781 (get_file_offset): Remove function.
1782 (do_ftell): Use cached offset when available.
1783 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1784 don't cache the offset.
1785 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1786 case.
1787 (do_one_test): Call it.
1788 (do_ftell_test): Fix up expected old offset for a+ mode.
1789 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1790 available.
1791
b1dbb426
SP
1792 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1793 up test status with function return status.
1794 (do_write_test): Likewise.
1795 (do_append_test): Likewise.
1796
fcd89ebe
SP
1797 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1798 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1799 Remove.
1800
9962a2d3
JM
18012014-03-17 Joseph Myers <joseph@codesourcery.com>
1802
1803 * math/gen-libm-test.pl (parse_args): Handle results specified for
1804 each rounding mode separately.
1805 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1806 tests and results from lrint_tonearest_test_data,
1807 lrint_towardzero_test_data, lrint_downward_test_data and
1808 lrint_upward_test_data.
1809 (lrint_test): Use ALL_RM_TEST.
1810 (lrint_tonearest_test_data): Remove.
1811 (lrint_test_tonearest): Likewise.
1812 (lrint_towardzero_test_data): Likewise.
1813 (lrint_test_towardzero): Likewise.
1814 (lrint_downward_test_data): Likewise.
1815 (lrint_test_downward): Likewise.
1816 (lrint_upward_test_data): Likewise.
1817 (lrint_test_upward): Likewise.
1818 (llrint_test_data): Merge in per-rounding-mode tests and results
1819 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1820 llrint_downward_test_data and llrint_upward_test_data.
1821 (llrint_test): Use ALL_RM_TEST.
1822 (llrint_tonearest_test_data): Remove.
1823 (llrint_test_tonearest): Likewise.
1824 (llrint_towardzero_test_data): Likewise.
1825 (llrint_test_towardzero): Likewise.
1826 (llrint_downward_test_data): Likewise.
1827 (llrint_test_downward): Likewise.
1828 (llrint_upward_test_data): Likewise.
1829 (llrint_test_upward): Likewise.
1830 (rint_test_data): Merge in per-rounding-mode tests and results
1831 from rint_tonearest_test_data, rint_towardzero_test_data,
1832 rint_downward_test_data and rint_upward_test_data. Add
1833 per-rounding-mode results for tests not in those arrays.
1834 (rint_test): Use ALL_RM_TEST.
1835 (rint_tonearest_test_data): Remove.
1836 (rint_test_tonearest): Likewise.
1837 (rint_towardzero_test_data): Likewise.
1838 (rint_test_towardzero): Likewise.
1839 (rint_downward_test_data): Likewise.
1840 (rint_test_downward): Likewise.
1841 (rint_upward_test_data): Likewise.
1842 (rint_test_upward): Likewise.
1843 (main): Don't call removed functions.
1844
5006148e
RM
18452014-03-14 Roland McGrath <roland@hack.frob.com>
1846
1847 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1848 "Compiled on ..." crapola. It is anti-useful.
1849
d6fe5e58
JM
18502014-03-14 Joseph Myers <joseph@codesourcery.com>
1851
1852 * scripts/evaluate-test.sh: Handle fourth argument to determine
1853 whether test run should stop on failure.
1854 * Makeconfig (stop-on-test-failure): New variable.
1855 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1856 $(stop-on-test-failure).
1857 * Makefile (tests): Give a summary of results from testing and
1858 exit with failure status if they include an ERROR or FAIL.
1859 (xtests): Likewise.
1860 * manual/install.texi (Configuring and compiling): Mention
1861 stop-on-test-failure=y.
1862 * INSTALL: Regenerated.
1863
498a2233
RM
18642014-03-14 Roland McGrath <roland@hack.frob.com>
1865
22dbc19d
RM
1866 * scripts/versionlist.awk: New file.
1867 * Makerules [$(build-shared) = yes]
1868 (postclean-generated): Add Versions.def, not Versions.def.v and
1869 Versions.def.v.i.
1870 ($(common-objpfx)Versions.def.v.i): Target removed.
1871 ($(common-objpfx)Versions.def): New target.
1872 ($(common-objpfx)Versions.all): Depend on that rather that
1873 $(common-objpfx)Versions.def.v.
1874 * Versions.def: File removed.
1875
498a2233
RM
1876 * Makeconfig (+gccwarn): Add -Wundef.
1877 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1878 a dl-sysdep.h breaking its contract.
1879 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1880 * include/stackinfo.h: New file.
1881 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1882 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1883 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1884 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1885 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1886 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1887 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1888 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1889 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1890 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1891 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1892 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1893 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1894 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1895 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1896
c7de5025
AZ
18972014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1898
1899 [BZ #16707]
1900 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1901 implementation.
1902 * math/libm-test.inc (round_test_data): Add more tests.
1903
98fb27a3
AZ
1904 [BZ #16706]
1905 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1906 implementation.
1907 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1908
374f7f61
AZ
1909 [BZ #16701]
1910 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1911 implementation.
1912 * math/libm-test.inc (ceil_test_data): Add more tests.
1913
4655c291
AZ
1914 * math/libm-test.inc (trunc_test_data): Add more tests related to
1915 BZ#16414.
1916
d7329d4b
RM
19172014-03-14 Roland McGrath <roland@hack.frob.com>
1918
1919 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1920 with #if rather than #ifdef.
1921 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1922
aa4de9ce
L
19232014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1924
1925 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1926 first. Disable AVX-512 GCC support if assembler doesn't support
1927 it.
1928 * sysdeps/x86_64/configure: Regenerated.
1929
2e03fae7
CD
19302014-03-13 Carlos O'Donell <carlos@redhat.com>
1931
1932 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1933 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1934 (__old_pthread_attr_setstack): Likewise.
1935 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1936 [!_STACK_GROWS_DOWN]: Likewise.
1937
43ca83ec
MF
19382014-03-13 Mike Frysinger <vapier@gentoo.org>
1939
1940 * config.make.in (have-bash2): Delete.
1941 * configure.ac (libc_cv_have_bash2): Delete.
1942 * configure: Regenerate.
1943 * elf/Makefile (common-ldd-rewrite): Rename to ...
1944 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1945 (sh-ldd-rewrite): Delete.
1946 (bash-ldd-rewrite): Delete.
1947 (have-bash2): Delete checks.
57f41c40
AS
1948 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1949 ldd-rewrite.
c66e48b4
MF
1950
1951 * config.make.in (have-ksh): Delete.
1952 (KSH): Delete.
1953 * configure.ac (libc_cv_have_ksh): Delete.
1954 * configure: Regenerate.
1955
b93834ef
MF
1956 * elf/Makefile: Delete $(have-ksh) check.
1957 ($(objpfx)sotruss): Change KSH to BASH.
1958 * elf/sotruss.ksh: Rename to ...
1959 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1960 function style to match POSIX. Drop ksh vim mode setting.
1961
f3a4632a
MF
1962 * manual/time.texi (Specifying the Time Zone with TZ): Change
1963 Tuesday to Thursday.
1964
5896c8bd
MF
1965 * debug/tst-longjmp_chk2.c: Update header comment.
1966 (stackoverflow_handler): Add comment. Call assert on pass value.
1967
2d63a517
IZ
19682014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1969
1970 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1971 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1972 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1973 (La_x86_64_vector): Add zmm.
1974 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1975 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1976 ($(objpfx)tst-audit10): New target.
1977 ($(objpfx)tst-audit10.out): Likewise.
1978 (tst-audit10-ENV): New.
1979 (AVX512-CFLAGS): Likewise.
1980 (CFLAGS-tst-audit10.c): Likewise.
1981 (CFLAGS-tst-auditmod10a.c): Likewise.
1982 (CFLAGS-tst-auditmod10b.c): Likewise.
1983 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1984 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1985 * sysdeps/x86_64/configure: Regenerated.
1986 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1987 AVX-512 zmm register support.
1988 (_dl_x86_64_save_sse): Likewise.
1989 (_dl_x86_64_restore_sse): Likewise.
1990 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1991 size vector registers.
1992 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1993 (ZMM_SIZE): Likewise.
1994 * sysdeps/x86_64/tst-audit10.c: New file.
1995 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1996 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1997
44c4e5d5
RM
19982014-03-13 Roland McGrath <roland@hack.frob.com>
1999
2000 * configure.ac (HAVE_EHDR_START): New check.
2001 * configure: Regenerated.
2002 * config.h.in (HAVE_EHDR_START): New #undef.
2003 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2004 assuming the lowest-addressed segment maps the start of the file.
2005
acd6e389
JM
20062014-03-13 Joseph Myers <joseph@codesourcery.com>
2007
2008 * INSTALL: Regenerated.
2009
6f918f36
WN
20102014-03-13 Will Newton <will.newton@linaro.org>
2011
2012 * manual/setjmp.texi (System V contexts): Improve
2013 clarity and grammar of documentation.
2014
798212a0
PP
20152014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2016
2017 [BZ #16381]
798212a0 2018 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 2019 (tests-pie): Add tst-pie2.
798212a0
PP
2020 * elf/tst-pie2.c: New file.
2021 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2022 for ET_EXEC.
2023 * elf/rtld.c (map_doit): Load executable as lt_executable.
2024 (dl_main): Likewise.
2025
abe6d90c
JM
20262014-03-12 Joseph Myers <joseph@codesourcery.com>
2027
2028 [BZ #16642]
2029 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2030 (__ASSUME_PSELECT): Undefine.
2031
dd3946c6
AZ
20322014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2033
2034 [BZ #16689]
2035 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2036 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2037 static build.
2038 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2039 selector for static builds.
2040
c44496df
SP
20412014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2042
2043 [BZ #16695]
2044 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2045 key in the buffer.
2046
27c7220a
AZ
20472014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2048
57f41c40
AS
2049 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2050 IFUNC selector for static builds.
27c7220a 2051
600fa361
JM
20522014-03-11 Joseph Myers <joseph@codesourcery.com>
2053
76c96cf7
JM
2054 * sysdeps/mips/math_private.h [__mips_hard_float]
2055 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2056 libc_feresetround_mips_ctx.
2057 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2058 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2059 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2060
600fa361
JM
2061 [BZ #16677]
2062 * math/s_nextafter.c (__nextafter): Do not return value from
2063 overflowing computation.
2064 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2065 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2066 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2067 Likewise.
2068 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2069 Likewise.
2070 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2071 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2072
d7706c32
RM
20732014-03-11 Roland McGrath <roland@hack.frob.com>
2074
2075 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2076 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2077 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2078 the new mov targetting sp.
2079
4facea47
AZ
20802014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2081
2082 [BZ #16683]
2083 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2084 Define it for static builds as well.
2085 (NO_BZERO_IMPL): Likewise.
2086
e65caf1f
VR
20872014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2088
2089 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2090 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2091 multiarch strspn for PPC64.
2092 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2093 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2094 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2095 (__libc_ifunc_impl_list): Likewise.
2096 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2097 multiarch optimizations
2098 * string/strspn.c (strspn): Using macro to redefine symbol name.
2099
ba9cc071
AZ
21002014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2101 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2102
2103 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2104 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2105 multiarch strncat for PPC64.
2106 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2107 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2109 (__libc_ifunc_impl_list): Likewise.
2110 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2111 multiarch optimizations
2112
8b4ff974
SP
21132014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2114
2115 [BZ #16639]
2116 * nscd/nscd.service: Make service type forking.
2117
54b46a4b
AZ
21182014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2119
2120 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2121 sign in non default rounding modes.
2122 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2123
e9996ef7
JM
21242014-03-08 Joseph Myers <joseph@codesourcery.com>
2125
2126 * math/libm-test.inc (ALL_RM_TEST): New macro.
2127 (ceil_test): Use ALL_RM_TEST.
2128 (cimag_test): Likewise.
2129 (conj_test): Likewise.
2130 (copysign_test): Likewise.
2131 (cproj_test): Likewise.
2132 (creal_test): Likewise.
2133 (fabs_test): Likewise.
2134 (floor_test): Likewise.
2135 (fmax_test): Likewise.
2136 (fmin_test): Likewise.
2137 (fmod_test): Likewise.
2138 (fpclassify_test): Likewise.
2139 (frexp_test): Likewise.
2140 (ilogb_test): Likewise.
2141 (isfinite_test): Likewise.
2142 (finite_test): Likewise.
2143 (isgreater_test): Likewise.
2144 (isgreaterequal_test): Likewise.
2145 (isinf_test): Likewise.
2146 (isless_test): Likewise.
2147 (islessequal_test): Likewise.
2148 (islessgreater_test): Likewise.
2149 (isnan_test): Likewise.
2150 (isnormal_test): Likewise.
2151 (issignaling_test): Likewise.
2152 (isunordered_test): Likewise.
2153 (logb_test): Likewise.
2154 (logb_downward_test_data): Remove.
2155 (logb_test_downward): Likewise.
2156 (lround_test): Use ALL_RM_TEST.
2157 (llround_test): Likewise.
2158 (modf_test): Likewise.
2159 (nexttoward_test): Likewise.
2160 (remainder_test): Likewise.
2161 (drem_test): Likewise.
2162 (remainder_tonearest_test_data): Likewise.
2163 (remainder_test_tonearest): Likewise.
2164 (drem_test_tonearest): Likewise.
2165 (remainder_towardzero_test_data): Likewise.
2166 (remainder_test_towardzero): Likewise.
2167 (drem_test_towardzero): Likewise.
2168 (remainder_downward_test_data): Likewise.
2169 (remainder_test_downward): Likewise.
2170 (drem_test_downward): Likewise.
2171 (remainder_upward_test_data): Likewise.
2172 (remainder_test_upward): Likewise.
2173 (drem_test_upward): Likewise.
2174 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2175 (round_test): Use ALL_RM_TEST.
2176 (signbit_test): Likewise.
2177 (trunc_test): Likewise.
2178 (significand_test): Likewise.
2179 (main): Don't call removed functions.
2180
bc61d27c
JM
21812014-03-07 Joseph Myers <joseph@codesourcery.com>
2182
5c780849
JM
2183 [BZ #16674]
2184 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2185 || __USE_XOPEN2K8].
2186 (ILL_ILLOPN): Likewise.
2187 (ILL_ILLADR): Likewise.
2188 (ILL_ILLTRP): Likewise.
2189 (ILL_PRVOPC): Likewise.
2190 (ILL_PRVREG): Likewise.
2191 (ILL_COPROC): Likewise.
2192 (ILL_BADSTK): Likewise.
2193 (FPE_INTDIV): Likewise.
2194 (FPE_INTOVF): Likewise.
2195 (FPE_FLTDIV): Likewise.
2196 (FPE_FLTOVF): Likewise.
2197 (FPE_FLTUND): Likewise.
2198 (FPE_FLTRES): Likewise.
2199 (FPE_FLTINV): Likewise.
2200 (FPE_FLTSUB): Likewise.
2201 (SEGV_MAPERR): Likewise.
2202 (SEGV_ACCERR): Likewise.
2203 (BUS_ADRALN): Likewise.
2204 (BUS_ADRERR): Likewise.
2205 (BUS_OBJERR): Likewise.
2206 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2207 (TRAP_TRACE): Likewise.
2208 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2209 __USE_XOPEN2K8].
2210 (CLD_KILLED): Likewise.
2211 (CLD_DUMPED): Likewise.
2212 (CLD_TRAPPED): Likewise.
2213 (CLD_STOPPED): Likewise.
2214 (CLD_CONTINUED): Likewise.
2215 (POLL_IN): Likewise.
2216 (POLL_OUT): Likewise.
2217 (POLL_MSG): Likewise.
2218 (POLL_ERR): Likewise.
2219 (POLL_PRI): Likewise.
2220 (POLL_HUP): Likewise.
2221 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2222 Likewise.
2223 (ILL_ILLOPN): Likewise.
2224 (ILL_ILLADR): Likewise.
2225 (ILL_ILLTRP): Likewise.
2226 (ILL_PRVOPC): Likewise.
2227 (ILL_PRVREG): Likewise.
2228 (ILL_COPROC): Likewise.
2229 (ILL_BADSTK): Likewise.
2230 (FPE_INTDIV): Likewise.
2231 (FPE_INTOVF): Likewise.
2232 (FPE_FLTDIV): Likewise.
2233 (FPE_FLTOVF): Likewise.
2234 (FPE_FLTUND): Likewise.
2235 (FPE_FLTRES): Likewise.
2236 (FPE_FLTINV): Likewise.
2237 (FPE_FLTSUB): Likewise.
2238 (SEGV_MAPERR): Likewise.
2239 (SEGV_ACCERR): Likewise.
2240 (BUS_ADRALN): Likewise.
2241 (BUS_ADRERR): Likewise.
2242 (BUS_OBJERR): Likewise.
2243 (BUS_MCEERR_AR): Likewise.
2244 (BUS_MCEERR_AO): Likewise.
2245 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2246 (TRAP_TRACE): Likewise.
2247 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2248 __USE_XOPEN2K8].
2249 (CLD_KILLED): Likewise.
2250 (CLD_DUMPED): Likewise.
2251 (CLD_TRAPPED): Likewise.
2252 (CLD_STOPPED): Likewise.
2253 (CLD_CONTINUED): Likewise.
2254 (POLL_IN): Likewise.
2255 (POLL_OUT): Likewise.
2256 (POLL_MSG): Likewise.
2257 (POLL_ERR): Likewise.
2258 (POLL_PRI): Likewise.
2259 (POLL_HUP): Likewise.
2260 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2261 (ILL_ILLOPN): Likewise.
2262 (ILL_ILLADR): Likewise.
2263 (ILL_ILLTRP): Likewise.
2264 (ILL_PRVOPC): Likewise.
2265 (ILL_PRVREG): Likewise.
2266 (ILL_COPROC): Likewise.
2267 (ILL_BADSTK): Likewise.
2268 (FPE_INTDIV): Likewise.
2269 (FPE_INTOVF): Likewise.
2270 (FPE_FLTDIV): Likewise.
2271 (FPE_FLTOVF): Likewise.
2272 (FPE_FLTUND): Likewise.
2273 (FPE_FLTRES): Likewise.
2274 (FPE_FLTINV): Likewise.
2275 (FPE_FLTSUB): Likewise.
2276 (SEGV_MAPERR): Likewise.
2277 (SEGV_ACCERR): Likewise.
2278 (BUS_ADRALN): Likewise.
2279 (BUS_ADRERR): Likewise.
2280 (BUS_OBJERR): Likewise.
2281 (BUS_MCEERR_AR): Likewise.
2282 (BUS_MCEERR_AO): Likewise.
2283 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2284 (TRAP_TRACE): Likewise.
2285 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2286 __USE_XOPEN2K8].
2287 (CLD_KILLED): Likewise.
2288 (CLD_DUMPED): Likewise.
2289 (CLD_TRAPPED): Likewise.
2290 (CLD_STOPPED): Likewise.
2291 (CLD_CONTINUED): Likewise.
2292 (POLL_IN): Likewise.
2293 (POLL_OUT): Likewise.
2294 (POLL_MSG): Likewise.
2295 (POLL_ERR): Likewise.
2296 (POLL_PRI): Likewise.
2297 (POLL_HUP): Likewise.
2298 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2299 Likewise.
2300 (ILL_ILLOPN): Likewise.
2301 (ILL_ILLADR): Likewise.
2302 (ILL_ILLTRP): Likewise.
2303 (ILL_PRVOPC): Likewise.
2304 (ILL_PRVREG): Likewise.
2305 (ILL_COPROC): Likewise.
2306 (ILL_BADSTK): Likewise.
2307 (ILL_BADIADDR): Likewise.
2308 (ILL_BREAK): Likewise.
2309 (FPE_INTDIV): Likewise.
2310 (FPE_INTOVF): Likewise.
2311 (FPE_FLTDIV): Likewise.
2312 (FPE_FLTOVF): Likewise.
2313 (FPE_FLTUND): Likewise.
2314 (FPE_FLTRES): Likewise.
2315 (FPE_FLTINV): Likewise.
2316 (FPE_FLTSUB): Likewise.
2317 (FPE_DECOVF): Likewise.
2318 (FPE_DECDIV): Likewise.
2319 (FPE_DECERR): Likewise.
2320 (FPE_INVASC): Likewise.
2321 (FPE_INVDEC): Likewise.
2322 (SEGV_MAPERR): Likewise.
2323 (SEGV_ACCERR): Likewise.
2324 (SEGV_PSTKOVF): Likewise.
2325 (BUS_ADRALN): Likewise.
2326 (BUS_ADRERR): Likewise.
2327 (BUS_OBJERR): Likewise.
2328 (BUS_MCEERR_AR): Likewise.
2329 (BUS_MCEERR_AO): Likewise.
2330 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2331 (TRAP_TRACE): Likewise.
2332 (TRAP_BRANCH): Likewise.
2333 (TRAP_HWBKPT): Likewise.
2334 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2335 __USE_XOPEN2K8].
2336 (CLD_KILLED): Likewise.
2337 (CLD_DUMPED): Likewise.
2338 (CLD_TRAPPED): Likewise.
2339 (CLD_STOPPED): Likewise.
2340 (CLD_CONTINUED): Likewise.
2341 (POLL_IN): Likewise.
2342 (POLL_OUT): Likewise.
2343 (POLL_MSG): Likewise.
2344 (POLL_ERR): Likewise.
2345 (POLL_PRI): Likewise.
2346 (POLL_HUP): Likewise.
2347 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2348 (ILL_ILLOPN): Likewise.
2349 (ILL_ILLADR): Likewise.
2350 (ILL_ILLTRP): Likewise.
2351 (ILL_PRVOPC): Likewise.
2352 (ILL_PRVREG): Likewise.
2353 (ILL_COPROC): Likewise.
2354 (ILL_BADSTK): Likewise.
2355 (FPE_INTDIV): Likewise.
2356 (FPE_INTOVF): Likewise.
2357 (FPE_FLTDIV): Likewise.
2358 (FPE_FLTOVF): Likewise.
2359 (FPE_FLTUND): Likewise.
2360 (FPE_FLTRES): Likewise.
2361 (FPE_FLTINV): Likewise.
2362 (FPE_FLTSUB): Likewise.
2363 (SEGV_MAPERR): Likewise.
2364 (SEGV_ACCERR): Likewise.
2365 (BUS_ADRALN): Likewise.
2366 (BUS_ADRERR): Likewise.
2367 (BUS_OBJERR): Likewise.
2368 (BUS_MCEERR_AR): Likewise.
2369 (BUS_MCEERR_AO): Likewise.
2370 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2371 (TRAP_TRACE): Likewise.
2372 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2373 __USE_XOPEN2K8].
2374 (CLD_KILLED): Likewise.
2375 (CLD_DUMPED): Likewise.
2376 (CLD_TRAPPED): Likewise.
2377 (CLD_STOPPED): Likewise.
2378 (CLD_CONTINUED): Likewise.
2379 (POLL_IN): Likewise.
2380 (POLL_OUT): Likewise.
2381 (POLL_MSG): Likewise.
2382 (POLL_ERR): Likewise.
2383 (POLL_PRI): Likewise.
2384 (POLL_HUP): Likewise.
2385 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2386 (ILL_ILLOPN): Likewise.
2387 (ILL_ILLADR): Likewise.
2388 (ILL_ILLTRP): Likewise.
2389 (ILL_PRVOPC): Likewise.
2390 (ILL_PRVREG): Likewise.
2391 (ILL_COPROC): Likewise.
2392 (ILL_BADSTK): Likewise.
2393 (FPE_INTDIV): Likewise.
2394 (FPE_INTOVF): Likewise.
2395 (FPE_FLTDIV): Likewise.
2396 (FPE_FLTOVF): Likewise.
2397 (FPE_FLTUND): Likewise.
2398 (FPE_FLTRES): Likewise.
2399 (FPE_FLTINV): Likewise.
2400 (FPE_FLTSUB): Likewise.
2401 (SEGV_MAPERR): Likewise.
2402 (SEGV_ACCERR): Likewise.
2403 (BUS_ADRALN): Likewise.
2404 (BUS_ADRERR): Likewise.
2405 (BUS_OBJERR): Likewise.
2406 (BUS_MCEERR_AR): Likewise.
2407 (BUS_MCEERR_AO): Likewise.
2408 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2409 (TRAP_TRACE): Likewise.
2410 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2411 __USE_XOPEN2K8].
2412 (CLD_KILLED): Likewise.
2413 (CLD_DUMPED): Likewise.
2414 (CLD_TRAPPED): Likewise.
2415 (CLD_STOPPED): Likewise.
2416 (CLD_CONTINUED): Likewise.
2417 (POLL_IN): Likewise.
2418 (POLL_OUT): Likewise.
2419 (POLL_MSG): Likewise.
2420 (POLL_ERR): Likewise.
2421 (POLL_PRI): Likewise.
2422 (POLL_HUP): Likewise.
2423 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2424 (ILL_ILLOPN): Likewise.
2425 (ILL_ILLADR): Likewise.
2426 (ILL_ILLTRP): Likewise.
2427 (ILL_PRVOPC): Likewise.
2428 (ILL_PRVREG): Likewise.
2429 (ILL_COPROC): Likewise.
2430 (ILL_BADSTK): Likewise.
2431 (FPE_INTDIV): Likewise.
2432 (FPE_INTOVF): Likewise.
2433 (FPE_FLTDIV): Likewise.
2434 (FPE_FLTOVF): Likewise.
2435 (FPE_FLTUND): Likewise.
2436 (FPE_FLTRES): Likewise.
2437 (FPE_FLTINV): Likewise.
2438 (FPE_FLTSUB): Likewise.
2439 (SEGV_MAPERR): Likewise.
2440 (SEGV_ACCERR): Likewise.
2441 (BUS_ADRALN): Likewise.
2442 (BUS_ADRERR): Likewise.
2443 (BUS_OBJERR): Likewise.
2444 (BUS_MCEERR_AR): Likewise.
2445 (BUS_MCEERR_AO): Likewise.
2446 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2447 (TRAP_TRACE): Likewise.
2448 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2449 __USE_XOPEN2K8].
2450 (CLD_KILLED): Likewise.
2451 (CLD_DUMPED): Likewise.
2452 (CLD_TRAPPED): Likewise.
2453 (CLD_STOPPED): Likewise.
2454 (CLD_CONTINUED): Likewise.
2455 (POLL_IN): Likewise.
2456 (POLL_OUT): Likewise.
2457 (POLL_MSG): Likewise.
2458 (POLL_ERR): Likewise.
2459 (POLL_PRI): Likewise.
2460 (POLL_HUP): Likewise.
2461 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2462 (ILL_ILLOPN): Likewise.
2463 (ILL_ILLADR): Likewise.
2464 (ILL_ILLTRP): Likewise.
2465 (ILL_PRVOPC): Likewise.
2466 (ILL_PRVREG): Likewise.
2467 (ILL_COPROC): Likewise.
2468 (ILL_BADSTK): Likewise.
2469 (ILL_DBLFLT): Likewise.
2470 (ILL_HARDWALL): Likewise.
2471 (FPE_INTDIV): Likewise.
2472 (FPE_INTOVF): Likewise.
2473 (FPE_FLTDIV): Likewise.
2474 (FPE_FLTOVF): Likewise.
2475 (FPE_FLTUND): Likewise.
2476 (FPE_FLTRES): Likewise.
2477 (FPE_FLTINV): Likewise.
2478 (FPE_FLTSUB): Likewise.
2479 (SEGV_MAPERR): Likewise.
2480 (SEGV_ACCERR): Likewise.
2481 (BUS_ADRALN): Likewise.
2482 (BUS_ADRERR): Likewise.
2483 (BUS_OBJERR): Likewise.
2484 (BUS_MCEERR_AR): Likewise.
2485 (BUS_MCEERR_AO): Likewise.
2486 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2487 (TRAP_TRACE): Likewise.
2488 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2489 __USE_XOPEN2K8].
2490 (CLD_KILLED): Likewise.
2491 (CLD_DUMPED): Likewise.
2492 (CLD_TRAPPED): Likewise.
2493 (CLD_STOPPED): Likewise.
2494 (CLD_CONTINUED): Likewise.
2495 (POLL_IN): Likewise.
2496 (POLL_OUT): Likewise.
2497 (POLL_MSG): Likewise.
2498 (POLL_ERR): Likewise.
2499 (POLL_PRI): Likewise.
2500 (POLL_HUP): Likewise.
2501 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2502 (ILL_ILLOPN): Likewise.
2503 (ILL_ILLADR): Likewise.
2504 (ILL_ILLTRP): Likewise.
2505 (ILL_PRVOPC): Likewise.
2506 (ILL_PRVREG): Likewise.
2507 (ILL_COPROC): Likewise.
2508 (ILL_BADSTK): Likewise.
2509 (FPE_INTDIV): Likewise.
2510 (FPE_INTOVF): Likewise.
2511 (FPE_FLTDIV): Likewise.
2512 (FPE_FLTOVF): Likewise.
2513 (FPE_FLTUND): Likewise.
2514 (FPE_FLTRES): Likewise.
2515 (FPE_FLTINV): Likewise.
2516 (FPE_FLTSUB): Likewise.
2517 (SEGV_MAPERR): Likewise.
2518 (SEGV_ACCERR): Likewise.
2519 (BUS_ADRALN): Likewise.
2520 (BUS_ADRERR): Likewise.
2521 (BUS_OBJERR): Likewise.
2522 (BUS_MCEERR_AR): Likewise.
2523 (BUS_MCEERR_AO): Likewise.
2524 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2525 (TRAP_TRACE): Likewise.
2526 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2527 __USE_XOPEN2K8].
2528 (CLD_KILLED): Likewise.
2529 (CLD_DUMPED): Likewise.
2530 (CLD_TRAPPED): Likewise.
2531 (CLD_STOPPED): Likewise.
2532 (CLD_CONTINUED): Likewise.
2533 (POLL_IN): Likewise.
2534 (POLL_OUT): Likewise.
2535 (POLL_MSG): Likewise.
2536 (POLL_ERR): Likewise.
2537 (POLL_PRI): Likewise.
2538 (POLL_HUP): Likewise.
2539 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2540 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2541
bc61d27c
JM
2542 [BZ #16670]
2543 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2544 before #include of <time.h>.
2545 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2546 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2547 (test-xfail-UNIX98/sched.h/conform): Likewise.
2548
302949e2
MS
25492014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2550
2551 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2552 error absence of trapping exception support.
2553 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2554
a00f522a
JM
25552014-03-07 Joseph Myers <joseph@codesourcery.com>
2556
6f99f280
JM
2557 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2558 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2559 * timezone/Makefile (testdata): Move definition above include of
2560 Rules.
2561 (test-zones): New variable.
2562 (tests-special): Add zone files.
2563 (build-testdata): Use $(evaluate-test).
2564
0b20a9e8
JM
2565 * elf/Makefile (tests-special): Rename tests to end with .out.
2566 ($(objpfx)noload-mem): Likewise.
2567 ($(objpfx)tst-leaks1-mem): Likewise.
2568 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2569 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2570 $(objpfx)test-iconvconfig.out.
2571 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2572 set -e inside subshell and redirect output to file.
2573 * iconvdata/Makefile (generated): Rename tests to end with .out.
2574 Correct type.
2575 (tests-special): Rename tests to end with .out.
2576 ($(objpfx)mtrace-tst-loading): Likewise.
2577 * intl/Makefile (generated): Likewise.
2578 (tests-special): Likewise.
2579 ($(objpfx)mtrace-tst-gettext): Likewise.
2580 * misc/Makefile (generated): Likewise.
2581 (tests-special): Likewise.
2582 ($(objpfx)tst-error1-mem): Likewise.
2583 * nptl/Makefile (tests-special): Likewise.
2584 ($(objpfx)tst-stack3-mem): Likewise.
2585 (generated): Likewise.
2586 * posix/Makefile (generated): Likewise.
2587 (tests-special): Likewise.
2588 (xtests-special): Likewise.
2589 ($(objpfx)tst-fnmatch-mem): Likewise.
2590 ($(objpfx)bug-regex2-mem): Likewise.
2591 ($(objpfx)bug-regex14-mem): Likewise.
2592 ($(objpfx)bug-regex21-mem): Likewise.
2593 ($(objpfx)bug-regex31-mem): Likewise.
2594 ($(objpfx)tst-vfork3-mem): Likewise.
2595 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2596 ($(objpfx)tst-pcre-mem): Likewise.
2597 ($(objpfx)tst-boost-mem): Likewise.
2598 ($(objpfx)bug-ga2-mem): Likewise.
2599 ($(objpfx)bug-glob2-mem): Likewise.
2600 * resolv/Makefile (generate): Likewise.
2601 (tests-special): Likewise.
2602 (xtests-special): Likewise.
2603 (generated): Likewise.
2604 ($(objpfx)mtrace-tst-leaks): Likewise.
2605 ($(objpfx)mtrace-tst-leaks2): Likewise.
2606
265d52ab
JM
2607 * scripts/merge-test-results.sh: New file.
2608 * Makefile (tests-special-notdir): New variable.
2609 (tests): Run merge-test-results.sh.
2610 (xtests): Likewise.
2611 * Rules (tests-special-notdir): New variable.
2612 (xtests-special-notdir): Likewise.
2613 (tests): Run merge-test-results.sh
2614 (xtests): Likewise.
2615
54ee292d
JM
2616 * Makeconfig (test-xfail-name): New variable.
2617 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2618 compute variable name for expected failures.
2619 * conform/Makefile (conformtest-headers-data): New variable.
2620 (conformtest-standards): Likewise.
2621 (conformtest-headers-ISO): Likewise.
2622 (conformtest-headers-ISO99): Likewise.
2623 (conformtest-headers-ISO11): Likewise.
2624 (conformtest-headers-POSIX): Likewise.
2625 (conformtest-headers-XPG3): Likewise.
2626 (conformtest-headers-XPG4): Likewise.
2627 (conformtest-headers-UNIX98): Likewise.
2628 (conformtest-headers-XOPEN2K): Likewise.
2629 (conformtest-headers-POSIX2008): Likewise.
2630 (conformtest-headers-XOPEN2K8): Likewise.
2631 (conformtest-header-list-base): Likewise.
2632 (conformtest-header-list-tests): Likewise.
2633 (conformtest-header-base): Likewise.
2634 (conformtest-header-tests): Likewise.
2635 (tests-special): Add $(conformtest-header-list-tests). If
2636 [$(fast-check) && !$(cross-compiling)], add
2637 $(conformtest-header-tests) instead of
2638 $(objpfx)run-conformtest.out.
2639 (generated): Add $(conformtest-header-list-base). If
2640 [$(fast-check) && !$(cross-compiling)], add
2641 $(conformtest-header-base). Remove previous setting.
2642 ($(conformtest-header-list-tests)): New target.
2643 (test-xfail-run-conformtest): Remove variable.
2644 ($(objpfx)run-conformtest.out): Remove target.
2645 (test-xfail-ISO11/complex.h/conform): New variable.
2646 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2647 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2648 (test-xfail-XPG3/varargs.h/conform): Likewise.
2649 (test-xfail-XPG4/varargs.h/conform): Likewise.
2650 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2651 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2652 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2653 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2654 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2655 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2656 (test-xfail-XPG3/ftw.h/conform): Likewise.
2657 (test-xfail-XPG3/grp.h/conform): Likewise.
2658 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2659 (test-xfail-XPG3/limits.h/conform): Likewise.
2660 (test-xfail-XPG3/pwd.h/conform): Likewise.
2661 (test-xfail-XPG3/search.h/conform): Likewise.
2662 (test-xfail-XPG3/signal.h/conform): Likewise.
2663 (test-xfail-XPG3/stdio.h/conform): Likewise.
2664 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2665 (test-xfail-XPG3/string.h/conform): Likewise.
2666 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2667 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2668 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2669 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2670 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2671 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2672 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2673 (test-xfail-XPG3/termios.h/conform): Likewise.
2674 (test-xfail-XPG3/time.h/conform): Likewise.
2675 (test-xfail-XPG3/unistd.h/conform): Likewise.
2676 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2677 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2678 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2679 (test-xfail-XPG4/netdb.h/conform): Likewise.
2680 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2681 (test-xfail-XPG4/signal.h/conform): Likewise.
2682 (test-xfail-XPG4/stdio.h/conform): Likewise.
2683 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2684 (test-xfail-XPG4/stropts.h/conform): Likewise.
2685 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2686 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2687 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2688 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2689 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2690 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2691 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2692 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2693 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2694 (test-xfail-XPG4/termios.h/conform): Likewise.
2695 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2696 (test-xfail-XPG4/unistd.h/conform): Likewise.
2697 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2698 (test-xfail-POSIX/sched.h/conform): Likewise.
2699 (test-xfail-POSIX/signal.h/conform): Likewise.
2700 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2701 (test-xfail-POSIX/tar.h/conform): Likewise.
2702 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2703 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2704 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2705 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2706 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2707 (test-xfail-UNIX98/sched.h/conform): Likewise.
2708 (test-xfail-UNIX98/signal.h/conform): Likewise.
2709 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2710 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2711 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2712 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2713 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2714 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2715 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2716 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2717 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2718 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2719 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2720 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2721 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2722 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2723 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2724 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2725 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2726 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2727 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2728 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2729 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2730 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2731 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2732 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2733 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2734 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2735 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2736 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2737 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2738 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2739 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2740 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2741 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2742 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2743 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2744 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2745 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2746 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2747 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2748 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2749 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2750 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2751 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2752 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2753 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2754 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2755 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2756 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2757 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2758 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2759 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2760 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2761 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2762 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2763 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2764 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2765 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2766 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2767 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2768 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2769 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2770 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2771 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2772 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2773 (conformtest-cc-flags): Likewise.
2774 ($(conformtest-header-tests): New target.
2775 * conform/check-header-lists.sh: New file.
2776 * conform/run-conformtest.sh: Remove.
2777
a00f522a
JM
2778 * conform/conformtest.pl: Allow ' and \ in values given for
2779 constants.
2780 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2781 inclusion.
2782 [POSIX] (sys/types.h): Likewise.
2783 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2784 inclusion.
2785 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2786 inclusion.
2787 * conform/data/signal.h-data (SIGIO): Remove expectation.
2788 [XPG3] (SIGBUS): Do not expect.
2789 [POSIX || XPG3] (SIGPOLL): Likewise.
2790 [POSIX || XPG3] (SIGPROF): Likewise.
2791 [POSIX || XPG3] (SIGSYS): Likewise.
2792 [XPG3] (SIGTRAP): Likewise.
2793 [POSIX || XPG3] (SIGURG): Likewise.
2794 [POSIX || XPG3] (SIGVTALRM): Likewise.
2795 [POSIX || XPG3] (SIGXCPU): Likewise.
2796 [POSIX || XPG3] (SIGXFSZ): Likewise.
2797 [POSIX] (SA_SIGINFO): Expect.
2798 [XPG3] (siginfo_t): Do not expect type or contents.
2799 [POSIX] (si_pid): Do not expect element.
2800 [POSIX] (si_uid): Likewise.
2801 [POSIX] (si_addr): Likewise.
2802 [POSIX] (si_status): Likewise.
2803 [POSIX] (si_band): Likewise.
2804 [XPG4] (si_value): Likewise.
2805 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2806 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2807 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2808 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2809 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2810 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2811 [POSIX || XPG3] (ILL_COPROC): Likewise.
2812 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2813 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2814 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2815 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2816 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2817 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2818 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2819 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2820 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2821 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2822 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2823 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2824 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2825 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2826 [POSIX || XPG3] (CLD_EXITED): Likewise.
2827 [POSIX || XPG3] (CLD_KILLED): Likewise.
2828 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2829 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2830 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2831 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2832 [POSIX || XPG3] (POLL_IN): Likewise.
2833 [POSIX || XPG3] (POLL_OUT): Likewise.
2834 [POSIX || XPG3] (POLL_MSG): Likewise.
2835 [POSIX || XPG3] (POLL_ERR): Likewise.
2836 [POSIX || XPG3] (POLL_PRI): Likewise.
2837 [POSIX || XPG3] (POLL_HUP): Likewise.
2838 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2839 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2840 (SIG*): Do not allow.
2841 [XPG3] (si_*): Likewise.
2842 [XPG3] (SI_*): Likewise.
2843 [XPG3 || XPG4] (sigev_*): Likewise.
2844 [XPG3 || XPG4] (SIGEV_*): Likewise.
2845 [XPG3 || XPG4] (sival_*): Likewise.
2846 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2847 [POSIX || XPG3] (BUS_*): Likewise.
2848 [POSIX || XPG3] (CLD_*): Likewise.
2849 [POSIX || XPG3] (FPE_*): Likewise.
2850 [POSIX || XPG3] (ILL_*): Likewise.
2851 [POSIX || XPG3] (POLL_*): Likewise.
2852 [POSIX || XPG3] (SEGV_*): Likewise.
2853 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2854 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2855 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2856 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2857 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2858 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2859 Specify type and value.
2860 (TVERSLEN): Likewise.
2861 (REGTYPE): Likewise.
2862 (AREGTYPE): Likewise.
2863 (LNKTYPE): Likewise.
2864 (SYMTYPE): Likewise.
2865 (CHRTYPE): Likewise.
2866 (BLKTYPE): Likewise.
2867 (DIRTYPE): Likewise.
2868 (FIFOTYPE): Likewise.
2869 (CONTTYPE): Likewise.
2870 (TSUID): Likewise.
2871 (TSGID): Likewise.
2872 (TSVTX): Likewise.
2873 (TUREAD): Likewise.
2874 (TUWRITE): Likewise.
2875 (TUEXEC): Likewise.
2876 (TGREAD): Likewise.
2877 (TGWRITE): Likewise.
2878 (TGEXEC): Likewise.
2879 (TOREAD): Likewise.
2880 (TOWRITE): Likewise.
2881 (TOEXEC): Likewise.
2882 [POSIX] (TSVTX): Expect constant.
2883
aa97dee1
JM
28842014-03-06 Joseph Myers <joseph@codesourcery.com>
2885
f214606a
JM
2886 * Makefile (tests): Change dependencies to ....
2887 (tests-special): ... additions to this variable.
2888 (tests): Depend on $(tests-special).
2889 * Makerules (check-abi-list): New variable.
2890 (check-abi): Depend on $(check-abi-list).
2891 [$(subdir) = elf] (tests-special): Add
2892 $(objpfx)check-abi-libc.out.
2893 [$(build-shared) = yes && subdir] (tests-special): Add
2894 $(check-abi-list).
2895 [$(build-shared) = yes && subdir] (tests): Do not depend on
2896 check-abi.
2897 * Rules (tests): Depend on $(tests-special).
2898 (xtests): Depend on $(xtests-special).
2899 * catgets/Makefile (tests): Change dependencies to ....
2900 (tests-special): ... additions to this variable.
2901 * conform/Makefile (tests): Change dependencies to ....
2902 (tests-special): ... additions to this variable.
2903 * elf/Makefile (tests): Change dependencies to ....
2904 (tests-special): ... additions to this variable.
2905 * grp/Makefile (tests): Change dependencies to ....
2906 (tests-special): ... additions to this variable.
2907 * iconv/Makefile (xtests): Change dependencies to ....
2908 (xtests-special): ... additions to this variable.
2909 * iconvdata/Makefile (tests): Change dependencies to ....
2910 (tests-special): ... additions to this variable.
2911 * intl/Makefile (tests): Change dependencies to ....
2912 (tests-special): ... additions to this variable. Also add
2913 $(objpfx)tst-gettext.out.
2914 * io/Makefile (tests): Change dependencies to ....
2915 (tests-special): ... additions to this variable.
2916 * libio/Makefile (tests): Change dependencies to ....
2917 (tests-special): ... additions to this variable.
2918 * malloc/Makefile (tests): Change dependencies to ....
2919 (tests-special): ... additions to this variable.
2920 * misc/Makefile (tests): Change dependencies to ....
2921 (tests-special): ... additions to this variable.
2922 * nptl/Makefile (tests): Change dependencies to ....
2923 (tests-special): ... additions to this variable.
2924 * nptl_db/Makefile (tests): Change dependencies to ....
2925 (tests-special): ... additions to this variable.
2926 * posix/Makefile (tests): Change dependencies to ....
2927 (tests-special): ... additions to this variable.
2928 (xtests): Change dependencies to ....
2929 (xtests-special): ... additions to this variable.
2930 * resolv/Makefile (tests): Change dependencies to ....
2931 (tests-special): ... additions to this variable.
2932 (xtests): Change dependencies to ....
2933 (xtests-special): ... additions to this variable.
2934 * stdio-common/Makefile (tests): Change dependencies to ....
2935 (tests-special): ... additions to this variable.
2936 (do-tst-unbputc): Remove target.
2937 (do-tst-printf): Likewise.
2938 * stdlib/Makefile (tests): Change dependencies to ....
2939 (tests-special): ... additions to this variable.
2940 * string/Makefile (tests): Change dependencies to ....
2941 (tests-special): ... additions to this variable.
2942 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2943 (tests-special): ... additions to this variable.
2944
81700b53
JM
2945 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2946 whole file.
2947 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2948 whole file.
2949 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2950 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2951
2ea18461
JM
2952 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2953 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2954 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2955 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2956 * conform/data/libgen.h-data [XPG3]: Likewise.
2957 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2958 * conform/data/ndbm.h-data [XPG3]: Likewise.
2959 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2960 * conform/data/netdb.h-data [XPG3]: Likewise.
2961 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2962 * conform/data/poll.h-data [XPG3]: Likewise.
2963 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2964 * conform/data/strings.h-data [XPG3]: Likewise.
2965 * conform/data/stropts.h-data [XPG3]: Likewise.
2966 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2967 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2968 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2969 Likewise.
2970 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2971 * conform/data/sys/time.h-data [XPG3]: Likewise.
2972 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2973 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2974 * conform/data/sys/un.h-data [XPG3]: Likewise.
2975 * conform/data/syslog.h-data [XPG3]: Likewise.
2976 * conform/data/ucontext.h-data [XPG3]: Likewise.
2977 * conform/data/utmpx.h-data [XPG3]: Likewise.
2978 * conform/data/varargs.h-data [UNIX98]: Enable file.
2979
355bc986
JM
2980 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2981
215db402
JM
2982 * math/libm-test.inc (struct test_f_f_data): Move expected results
2983 into structure for each rounding mode.
2984 (struct test_ff_f_data): Likewise.
2985 (struct test_ff_f_data_nexttoward): Likewise.
2986 (struct test_fi_f_data): Likewise.
2987 (struct test_fl_f_data): Likewise.
2988 (struct test_if_f_data): Likewise.
2989 (struct test_fff_f_data): Likewise.
2990 (struct test_c_f_data): Likewise.
2991 (struct test_f_f1_data): Likewise.
2992 (struct test_fF_f1_data): Likewise.
2993 (struct test_ffI_f1_data): Likewise.
2994 (struct test_c_c_data): Likewise.
2995 (struct test_cc_c_data): Likewise.
2996 (struct test_f_i_data): Likewise.
2997 (struct test_ff_i_data): Likewise.
2998 (struct test_f_l_data): Likewise.
2999 (struct test_f_L_data): Likewise.
3000 (struct test_fFF_11_data): Likewise.
3001 (RM_): New macro.
3002 (RM_FE_DOWNWARD): Likewise.
3003 (RM_FE_TONEAREST): Likewise.
3004 (RM_FE_TOWARDZERO): Likewise.
3005 (RM_FE_UPWARD): Likewise.
3006 (RUN_TEST_LOOP_f_f): Update references to expected results.
3007 (RUN_TEST_LOOP_2_f): Likewise.
3008 (RUN_TEST_LOOP_fff_f): Likewise.
3009 (RUN_TEST_LOOP_c_f): Likewise.
3010 (RUN_TEST_LOOP_f_f1): Likewise.
3011 (RUN_TEST_LOOP_fF_f1): Likewise.
3012 (RUN_TEST_LOOP_fI_f1): Likewise.
3013 (RUN_TEST_LOOP_ffI_f1): Likewise.
3014 (RUN_TEST_LOOP_c_c): Likewise.
3015 (RUN_TEST_LOOP_cc_c): Likewise.
3016 (RUN_TEST_LOOP_f_i): Likewise.
3017 (RUN_TEST_LOOP_f_i_tg): Likewise.
3018 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3019 (RUN_TEST_LOOP_f_b): Likewise.
3020 (RUN_TEST_LOOP_f_b_tg): Likewise.
3021 (RUN_TEST_LOOP_f_l): Likewise.
3022 (RUN_TEST_LOOP_f_L): Likewise.
3023 (RUN_TEST_LOOP_fFF_11): Likewise.
3024 * math/gen-libm-test.pl (parse_args): Output four copies of
3025 expected results for each test.
3026
67737b8f
JM
3027 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3028 (__ASSUME_UTIMES): Remove.
3029 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3030 (__ASSUME_UTIMES): Likewise.
3031
aa97dee1
JM
3032 * math/gen-auto-libm-tests.c: Update comment on output format.
3033 (output_for_one_input_case): Generate before-rounding and
3034 after-rounding information as conditions on output flags not
3035 floating-point format.
3036 * math/auto-libm-test-out: Regenerated.
3037 * math/gen-libm-test.pl (cond_value): New function.
3038 (or_cond_value): Use cond_value.
3039 (generate_testfile): Handle conditional exceptions.
3040
e6b6a857
JM
30412014-03-05 Joseph Myers <joseph@codesourcery.com>
3042
2f0a0f44
JM
3043 * math/libm-test.inc (max_valid_error): New variable.
3044 (init_max_error): Take new argument specifying whether function
3045 results are exactly determined. Set max_valid_error and bound
3046 other variables for errors based on this argument.
3047 (set_max_error): Do not record results above max_valid_error.
3048 (check_float_internal): Only accept errors of up to 0.5ulps if
3049 also at most max_valid_error.
3050 (START): Take new argument EXACT and pass it to init_max_error.
3051 (acos_test): Update call to START.
3052 (acos_test_tonearest): Likewise.
3053 (acos_test_towardzero): Likewise.
3054 (acos_test_downward): Likewise.
3055 (acos_test_upward): Likewise.
3056 (acosh_test): Likewise.
3057 (asin_test): Likewise.
3058 (asin_test_tonearest): Likewise.
3059 (asin_test_towardzero): Likewise.
3060 (asin_test_downward): Likewise.
3061 (asin_test_upward): Likewise.
3062 (asinh_test): Likewise.
3063 (atan_test): Likewise.
3064 (atanh_test): Likewise.
3065 (atan2_test): Likewise.
3066 (cabs_test): Likewise.
3067 (cacos_test): Likewise.
3068 (cacosh_test): Likewise.
3069 (carg_test): Likewise.
3070 (casin_test): Likewise.
3071 (casinh_test): Likewise.
3072 (catan_test): Likewise.
3073 (catanh_test): Likewise.
3074 (cbrt_test): Likewise.
3075 (ccos_test): Likewise.
3076 (ccosh_test): Likewise.
3077 (ceil_test): Likewise.
3078 (cexp_test): Likewise.
3079 (cimag_test): Likewise.
3080 (clog_test): Likewise.
3081 (clog10_test): Likewise.
3082 (conj_test): Likewise.
3083 (copysign_test): Likewise.
3084 (cos_test): Likewise.
3085 (cos_test_tonearest): Likewise.
3086 (cos_test_towardzero): Likewise.
3087 (cos_test_downward): Likewise.
3088 (cos_test_upward): Likewise.
3089 (cosh_test): Likewise.
3090 (cosh_test_tonearest): Likewise.
3091 (cosh_test_towardzero): Likewise.
3092 (cosh_test_downward): Likewise.
3093 (cosh_test_upward): Likewise.
3094 (cpow_test): Likewise.
3095 (cproj_test): Likewise.
3096 (creal_test): Likewise.
3097 (csin_test): Likewise.
3098 (csinh_test): Likewise.
3099 (csqrt_test): Likewise.
3100 (ctan_test): Likewise.
3101 (ctan_test_tonearest): Likewise.
3102 (ctan_test_towardzero): Likewise.
3103 (ctan_test_downward): Likewise.
3104 (ctan_test_upward): Likewise.
3105 (ctanh_test): Likewise.
3106 (ctanh_test_tonearest): Likewise.
3107 (ctanh_test_towardzero): Likewise.
3108 (ctanh_test_downward): Likewise.
3109 (ctanh_test_upward): Likewise.
3110 (erf_test): Likewise.
3111 (erfc_test): Likewise.
3112 (exp_test): Likewise.
3113 (exp_test_tonearest): Likewise.
3114 (exp_test_towardzero): Likewise.
3115 (exp_test_downward): Likewise.
3116 (exp_test_upward): Likewise.
3117 (exp10_test): Likewise.
3118 (exp10_test_tonearest): Likewise.
3119 (exp10_test_towardzero): Likewise.
3120 (exp10_test_downward): Likewise.
3121 (exp10_test_upward): Likewise.
3122 (pow10_test): Likewise.
3123 (exp2_test): Likewise.
3124 (expm1_test): Likewise.
3125 (expm1_test_tonearest): Likewise.
3126 (expm1_test_towardzero): Likewise.
3127 (expm1_test_downward): Likewise.
3128 (expm1_test_upward): Likewise.
3129 (fabs_test): Likewise.
3130 (fdim_test): Likewise.
3131 (floor_test): Likewise.
3132 (fma_test): Likewise.
3133 (fma_test_towardzero): Likewise.
3134 (fma_test_downward): Likewise.
3135 (fma_test_upward): Likewise.
3136 (fmax_test): Likewise.
3137 (fmin_test): Likewise.
3138 (fmod_test): Likewise.
3139 (fpclassify_test): Likewise.
3140 (frexp_test): Likewise.
3141 (hypot_test): Likewise.
3142 (ilogb_test): Likewise.
3143 (isfinite_test): Likewise.
3144 (finite_test): Likewise.
3145 (isgreater_test): Likewise.
3146 (isgreaterequal_test): Likewise.
3147 (isinf_test): Likewise.
3148 (isless_test): Likewise.
3149 (islessequal_test): Likewise.
3150 (islessgreater_test): Likewise.
3151 (isnan_test): Likewise.
3152 (isnormal_test): Likewise.
3153 (issignaling_test): Likewise.
3154 (isunordered_test): Likewise.
3155 (j0_test): Likewise.
3156 (j1_test): Likewise.
3157 (jn_test): Likewise.
3158 (ldexp_test): Likewise.
3159 (lgamma_test): Likewise.
3160 (gamma_test): Likewise.
3161 (lrint_test): Likewise.
3162 (lrint_test_tonearest): Likewise.
3163 (lrint_test_towardzero): Likewise.
3164 (lrint_test_downward): Likewise.
3165 (lrint_test_upward): Likewise.
3166 (llrint_test): Likewise.
3167 (llrint_test_tonearest): Likewise.
3168 (llrint_test_towardzero): Likewise.
3169 (llrint_test_downward): Likewise.
3170 (llrint_test_upward): Likewise.
3171 (log_test): Likewise.
3172 (log10_test): Likewise.
3173 (log1p_test): Likewise.
3174 (log2_test): Likewise.
3175 (logb_test): Likewise.
3176 (logb_test_downward): Likewise.
3177 (lround_test): Likewise.
3178 (llround_test): Likewise.
3179 (modf_test): Likewise.
3180 (nearbyint_test): Likewise.
3181 (nextafter_test): Likewise.
3182 (nexttoward_test): Likewise.
3183 (pow_test): Likewise.
3184 (pow_test_tonearest): Likewise.
3185 (pow_test_towardzero): Likewise.
3186 (pow_test_downward): Likewise.
3187 (pow_test_upward): Likewise.
3188 (remainder_test): Likewise.
3189 (drem_test): Likewise.
3190 (remainder_test_tonearest): Likewise.
3191 (drem_test_tonearest): Likewise.
3192 (remainder_test_towardzero): Likewise.
3193 (drem_test_towardzero): Likewise.
3194 (remainder_test_downward): Likewise.
3195 (drem_test_downward): Likewise.
3196 (remainder_test_upward): Likewise.
3197 (drem_test_upward): Likewise.
3198 (remquo_test): Likewise.
3199 (rint_test): Likewise.
3200 (rint_test_tonearest): Likewise.
3201 (rint_test_towardzero): Likewise.
3202 (rint_test_downward): Likewise.
3203 (rint_test_upward): Likewise.
3204 (round_test): Likewise.
3205 (scalb_test): Likewise.
3206 (scalbn_test): Likewise.
3207 (scalbln_test): Likewise.
3208 (signbit_test): Likewise.
3209 (sin_test): Likewise.
3210 (sin_test_tonearest): Likewise.
3211 (sin_test_towardzero): Likewise.
3212 (sin_test_downward): Likewise.
3213 (sin_test_upward): Likewise.
3214 (sincos_test): Likewise.
3215 (sinh_test): Likewise.
3216 (sinh_test_tonearest): Likewise.
3217 (sinh_test_towardzero): Likewise.
3218 (sinh_test_downward): Likewise.
3219 (sinh_test_upward): Likewise.
3220 (sqrt_test): Likewise.
3221 (sqrt_test_tonearest): Likewise.
3222 (sqrt_test_towardzero): Likewise.
3223 (sqrt_test_downward): Likewise.
3224 (sqrt_test_upward): Likewise.
3225 (tan_test): Likewise.
3226 (tan_test_tonearest): Likewise.
3227 (tan_test_towardzero): Likewise.
3228 (tan_test_downward): Likewise.
3229 (tan_test_upward): Likewise.
3230 (tanh_test): Likewise.
3231 (tgamma_test): Likewise.
3232 (trunc_test): Likewise.
3233 (y0_test): Likewise.
3234 (y1_test): Likewise.
3235 (yn_test): Likewise.
3236 (significand_test): Likewise.
3237
e6b6a857
JM
3238 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3239 individual tests in comment.
3240 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3241 (prev_max_error): New variable.
3242 (prev_real_max_error): Likewise.
3243 (prev_imag_max_error): Likewise.
3244 (compare_ulp_data): Don't refer to test names in comment.
3245 (find_test_ulps): Remove function.
3246 (find_function_ulps): Likewise.
3247 (find_complex_function_ulps): Likewise.
3248 (init_max_error): Take function name as argument. Look up ulps
3249 for that function.
3250 (print_ulps): Remove function.
3251 (print_max_error): Use prev_max_error instead of calling
3252 find_function_ulps.
3253 (print_complex_max_error): Use prev_real_max_error and
3254 prev_imag_max_error instead of calling find_complex_function_ulps.
3255 (check_float_internal): Take max_ulp parameter instead of calling
3256 find_test_ulps. Don't call print_ulps.
3257 (check_float): Update call to check_float_internal.
3258 (check_complex): Update calls to check_float_internal.
3259 (START): Pass argument to init_max_error.
3260 * math/gen-libm-test.pl (%results): Don't include "kind"
3261 information.
3262 (parse_ulps): Don't handle ulps of individual tests.
3263 (print_ulps_file): Likewise.
3264 (output_ulps): Likewise.
3265 * math/README.libm-test: Update.
3266 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3267 individual tests.
3268 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3269 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3270 * sysdeps/arm/libm-test-ulps: Likewise.
3271 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3272 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3273 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3274 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3275 * sysdeps/microblaze/libm-test-ulps: Likewise.
3276 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3277 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3278 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3279 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3280 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3281 * sysdeps/sh/libm-test-ulps: Likewise.
3282 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3283 * sysdeps/tile/libm-test-ulps: Likewise.
3284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3285
45adef3c
JM
32862014-03-04 Joseph Myers <joseph@codesourcery.com>
3287
3288 * math/libm-test.inc (print_complex_max_error): Check separately
3289 whether real and imaginary errors are within allowed range and
3290 pass 0 to print_complex_function_ulps instead of value within
3291 allowed range.
3292
000232b9
SP
32932014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3294
d4b17258
SP
3295 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3296 formatting.
3297 (get_handles_fopen): Likewise.
3298 (do_write_test): Likewise.
3299
091eff71
SP
3300 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3301
fa3cd248
SP
3302 * libio/fileops.c (do_ftell): Use cached offset when
3303 available.
3304 * libio/iofwide.c (do_ftell_wide): Likewise.
3305 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3306 _IO_file_attach.
3307 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3308
000232b9
SP
3309 [BZ #16532]
3310 * libio/libioP.h (get_file_offset): New function.
3311 * libio/fileops.c (get_file_offset): Likewise.
3312 (do_ftell): Likewise.
3313 (_IO_new_file_seekoff): Split out ftell logic.
3314 * libio/wfileops.c (do_ftell_wide): Likewise.
3315 (_IO_wfile_seekoff): Split out ftell logic.
3316 * libio/tst-ftell-active-handler.c: New test case.
3317 * libio/Makefile (tests): Add it.
3318
116f4d1a
RM
33192014-03-03 Roland McGrath <roland@hack.frob.com>
3320
3321 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3322 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3323
532a6035
SP
33242014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3325
3326 [BZ #16639]
3327 * nscd/connections.c (nscd_init): Call do_exit.
3328 (start_threads): Call do_exit and notify_parent.
3329 (begin_drop_privileges): Call do_exit.
3330 (finish_drop_privileges): Likewise.
3331 * nscd/selinux.c (preserve_capabilities): Likewise.
3332 (install_real_capabilities): Likewise.
3333 (nscd_selinux_enabled): Likewise.
3334 (avc_create_thread): Likewise.
3335 (avc_alloc_lock): Likewise.
3336 (nscd_avc_init): Likewise.
3337 * nscd/nscd.c (parent_fd): New static variable.
3338 (main): Create a pipe between parent and child processes.
3339 Skip closing parent_fd.
3340 (monitor_child): New function.
3341 (do_exit): Likewise.
3342 (notify_parent): Likewise.
3343 * nscd/nscd.h (notify_parent): Likewise.
3344 (do_exit): Likewise.
3345
d6285c9f
CD
33462014-03-03 Carlos O'Donell <carlos@redhat.com>
3347
3348 * malloc/malloc.c (__libc_calloc): Revert last change.
3349
2b85d2a0
AZ
33502014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3351
3352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3353
c7debbdf
RS
33542014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3355
3356 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3357 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3358 implementation.
3359 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3360 (__libc_ifunc_impl_list): Likewise.
3361 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3362 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3363 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3364 * string/strrchr.c: Define STRRCHR.
3365
235eed86
OB
33662014-02-28 Ondřej Bílka <neleai@seznam.cz>
3367
3368 * benchtest/bench-strtok.c (simple_strtok): Delete.
3369 (strtok_string): Use as benchmark.
3370 * string/strtok (STRTOK): New macro.
3371
8e25d1e7
CD
33722014-02-28 Carlos O'Donell <carlos@redhat.com>
3373
ef563f92
CD
3374 * manual/threads.texi: Add header and standard comments to all
3375 functions.
3376
8e25d1e7
CD
3377 * elf/dl-lookup.c (check_match): New function.
3378 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3379 (do_lookup_x): Remove nested function check_match. Use non-nested
3380 function check_match.
3381
ff71cc37
RM
33822014-02-28 Roland McGrath <roland@hack.frob.com>
3383
f08e9a26
RM
3384 * csu/Makefile (generated, before-compile): Use += rather than =.
3385 * catgets/Makefile (generated, generated-dirs): Likewise.
3386 * debug/Makefile (generated): Likewise.
3387 * dlfcn/Makefile (generated): Likewise.
3388 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3389 * iconvdata/Makefile (before-compile, generated): Likewise.
3390 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3391 * libio/Makefile (generated): Likewise.
3392 * malloc/Makefile (generated): Likewise.
3393 * manual/Makefile (generated, generated-dirs): Likewise.
3394 * misc/Makefile (generated): Likewise.
3395 * posix/Makefile (generated): Likewise.
3396 * resolv/Makefile (generated): Likewise.
3397 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3398 * timezone/Makefile (generated, generated-dirs): Likewise.
3399
ff71cc37
RM
3400 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3401
fe13a20c
AZ
34022014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3403
57f41c40
AS
3404 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3405 power8 implementation.
3406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3407 file: POWER8 llround ifunc implementation.
3408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3409 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
3410 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3411 POWER8 llround implementation.
3412
57f41c40
AS
3413 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3414 power8 implementation.
3415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3416 file: POWER8 llrint ifunc implementation.
3417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3418 Add POWER8 implementation.
1ad8950a
AZ
3419 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3420 POWER8 llrint implementation.
3421
57f41c40
AS
3422 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3423 power8 implementation.
3424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3425 file: POWER8 finite ifunc implementation.
3426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3427 Add POWER8 implementation.
cac626d6
AZ
3428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3429 Likewise.
3430 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3431 POWER8 finite implementation.
3432 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3433
57f41c40
AS
3434 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3435 power8 implementation.
3436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3437 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
3438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3439 POWER8 implementation.
3440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3441 Likewise.
57f41c40
AS
3442 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3443 isinf implementation.
4393fc11
AZ
3444 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3445
57f41c40
AS
3446 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3447 (INIT_ARCH): Add hwcap2 initialization.
3448 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3449 power8 implementation.
3450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3451 file: POWER8 isnan ifunc implementation.
487972ae
AZ
3452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3453 POWER8 implementation.
3454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3455 Likewise.
57f41c40
AS
3456 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3457 isnan implementation.
487972ae
AZ
3458 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3459
7d92b787
JY
34602014-02-27 Joey Ye <joey.ye@arm.com>
3461
3462 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3463 (_FP_NANFRAC_Q): Set to zero.
3464
1cadc858
SP
34652014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3466
3467 [BZ #16623]
3468 * math/auto-libm-test-in: New test inputs.
3469 * math/auto-libm-test-out: Regenerate.
3470 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3471 and DA.
3472 (__cos): Likewise.
3473 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3474
f8c17e79
JM
34752014-02-27 Joseph Myers <joseph@codesourcery.com>
3476
3477 * scripts/evaluate-test.sh: Take new argument indicating whether
3478 failure is expected.
3479 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3480 indicating whether failure is expected.
3481 * conform/Makefile (test-xfail-run-conformtest): New variable.
3482 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3483 level.
3484 * posix/Makefile (test-xfail-annexc): New variable.
3485 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3486
a5f891ac
JM
34872014-02-26 Joseph Myers <joseph@codesourcery.com>
3488
3489 * argp/Makefile: Include Makeconfig immediately after defining
3490 subdir.
3491 * assert/Makefile: Likewise.
3492 * benchtests/Makefile: Likewise.
3493 * catgets/Makefile: Likewise.
3494 * conform/Makefile: Likewise.
3495 * crypt/Makefile: Likewise.
3496 * csu/Makefile: Likewise.
3497 (all): Remove target.
3498 * ctype/Makefile: Include Makeconfig immediately after defining
3499 subdir.
3500 * debug/Makefile: Likewise.
3501 * dirent/Makefile: Likewise.
3502 * dlfcn/Makefile: Likewise.
3503 * gmon/Makefile: Likewise.
3504 * gnulib/Makefile: Likewise.
3505 * grp/Makefile: Likewise.
3506 * gshadow/Makefile: Likewise.
3507 * hesiod/Makefile: Likewise.
3508 * hurd/Makefile: Likewise.
3509 (all): Remove target.
3510 * iconvdata/Makefile: Include Makeconfig immediately after
3511 defining subdir.
3512 * inet/Makefile: Likewise.
3513 * intl/Makefile: Likewise.
3514 * io/Makefile: Likewise.
3515 * libio/Makefile: Likewise.
3516 (all): Remove target.
3517 * locale/Makefile: Include Makeconfig immediately after defining
3518 subdir.
3519 * login/Makefile: Likewise.
3520 * mach/Makefile: Likewise.
3521 (all): Remove target.
3522 * malloc/Makefile: Include Makeconfig immediately after defining
3523 subdir.
3524 (all): Remove target.
3525 * manual/Makefile: Include Makeconfig immediately after defining
3526 subdir.
3527 * math/Makefile: Likewise.
3528 * misc/Makefile: Likewise.
3529 * nis/Makefile: Likewise.
3530 * nss/Makefile: Likewise.
3531 * po/Makefile: Likewise.
3532 (all): Remove target.
3533 * posix/Makefile: Include Makeconfig immediately after defining
3534 subdir.
3535 * pwd/Makefile: Likewise.
3536 * resolv/Makefile: Likewise.
3537 * resource/Makefile: Likewise.
3538 * rt/Makefile: Likewise.
3539 * setjmp/Makefile: Likewise.
3540 * shadow/Makefile: Likewise.
3541 * signal/Makefile: Likewise.
3542 * socket/Makefile: Likewise.
3543 * soft-fp/Makefile: Likewise.
3544 * stdio-common/Makefile: Likewise.
3545 * stdlib/Makefile: Likewise.
3546 * streams/Makefile: Likewise.
3547 * string/Makefile: Likewise.
3548 * sunrpc/Makefile: Likewise.
3549 (all): Remove target.
3550 * sysvipc/Makefile: Include Makeconfig immediately after defining
3551 subdir.
3552 * termios/Makefile: Likewise.
3553 * time/Makefile: Likewise.
3554 * timezone/Makefile: Likewise.
3555 (all): Remove target.
3556 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3557 subdir.
3558 * wctype/Makefile: Likewise.
3559
5b456e9d
SE
35602014-02-26 Steve Ellcey <sellcey@mips.com>
3561
3562 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3563 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3564 (libc_feholdexcept_setround_mips): Ditto.
3565 (libc_feholdsetround): New.
3566 (libc_feholdsetroundf): New.
3567 (libc_feholdsetroundl): New.
3568 (libc_feupdateenv_test_mips): New.
3569 (libc_feupdateenv_test): New.
3570 (libc_feupdateenv_testf): New.
3571 (libc_feupdateenv_testl): New.
3572 (libc_feresetround): New.
3573 (libc_feresetroundf): New.
3574 (libc_feresetroundl): New.
3575 (libc_fetestexcept_mips): New.
3576 (libc_fetestexcept): New.
3577 (libc_fetestexceptf): New.
3578 (libc_fetestexceptl): New.
3579 (HAVE_RM_CTX): New.
3580 (libc_feholdexcept_setround_mips_ctx): New.
3581 (libc_feholdexcept_setround_ctx): New.
3582 (libc_feholdexcept_setroundf_ctx): New.
3583 (libc_feholdexcept_setroundl_ctx): New.
3584 (libc_fesetenv_mips_ctx): New.
3585 (libc_fesetenv_ctx): New.
3586 (libc_fesetenv_ctxf): New.
3587 (libc_fesetenv_ctxl): New.
3588 (libc_feupdateenv_mips_ctx): New.
3589 (libc_feupdateenv_ctx): New.
3590 (libc_feupdateenvf_ctx): New.
3591 (libc_feupdateenvl_ctx): New.
3592 (libc_feholdsetround_mips_ctx): New.
3593 (libc_feholdsetround_ctx): New.
3594 (libc_feholdsetroundf_ctx): New.
3595 (libc_feholdsetroundl_ctx): New.
3596 (libc_feresetround_mips_ctx): New.
3597 (libc_feresetround_ctx): New.
3598 (libc_feresetroundf_ctx): New.
3599 (libc_feresetroundl_ctx): New.
3600
085d0e35
CD
36012014-02-26 Carlos O'Donell <carlos@redhat.com>
3602
f067bf1f
CD
3603 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3604
085d0e35
CD
3605 * manual/ipc.texi: New file.
3606 * manual/Makefile (chapters): Add ipc.
3607 * manual/job.texi: Add "Inter-Process Communication" to next.
3608 * manual/process.texi: Add "Inter-Process Communication" to prev.
3609
86e58c08
AZ
36102014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3611
3612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3613
4248f0da
OB
36142014-02-26 Ondřej Bílka <neleai@seznam.cz>
3615
3616 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3617
cf822e3c
OB
3618 * manual/arith.texi: Fix spaces after sentences.
3619 * manual/charset.texi: Likewise.
3620 * manual/errno.texi: Likewise.
3621 * manual/install.texi: Likewise.
3622 * manual/llio.texi: Likewise.
3623 * manual/locale.texi: Likewise.
3624 * manual/maint.texi: Likewise.
3625 * manual/math.texi: Likewise.
3626 * manual/memory.texi: Likewise.
3627 * manual/message.texi: Likewise.
3628 * manual/probes.texi: Likewise.
3629 * manual/resource.texi: Likewise.
3630 * manual/signal.texi: Likewise.
3631 * manual/socket.texi: Likewise.
3632 * manual/stdio.texi: Likewise.
3633 * manual/string.texi: Likewise.
3634 * manual/time.texi: Likewise.
3635 * manual/users.texi: Likewise.
3636
ade40b10
CD
36372014-02-25 Carlos O'Donell <carlos@redhat.com>
3638
3639 [BZ #16632]
3640 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3641 _DEFAULT_SOURCE is defined.
3642
d0503676
CD
36432014-02-25 Ulrich Drepper <drepper@gmail.com>
3644 Carlos O'Donell <carlos@redhat.com>
3645
3646 [BZ #16613]
3647 * elf/dl-tls.c (_dl_count_modids): New function.
3648 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3649 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3650 audit library and increment generation counter.
3651 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3652 * elf/tst-audit9.c: New file.
3653 * elf/tst-auditmod9a.c: New file.
3654 * elf/tst-auditmod9b.c: New file.
3655 * elf/Makefile: Add rules to build and run tst-audit9.
3656
4cbf380c
FW
36572014-02-25 Florian Weimer <fweimer@redhat.com>
3658
3659 [BZ #15347]
3660 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3661
80a56cc3
WN
36622014-02-25 Will Newton <will.newton@linaro.org>
3663
3664 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3665 (__longjmp): Restore sp and lr before restoring callee
3666 saved registers. Add longjmp and longjmp_target
3667 SystemTap probe point.
3668 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3669 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3670 Define to zero to match jmpbuf layout.
3671 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3672 (__sigsetjmp): Save sp and lr before saving callee
3673 saved registers. Add setjmp SystemTap probe point.
3674
3ea0f74e
SL
36752014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3676
3677 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3678
b04acb26
AS
36792014-02-24 Andreas Schwab <schwab@suse.de>
3680
3681 [BZ #15804]
3682 * elf/pldd.c (wait_for_ptrace_stop): New function.
3683 (main): Call it after attaching.
3684
098ad55c
RM
36852014-02-22 Roland McGrath <roland@hack.frob.com>
3686
d4ec6ae1
RM
3687 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3688 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3689 Versions files is now verboten.
3690 * hurd/Versions (libc: GLIBC_2.0):
3691 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3692 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3693 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3694 * mach/Versions: Likewise.
3695
098ad55c
RM
3696 * csu/Versions: Remove unused %include.
3697 * resolv/Versions: Likewise.
3698
acd7f096
JM
36992014-02-21 Joseph Myers <joseph@codesourcery.com>
3700
f0881698
JM
3701 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3702 ($(objpfx)check-local-headers.out): Likewise.
3703 ($(objpfx)begin-end-check.out): Likewise.
3704 * Makerules (check-abi-%.out): Likewise.
3705 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3706 ($(objpfx)test2.cat): Likewise.
3707 ($(objpfx)de/libc.cat): Likewise.
3708 ($(objpfx)test-gencat.out): Likewise.
3709 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3710 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3711 ($(objpfx)noload-mem): Likewise.
3712 ($(objpfx)tst-pathopt.out): Likewise.
3713 ($(objpfx)tst-rtld-load-self.out): Likewise.
3714 ($(objpfx)tst-array1-cmp.out): Likewise.
3715 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3716 ($(objpfx)tst-array2-cmp.out): Likewise.
3717 ($(objpfx)tst-array3-cmp.out): Likewise.
3718 ($(objpfx)tst-array4-cmp.out): Likewise.
3719 ($(objpfx)tst-array5-cmp.out): Likewise.
3720 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3721 ($(objpfx)check-textrel.out): Likewise.
3722 ($(objpfx)check-execstack.out): Likewise.
3723 ($(objpfx)check-localplt.out): Likewise.
3724 ($(objpfx)order2-cmp.out): Likewise.
3725 ($(objpfx)tst-leaks1-mem): Likewise.
3726 ($(objpfx)tst-leaks1-static-mem): Likewise.
3727 ($(objpfx)tst-initorder-cmp.out): Likewise.
3728 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3729 ($(objpfx)tst-unused-dep.out): Likewise.
3730 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3731 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3732 * iconv/Makefile (test-iconvconfig): Likewise.
3733 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3734 ($(objpfx)iconv-test.out): Likewise.
3735 ($(objpfx)tst-tables.out): Likewise.
3736 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3737 ($(objpfx)tst-gettext.out): Likewise.
3738 ($(objpfx)tst-translit.out): Likewise.
3739 ($(objpfx)tst-gettext2.out): Likewise.
3740 ($(objpfx)tst-gettext4.out): Likewise.
3741 ($(objpfx)tst-gettext6.out): Likewise.
3742 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3743 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3744 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3745 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3746 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3747 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3748 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3749 ($(objpfx)wordexp-tst.out): Likewise.
3750 ($(objpfx)annexc.out): Likewise.
3751 ($(objpfx)tst-fnmatch-mem): Likewise.
3752 ($(objpfx)bug-regex2-mem): Likewise.
3753 ($(objpfx)bug-regex14-mem): Likewise.
3754 ($(objpfx)bug-regex21-mem): Likewise.
3755 ($(objpfx)bug-regex31-mem): Likewise.
3756 ($(objpfx)tst-vfork3-mem): Likewise.
3757 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3758 ($(objpfx)tst-pcre-mem): Likewise.
3759 ($(objpfx)tst-boost-mem): Likewise.
3760 ($(objpfx)tst-getconf.out): Likewise.
3761 ($(objpfx)bug-ga2-mem): Likewise.
3762 ($(objpfx)bug-glob2-mem): Likewise.
3763 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3764 ($(objpfx)mtrace-tst-leaks2): Likewise.
3765 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3766 ($(objpfx)tst-printf.out): Likewise.
3767 ($(objpfx)tst-setvbuf1.out): Likewise.
3768 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3769 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3770 ($(objpfx)tst-fmtmsg.out): Likewise.
3771 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3772 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3773
acd7f096
JM
3774 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3775 * bits/sigaction.h [__USE_MISC]: Likewise.
3776 * bits/waitstatus.h: Update #endif comments.
3777 * ctype/ctype.h: Likewise.
3778 * dirent/dirent.h: Likewise.
3779 [__USE_MISC]: Remove redundant conditionals.
3780 * grp/grp.h: Update #endif comments.
3781 [__USE_GNU]: Remove redundant conditionals.
3782 [__USE_MISC]: Likewise.
3783 * inet/netinet/in.h [__USE_GNU]: Likewise.
3784 * io/sys/stat.h [__USE_MISC]: Likewise.
3785 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3786 * libio/bits/stdio.h: Update #endif comments.
3787 [__USE_MISC]: Remove redundant conditionals.
3788 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3789 * libio/stdio.h: Update #endif comments.
3790 [__USE_MISC]: Remove redundant conditionals.
3791 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3792 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3793 * math/math.h: Update #else and #endif comments.
3794 [__USE_MISC]: Remove redundant conditionals.
3795 * misc/sys/uio.h: Update #endif comments.
3796 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3797 * posix/glob.h [__USE_MISC]: Likewise.
3798 * posix/sys/types.h: Update #endif comments.
3799 [__USE_MISC]: Remove redundant conditionals.
3800 * posix/sys/wait.h: Update #endif comments.
3801 [__USE_MISC]: Remove redundant conditionals.
3802 * posix/unistd.h: Update #endif comments.
3803 [__USE_MISC]: Remove redundant conditionals.
3804 * pwd/pwd.h [__USE_GNU]: Likewise.
3805 [__USE_MISC]: Likewise.
3806 * resolv/netdb.h [__USE_GNU]: Likewise.
3807 * signal/signal.h: Update #endif comments.
3808 [__USE_MISC]: Remove redundant conditionals.
3809 * stdlib/stdlib.h: Update #else and #endif comments.
3810 [__USE_MISC]: Remove redundant conditionals.
3811 [__USE_GNU]: Likewise.
3812 * string/bits/string2.h [__USE_MISC]: Likewise.
3813 * string/string.h: Update #endif comments.
3814 [__USE_MISC]: Remove redundant conditionals.
3815 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3816 Likewise.
3817 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3818 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3819 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3820 Likewise.
3821 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3822 Likewise.
3823 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3824 comments.
3825 [__USE_MISC]: Remove redundant conditionals.
3826 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3827 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3828 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3829 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3830 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3831 Likewise.
3832 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3833 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3834 Likewise.
3835 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3836 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3837 Likewise.
3838 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3839 Likewise.
3840 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3841 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3842 Likewise.
3843 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3844 Likewise.
3845 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3846 * sysdeps/x86/bits/string.h: Update #endif comments.
3847 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3848 conditionals.
3849 * time/sys/time.h: Update #endif comments.
3850 * time/time.h: Likewise.
3851 [__USE_MISC]: Remove redundant conditionals.
3852
a5d82e4e
YG
38532014-02-21 Yury Gribov <y.gribov@samsung.com>
3854
3855 [BZ #16600]
3856 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3857
9a80491d
AS
38582014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3859
3860 * Versions.def (librt): Add GLIBC_2.17.
3861
105fa381
AC
38622014-02-21 Adam Conrad <adconrad@0c3.net>
3863
3864 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3865 synonym for _SYS_AUXV_H to allow direct inclusion.
3866 * sysdeps/sparc/bits/hwcap.h: Likewise.
3867 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3868 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3869 * sysdeps/sparc/sysdep.h: Likewise.
3870
b8cd1c4e
SP
38712014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3872
3873 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3874
bd939d23
RS
38752014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3876
3877 * benchtests/bench-strrchr.c: Print length instead of position.
3878
5d7b57ca
JM
38792014-02-20 Joseph Myers <joseph@codesourcery.com>
3880
bc688c10
JM
3881 [BZ #16611]
3882 * sysdeps/unix/sysv/linux/kernel-features.h
3883 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3884 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3885 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3886 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3887 Likewise.
3888 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3889 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3890 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3891 (__ASSUME_SENDMMSG): Define instead of using previous
3892 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3893 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3894 (__ASSUME_SENDMMSG_SYSCALL): Define.
3895 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3896 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3897 Likewise.
3898 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3899 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3900 Likewise.
3901 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3902 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3903 Likewise.
3904 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3905 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3906 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3907 [__ASSUME_SENDMMSG]: Change conditionals to
3908 [__ASSUME_SENDMMSG_SOCKETCALL].
3909 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3910 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3911 Define.
3912 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3913 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3914 Likewise.
3915 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3916 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3917 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3918 [!__ASSUME_SENDMMSG]: Change conditional to
3919 [!__ASSUME_SENDMMSG_SOCKETCALL].
3920 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3921 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3922 Define.
3923
0e31b18c
JM
3924 [BZ #16610]
3925 * sysdeps/unix/sysv/linux/kernel-features.h
3926 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3927 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3928 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3929 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3930 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3931 [__i386__ || __sparc__]
3932 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3933 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3934 (__ASSUME_RECVMMSG): Define instead of using previous
3935 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3936 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3937 (__ASSUME_RECVMMSG_SYSCALL): Define.
3938 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3939 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3940 Likewise.
3941 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3942 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3943 Likewise.
3944 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3945 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3946 Likewise.
3947 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3948 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3949 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3950 [__ASSUME_RECVMMSG]: Change condition to
3951 [__ASSUME_RECVMMSG_SOCKETCALL].
3952 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3953 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3954 Define.
3955 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3956 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3957 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3958 Likewise.
3959 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3960 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3961 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3962 [!__ASSUME_RECVMMSG]: Change condition to
3963 [!__ASSUME_RECVMMSG_SOCKETCALL].
3964 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3965 (__ASSUME_RECVMMSG_SYSCALL): Define.
3966
dd481ccf
JM
3967 [BZ #16609]
3968 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3969 __powerpc__ || __s390__ || __sh__ || __sparc__]
3970 (__ASSUME_SOCKETCALL): Define.
3971 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3972 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3973 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3974 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3975 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3976 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3977 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3978 (__ASSUME_ACCEPT4): Define instead of using previous
3979 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3980 __powerpc__ || __sparc__ || __s390__)] condition.
3981 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3982 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3983 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3984 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3985 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3986 [!__ASSUME_ACCEPT4]: Change condition to
3987 [!__ASSUME_ACCEPT4_SOCKETCALL].
3988 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3989 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3990 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3991 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3992 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3993 __ASSUME_ACCEPT4_SYSCALL.
3994 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3995 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3996 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3997 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3998 __ASSUME_ACCEPT4_SYSCALL.
3999 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4000 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4001 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4002 [__ASSUME_ACCEPT4]: Change condition to
4003 [__ASSUME_ACCEPT4_SOCKETCALL].
4004 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4005 (__ASSUME_SOCKETCALL): Define.
4006 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4007 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4008 (__ASSUME_SOCKETCALL): Define.
4009 (__ASSUME_ACCEPT4): Remove.
4010 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4011 Define.
4012 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4013 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4014 Likewise.
4015 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4016 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4017
5d7b57ca
JM
4018 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4019 macro.
4020 (HWCAP_ARM_LPAE): Likewise.
4021 (HWCAP_ARM_EVTSTRM): Likewise.
4022 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4023 Add vpfd32, lpae and evtstrm.
4024 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4025 Increase to 22.
4026
63689d61
JM
40272014-02-19 Joseph Myers <joseph@codesourcery.com>
4028
4029 * math/auto-libm-test-in: Add tests of clog10.
4030 * math/auto-libm-test-out: Regenerated.
4031 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4032 * sysdeps/i386/fpu/libm-test-ulps: Update.
4033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4034
ab09bf61
AS
40352014-02-18 Andreas Schwab <schwab@suse.de>
4036
4037 [BZ #16574]
4038 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4039 Store non-zero if the second buffer was newly allocated.
4040 (send_dg): Likewise.
4041 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4042 to send_vc and send_dg.
4043 (res_nsend): Pass NULL for ansp2_malloced.
4044 * resolv/res_query.c (__libc_res_nquery): Add parameter
4045 answerp2_malloced and pass it down to __libc_res_nsend.
4046 (res_nquery): Pass additional NULL to __libc_res_nquery.
4047 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4048 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
4049 second answer buffer if answerp2_malloced was set.
4050 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4051 (__libc_res_nquerydomain): Add parameter
4052 answerp2_malloced and pass it down to __libc_res_nquery.
4053 (res_nquerydomain): Pass additional NULL to
4054 __libc_res_nquerydomain.
4055 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4056 additional NULL to __libc_res_nsend and __libc_res_nquery.
4057 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4058 additional NULL to __libc_res_nsearch.
4059 (_nss_dns_gethostbyname4_r): Revert last change. Use new
4060 parameter of __libc_res_nsearch to check for separately allocated
4061 second buffer.
4062 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4063 __libc_res_nquery.
4064 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4065 additional NULL to __libc_res_nquery.
4066 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4067 __libc_res_nsearch.
4068 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4069 * include/resolv.h: Update prototypes of __libc_res_nquery,
4070 __libc_res_nsearch, __libc_res_nsend.
4071
a4fb7861
JM
40722014-02-18 Joseph Myers <joseph@codesourcery.com>
4073
c6af2d89
JM
4074 * math/auto-libm-test-in: Add tests of fma.
4075 * math/auto-libm-test-out: Regenerated.
4076 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4077 (fma_towardzero_test_data): Likewise.
4078 (fma_downward_test_data): Likewise.
4079 (fma_upward_test_data): Likewise.
4080 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4081 mpc_mode.
4082 (rounding_modes): Add values for new field.
4083 (func_calc_method): Add value mpfr_fff_f.
4084 (func_calc_desc): Add mpfr_fff_f union field.
4085 (test_function): Add field exact_args.
4086 (FUNC): Add macro argument EXACT_ARGS.
4087 (FUNC_mpfr_f_f): Update call to FUNC.
4088 (FUNC_mpfr_f_f): Likewise.
4089 (FUNC_mpfr_ff_f): Likewise.
4090 (FUNC_mpfr_if_f): Likewise.
4091 (FUNC_mpc_c_f): Likewise.
4092 (FUNC_mpc_c_c): Likewise.
4093 (test_functions): Add fma. Update calls to FUNC.
4094 (handle_input_arg): Add argument exact_args.
4095 (add_test): Update call to handle_input_arg.
4096 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4097 (output_for_one_input_case): Update call to calc_generic_results.
4098 Recalculate exact zero results in each rounding mode.
4099
a4fb7861
JM
4100 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4101 non-negative before setting low bit.
4102 * math/auto-libm-test-in: Mark one asin test possibly having
4103 spurious underflow.
4104 * math/auto-libm-test-out: Regenerated.
4105 * sysdeps/i386/fpu/libm-test-ulps: Update.
4106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4107
ef114eaf
DH
41082014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4109
2b7f4f2c
SP
4110 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4111 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4112 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
4113 * README: Add missing listing for microblaze*-*-linux-gnu.
4114
c70a4b1d
MF
41152014-02-16 Mike Frysinger <vapier@gentoo.org>
4116
4117 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4118 * sysdeps/unix/sysv/linux/ia64: Move directory from
4119 ports/sysdeps/unix/sysv/linux/ia64.
4120 * README: Update listing for ia64-*-linux-gnu.
4121
591aeaf7
TD
41222014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4123 Joseph Myers <joseph@codesourcery.com>
4124
4125 * Makeconfig (test-name): New variable.
4126 (evaluate-test): Likewise.
4127 * Makerules (do-test-clean): Remove .test-result files.
4128 (common-mostlyclean): Likewise.
4129 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4130 * scripts/evaluate-test.sh: New file.
4131
6e89caf1
JM
41322014-02-14 Joseph Myers <joseph@codesourcery.com>
4133
7f98f180
JM
4134 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4135 separate $(objpfx)tst-fopenloc-cmp.out and
4136 $(objpfx)tst-fopenloc-mem.out targets.
4137 (tests): Update dependencies.
4138 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4139 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4140 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4141 (tst-rxspencer-no-utf8-ARGS): New variable.
4142 (tst-rxspencer-no-utf8-ENV): Likewise.
4143 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4144 instead of $(objpfx)tst-rxspencer-mem.
4145 ($(objpfx)tst-rxspencer-mem): Change target to
4146 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4147 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4148 * posix/tst-rxspencer-no-utf8.c: New file.
4149
6e89caf1
JM
4150 * elf/Makefile ($(objpfx)order.out): Remove rule.
4151 [$(run-built-tests) = yes] (tests): Depend on
4152 $(objpfx)order-cmp.out.
4153 ($(objpfx)order-cmp.out): New rule.
4154 [$(run-built-tests) = yes] (tests): Depend on
4155 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4156 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4157 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4158 $(objpfx)tst-array5-static-cmp.out.
4159 ($(objpfx)tst-array1.out): Remove rule.
4160 ($(objpfx)tst-array1-cmp.out): New rule.
4161 ($(objpfx)tst-array1-static.out): Remove rule.
4162 ($(objpfx)tst-array1-static-cmp.out): New rule.
4163 ($(objpfx)tst-array2.out): Remove rule.
4164 ($(objpfx)tst-array2-cmp.out): New rule.
4165 ($(objpfx)tst-array3.out): Remove rule.
4166 ($(objpfx)tst-array3-cmp.out): New rule.
4167 ($(objpfx)tst-array4.out): Remove rule.
4168 ($(objpfx)tst-array4-cmp.out): New rule.
4169 ($(objpfx)tst-array5.out): Remove rule.
4170 ($(objpfx)tst-array5-cmp.out): New rule.
4171 ($(objpfx)tst-array5-static.out): Remove rule.
4172 ($(objpfx)tst-array5-static-cmp.out): New rule.
4173 [$(run-built-tests) = yes] (tests): Depend on
4174 $(objpfx)order2-cmp.out.
4175 ($(objpfx)order2.out): Remove rule.
4176 ($(objpfx)order2-cmp.out): New rule.
4177 ($(objpfx)tst-initorder.out): Remove rule.
4178 [$(run-built-tests) = yes] (tests): Depend on
4179 $(objpfx)tst-initorder-cmp.out.
4180 ($(objpfx)tst-initorder-cmp.out): New rule.
4181 ($(objpfx)tst-initorder2.out): Remove rule.
4182 [$(run-built-tests) = yes] (tests): Depend on
4183 $(objpfx)tst-initorder2-cmp.out.
4184 ($(objpfx)tst-initorder2-cmp.out): New rule.
4185 [$(run-built-tests) = yes] (tests): Depend on
4186 $(objpfx)tst-unused-dep-cmp.out.
4187 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4188 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4189 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4190 on $(objpfx)tst-setvbuf1-cmp.out.
4191 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4192 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4193 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4194 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4195 ($(objpfx)tst-svc.out): Remove rule.
4196 ($(objpfx)tst-svc-cmp.out): New rule.
4197
ed9a38e2
JM
41982014-02-13 Joseph Myers <joseph@codesourcery.com>
4199
4200 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4201 * ctype/ctype.h [__USE_MISC]: Likewise.
4202 * dirent/dirent.h [__USE_MISC]: Likewise.
4203 * grp/grp.h [__USE_MISC]: Likewise.
4204 * io/fcntl.h [__USE_MISC]: Likewise.
4205 * io/sys/stat.h [__USE_MISC]: Likewise.
4206 * libio/stdio.h [__USE_MISC]: Likewise.
4207 * posix/unistd.h [__USE_MISC]: Likewise.
4208 * pwd/pwd.h [__USE_MISC]: Likewise.
4209 * stdlib.h [__USE_MISC]: Likewise.
4210 * string/bits/string2.h [__USE_MISC]: Likewise.
4211 * string/string.h [__USE_MISC]: Likewise.
4212 * time/time.h [__USE_MISC]: Likewise.
4213
d6680619
AS
42142014-02-13 Andreas Schwab <schwab@suse.de>
4215
4216 [BZ #16574]
4217 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4218 second answer buffer if it was separately allocated.
4219
ace614b8
JM
42202014-02-12 Joseph Myers <joseph@codesourcery.com>
4221
743151ae
JM
4222 * sysdeps/mips/math-tests.h: Include <features.h>.
4223 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4224 (ROUNDING_TESTS_long_double): Do not define.
4225 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4226 (EXCEPTION_TESTS_long_double): Likewise.
4227 * sysdeps/mips/mips64/libm-test-ulps: Update.
4228
498afc54
JM
4229 * include/features.h (__USE_BSD): Remove macro definitions.
4230 (__USE_SVID): Likewise.
4231 (_BSD_SOURCE): Likewise.
4232 (_SVID_SOURCE): Likewise.
4233 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4234 from definition of _DEFAULT_SOURCE.
4235 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4236 [_DEFAULT_SOURCE].
4237 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4238 * bits/mman.h [__USE_BSD]: Likewise.
4239 * bits/termios.h [__USE_BSD]: Likewise.
4240 * bits/waitstatus.h [__USE_BSD]: Likewise.
4241 * ctype/ctype.h [__USE_SVID]: Likewise.
4242 * dirent/dirent.h [__USE_BSD]: Likewise.
4243 * grp/grp.h [__USE_SVID]: Likewise.
4244 [__USE_BSD]: Likewise.
4245 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4246 * io/fcntl.h [__USE_BSD]: Likewise.
4247 * io/ftw.h [__USE_BSD]: Likewise.
4248 * io/sys/stat.h [__USE_BSD]: Likewise.
4249 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4250 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4251 * libio/stdio.h [__USE_SVID]: Likewise.
4252 [__USE_BSD]: Likewise.
4253 * math/math.h [__USE_SVID]: Likewise.
4254 [__USE_BSD]: Likewise.
4255 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4256 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4257 * misc/search.h [__USE_SVID]: Likewise.
4258 * misc/sys/mman.h [__USE_BSD]: Likewise.
4259 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4260 * misc/sys/uio.h [__USE_BSD]: Likewise.
4261 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4262 * posix/glob.h [__USE_BSD]: Likewise.
4263 * posix/regex.h [__USE_BSD]: Likewise.
4264 * posix/sys/types.h [__USE_BSD]: Likewise.
4265 [__USE_SVID]: Likewise.
4266 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4267 * posix/sys/wait.h [__USE_BSD]: Likewise.
4268 [__USE_SVID]: Likewise.
4269 * posix/unistd.h [__USE_BSD]: Likewise.
4270 [__USE_SVID]: Likewise.
4271 * pwd/pwd.h [__USE_SVID]: Likewise.
4272 * resolv/netdb.h [__USE_BSD]: Likewise.
4273 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4274 * signal/signal.h [__USE_BSD]: Likewise.
4275 [__USE_SVID]: Likewise.
4276 * socket/sys/socket.h [__USE_BSD]: Likewise.
4277 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4278 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4279 [__USE_SVID]: Likewise.
4280 * string/bits/string2.h [__USE_BSD]: Likewise.
4281 [__USE_SVID]: Likewise.
4282 * string/bits/string3.h [__USE_BSD]: Likewise.
4283 * string/endian.h [__USE_BSD]: Likewise.
4284 * string/string.h [__USE_SVID]: Likewise.
4285 [__USE_BSD]: Likewise.
4286 * string/strings.h [__USE_BSD]: Likewise.
4287 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4288 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4289 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4290 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4291 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4292 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4293 Likewise.
4294 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4295 Likewise.
4296 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4297 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4298 Likewise.
4299 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4300 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4301 Likewise.
4302 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4303 Likewise.
4304 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4305 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4306 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4307 Likewise.
4308 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4309 Likewise.
4310 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4311 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4312 * termios/termios.h [__USE_BSD]: Likewise.
4313 * time/sys/time.h [__USE_BSD]: Likewise.
4314 * time/time.h [__USE_BSD]: Likewise.
4315 [__USE_SVID]: Likewise.
4316
dd7b064c
JM
4317 * Makefile (subdir_targets): Remove subdir_lint.out.
4318
a2c4c199
JM
4319 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4320 (do-tst-printf): Likewise.
4321 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4322 $(objpfx)tst-printf.out.
4323
8756f740
JM
4324 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4325
1b6dd3f1
JM
4326 * Makerules (check-abi-%): Change target to
4327 $(objpfx)check-abi-%.out.
4328 (check-abi target): Update dependencies.
4329 (check-abi-pattern variable): Redirect output of diff to $@.
4330 (check-abi variable): Likewise.
4331 * elf/Makefile (check-abi): Update dependencies.
4332
ace614b8
JM
4333 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4334 unused.
4335 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4336 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4337 subnormal range.
4338 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4339 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4340 value has largest subnormal exponent.
4341 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4342 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4343 * sysdeps/aarch64/soft-fp/sfp-machine.h
4344 (_FP_TININESS_AFTER_ROUNDING): New macro.
4345 * sysdeps/alpha/soft-fp/sfp-machine.h
4346 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4347 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4348 Likewise.
4349 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4350 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4351 * sysdeps/mips/soft-fp/sfp-machine.h
4352 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4353 * sysdeps/powerpc/soft-fp/sfp-machine.h
4354 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4355 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4356 Likewise.
4357 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4358 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4359 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4360 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4361 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4362 Likewise.
4363
fbfdf9cb
DAS
43642014-02-12 Dylan Alex Simon <dylan@dylex.net>
4365
4366 [BZ #16545]
4367 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4368 model 1.
4369
68b7efaa
RH
43702014-02-12 Richard Henderson <rth@redhat.com>
4371
c70a4b1d 4372 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
4373 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4374 * sysdeps/unix/sysv/linux/alpha: Move directory from
4375 ports/sysdeps/unix/sysv/linux/alpha.
4376 * README: Update listing for alpha-*-linux-gnu.
4377
cb4a2928
JM
43782014-02-11 Joseph Myers <joseph@codesourcery.com>
4379
c941736c
JM
4380 * include/features.h: Update comment documenting feature test
4381 macros.
4382 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4383 _DEFAULT_SOURCE.
4384 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4385 (_SVID_SOURCE): Likewise.
4386 (_DEFAULT_SOURCE): Update description of default features.
4387 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4388 with _GNU_SOURCE.
4389 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4390 (S_ISVTX): Likewise.
4391 * manual/math.texi (Mathematical Constants): Likewise.
4392 * manual/signal.texi (Interrupted Primitives): Likewise.
4393 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4394 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4395 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4396 Don't refer to _SVID_SOURCE in warning text.
4397
e8d8d7ec
JM
4398 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4399
cb4a2928
JM
4400 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4401 already defined.
4402 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4403 * sysdeps/mips/dl-lookup.c: Remove.
4404 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4405
7e6424e3
AK
44062014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4407
4408 [BZ #16447]
4409 * math/auto-libm-test-in: Add testcase for expl.
4410 * math/auto-libm-test-out: Regenerate.
4411 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4412 calculation of unsafe.
4413 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4414
75eff3fe
MS
44152014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4416
4417 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4418 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4419 ports/sysdeps/unix/sysv/linux/aarch64.
4420 * README: Update listing for aarch64*-*-linux-gnu.
4421
d35f1e80
WN
44222014-02-11 Will Newton <will.newton@linaro.org>
4423
4424 * manual/probes.texi (Mathematical Function Probes): Use
4425 "triggered" instead of "hit".
4426
7b3436d4
WN
4427 * manual/probes.texi (Internal Probes): Add documentation
4428 of setjmp, longjmp and longjmp_target probes.
4429
b4f12ca3
WN
4430 * include/stap-probe.h: Add comment about probe argument
4431 format.
4432
c13a72b7
WN
4433 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4434 definition. (tr_where, tr_freehook, tr_mallochook,
4435 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4436
195b8165
DM
44372014-02-11 David S. Miller <davem@davemloft.net>
4438
4439 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4440 processing int_tests.
4441
2ad7600b
JM
44422014-02-10 Joseph Myers <joseph@codesourcery.com>
4443
4444 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4445 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4446 * sysdeps/unix/sysv/linux/mips: Move directory from
4447 ports/sysdeps/unix/sysv/linux/mips.
4448 * README: Update listing for mips-*-linux-gnu and
4449 mips64-*-linux-gnu.
4450
73588a72
AS
44512014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4452
4453 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4454 * sysdeps/unix/sysv/linux/m68k: Move directory from
4455 ports/sysdeps/unix/sysv/linux/m68k.
4456 * README: Update listing for m68k-*-linux-gnu.
4457
4372980f
CM
44582014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4459
4460 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4461 * sysdeps/unix/sysv/linux/generic: Move directory from
4462 ports/sysdeps/unix/sysv/linux/generic.
4463 * sysdeps/unix/sysv/linux/tile: Move directory from
4464 ports/sysdeps/unix/sysv/linux/tile.
4465 * README: Update listing for tile*-*-linux-gnu.
4466
a1ffb40e
OB
44672014-02-10 Ondřej Bílka <neleai@seznam.cz>
4468
57f41c40
AS
4469 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4470 __builtin_expect.
a1ffb40e
OB
4471 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4472 * catgets/open_catalog.c (__open_catalog): Likewise.
4473 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4474 * debug/confstr_chk.c: Likewise.
4475 * debug/fread_chk.c (__fread_chk): Likewise.
4476 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4477 * debug/getgroups_chk.c: Likewise.
4478 * debug/mbsnrtowcs_chk.c: Likewise.
4479 * debug/mbsrtowcs_chk.c: Likewise.
4480 * debug/mbstowcs_chk.c: Likewise.
4481 * debug/memcpy_chk.c: Likewise.
4482 * debug/memmove_chk.c: Likewise.
4483 * debug/mempcpy_chk.c: Likewise.
4484 * debug/memset_chk.c: Likewise.
4485 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4486 * debug/strcat_chk.c (__strcat_chk): Likewise.
4487 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4488 * debug/strncat_chk.c (__strncat_chk): Likewise.
4489 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4490 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4491 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4492 * debug/wcpncpy_chk.c: Likewise.
4493 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4494 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4495 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4496 * debug/wcsncpy_chk.c: Likewise.
4497 * debug/wcsnrtombs_chk.c: Likewise.
4498 * debug/wcsrtombs_chk.c: Likewise.
4499 * debug/wcstombs_chk.c: Likewise.
4500 * debug/wmemcpy_chk.c: Likewise.
4501 * debug/wmemmove_chk.c: Likewise.
4502 * debug/wmempcpy_chk.c: Likewise.
4503 * debug/wmemset_chk.c: Likewise.
4504 * dirent/scandirat.c (SCANDIRAT): Likewise.
4505 * dlfcn/dladdr1.c (dladdr1): Likewise.
4506 * dlfcn/dladdr.c (dladdr): Likewise.
4507 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4508 * dlfcn/dlerror.c (__dlerror): Likewise.
4509 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4510 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4511 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4512 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4513 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4514 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4515 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4516 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4517 Likewise.
4518 * elf/dl-conflict.c: Likewise.
4519 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4520 * elf/dl-dst.h: Likewise.
4521 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4522 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4523 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4524 * elf/dl-init.c (call_init, _dl_init): Likewise.
4525 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
4526 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4527 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4528 Likewise.
a1ffb40e
OB
4529 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4530 Likewise.
4531 * elf/dl-minimal.c (__libc_memalign): Likewise.
4532 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4533 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4534 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4535 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
4536 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4537 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
4538 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4539 * elf/dl-writev.h (_dl_writev): Likewise.
4540 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
4541 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4542 (dl_main): Likewise.
a1ffb40e
OB
4543 * elf/setup-vdso.h (setup_vdso): Likewise.
4544 * grp/compat-initgroups.c (compat_call): Likewise.
4545 * grp/fgetgrent.c (fgetgrent): Likewise.
4546 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4547 * grp/putgrent.c (putgrent): Likewise.
4548 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4549 Likewise.
4550 * hurd/hurdinit.c: Likewise.
4551 * iconvdata/8bit-gap.c (struct): Likewise.
4552 * iconvdata/ansi_x3.110.c : Likewise.
4553 * iconvdata/big5.c : Likewise.
4554 * iconvdata/big5hkscs.c : Likewise.
4555 * iconvdata/cp1255.c: Likewise.
4556 * iconvdata/cp1258.c : Likewise.
4557 * iconvdata/cp932.c : Likewise.
4558 * iconvdata/euc-cn.c: Likewise.
4559 * iconvdata/euc-jisx0213.c : Likewise.
4560 * iconvdata/euc-jp.c: Likewise.
4561 * iconvdata/euc-jp-ms.c : Likewise.
4562 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4563 * iconvdata/gb18030.c : Likewise.
4564 * iconvdata/gbbig5.c (const): Likewise.
4565 * iconvdata/gbgbk.c: Likewise.
4566 * iconvdata/gbk.c : Likewise.
4567 * iconvdata/ibm1364.c : Likewise.
4568 * iconvdata/ibm930.c : Likewise.
4569 * iconvdata/ibm932.c: Likewise.
4570 * iconvdata/ibm933.c : Likewise.
4571 * iconvdata/ibm935.c : Likewise.
4572 * iconvdata/ibm937.c : Likewise.
4573 * iconvdata/ibm939.c : Likewise.
4574 * iconvdata/ibm943.c: Likewise.
4575 * iconvdata/iso_11548-1.c: Likewise.
4576 * iconvdata/iso-2022-cn.c : Likewise.
4577 * iconvdata/iso-2022-cn-ext.c : Likewise.
4578 * iconvdata/iso-2022-jp-3.c: Likewise.
4579 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4580 * iconvdata/iso-2022-kr.c : Likewise.
4581 * iconvdata/iso646.c (gconv_end): Likewise.
4582 * iconvdata/iso_6937-2.c : Likewise.
4583 * iconvdata/iso_6937.c : Likewise.
4584 * iconvdata/iso8859-1.c: Likewise.
4585 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4586 * iconvdata/shift_jisx0213.c : Likewise.
4587 * iconvdata/sjis.c : Likewise.
4588 * iconvdata/t.61.c : Likewise.
4589 * iconvdata/tcvn5712-1.c : Likewise.
4590 * iconvdata/tscii.c: Likewise.
4591 * iconvdata/uhc.c : Likewise.
4592 * iconvdata/unicode.c (gconv_end): Likewise.
4593 * iconvdata/utf-16.c (gconv_end): Likewise.
4594 * iconvdata/utf-32.c (gconv_end): Likewise.
4595 * iconvdata/utf-7.c (base64): Likewise.
4596 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4597 * iconv/gconv_close.c (__gconv_close): Likewise.
4598 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
4599 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4600 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4601 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4602 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4603 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
4604 * iconv/iconv.c (iconv): Likewise.
4605 * iconv/iconv_close.c: Likewise.
4606 * iconv/loop.c (SINGLE): Likewise.
4607 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4608 * include/atomic.h: Likewise.
4609 * inet/inet6_option.c (option_alloc): Likewise.
4610 * intl/bindtextdom.c (set_binding_values): Likewise.
4611 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4612 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4613 * intl/localealias.c (read_alias_file): Likewise.
4614 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
4615 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4616 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
4617 * libio/fmemopen.c (fmemopen): Likewise.
4618 * libio/iofgets.c (_IO_fgets): Likewise.
4619 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4620 * libio/iofgetws.c (fgetws): Likewise.
4621 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4622 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
4623 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4624 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
4625 * locale/findlocale.c (_nl_find_locale): Likewise.
4626 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4627 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4628 Likewise.
4629 * locale/setlocale.c (setlocale): Likewise.
4630 * login/programs/pt_chown.c (main): Likewise.
4631 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4632 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
4633 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4634 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
4635 * math/e_exp2l.c: Likewise.
4636 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4637 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4638 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4639 * math/s_catan.c (__catan): Likewise.
4640 * math/s_catanf.c (__catanf): Likewise.
4641 * math/s_catanh.c (__catanh): Likewise.
4642 * math/s_catanhf.c (__catanhf): Likewise.
4643 * math/s_catanhl.c (__catanhl): Likewise.
4644 * math/s_catanl.c (__catanl): Likewise.
4645 * math/s_ccosh.c (__ccosh): Likewise.
4646 * math/s_ccoshf.c (__ccoshf): Likewise.
4647 * math/s_ccoshl.c (__ccoshl): Likewise.
4648 * math/s_cexp.c (__cexp): Likewise.
4649 * math/s_cexpf.c (__cexpf): Likewise.
4650 * math/s_cexpl.c (__cexpl): Likewise.
4651 * math/s_clog10.c (__clog10): Likewise.
4652 * math/s_clog10f.c (__clog10f): Likewise.
4653 * math/s_clog10l.c (__clog10l): Likewise.
4654 * math/s_clog.c (__clog): Likewise.
4655 * math/s_clogf.c (__clogf): Likewise.
4656 * math/s_clogl.c (__clogl): Likewise.
4657 * math/s_csin.c (__csin): Likewise.
4658 * math/s_csinf.c (__csinf): Likewise.
4659 * math/s_csinh.c (__csinh): Likewise.
4660 * math/s_csinhf.c (__csinhf): Likewise.
4661 * math/s_csinhl.c (__csinhl): Likewise.
4662 * math/s_csinl.c (__csinl): Likewise.
4663 * math/s_csqrt.c (__csqrt): Likewise.
4664 * math/s_csqrtf.c (__csqrtf): Likewise.
4665 * math/s_csqrtl.c (__csqrtl): Likewise.
4666 * math/s_ctan.c (__ctan): Likewise.
4667 * math/s_ctanf.c (__ctanf): Likewise.
4668 * math/s_ctanh.c (__ctanh): Likewise.
4669 * math/s_ctanhf.c (__ctanhf): Likewise.
4670 * math/s_ctanhl.c (__ctanhl): Likewise.
4671 * math/s_ctanl.c (__ctanl): Likewise.
4672 * math/w_pow.c: Likewise.
4673 * math/w_powf.c: Likewise.
4674 * math/w_powl.c: Likewise.
4675 * math/w_scalb.c (sysv_scalb): Likewise.
4676 * math/w_scalbf.c (sysv_scalbf): Likewise.
4677 * math/w_scalbl.c (sysv_scalbl): Likewise.
4678 * misc/error.c (error_tail): Likewise.
4679 * misc/pselect.c (__pselect): Likewise.
4680 * nis/nis_callback.c (__nis_create_callback): Likewise.
4681 * nis/nis_call.c (__nisfind_server): Likewise.
4682 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4683 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4684 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4685 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4686 * nis/nis_lookup.c (nis_lookup): Likewise.
4687 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
4688 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4689 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 4690 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
4691 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4692 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4693 * nis/nss_compat/compat-initgroups.c (add_group)
4694 (internal_getgrent_r): Likewise.
4695 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4696 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4697 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4698 (internal_getspnam_r): Likewise.
4699 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4700 (_nss_nis_getaliasbyname_r): Likewise.
4701 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4702 (_nss_nis_getntohost_r): Likewise.
4703 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4704 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4705 (_nss_nis_getgrgid_r): Likewise.
4706 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4707 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4708 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4709 (_nss_nis_gethostbyname4_r): Likewise.
4710 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4711 (initgroups_netid): Likewise.
a1ffb40e 4712 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
4713 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4714 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4715 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4716 (_nss_nis_getprotobynumber_r): Likewise.
4717 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4718 (_nss_nis_getsecretkey): Likewise.
4719 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4720 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4721 (_nss_nis_getpwuid_r): Likewise.
4722 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4723 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4724 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4725 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4726 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4727 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
4728 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4729 Likewise.
57f41c40
AS
4730 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4731 (_nss_nisplus_getntohost_r): Likewise.
4732 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4733 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4734 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4735 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 4736 Likewise.
57f41c40
AS
4737 * nis/nss_nisplus/nisplus-initgroups.c
4738 (_nss_nisplus_initgroups_dyn): Likewise.
4739 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4740 (_nss_nisplus_getnetbyaddr_r): Likewise.
4741 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4742 (_nss_nisplus_getprotobynumber_r): Likewise.
4743 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4744 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
4745 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4746 Likewise.
57f41c40
AS
4747 * nis/nss_nisplus/nisplus-service.c
4748 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4749 (_nss_nisplus_getservbyport_r): Likewise.
4750 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4751 (_nss_nisplus_getspnam_r): Likewise.
4752 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4753 Likewise.
a1ffb40e
OB
4754 * nscd/aicache.c (addhstaiX): Likewise.
4755 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
4756 * nscd/connections.c (register_traced_file, send_ro_fd)
4757 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4758 (main_loop_epoll): Likewise.
a1ffb40e
OB
4759 * nscd/grpcache.c (addgrbyX): Likewise.
4760 * nscd/hstcache.c (addhstbyX): Likewise.
4761 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4762 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
4763 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4764 (addinnetgrX): Likewise.
4765 * nscd/nscd-client.h (__nscd_acquire_maplock)
4766 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
4767 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4768 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4769 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4770 Likewise.
4771 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4772 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
4773 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4774 (__nscd_get_map_ref): Likewise.
a1ffb40e 4775 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
4776 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4777 Likewise.
a1ffb40e
OB
4778 * nscd/pwdcache.c (addpwbyX): Likewise.
4779 * nscd/selinux.c (preserve_capabilities): Likewise.
4780 * nscd/servicescache.c (addservbyX): Likewise.
4781 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4782 * posix/fnmatch.c (fnmatch): Likewise.
4783 * posix/getopt.c (_getopt_internal_r): Likewise.
4784 * posix/glob.c (glob, glob_in_dir): Likewise.
4785 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
4786 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4787 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
4788 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4789 * resolv/res_init.c: Likewise.
4790 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4791 * resolv/res_query.c (__libc_res_nquery): Likewise.
4792 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4793 Likewise.
4794 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4795 * stdio-common/perror.c (perror): Likewise.
4796 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4797 * stdio-common/tmpnam.c (tmpnam): Likewise.
4798 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4799 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
4800 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4801 Likewise.
a1ffb40e
OB
4802 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4803 * stdlib/putenv.c (putenv): Likewise.
4804 * stdlib/setenv.c (__add_to_environ): Likewise.
4805 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4806 * stdlib/strtol_l.c (INTERNAL): Likewise.
4807 * string/memmem.c (memmem): Likewise.
4808 * string/strerror.c (strerror): Likewise.
4809 * string/strnlen.c (__strnlen): Likewise.
4810 * string/test-memmem.c (simple_memmem): Likewise.
4811 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4812 * sunrpc/pm_getport.c (__get_socket): Likewise.
4813 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4814 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
4815 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4816 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
4817 Likewise.
4818 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4819 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4820 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4821 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4822 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
4823 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4824 Likewise.
4825 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4826 Likewise.
a1ffb40e
OB
4827 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4828 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4829 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4830 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4831 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4832 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4833 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4834 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4835 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4836 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4837 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4838 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4839 Likewise.
4840 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4841 Likewise.
4842 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4843 Likewise.
4844 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4845 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4846 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4847 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4848 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4849 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4850 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4851 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4852 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4853 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4854 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4855 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4856 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4857 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4858 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
4859 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4860 Likewise.
a1ffb40e
OB
4861 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4862 Likewise.
4863 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4864 Likewise.
4865 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4866 Likewise.
4867 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4868 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4869 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4870 Likewise.
4871 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4872 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4873 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4874 * sysdeps/posix/sleep.c: Likewise.
4875 * sysdeps/posix/tempname.c: Likewise.
4876 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4877 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4878 Likewise.
57f41c40
AS
4879 * sysdeps/powerpc/powerpc32/dl-machine.h
4880 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
4881 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4882 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4883 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4884 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4885 Likewise.
4886 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4887 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4888 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4889 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4890 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4891 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4892 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4893 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4894 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4895 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4896 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4897 (elf_machine_lazy_rel): Likewise.
a1ffb40e 4898 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4899 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4900 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4901 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4902 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4903 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4904 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4905 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4906 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4907 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4908 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4909 Likewise.
4910 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4911 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4912 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4913 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4914 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4915 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4916 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4917 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4918 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4919 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4920 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4921 Likewise.
4922 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4923 (__posix_fallocate64_l64): Likewise.
4924 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4925 (posix_fallocate): Likewise.
57f41c40
AS
4926 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4927 Likewise.
a1ffb40e 4928 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
4929 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4930 (getifaddrs_internal): Likewise.
a1ffb40e
OB
4931 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4932 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4933 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4934 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4935 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4936 (__posix_fallocate64_l64): Likewise.
4937 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4938 Likewise.
4939 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
4940 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4941 (__get_clockfreq): Likewise.
a1ffb40e
OB
4942 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4943 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4944 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4945 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4946 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4947 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4948 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4949 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4950 Likewise.
4951 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4952 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4953 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4954 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4955 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4956 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4957 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4958 Likewise.
4959 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4960 (posix_fallocate): Likewise.
4961 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4962 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4963 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4964 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4965 (elf_machine_rela, elf_machine_rela_relative)
4966 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4967 * time/asctime.c (asctime_internal): Likewise.
4968 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4969 * time/tzset.c (__tzset_parse_tz): Likewise.
4970 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4971 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4972 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4973 * wcsmbs/wcsmbsload.h: Likewise.
4974
f3d338c9
OB
4975 [BZ #15894]
4976 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4977
57f41c40
AS
4978 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4979 (arena_get2): Remove THREAD_STATS conditionals.
4980 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4981 (__malloc_stats, int): Likewise.
bdfe308a 4982
d674667c
MF
49832014-02-08 Mike Frysinger <vapier@gentoo.org>
4984
4985 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4986 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4987
6349768c
MF
4988 * manual/setjmp.texi: Fix typos/grammar errors.
4989
0b7c7473
MF
4990 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4991 Only return early when n is <= 0. Delete unused return statement.
4992
ac8cc9e3
MF
4993 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4994 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4995 * debug/tst-longjmp_chk3.c: New file.
4996
c5bb8e23
MF
4997 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4998 (test_main): Replace code with set_fortify_handler call.
4999 * debug/test-strcpy_chk.c: Likewise.
5000 * debug/tst-chk1.c: Likewise.
5001 * debug/tst-longjmp_chk.c: Likewise.
5002 * test-skeleton.c: Include fcntl.h & paths.h
5003 (set_fortify_handler): Define.
5004
10444e42
MF
5005 * debug/tst-longjmp_chk.c: Add header comment and include
5006 ../test-skeleton.c.
5007 (do_test): Mark static.
5008 (TEST_FUNCTION): Define.
5009
1e805e8d
MF
5010 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5011 (IP_PMTUDISC_INTERFACE): Likewise.
5012 (IP_MULTICAST_IF): Likewise.
5013 (IP_MULTICAST_TTL): Likewise.
5014 (IP_MULTICAST_LOOP): Likewise.
5015 (IP_ADD_MEMBERSHIP): Likewise.
5016 (IP_DROP_MEMBERSHIP): Likewise.
5017 (IP_UNBLOCK_SOURCE): Likewise.
5018 (IP_BLOCK_SOURCE): Likewise.
5019 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5020 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5021 (IP_MSFILTER): Likewise.
5022 (MCAST_JOIN_GROUP): Likewise.
5023 (MCAST_BLOCK_SOURCE): Likewise.
5024 (MCAST_UNBLOCK_SOURCE): Likewise.
5025 (MCAST_LEAVE_GROUP): Likewise.
5026 (MCAST_JOIN_SOURCE_GROUP): Likewise.
5027 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5028 (MCAST_MSFILTER): Likewise.
5029 (IP_MULTICAST_ALL): Likewise.
5030 (IP_UNICAST_IF): Likewise.
5031
73f79bb7
MF
5032 * timezone/Makefile: Delete $(have-ksh) check.
5033 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5034 * timezone/tzselect.ksh: Add +x mode bits.
5035
8da79b60
MF
5036 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5037 (ANON_INODE_FS_MAGIC): Likewise.
5038 (BDEVFS_MAGIC): Likewise.
5039 (BINFMTFS_MAGIC): Likewise.
5040 (BTRFS_TEST_MAGIC): Likewise.
5041 (CRAMFS_MAGIC_WEND): Likewise.
5042 (DEBUGFS_MAGIC): Likewise.
5043 (ECRYPTFS_SUPER_MAGIC): Likewise.
5044 (EXT3_SUPER_MAGIC): Likewise.
5045 (EXT4_SUPER_MAGIC): Likewise.
5046 (FUTEXFS_SUPER_MAGIC): Likewise.
5047 (HOSTFS_SUPER_MAGIC): Likewise.
5048 (HUGETLBFS_MAGIC): Likewise.
5049 (MINIX3_SUPER_MAGIC): Likewise.
5050 (MTD_INODE_FS_MAGIC): Likewise.
5051 (NILFS_SUPER_MAGIC): Likewise.
5052 (OPENPROM_SUPER_MAGIC): Likewise.
5053 (PIPEFS_MAGIC): Likewise.
5054 (PSTOREFS_MAGIC): Likewise.
5055 (QNX6_SUPER_MAGIC): Likewise.
5056 (RAMFS_MAGIC): Likewise.
5057 (REISERFS_SUPER_MAGIC_STRING): Likewise.
5058 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5059 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5060 (SECURITYFS_MAGIC): Likewise.
5061 (SELINUX_MAGIC): Likewise.
5062 (SMACK_MAGIC): Likewise.
5063 (SOCKFS_MAGIC): Likewise.
5064 (SQUASHFS_MAGIC): Likewise.
5065 (STACK_END_MAGIC): Likewise.
5066 (TMPFS_MAGIC): Likewise.
5067 (USBDEVICE_SUPER_MAGIC): Likewise.
5068 (V9FS_MAGIC): Likewise.
5069 (XENFS_SUPER_MAGIC): Likewise.
5070 (CRAMFS_MAGIC): Fix typo in comment.
5071 (EXT2_SUPER_MAGIC): Update comment.
5072 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5073
464263cc
JM
50742014-02-08 Joseph Myers <joseph@codesourcery.com>
5075
c6bfe5c4
JM
5076 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5077 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5078 * sysdeps/unix/sysv/linux/arm: Move directory from
5079 ports/sysdeps/unix/sysv/linux/arm.
5080 * README: Update listing for arm-*-linux-gnueabi.
5081
464263cc
JM
5082 * README: Remove mention of am33.
5083
32749f6c
RM
50842014-02-07 Roland McGrath <roland@hack.frob.com>
5085
5086 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5087 than the comma operator, to avoid "rhs of comma has no effect"
5088 compiler warnings.
5089 (__sigfillset, __sigandset, __sigorset): Likewise.
5090 * include/signal.h (__sigemptyset): Likewise.
5091 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5092
d5b396c1
AM
50932014-02-07 Allan McRae <allan@archlinux.org>
5094
5095 * version.h (RELEASE): Set to "development".
5096 (VERSION): Set to "2.19.90"
5097 * NEWS: Add 2.20 section.
5098
3bfff2ed
CD
50992014-02-06 Carlos O'Donell <carlos@redhat.com>
5100
5101 [BZ #16529]
5102 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5103
ee7cc385
SP
51042014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5105
5106 * manual/contrib.texi: Update entry for Carlos O'Donell,
5107 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5108
f877c4f2
CD
51092014-02-05 Carlos O'Donell <carlos@rehdat.com>
5110
27e839f6
CD
5111 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5112
f877c4f2
CD
5113 * sysdeps/unix/sysv/linux/kernel-features.h
5114 [__LINUX_KERNEL_VERSION >= 0x020621]
5115 (__ASSUME_PROC_PID_TASK_COMM): Define.
5116
68159946
SP
51172014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5118
ba17cdbd
SP
5119 [BZ #16398]
5120 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5121 conversion when destination buffer does not have enough space.
5122 * libio/tst-ftell-partial-wide.c: New test case.
5123 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5124
68159946
SP
5125 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5126 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5127 Leonard and Allan McRae.
5128
2b528732
DM
51292014-02-04 David S. Miller <davem@davemloft.net>
5130
5131 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5132 32-bit.
5133
0ff82463
AZ
51342014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5135
57f41c40
AS
5136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5137 New file
c01603f7
AZ
5138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5139 New file
57f41c40
AS
5140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5141 New file.
5142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5143 New file.
c01603f7
AZ
5144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5145 New file.
57f41c40
AS
5146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5147 New file.
5148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5149 New file.
c01603f7
AZ
5150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5151 New file.
5152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5153 New file.
5154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5155 New file.
5156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5157 New file.
5158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5159 New file.
5160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5161 New file.
5162
51632014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5164
0ff82463
AZ
5165 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5166 * shlib-versions: Likewise.
5167
1695c773
AZ
51682014-02-04 Roland McGrath <roland@hack.frob.com>
5169 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5170
5171 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5172 (abilist-pattern): New variable, set to %-le.abilist.
5173
5174 * Makerules (abilist-pattern): New variable.
5175 (vpath): Use $(abilist-pattern) in place of %.abilist.
5176 (check-abi-% pattern rule): Likewise.
5177 (check-abi, update-abi): Likewise.
5178
6c0ce4b4
EW
51792014-02-04 Eric Wong <normalperson@yhbt.net>
5180
5181 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5182
481e3524
CD
51832014-02-03 Carlos O'Donell <carlos@redhat.com>
5184
5185 * manual/startup.texi: Add next, previous, and top entries for
5186 the `Program Arguments' and `Environment Variables' nodes.
5187
375592d3
AO
51882014-02-03 Alexandre Oliva <aoliva@redhat.com>
5189
5190 * manual/macros.texi: Add comments before MTASC-safety macros.
5191
f54838ba
AO
5192 * manual/users.texi: Document MTASC-safety properties.
5193
57f41c40
AS
5194 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5195 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
5196 @deftypefun, and add @safety note.
5197 * manual/signal.texi: Move comments that analyze the above
5198 functions to their home place.
5199
fd3daba4
AM
52002014-02-03 Allan McRae <allan@archlinux.org>
5201
5202 * po/sl.po: Update Slovenian translation from translation project.
5203
597636d7
AO
52042014-02-02 Alexandre Oliva <aoliva@redhat.com>
5205
5206 * manual/time.texi (timegm): Add missing blank after @c.
5207 Reported by Joseph Myers <joseph@codesourcery.com>.
5208
ee196e3c
AO
52092014-02-01 Alexandre Oliva <aoliva@redhat.com>
5210
5211 * manual/check-safety.sh: New.
5212 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5213
f8d529d5
AO
5214 * manual/terminal.texi: Document MTASC-safety properties.
5215
de55fdf4
AO
5216 * manual/filesys.texi: Document MTASC-safety properties.
5217
c3299c08
AO
5218 * manual/errno.texi: Document MTASC-safety properties.
5219
06e90b14
AO
5220 * manual/intro.texi: Document safety identifiers and
5221 conditionals.
5222
1acd4371
AO
5223 * manual/string.texi (wcstok): Fix prototype.
5224 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5225
23e5b8cb
AO
5226 * manual/time.texi: Document MTASC-safety properties.
5227
11087373
AO
5228 * manual/string.texi: Document MTASC-safety properties.
5229
5da2c93d
AO
5230 * manual/threads.texi: Document MTASC-safety properties.
5231
171e9210
AO
5232 * manual/stdio.texi: Document MTASC-safety properties.
5233
d9e02532
AO
5234 * manual/syslog.texi: Document MTASC-safety properties.
5235
6af8bab7
AO
5236 * manual/sysinfo.texi: Document MTASC-safety properties.
5237
663b02d7
AO
5238 * manual/startup.texi: Document MTASC-safety properties.
5239
973f180b
AO
5240 * manual/socket.texi: Document MTASC-safety properties.
5241
8f3c25c8
AO
5242 * manual/signal.texi: Document MTASC-safety properties.
5243
542210fb
AO
52442014-01-31 Alexandre Oliva <aoliva@redhat.com>
5245
5246 * manual/setjmp.texi: Document MTASC-safety properties.
5247
433c45a2
AO
5248 * manual/search.texi: Document MTASC-safety properties.
5249
c8ce789c
AO
5250 * manual/resource.texi: Document MTASC-safety properties.
5251
19f5d29c
AO
5252 * manual/process.texi: Document MTASC-safety properties.
5253
e2dfb7f4
AO
5254 * manual/platform.texi: Document MTASC-safety properties.
5255
8c1413f5
AO
5256 * manual/pipe.texi: Document MTASC-safety properties.
5257
03483ada
AO
5258 * manual/pattern.texi: Document MTASC-safety properties.
5259
29e7e2df
AO
5260 * manual/message.texi: Document MTASC-safety properties.
5261
9f529d7c
AO
5262 [BZ #12751]
5263 * manual/memory.texi: Document MTASC-safety properties.
5264
27aaa791
AO
5265 * manual/math.texi: Document MTASC-safety properties.
5266
f2d58726
AO
5267 * manual/locale.texi: Document MTASC-safety properties.
5268
2cc3615c
AO
5269 * manual/llio.texi: Document MTASC-safety properties.
5270
d9f0ec97
AO
5271 * manual/libdl.texi: New.
5272
e7c4409a
AO
5273 * manual/lang.texi: Document MTASC-safety properties.
5274
27bdc63c
AO
5275 * manual/job.texi: Document MTASC-safety properties.
5276
a7b90ea9
AO
5277 * manual/getopt.texi: Document MTASC-safety properties.
5278
c49130e3
AO
5279 * manual/ctype.texi: Document MTASC-safety properties.
5280
0d23a5c1
MR
52812014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5282
5283 [BZ #16046]
5284 * csu/libc-tls.c (static_map): Remove variable.
5285 (__libc_setup_tls): Use main executable's link map for TLS data.
5286 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5287 casing for LM_ID_BASE and GL(dl_nns).
5288 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5289 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5290 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5291 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5292 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5293 member.
5294 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5295 l_phnum members.
5296
0037bb60
AO
52972014-01-30 Alexandre Oliva <aoliva@redhat.com>
5298
5299 * manual/debug.texi: Document MTASC-safety properties.
5300
409e00bd
L
53012014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5302
5303 [BZ #16510]
5304 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5305 of __x86_64__ when disabling x87 inline functions.
5306
86e60666
AO
53072014-01-29 Alexandre Oliva <aoliva@redhat.com>
5308
5309 * manual/charset.texi: Document MTASC-safety properties.
5310
76167637
AO
5311 * manual/crypt.texi: Document MTASC-safety properties.
5312
e567f2a0
AO
5313 * manual/conf.texi: Document MTASC-safety properties.
5314
b719dafd
AO
5315 * manual/arith.texi: Document MTASC-safety properties.
5316
4a16c662
AO
5317 * manual/argp.texi: Document MTASC-safety properties.
5318
0a57b83e
AO
5319 * manual/macros.texi: Introduce macros to document multi
5320 thread, asynchronous signal and asynchronous cancellation
5321 safety properties.
5322 * manual/intro.texi: Introduce the properties themselves.
5323
feab2397
KK
53242014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5325
5326 * sysdeps/sh/sh4/Makefile: New file.
5327
1c0d11bc
AS
53282014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5329
5330 * math/gen-libm-test.pl ($srcdir): New variable.
5331 ($auto_input): Use it.
5332
af37a8a3
SP
53332014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5334
d7b00f98
SP
5335 [BZ #16506]
5336 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5337 access beyond array bounds when parsing netgroups file.
5338
af37a8a3
SP
5339 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5340 the old buffer before realloc.
5341
0c00f062
AM
53422014-01-27 Allan McRae <allan@archlinux.org>
5343
5344 * po/fr.po: Update French translation from translation project.
5345
7d69a1b0
KK
53462014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5347
5348 * sysdeps/sh/libm-test-ulps: Regenerate.
5349
6e697ff7
DM
53502014-01-24 David S. Miller <davem@davemloft.net>
5351
5352 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5353
9cadb35c
KK
53542014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5355
5356 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5357 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5358
5d41dadf
SP
53592013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5360
5361 [BZ #16474]
5362 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5363 string pointers after reallocation.
5364
0bad441c
KK
53652014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5366
5367 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5368 __SH4A__ instead of __SH_FPU_ANY__.
5369
7007c661
KK
53702014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5371
5372 * sysdeps/sh/fpu_control.h: New file.
5373 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5374 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5375 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5376 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5377 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5378 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5379 * sysdeps/sh/sys/ucontext.h: Remove.
5380 * sysdeps/sh/sys: Remove directory.
5381
0f0c35e4
AK
53822014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5383
5384 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5385 s390/sys/ucontext.h.
5386 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5387 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5388
4959e284
L
53892014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5390
5391 [BZ #15605]
5392 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5393
d98720e0
AZ
53942014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5395
5396 [BZ#16431]
5397 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5398 Adjust the vDSO correctly for internal calls.
5399 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5400
91cbd0bc
AM
54012014-01-20 Allan McRae <allan@archlinux.org>
5402
5403 * po/ca.po: Update Catalan translation from translation project.
5404
7a02cfad
MF
54052014-01-16 Mike Frysinger <vapier@gentoo.org>
5406
5407 * sysdeps/s390/sotruss-lib.c: New file.
5408
736c304a
AZ
54092014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5410
5411 [BZ#16430]
6e077ee5 5412 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
5413 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5414 local calls issues by not having a PLT stub required for IFUNC calls.
5415 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5416
94d0cea0
JM
54172014-01-16 Joseph Myers <joseph@codesourcery.com>
5418
5419 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5420 * math/test-fpucw-static.c: Likewise.
5421
980cb518
SP
54222013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5423
5424 [BZ #16453]
5425 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5426
2393fc01
AZ
54272014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5428
5429 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5430 implementation for powerpc.
5431
d359bcc2
OB
54322014-01-15 Ondřej Bílka <neleai@seznam.cz>
5433
5434 [BZ #14782]
5435 * sysdeps/posix/system.c (__libc_system): Do not enable
5436 asynchronous cancellation.
5437
7beb48cb
AK
54382014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5439
5440 [BZ #16427]
5441 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5442 handling only for numbers special also in the IEEE case.
5443
c20d5bf5
AK
54442014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5445
5446 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5447
e83bd4ee
AM
54482014-01-11 Allan McRae <allan@archlinux.org>
5449
76d0ea69
AM
5450 * po/bg.po: Update Bulgarian translation from translation project.
5451
e83bd4ee
AM
5452 * po/de.po: Update German translation from translation project.
5453
bc2ba20a
RM
54542014-01-10 Roland McGrath <roland@hack.frob.com>
5455
5456 * sysdeps/generic/gcc-compat.h: New file.
5457
649ecea2
SP
54582014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5459
5460 * benchtests/asin-inputs: Correct slow inputs.
5461 * benchtests/acos-inputs: Likewise.
5462
1b19c006
AM
54632014-01-10 Allan McRae <allan@archlinux.org>
5464
a46dab08
AM
5465 * po:sv.po: Update Swedish translation from translation project.
5466
421df74a
AM
5467 * po/vi.po: Update Vietnamese translation from translation project.
5468
d61c51a7
AM
5469 * po/eo.po: Update Esperanto translation from translation project.
5470
0339a319
AM
5471 * po/cs.po: Update Czech translation from translation project.
5472
94ad3e99
AM
5473 * po/nl.po: Update Dutch translation from translation project.
5474
e349ca71
AM
5475 * po/pl.po: Update Polish translation from translation project.
5476
ddf930c1
AM
5477 * po/ru.po: Update Russian translation from translation project.
5478
1b19c006
AM
5479 * po/uk.po: Update Ukrainian translation from translation project.
5480
9f236c49
BM
54812014-01-08 Brooks Moses <bmoses@google.com>
5482
5483 * elf/dl-load.c: Fix comment typo.
5484
cd6701cf
CD
54852014-01-08 Carlos O'Donell <carlos@redhat.com>
5486
5487 * po/header.pot: Rename to...
5488 * po/pot.header: ... this.
5489 * po/Makefile: Use pot.header.
5490
66671c84
YK
54912014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5492 Maxim Kuvyrkov <maxim@kugelworks.com>
5493
5494 [BZ #16394]
cd6701cf
CD
5495 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5496 SRC and DEST against LEN.
66671c84 5497
38f34581
AZ
54982014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5499
5500 [BZ #16414]
5501 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5502 implementation.
5503 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5504
55052014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
5506
5507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5508
4c327f2a
JM
55092014-01-08 Joseph Myers <joseph@codesourcery.com>
5510
5511 [BZ #16408]
5512 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5513 for large positive arguments.
5514
b821f414
JM
55152014-01-07 Joseph Myers <joseph@codesourcery.com>
5516
1f0f2067
JM
5517 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5518
a5a326f6
JM
5519 * math/auto-libm-test-in: Mark various tests with
5520 xfail-rounding:ldbl-128ibm.
5521 * math/auto-libm-test-out: Regenerated.
5522
b821f414
JM
5523 [BZ #16407]
5524 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5525 Increase overflow threshold.
5526
94c8a4bc
OB
55272014-01-07 Ondřej Bílka <neleai@seznam.cz>
5528
5529 [BZ #14286]
5530 * stdio-common/vfprintf.c: Check for integer overflow.
5531
87ded0c3
AK
55322014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5533
5534 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5535 the first argument and return value of __tls_get_addr_internal.
5536
c5eebdd0
AK
55372014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5538
5539 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5540 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5541
05d138ef
AK
55422014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5543
5544 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5545 * sysdeps/s390/rtld-global-offsets.sym: New file.
5546 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5547 GLIBC_2.19 symbol.
5548 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5549 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5550 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5551 ... this.
5552 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5553 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5554 ... this.
5555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5556 Regenerate.
5557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5558 Regenerate.
5559 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5560 halfs of GPRs for high_gprs contexts.
5561 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5562 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5563 field.
5564 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5565 uc_flags field.
5566 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5567 64 bit versions:
5568 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5569 for high GPRs (uc_high_gprs) and for future extensions
5570 (__reserved).
5571 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5572 for future extensions (__reserved).
5573 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5574 64 bit versions:
5575 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5576 SC_HIGHGPRS offset definition.
5577 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5578 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5579
93a45ff1
AK
5580 * Versions.def: Add GLIBC_2.19 for libpthread.
5581 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5582 siglongjmp for libpthread with GLIBC_2.19 symver.
5583 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5584 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5585 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5586 * sysdeps/s390/__longjmp.c: New file.
5587 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5588 * sysdeps/s390/longjmp.c: New file.
5589 * sysdeps/s390/setjmp.S: New file.
5590 * sysdeps/s390/sigjmp.S: New file.
5591 * sysdeps/s390/v1-longjmp.c: New file.
5592 * sysdeps/s390/v1-setjmp.h: New file.
5593 * sysdeps/s390/v1-sigjmp.c: New file.
5594 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5595 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5596 GLIBC_2.19 version.
5597 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5598 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5599 versioned symbols for ____longjmp_chk.
5600 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5601 Likewise.
5602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5603 Regenerate.
5604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5605 Regenerate.
5606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5607 Regenerate.
5608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5609 Regenerate.
5610 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5611 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5612 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5613 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5614 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5615 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5616 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5617 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5618 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5619 * sysdeps/s390/rtld-__longjmp.c: New file.
5620 * sysdeps/s390/rtld-setjmp.S: New file.
5621
eb3fc44b
JM
56222014-01-06 Joseph Myers <joseph@codesourcery.com>
5623
5624 [BZ #16400]
5625 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5626 Return -__logl (x) for small positive arguments without evaluating
5627 a polynomial.
5628
9341dde4
MF
56292014-01-06 Mike Frysinger <vapier@gentoo.org>
5630
5631 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5632 Rename to ...
5633 (__ptrace_peeksiginfo_args): ... this.
5634 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5635 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5636 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5637
4cff0293
AM
56382014-01-06 Allan McRae <allan@archlinux.org>
5639
5640 * inet/netinet/in.h: Fix typo in comment.
5641
75595dcf
AJ
56422014-01-05 Andreas Jaeger <aj@suse.de>
5643
5644 * sysdeps/i386/fpu/libm-test-ulps: Update.
5645
79c1e109
AM
56462014-01-05 Allan McRae <allan@archlinux.org>
5647
dd804818
AM
5648 * po/libc.pot: Regenerated.
5649
79c1e109
AM
5650 * malloc/memusagestat.c: Fix gettext call formatting.
5651
0c813d1f
SK
56522014-01-04 Sami Kerola <kerolasa@iki.fi>
5653
5654 * nscd/nscd.c: Improve usage() output.
5655
20f4a8d9
MF
56562014-01-04 Mike Frysinger <vapier@gentoo.org>
5657
5658 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5659 * sysdeps/unix/sysv/linux/configure: Regenerated.
5660 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5661 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5662
22562bb2
JM
56632014-01-03 Joseph Myers <joseph@codesourcery.com>
5664
5665 [BZ #16390]
5666 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5667 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5668
d7ad2d9b
AZ
56692014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5670
5671 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5672 extra tokens at end of #undef directive.
5673 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5674 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5675 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5676
7dd009d8
JM
56772014-01-03 Joseph Myers <joseph@codesourcery.com>
5678
24db925a
JM
5679 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5680
7dd009d8
JM
5681 * math/auto-libm-test-in: Mark various tests with
5682 xfail-rounding:ldbl-128ibm.
5683 * math/auto-libm-test-out: Regenerated.
5684
396e3ecf
JM
56852014-01-02 Joseph Myers <joseph@codesourcery.com>
5686
819e5d50
JM
5687 [BZ #16386]
5688 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5689 numbers with subnormal high part when calculating exponent.
5690
90b6a1e5
JM
5691 [BZ #16385]
5692 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5693 fabs.
5694
396e3ecf
JM
5695 [BZ #16384]
5696 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5697 M_LN2l.
5698 (__ieee754_acoshl): Use __log1pl not __log1p.
5699
6c8dbf00
OB
57002013-01-02 Ondřej Bílka <neleai@seznam.cz>
5701
57f41c40
AS
5702 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5703 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5704 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5705 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5706 (reused_arena, arena_get2): Convert to GNU style.
5707 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5708 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5709 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 5710 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
5711 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5712 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5713 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5714 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5715 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5716 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 5717 * malloc/malloc.h: Likewise.
57f41c40
AS
5718 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5719 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 5720 * malloc/mcheck.h: Likewise.
57f41c40
AS
5721 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5722 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
5723 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5724 * malloc/morecore.c (__default_morecore): Likewise.
5725 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
5726 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5727 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5728 (print_and_abort): Likewise.
6c8dbf00
OB
5729 * malloc/obstack.h: Likewise.
5730 * malloc/set-freeres.c (__libc_freeres): Likewise.
5731 * malloc/tst-mallocstate.c (main): Likewise.
5732 * malloc/tst-mtrace.c (main): Likewise.
5733 * malloc/tst-realloc.c (do_test): Likewise.
5734
d4124212
SP
57352013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5736
9a3c6a6f
SP
5737 [BZ #16366]
5738 * nscd/netgroupcache.c (do_notfound): New function.
5739 (addgetnetgrentX): Use it.
5740
d4124212
SP
5741 [BZ # 16365]
5742 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5743 NSS_STATUS_NOTFOUND.
5744
97b9a009
JM
57452014-01-01 Joseph Myers <joseph@codesourcery.com>
5746
5747 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5749
d4697bc9
AM
57502014-01-01 Allan McRae <allan@archlinux.org>
5751
ddb3687f
AM
5752 * scripts/update-copyrights: Update configure input file suffix.
5753
88726d48
AM
5754 * NEWS: Update copyright year.
5755 * catgets/gencat.c: Likewise.
5756 * csu/version.c: Likewise.
5757 * debug/catchsegv.sh: Likewise.
5758 * debug/pcprofiledump.c: Likewise.
5759 * debug/xtrace.sh: Likewise.
5760 * elf/ldconfig.c: Likewise.
5761 * elf/ldd.bash.in: Likewise.
5762 * elf/pldd.c: Likewise.
5763 * elf/sotruss.ksh: Likewise.
5764 * elf/sprof.c: Likewise.
5765 * iconv/iconv_prog.c: Likewise.
5766 * iconv/iconvconfig.c: Likewise.
5767 * locale/programs/locale.c: Likewise.
5768 * locale/programs/localedef.c: Likewise.
5769 * login/programs/pt_chown.c: Likewise.
5770 * malloc/memusage.sh: Likewise.
5771 * malloc/memusagestat.c: Likewise.
5772 * malloc/mtrace.pl: Likewise.
5773 * manual/libc.texinfo: Likewise.
5774 * nscd/nscd.c: Likewise.
5775 * nss/getent.c: Likewise.
5776 * nss/makedb.c: Likewise.
5777 * posix/getconf.c: Likewise.
5778 * scripts/test-installation.pl: Likewise.
5779
d4697bc9
AM
5780 * All files with FSF copyright notices: Update copyright dates
5781 using scripts/update-copyrights.
5782 * intl/plural.c: Regenerated.
5783 * locale/programs/charmap-kw.h: Likewise.
5784 * locale/programs/locfile-kw.h: Likewise.
5785
c8590f9d
MF
57862013-12-31 Mike Frysinger <vapier@gentoo.org>
5787
5788 * sysdeps/unix/sysv/linux/configure: Regenerated.
5789 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5790 the linux/fanotify.h header.
5791 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5792 HAVE_LINUX_FANOTIFY_H is defined.
5793
b19221b9
SP
57942013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5795
dd1d85e5
SP
5796 * benchtests/cos-inputs: New inputs.
5797 * benchtests/sin-inputs: Likewise.
5798
1acbb90f
SP
5799 * benchtests/atan-inputs: New inputs. Fix name of multiple
5800 precision fallback inputs.
5801
4c012ed3
SP
5802 * benchtests/atanh-inputs: New inputs.
5803 * benchtests/tanh-inputs: Likewise.
5804
eff98324
SP
5805 * benchtests/acosh-inputs: New inputs.
5806 * benchtests/asinh-inputs: Likewise.
5807
ce641152
SP
5808 * benchtests/cosh-inputs: New inputs.
5809 * benchtests/sinh-inputs: Likewise.
5810
b19221b9
SP
5811 * benchtests/acos-inputs: Add more inputs.
5812 * benchtests/asin-inputs: Likewise.
5813
030a4976 58142013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 5815
030a4976 5816 [BZ #16375]
9dcc8f11
VS
5817 * manual/arith.texi: Fix spelling.
5818 * manual/charset.texi: Likewise.
5819 * manual/errno.texi: Likewise.
5820 * manual/filesys.texi: Likewise.
5821 * manual/lang.texi: Likewise.
5822 * manual/llio.texi: Likewise.
5823 * manual/locale.texi: Likewise.
5824 * manual/message.texi: Likewise.
5825 * manual/resource.texi: Likewise.
5826 * manual/search.texi: Likewise.
5827 * manual/setjmp.texi: Likewise.
5828 * manual/stdio.texi: Likewise.
5829 * manual/string.texi: Likewise.
5830 * manual/sysinfo.texi: Likewise.
5831 * manual/time.texi: Likewise.
5832
11520a57
CD
58332013-12-27 Carlos O'Donell <carlos@redhat.com>
5834
5835 * po/sl.po: New file.
5836
471103ae
MF
58372013-12-27 Mike Frysinger <vapier@gentoo.org>
5838
5839 * .gitignore: Add core/.gdbinit/.gdb_history.
5840
6c9642ed
AM
58412013-12-27 Allan McRae <allan@archlinux.org>
5842
5843 [BZ #16369]
5844 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5845 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5846
3f637079
BM
58472013-12-24 Brooks Moses <bmoses@google.com>
5848
5849 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5850 all compilers that claim C++98 compliance, not just GCC.
5851 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5852 Likewise.
5853
abc26e99
MK
58542013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5855
5856 * NEWS: Restore accidentally deleted bug-fix entries.
5857
362b47fe
MK
58582013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5859 Ondřej Bílka <neleai@seznam.cz>
5860
5861 [BZ #15073]
5862 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 5863 have_lock.
362b47fe 5864
b9bcbbcb
OB
58652013-12-23 Ondřej Bílka <neleai@seznam.cz>
5866
5867 [BZ #12986]
5868 * manual/stdio.texi (String Input Conversions): Clarify that character
5869 classes are not supported.
5870
fb55fcd2
AZ
58712013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5872
5873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5874
ef7344f0
JM
58752013-12-22 Joseph Myers <joseph@codesourcery.com>
5876
4f40e4b3
JM
5877 [BZ #16337]
5878 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5879 Calculate results for small negative arguments directly rather
5880 than using reflection formula with special underflow handling.
5881
ef7344f0
JM
5882 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5883 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5884 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5885 (fchflags): Likewise.
5886 (revoke): Likewise.
5887 (setlogin): Likewise.
5888 (sigaltstack): Likewise.
5889 (wait4): Likewise.
5890 (sigblock): Remove.
5891 (sigsetmask): Likewise.
5892 (wait3): Likewise.
5893 (waitpid): Likewise.
5894 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5895 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5896 file.
5897 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5898 * sysdeps/unix/bsd/Makefile: ... here.
5899 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5900 * sysdeps/unix/bsd/Versions: ... here.
5901 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5902 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5903 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5904 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5905 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5906 * sysdeps/unix/bsd/sigblock.c: ... here.
5907 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5908 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5909 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5910 * sysdeps/unix/bsd/sigvec.c: ... here.
5911 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5912 * sysdeps/unix/bsd/tcdrain.c: ... here.
5913 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5914 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5915 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5916 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5917 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5918 * sysdeps/unix/bsd/wait.c: ... here.
5919 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5920 * sysdeps/unix/bsd/wait3.c: ... here.
5921 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5922 * sysdeps/unix/bsd/waitpid.c: ... here.
5923
5b0626b9
JM
59242013-12-21 Joseph Myers <joseph@codesourcery.com>
5925
5926 [BZ #16356]
5927 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5928 round-to-nearest for [!USE_AS_EXPM1L].
5929 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5930 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5931 more tests of exp and exp10. Expect some exp10 tests to miss
5932 exceptions or fail in directed rounding modes.
5933 * math/auto-libm-test-out: Regenerated.
5934 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5935 (exp10_test_tonearest): New function.
5936 (exp10_towardzero_test_data): New array.
5937 (exp10_test_towardzero): New function.
5938 (exp10_downward_test_data): New array.
5939 (exp10_test_downward): New function.
5940 (exp10_upward_test_data): New array.
5941 (exp10_test_upward): New function.
5942 (main): Call the new functions.
5943 * sysdeps/i386/fpu/libm-test-ulps: Update.
5944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5945
7fda5682
JM
59462013-12-20 Joseph Myers <joseph@codesourcery.com>
5947
31e3a405
JM
5948 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5949 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5950 * math/auto-libm-test-out: Regenerated.
5951 * math/libm-test.inc (acosh_test_data): Add more tests.
5952 (atanh_test_data): Likewise.
5953 (ceil_test_data): Likewise.
5954 (copysign_test_data): Likewise.
5955 * sysdeps/i386/fpu/libm-test-ulps: Update.
5956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5957
85bff96a
JM
5958 * timezone/checktab.awk: Update from tzcode 2013i.
5959 * timezone/private.h: Likewise.
5960 * timezone/scheck.c: Likewise.
5961 * timezone/tzfile.h: Likewise.
5962 * timezone/tzselect.ksh: Likewise.
5963 * timezone/zdump.c: Likewise.
5964 * timezone/zic.c: Likewise.
5965
b7867a3b
JM
5966 * math/auto-libm-test-in: Add tests of cpow.
5967 * math/auto-libm-test-out: Regenerated.
5968 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 5969 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
5970 mpc_cc_c.
5971 (func_calc_desc): Add mpc_cc_c union field.
5972 (test_functions): Add cpow.
5973 (special_fill_2pi): New function.
5974 (special_real_inputs): Add 2pi.
5975 (calc_generic_results): Handle mpc_cc_c.
5976 * sysdeps/i386/fpu/libm-test-ulps: Update.
5977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5978
7fda5682
JM
5979 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5980 csqrt, ctan and ctanh.
5981 * math/auto-libm-test-out: Regenerated.
5982 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5983 (TEST_COND_x86): Likewise.
5984 (ccos_test_data): Use AUTO_TESTS_c_c.
5985 (ccosh_test_data): Likewise.
5986 (cexp_test_data): Likewise.
5987 (clog_test_data): Likewise.
5988 (csqrt_test_data): Likewise.
5989 (ctan_test_data): Likewise.
5990 (ctan_tonearest_test_data): Likewise.
5991 (ctan_towardzero_test_data): Likewise.
5992 (ctan_downward_test_data): Likewise.
5993 (ctan_upward_test_data): Likewise.
5994 (ctanh_test_data): Likewise.
5995 (ctanh_tonearest_test_data): Likewise.
5996 (ctanh_towardzero_test_data): Likewise.
5997 (ctanh_downward_test_data): Likewise.
5998 (ctanh_upward_test_data): Likewise.
5999 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6000 mpc_c_c.
6001 (func_calc_desc): Add mpc_c_c union field.
6002 (FUNC_mpc_c_c): New macro.
6003 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6004 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6005 ctanh.
6006 (special_fill_min_subnorm_p120): New function.
6007 (special_real_inputs): Add min_subnorm_p120.
6008 (calc_generic_results): Handle mpc_c_c.
6009 * sysdeps/i386/fpu/libm-test-ulps: Update.
6010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6011
5ff8d60e
SP
60122013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6013
57f41c40
AS
6014 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6015 (do_sin_slow): New functions.
6016 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6017 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 6018
84ba214c
SP
6019 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6020 Use M to change sign of result instead of X. Assume X is
6021 positive.
6022 (csloww1): Likewise.
6023 (__sin): Adjust.
6024 (__cos): Adjust.
6025
975195e4
SP
6026 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6027 arguments A and DA.
6028 (__sin): Adjust.
6029 (__cos): Likewise.
6030
5ff8d60e
SP
6031 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6032 (__cos): Likewise.
6033 (sloww1): Don't adjust sign of DX.
6034 (csloww1): Likewise.
6035 (sloww2): Use X directly and don't adjust sign of DX.
6036 (csloww2): Likewise.
6037
eb983568
JM
60382013-12-19 Joseph Myers <joseph@codesourcery.com>
6039
64a17f1a
JM
6040 * math/auto-libm-test-in: Add tests of cabs and carg.
6041 * math/auto-libm-test-out: Regenerated.
6042 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6043 (carg_test_data): Likewise.
6044 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6045 mpc_c_f.
6046 (func_calc_desc): Add mpc_c_f union field.
6047 (test_functions): Add cabs and carg.
6048 (calc_generic_results): Handle mpc_c_f.
6049
eb983568
JM
6050 * sysdeps/powerpc/powerpc32/libgcc-compat.S
6051 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6052 as a macro and a compat symbol.
6053 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6054 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6055 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6056 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6057 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6058 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6059 not use .hidden.
6060 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6061 Likewise.
6062 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6063 Likewise.
6064 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6065 Likewise.
6066 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6067 Likewise.
6068 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6069 Likewise.
6070 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6071 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6072 from GLIBC_2.3.2.
6073
6eeb678a
AZ
60742013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6075
6076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6077
6f6fc482
JM
60782013-12-19 Joseph Myers <joseph@codesourcery.com>
6079
21fea2e2
JM
6080 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6081 trailing whitespace removed.
6082 * scripts/config.guess: Update to version 2013-11-29.
6083 * scripts/config.sub: Update to version 2013-10-01.
6084
6f6fc482
JM
6085 * math/auto-libm-test-in: Add tests of sincos.
6086 * math/auto-libm-test-out: Regenerated.
6087 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6088 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6089 mpfr_f_11.
6090 (func_calc_desc): Add mpfr_f_11 union field.
6091 (test_functions): Add sincos.
6092 (calc_generic_results): Handle mpfr_f_11.
6093 * sysdeps/i386/fpu/libm-test-ulps: Update.
6094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6095
83f5c32d
AS
60962013-12-19 Andreas Schwab <schwab@suse.de>
6097
6098 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6099 CALL_MCOUNT.
6100 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6101 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6102 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6103
c688b419
JM
61042013-12-19 Joseph Myers <joseph@codesourcery.com>
6105
335ee092
JM
6106 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6107 * sysdeps/i386/fpu/libm-test-ulps: Update.
6108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6109
f88acd39
JM
6110 [BZ #16293]
6111 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6112 round-to-nearest mode when using frndint.
6113 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6114 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6115 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6116 Likewise.
6117 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6118 sinh test to fail.
6119 * math/auto-libm-test-out: Regenerated.
6120 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6121 (TEST_COND_x86): Likewise.
6122 (expm1_tonearest_test_data): New array.
6123 (expm1_test_tonearest): New function.
6124 (expm1_towardzero_test_data): New array.
6125 (expm1_test_towardzero): New function.
6126 (expm1_downward_test_data): New array.
6127 (expm1_test_downward): New function.
6128 (expm1_upward_test_data): New array.
6129 (expm1_test_upward): New function.
6130 (main): Run the new test functions.
6131 * sysdeps/i386/fpu/libm-test-ulps: Update.
6132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6133
c688b419
JM
6134 * include/features.h: Update comment documenting feature test
6135 macros. Mention _DEFAULT_SOURCE in comment.
6136 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6137 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6138 _BSD_SOURCE and _SVID_SOURCE.
6139 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6140 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6141 !_SVID_SOURCE]: Likewise.
6142 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6143 (__USE_POSIX_IMPLICITLY): Define.
6144 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6145 (_POSIX_SOURCE): Undefine and redefine.
6146 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6147 (_POSIX_C_SOURCE): Likewise.
6148 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6149 (Feature Test Macros): Update documentation of default features.
6150
9f6e964c
RS
61512013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6152
6153 * benchtests/Makefile: Add bench-strtok.
6154 * benchtests/bench-strtok.c: New file: strtok benchtest.
6155
ee0a148a
AM
61562013-12-19 Allan McRae <allan@archlinux.org>
6157
6158 * manual/install.texi: Suppress menu for plain text output.
6159 * INSTALL: Regenerated.
6160
b9ab448f
BM
61612013-12-18 Brooks Moses <bmoses@google.com>
6162
6163 [BZ #15846]
6164 * misc/getauxval.c: Include errno.h.
6165 (__getauxval): Set errno to ENOENT if the requested type is not
6166 found.
6167 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6168 don't declare with __attribute_const__.
6169 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6170 * manual/startup.texi: Document that getauxval sets errno.
6171
23776487
JM
61722013-12-18 Joseph Myers <joseph@codesourcery.com>
6173
f889953b
JM
6174 * math/auto-libm-test-in: Add tests of jn and yn.
6175 * math/auto-libm-test-out: Regenerated.
6176 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6177 (yn_test_data): Likewise.
6178 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6179 mpfr_if_f.
6180 (func_calc_desc): Add mpfr_if_f union field.
6181 (FUNC_mpfr_if_f): New macro.
6182 (test_functions): Add jn and yn.
6183 (calc_generic_results): Assert type of second input for
6184 mpfr_ff_f. Handle mpfr_if_f.
6185 (output_for_one_input_case): Disable all checking for arguments
6186 fitting floating-point types in case of an integer argument.
6187 * sysdeps/i386/fpu/libm-test-ulps: Update.
6188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6189
23776487
JM
6190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6191 Don't expect fegetround reference in libm.so.
6192
cb756c6d
MS
61932013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6194
6195 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6196 $(config-cflags-nofma).
6197
2dec468f
JM
61982013-12-18 Joseph Myers <joseph@codesourcery.com>
6199
5953eb3a
JM
6200 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6201 * math/auto-libm-test-out: Regenerated.
6202
2dec468f
JM
6203 [BZ #16338]
6204 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6205 to determine exponent and adjust argument to have exponent of -1.
6206 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6207 log2.
6208 * math/auto-libm-test-out: Regenerated.
6209 * sysdeps/i386/fpu/libm-test-ulps: Update.
6210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6211
4d84e6ad
OB
62122013-12-18 Ondřej Bílka <neleai@seznam.cz>
6213
6214 * manual/probes.texi: Remove cases when per-thread arenas are
6215 disabled.
6216
1818483b
AS
62172013-12-18 Andreas Schwab <schwab@suse.de>
6218
6219 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6220 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6221 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6222 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6223 * sysdeps/i386/i686/multiarch/Makefile: Update.
6224 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6225
25de95bf
JM
62262013-12-17 Joseph Myers <joseph@codesourcery.com>
6227
6228 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6229 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6230
674762d9
PE
62312013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6232
ed27ed83 6233 [BZ #15968]
0748546f
PE
6234 Support TZ transition times < 00:00:00.
6235 This is needed for version-3 tz-format files; it supports time
6236 stamps past 2037 for America/Godthab (the only entry in the tz
6237 database for which this change is relevant).
6238 * manual/time.texi (TZ Variable): Document transition times
6239 from -167:59:59 through -00:00:01.
6240 * time/tzset.c (tz_rule): Time of day is now signed.
6241 (__tzset_parse_tz): Parse negative time of day.
6242
4480e934
PE
6243 Document TZ transition times >= 25:00:00.
6244 * manual/time.texi (TZ Variable): Document transition times from
6245 25:00:00 through 167:59:59. These are already supported, and this
6246 support will help with version-3 tz-format files.
6247
69947401
PE
6248 * manual/time.texi (TZ Variable): Modernize North America example
6249 to reflect current (i.e., 2007-and-later) daylight saving rules.
6250
674762d9
PE
6251 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6252
7011c262
JM
62532013-12-17 Joseph Myers <joseph@codesourcery.com>
6254
2fc6557e
JM
6255 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6256 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6257 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6258 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6259 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6260 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6261 * sysdeps/unix/bsd/clock.c: Likewise.
6262 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6263 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6264 * sysdeps/unix/bsd/init-posix.c: Likewise.
6265 * sysdeps/unix/bsd/poll.c: Likewise.
6266 * sysdeps/unix/bsd/ptsname.c: Likewise.
6267 * sysdeps/unix/bsd/seekdir.c: Likewise.
6268 * sysdeps/unix/bsd/setegid.c: Likewise.
6269 * sysdeps/unix/bsd/seteuid.c: Likewise.
6270 * sysdeps/unix/bsd/setgid.c: Likewise.
6271 * sysdeps/unix/bsd/setrgid.c: Likewise.
6272 * sysdeps/unix/bsd/setruid.c: Likewise.
6273 * sysdeps/unix/bsd/setsid.c: Likewise.
6274 * sysdeps/unix/bsd/setuid.c: Likewise.
6275 * sysdeps/unix/bsd/sigaction.c: Likewise.
6276 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6277 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6278 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6279 * sysdeps/unix/bsd/telldir.c: Likewise.
6280 * sysdeps/unix/bsd/times.c: Likewise.
6281 * sysdeps/unix/bsd/usleep.c: Likewise.
6282
029c7b25
JM
6283 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6284 ($(objpfx)libbsd-compat.a): Remove rule.
6285
7011c262
JM
6286 * include/features.h (__FAVOR_BSD): Do not define.
6287 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6288 features conflicting with POSIX.
6289 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6290 (_BSD_SOURCE): Remove description of not being a subset of other
6291 feature test macros.
6292 * manual/job.texi (getpgrp): Do not document BSD version.
6293 (getpgid): Do not document by reference to BSD getpgrp.
6294 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6295 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6296 * signal/signal.h [__FAVOR_BSD]: Likewise.
6297 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6298 instead of making contents conditional on [__FAVOR_BSD].
6299 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6300
affb6f78
AZ
63012013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6302
6303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6304
c88769dd
JM
63052013-12-17 Joseph Myers <joseph@codesourcery.com>
6306
6432a540
JM
6307 [BZ #16314]
6308 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6309 values below 2**-450, not 2**-500.
6310 * math/auto-libm-test-in: Don't allow spurious underflow from
6311 hypot.
6312 * math/auto-libm-test-out: Regenerated.
6313
c88769dd
JM
6314 [BZ #16316]
6315 [BZ #16330]
6316 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6317 values of ha and hb and sort them after adjusting subnormal
6318 arguments.
6319 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6320 Likewise.
6321 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6322 values of ea and eb and sort them after adjusting subnormal
6323 arguments.
6324 * math/auto-libm-test-in: Do not expect some hypot tests of
6325 subnormals to fail. Add more hypot tests.
6326 * math/auto-libm-test-out: Regenerated.
6327
29618f6b
KK
63282013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6329
6330 [BZ #13304]
6331 * sysdeps/sh/s_fma.c: New file.
6332 * sysdeps/sh/s_fmaf.c: New file.
6333 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6334 version.
6335 * sysdeps/sh/Implies: Add sh/soft-fp.
6336
eacfdfbf
RM
63372013-12-16 Roland McGrath <roland@hack.frob.com>
6338
6339 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6340 level of indirection to members `objname', `errstring', `malloced'.
6341 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6342 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6343 it as the __longjmp argument (just pass 1 instead).
6344 (_dl_catch_error): Initialize C with argument pointers and address of
6345 volatile local ERRCODE rather than copying values out of C at return.
6346
ff362e5b
JM
63472013-12-16 Joseph Myers <joseph@codesourcery.com>
6348
6349 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6350 * math/auto-libm-test-out: Regenerated.
6351 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6352 (hypot_test_data): Likewise.
6353 (pow_test_data): Likewise.
6354 (pow_tonearest_test_data): Likewise.
6355 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6356 mpfr_ff_f.
6357 (func_calc_desc): Add mpfr_ff_f union field.
6358 (FUNC_mpfr_ff_f): New macro.
6359 (test_functions): Add atan2, hypot and pow.
6360 (special_fill_min): New function.
6361 (special_fill_minus_min): Likewise.
6362 (special_fill_min_subnorm): Likewise.
6363 (special_fill_minus_min_subnorm): Likewise.
6364 (special_real_inputs): Add min, -min, min_subnorm and
6365 -min_subnorm.
6366 (calc_generic_results): Handle mpfr_ff_f.
6367 * sysdeps/i386/fpu/libm-test-ulps: Update.
6368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6369
5764c27f
WN
63702013-12-16 Will Newton <will.newton@linaro.org>
6371
6372 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6373 (Aligned Memory Blocks): Add documentation for aligned_alloc
6374 and suggest it as an alternative to posix_memalign.
6375 (Hooks for Malloc): Document __memalign_hook is also called
6376 for aligned_alloc. (Summary of Malloc): Add summary for
6377 aligned alloc. Document __memalign_hook is also called
6378 for aligned_alloc.
6379
0a096e44
WN
63802013-12-16 Will Newton <will.newton@linaro.org>
6381
6382 * manual/memory.texi (Malloc Examples): Clarify default
6383 alignment documentation. Suggest posix_memalign rather
6384 than memalign or valloc.
6385 (Aligned Memory Blocks): Remove suggestion to use memalign
6386 or valloc. Remove obsolete comment about BSD.
6387 Document memalign errno values and mark the function obsolete.
6388 Document posix_memalign returned error codes. Mark valloc
6389 as obsolete. (Hooks for Malloc): __memalign_hook is also
6390 called for posix_memalign and valloc.
6391 (Summary of Malloc): Add posix_memalign to function summary.
6392 __memalign_hook is also called for posix_memalign and valloc.
6393
8d561986
SP
63942013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6395
6396 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6397 TAYLOR_SIN.
6398 (__sin): Adjust.
6399 (__cos): Likewise.
6400 (sloww): Use mynumber union. Expand ternary operator into
6401 if-else statements.
6402 (cslow): use mynumber union.
6403
73616a74
AM
64042013-12-16 Allan McRae <allan@archlinux.org>
6405
9e8ac24b
AM
6406 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6407 * configure: Regenerated.
6408
6f8e37eb
AM
6409 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6410
8894bad3
AM
6411 [BZ #14120]
6412 * configure.ac: Added --enable-maintainer-mode. Check for
6413 autoconf when enabled.
6414 * configure: Regenerated.
6415
73616a74
AM
6416 * nscd/nscd.service: New file.
6417 * nscd/nscd.tmpfiles: New file.
6418
584b18eb
OB
64192013-12-14 Ondřej Bílka <neleai@seznam.cz>
6420
6421 [BZ #12100]
6422 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6423 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6424 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6425 (strstr): Add __strstr_sse2_unaligned ifunc.
6426 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6427 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6428 (strcasestr): Remove __strcasestr_sse42 ifunc.
6429 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6430 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6431 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6432
8a5c7897
KK
64332013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6434
6435 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6436 * sysdeps/sh/bits/fenv.h: ... here.
6437 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6438
fd712ef3
AZ
64392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6440
6441 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6442
42fcb46c
AZ
6443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6444 hypotf multiarch implementations.
6445 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6446 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6447 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6448 multiarch hypot for PPC64.
6449 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6450 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6451 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6452 multiarch hypotf for PPC64.
6453
83efded4
AZ
6454 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6455 modff multiarch implementations.
6456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6459 multiarch modf for PPC64.
6460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6463 multiarch modff for PPC64.
6464
43e246d2
AZ
6465 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6466 and logl multiarch implementations.
6467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6470 multiarch logb for PPC64.
6471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6474 multiarch logb for PPC64.
6475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6478 multiarch logb for PPC64.
6479
8fdad123
AZ
6480 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6481 isinff multiarch implementation.
6482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6483 file.
6484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6486 multiarch isinf for PPC64.
6487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6488 file.
6489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6490 multiarch isinff for PPC64.
6491
1481d706
AZ
6492 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6493 finitef multiarch implementation.
6494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6495 file.
6496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6498 multiarch finite for PPC64.
6499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6500 file.
6501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6502 multiarch finitef for PPC64.
6503
5ccd5fc8
AZ
6504 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6505 lrint multiarch implementation.
6506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6507 file.
6508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6510 multiarch llrint for PPC64.
6511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6512 multiarch lrint for PPC64.
6513
2568f3fa
AZ
6514 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6515 copysignf multiarch implementation.
6516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6517 file.
6518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6519 file.
6520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6521 multiarch copysign for PPC64.
6522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6523 multiarch copysignf for PPC64.
6524
1cb341fd
AZ
6525 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6526 multiarch implementation.
6527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6528 file.
6529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6530 file.
6531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6532 file.
6533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6534 file.
6535 multiarch llround for PPC64.
6536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6537 multiarch trunc for PPC64.
6538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6539 multiarch truncf for PPC64.
6540
59a3e194
AZ
6541 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6542 multiarch implementation.
6543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6544 file.
6545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6546 file.
6547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6548 file.
6549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6550 file.
6551 multiarch llround for PPC64.
6552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6553 multiarch round for PPC64.
6554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6555 multiarch roundf for PPC64.
6556
357fd3b4
AZ
6557 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6558 multiarch implementation.
6559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6560 file.
6561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6562 file.
6563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6564 file.
6565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6566 file.
6567 multiarch llround for PPC64.
6568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6569 multiarch floor for PPC64.
6570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6571 multiarch floorf for PPC64.
6572
96770f12
AZ
6573 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6574 multiarch implementation.
6575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6576 file.
6577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6578 file.
6579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6580 file.
6581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6582 file.
6583 multiarch llround for PPC64.
6584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6585 multiarch ceil for PPC64.
6586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6587 multiarch ceilf for PPC64.
6588
c3627f6e
AZ
6589 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6590 multiarch implementation.
6591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6592 file.
6593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6594 file.
6595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6596 file.
6597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6598 multiarch llround for PPC64.
6599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6600 multiarch lround for PPC64.
6601
b2284ad7
AZ
6602 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6603 multiarch implementation.
6604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6607 file.
6608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6611 multiarch isnan for PPC64.
6612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6613 multiarch isnanf for PPC64.
6614
69bbc63d
AZ
6615 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6616 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6617 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6618 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6619 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6621
c24517c9
AZ
6622 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6623 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6624 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6625 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6626
a52374e8
AZ
6627 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6628 multiarch implementations.
6629 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6630 (__libc_ifunc_impl_list): Likewise.
6631 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6632 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6633 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6634 multiarch stpcpy for PPC64.
6635
7f5ec113
AZ
6636 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6637 multiarch implementations.
6638 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6639 (__libc_ifunc_impl_list): Likewise.
6640 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6641 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6642 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6643 multiarch strcpy for PPC64.
6644
e28bcd42
AZ
6645 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6646 redefine function name.
6647 (_wordcopy_fwd_dest_aligned): Likewise.
6648 (_wordcopy_bwd_aligned): Likewise.
6649 (_wordcopy_bwd_dest_aligned): Likewise.
6650 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6651 multiarch implementations.
6652 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6653 (__libc_ifunc_impl_list): Likewise.
6654 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6655 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6656 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6657 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6658 multiarch wcscpy for PPC64.
6659
92cacfce
AZ
6660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6661 multiarch implementations.
6662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6663 (__libc_ifunc_impl_list): Likewise.
6664 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6665 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6666 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6667 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6668 multiarch wcscpy for PPC64.
6669
7b714620
AZ
6670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6671 multiarch implementations.
6672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6673 (__libc_ifunc_impl_list): Likewise.
6674 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6675 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6676 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6677 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6678 multiarch wcsrchr for PPC64.
6679
16fd2ae3
AZ
6680 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6681 multiarch implementations.
6682 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6683 (__libc_ifunc_impl_list): Likewise.
6684 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6685 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6686 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6687 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6688 multiarch wcschr for PPC64.
6689
9ee2969b
AZ
6690 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6691 multiarch implementations.
6692 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6693 (__libc_ifunc_impl_list): Likewise.
6694 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6695 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6696 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6697 multiarch strchrnul for PPC64.
6698
372dc060
AZ
6699 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6700 implementations.
6701 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6702 (__libc_ifunc_impl_list): Likewise.
6703 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6704 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6705 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6706 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6707 strchr for PPC64.
6708
24c2c3b9
AZ
6709 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6710 implementations.
6711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6712 (__libc_ifunc_impl_list): Likewise.
6713 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6714 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6715 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6716 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6717 strncmp for PPC64.
6718
1c92d9a0
AZ
6719 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6720 multiarch implementations.
6721 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6722 (__libc_ifunc_impl_list): Likewise.
6723 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6724 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6725 strncasecmp for PPC64.
6726 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6727 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6728 multiarch strncasecmp_l for PPC64.
6729
17de3ee3
AZ
6730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6731 multiarch implementations.
6732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6733 (__libc_ifunc_impl_list): Likewise.
6734 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6735 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6736 multiarch strcasecmp for PPC64.
6737 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6738 file.
6739 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6740 multiarch strcasecmp_l for PPC64.
6741
62982bf9
AZ
6742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6743 implementations.
6744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6745 (__libc_ifunc_impl_list): Likewise.
6746 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6747 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6748 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6749 strnlen for PPC64.
6750
a65f4904
AZ
6751 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6752 implementations.
6753 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6754 (__libc_ifunc_impl_list): Likewise.
6755 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6756 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6757 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6758 strlen for PPC64.
6759
1fd005ad
AZ
6760 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6761 implementations.
6762 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6763 (__libc_ifunc_impl_list): Likewise.
6764 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6765 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6766 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6767 rawmemrchr for PPC64.
6768
cd05ba91
AZ
6769 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6770 implementation.
6771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6772 (__libc_ifunc_impl_list): Likewise.
6773 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6774 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6775 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6776 memrchr for PPC64.
6777
870f8676
AZ
6778 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6779 implementation.
6780 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6781 (__libc_ifunc_impl_list): Likewise.
6782 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6783 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6784 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6785 memchr for PPC64.
6786
f00be62b
AZ
6787 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6788 implementation.
6789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6790 (__libc_ifunc_impl_list): Likewise.
6791 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6792 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6793 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6794 mempcpy for PPC64.
6795
8a29a3d0
AZ
6796 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6797 avoid cretion of __bzero symbol.
6798 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6799 Likewise.
6800 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6801 Likewise.
6802 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6803 Likewise.
6804 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6805 multiarch implementations.
6806 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6807 (__libc_ifunc_impl_list): Likewise.
6808 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6809 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6810 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6811 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6812 bzero for PPC32.
6813 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6814 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6815 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6816 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6817 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6818 memset for PPC64.
6819 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6820
07253fcf
AZ
6821 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6822 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6823 implementations.
6824 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6825 (__libc_ifunc_impl_list): Likewise.
6826 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6827 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6828 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6829 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6830 memcmp for PPC64.
6831
b5beafbc
AZ
6832 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6833 multiarch for POWER/PPC64.
6834 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6835 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6836 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6837 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6838 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6839 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6840 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6841 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6842 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6843 memcpy for PPC64.
6844
5e6a4d4b
AZ
6845 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6846 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6847 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6848 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6849 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6850 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6851 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6852 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6853 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6854 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6855 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6856 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6857 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6858 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6859 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6867
ddfab6dc
KK
68682013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6869
6870 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6871
19b5525e
SP
68722013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6873
6874 * benchtests/Makefile (bench): Add exp2 and log2.
6875 (LDLIBS-bench-exp2): Add -lm.
6876 (LDLIBS-bench-log2): Likewise.
6877 * benchtests/exp2-inputs: New inputs file.
6878 * benchtests/log2-inputs: New inputs file.
6879 * benchtests/log-inputs: Add new inputs.
6880 * benchtests/tan-inputs: Likewise.
6881
196f7f5d
SP
68822013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6883
7a74607f
SP
6884 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6885 definition...
57f41c40
AS
6886 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6887 (csloww2): ... from here.
7a74607f 6888
196f7f5d
SP
6889 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6890 instead of structures.
6891 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6892 (POLYNOMIAL): Likewise.
6893 (TAYLOR_SLOW): Likewise.
6894 (__sin): Likewise.
6895 (__cos): Likewise.
6896 (slow1): Likewise.
6897 (slow2): Likewise.
6898 (sloww): Likewise.
6899 (sloww1); Likewise.
6900 (sloww2): Likewise.
6901 (bsloww1): Likewise.
6902 (bsloww2): Likewise.
6903 (cslow2): Likewise.
6904 (csloww): Likewise.
6905 (csloww1): Likewise.
6906 (csloww2): Likewise.
6907
0dfa665c
OB
69082013-12-10 Ondřej Bílka <neleai@seznam.cz>
6909
6910 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
6911 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6912 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
6913 * malloc/hooks.c (realloc_check): Likewise.
6914
5782a80f
OB
6915 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6916 * malloc/arena.c: Remove PER_THREAD conditional.
6917 [!PER_THREAD]: Remove code.
6918 (ptmalloc_unlock_all2): Likewise.
6919 (ptmalloc_init): Likewise.
6920 (_int_new_arena): Likewise.
6921 (arena_get2): Likewise.
6922 * malloc/hooks.c (__malloc_get_state): Likewise.
6923 (__malloc_set_state): Likewise.
6924 * malloc/malloc.c: Likewise.
6925 (struct malloc_state): Likewise.
6926 (struct malloc_par): Likewise.
6927 (__libc_realloc): Likewise.
6928 (__libc_mallopt): Likewise.
6929
aeb95445
AZ
69302013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6931
6932 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6933
e8349efd
OB
69342013-12-09 Ondřej Bílka <neleai@seznam.cz>
6935
6936 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6937 macro to a function. Check for zero perturb_byte.
6938 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6939
f3eeb3fc 6940 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
6941 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6942 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
6943 force_reg by atomic_forced_read.
6944 * malloc/arena.c (ptmalloc_init): Likewise.
6945 * malloc/hooks.c (top_check): Likewise.
6946
be2f9009
AZ
69472013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6948
6949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6950
e7b914bd
MT
69512013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6952
6953 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6954
9f0be4f8
JM
69552013-12-08 Joseph Myers <joseph@codesourcery.com>
6956
6957 * math/auto-libm-test-in: Add tests of lgamma.
6958 * math/auto-libm-test-out: Regenerated.
6959 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6960 (M_LOG_2_SQRT_PIl): Likewise.
6961 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6962 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6963 mpfr_f_f1.
6964 (func_calc_desc): Add mpfr_f_f1 union field.
6965 (ARGS1): New macro.
6966 (ARGS2): Likewise.
6967 (ARGS3): Likewise.
6968 (ARGS4): Likewise.
6969 (RET1): Likewise.
6970 (RET2): Likewise.
6971 (CALC): Likewise.
6972 (FUNC): Likewise.
6973 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6974 (test_functions): Add lgamma.
6975 (calc_generic_results): Handle mpfr_f_f1.
6976 * sysdeps/i386/fpu/libm-test-ulps: Update.
6977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6978
24eeafdb
AZ
69792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6980
6981 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6982 __mpn_add_n for PowerPC64/POWER7.
6983 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6984 __mpn_sub_n for PowerPC64/POWER7.
6985
4a2c0fd4
AZ
6986 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6987 __mpn_addmul_1 for PowerPC64.
6988 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6989 __mpn_submul_1 for PowerPC64.
6990 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6991 for PowerPC64.
6992 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6993 for PowerPC64.
6994
4b5b548c
FS
69952013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6996
6997 [BZ #15089]
6998 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6999
0a3ac0aa
AZ
70002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7001
7002 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7003
ccdc8438
AZ
7004 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7005 add multiarch folders.
7006 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7007 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7008 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7009 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7010 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7011 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7012 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7013 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7014 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7015 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7016 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7023
2e973d99
AZ
7024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7025 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7027 New file.
7028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7029 New file.
7030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7031 multiarch __ieee754_hypot for PowerPC32.
7032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7033 New file.
7034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7035 New file.
7036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7037 multiarch __ieee754_hypotf for PowerPC32.
7038
2d9470b2
AZ
7039 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7040 long_double_symbol only if __logbl is defined.
7041 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7042 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7043 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7044 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7045 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7046 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7047 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7048 path for implementation.
7049 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7050 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7052 logb, and logbl multiarch implementations for PowerPC32.
7053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7054 file.
7055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7056 file.
7057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7058 multiarch logb for PowerPC32.
7059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7060 file.
7061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7062 file.
7063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7064 multiarch logbf for PowerPC32.
7065 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7067 file.
7068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7069 multiarch logbl implementation for PowerPC32.
7070
5212ffce
AZ
7071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7072 and modff multiarch implementations.
7073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7074 New file.
7075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7076 New file.
7077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7078 multiarch modf for PowerPC32.
7079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7080 New file.
7081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7082 New file.
7083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7084 multiarch modff for PowerPC32.
7085
79dccf31
AZ
7086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7087 and lrintf multiarch implementations.
7088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7089 New file.
7090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7091 New file.
7092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7093 multiarch lrint for PowerPC32.
7094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7095 file: multiarch lrintf for PowerPC32.
7096
deb66480
AZ
7097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7098 and lroundf multiarch implementations.
7099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7100 New file.
7101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7102 New file.
7103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7104 New file.
7105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7106 multiarch lround for PowerPC32.
7107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7108 file: multiarch lroundf for PowerPC32.
7109
264b036b
AZ
7110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7111 copysign and copysignf multiarch implementations.
7112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7113 New file.
7114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7115 New file.
7116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7117 file: multiarch copysign for PowerPC32.
7118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7119 file: multiarch copysignf for PowerPC32.
7120
d47db6c9
AZ
7121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7122 and truncf multiarch implementations.
7123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7124 New file.
7125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7126 file.
7127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7128 multiarch trunc for PowerPC32.
7129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7130 New file.
7131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7132 New file.
7133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7134 multiarch truncf for PowerPC32.
7135
ddb60b5a
AZ
7136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7137 and roundf multiarch implementations.
7138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7139 New file.
7140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7141 file.
7142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7143 multiarch round for PowerPC32.
7144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7145 New file.
7146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7147 New file.
7148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7149 multiarch roundf for PowerPC32.
7150
bedcf49b
AZ
7151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7152 and floorf multiarch implementations.
7153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7154 New file.
7155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7156 file.
7157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7158 multiarch floor for PowerPC32.
7159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7160 New file.
7161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7162 New file.
7163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7164 multiarch floorf for PowerPC32.
7165
35ae5b40
AZ
7166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7167 and ceilf multiarch implementations.
7168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7169 New file.
7170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7171 file.
7172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7173 multiarch ceil for PowerPC32.
7174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7175 New file.
7176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7177 file.
7178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7179 multiarch ceilf for PowerPC32.
7180
ae1a4cd9
AZ
7181 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7182 is defined.
7183 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7184 FINITEF is defined.
7185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7186 and finitef multiarch implementations.
7187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7188 New file.
7189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7190 file.
7191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7192 multiarch finite for PowerPC32.
7193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7194 New file.
7195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7196 file: multiarch finitef for PowerPC32.
7197
64fffd65
AZ
7198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7199 and isinff multiarch implementations.
7200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7201 file.
7202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7203 file.
7204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7205 multiarch isinf for PowerPC32.
7206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7207 New file.
7208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7209 multiarch isinff for PowerPC32.
7210
8e4e7ba2
AZ
7211 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7212 alias when __isnan is defined.
7213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7214 and isnanf multiarch implementations.
7215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7216 file.
7217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7218 file.
7219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7220 file.
7221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7222 file.
7223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7224 multiarch isnan for PowerPC32.
7225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7226 New file.
7227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7228 New file.
7229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7230 multiarch isnanf for PowerPC32.
7231
ddba588e
AZ
7232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7233 and sqrtf multiarch implementations.
7234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7235 file.
7236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7237 file.
7238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7239 multiarch sqrt for PowerPC32.
7240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7241 file.
7242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7243 file.
7244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7245 multiarch sqrtf for PowerPC32.
7246
0f96a2f0
AZ
7247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7248 and llroundf multiarch implementations.
7249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7250 New file.
7251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7252 New file.
7253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7254 New file.
7255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7256 file: multiarch llround for PowerPC32.
7257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7258 file: multiarch llroundf for PowerPC32.
7259
c9b5d79e
AZ
7260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7261 multiarch PowerPC32 fpu implementations.
7262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7263 New file.
7264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7265 New file.
7266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7267 multiarch llrint for PowerPC32.
7268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7269 New file.
7270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7271 New file.
7272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7273 file.
7274
9cbb3aab
AZ
7275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7276
ea5a72f8
AZ
7277 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7278 file.
7279 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7280 file.
7281 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7282 file.
7283 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7284 multiarch wordcopy for PPC32.
7285 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7286 wordcopy objects.
7287 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7288 (__libc_ifunc_impl_list): Likewise.
7289 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7290 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7291 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7292 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7293 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7294 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7295
93be09e7
AZ
7296 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7297 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7298 file.
7299 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7300 file.
7301 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7302 file.
7303 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7304 multiarch wcscpy for PPC32.
7305 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7306 multiarch objects.
7307 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7308 (__libc_ifunc_impl_list): Likewise.
7309 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7310 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7311 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7312 sysdeps/powerpc/power6/wcscpy.c.
7313
bb04e529
AZ
7314 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7315 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7316 file.
7317 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7318 file.
7319 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7320 file.
7321 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7322 multiarch wcsrchr for PPC32.
7323 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7324 multiarch objects.
7325 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7326 (__libc_ifunc_impl_list): Likewise.
7327 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7328 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7329 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7330 sysdeps/powerpc/power6/wcsrchr.c.
7331
05b5cd1c
AZ
7332 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7333 file.
7334 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7335 file.
7336 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7337 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7338 multiarch wcschr for PPc32.
7339 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7340 multiarch objects.
7341 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7342 (__libc_ifunc_impl_list): Likewise.
7343 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7344 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7345 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7346 sysdeps/powerpc/power6/wcschr.c.
7347
ba964147
AZ
7348 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7349 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7350 file.
7351 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7352 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7353 file: multiarch strchr for PPC32.
7354 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7355 multiarch objects.
7356 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7357 (__libc_ifunc_impl_list): Likewise.
7358
31c81aaa
AZ
7359 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7360 name.
7361 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7362 file.
7363 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7364 file.
7365 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7366 multiarch strchrnul for PPC32.
7367 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7368 multiarch objects.
7369 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7370 (__libc_ifunc_impl_list): Likewise.
7371
0d0607d9
AZ
7372 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7373 file.
7374 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7375 multiarch strncasecmp for PPC32.
7376 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7377 file.
7378 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7379 multiarch strncasecmp_l for PPC32.
7380 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7381 strncasecmp multiarch objects.
7382 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7383 (__libc_ifunc_impl_list): Likewise.
7384
4dfd5c86
AZ
7385 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7386 file.
7387 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7388 multiarch strncasecmp for PPC32.
7389 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7390 New file.
7391 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7392 multiarch strcasecmp_l for PPC32.
7393 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7394 multiarch objects.
7395 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7396 (__libc_ifunc_impl_list): Likewise.
7397
a19e01a3
AZ
7398 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7399 file.
7400 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7401 file.
7402 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7403 multiarch strncmp for PPC32.
7404 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7405 multiarch objects.
7406 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7407 (__libc_ifunc_impl_list): Likewise.
7408
ae9cf7a2
AZ
7409 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7410 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7411 file.
7412 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7413 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7414 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7415 multiarch objects.
7416 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7417 (__libc_ifunc_impl_list): Likewise.
7418
3148bb7d
AZ
7419 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7420 file.
7421 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7422 file.
7423 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7425 multiarch objects.
7426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7427 (__libc_ifunc_impl_list): Likewise.
7428
7af8b946
AZ
7429 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7430 file.
7431 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7432 file.
7433 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7434 multiarch rawmemchr for PPC32.
7435 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7436 multiarch objects.
7437 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7438 (__libc_ifunc_impl_list): Likewise.
7439
03a6aa6a
AZ
7440 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7441 file.
7442 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7443 file.
7444 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7445 file: memrchr multiarch for PPC32.
7446 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7447 multiarch objects.
7448 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7449 (__libc_ifunc_impl_list): Likewise.
7450
1c62e6d9
AZ
7451 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7452 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7453 file.
7454 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7455 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7456 multiarch memchr for PPC32.
7457 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7458 multiarch objects.
7459 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7460 (__libc_ifunc_impl_list): Likewise.
7461
87da8bdb
AZ
7462 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7463 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7464 file.
7465 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7466 file.
7467 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7468 file: multiarch mempcpy for PPC32.
7469 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7470 multiarch objects.
7471 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7472 (__libc_ifunc_impl_list): Likewise.
7473
20ed4714
AZ
7474 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7475 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7476 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7477 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7478 multiarch bzero for PPC32.
7479 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7480 file.
7481 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7482 file.
7483 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7484 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7485 file: multiarch memset for PPC32.
7486 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7487 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7488 memset multiarch objects.
7489 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7490 (__libc_ifunc_impl_list): Likewise.
7491
ab3e3a46
AZ
7492 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7493 file.
7494 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7495 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7496 memcmp for PPC32.
7497 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7498 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7499 multiarch objects.
7500 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7501 (__libc_ifunc_impl_list): Likewise.
7502
930de6f0
AZ
7503 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7504 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7505 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7506 file.
7507 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7508 file.
7509 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7510 file.
7511 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7512 multiarch memcpy for PPC32.
7513 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7514 multiarch objects.
7515 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7516 (__libc_ifunc_impl_list): Likewise.
7517
4c628e00
AZ
7518 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7519 support multiarch for POWER/PPC32.
7520 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7521 Likewise.
7522 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7524 Implies file to make multiarch folder appers before the fpu and
7525 default folder for power4 configuration.
7526
f4479220
SP
75272013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7528
7529 * scripts/bench.pl: Append volatile keyword to type.
7530
8517800f
KK
75312013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7532
7533 * sysdeps/sh/sotruss-lib.c: New file.
7534 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7535
180138f1
AZ
75362013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7537
7538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7539
bbf37bdc
JM
75402013-12-05 Joseph Myers <joseph@codesourcery.com>
7541
e47cc4e0
JM
7542 [BZ #6810]
7543 * math/w_tgamma.c: Include <errno.h>.
7544 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7545 * math/w_tgammaf.c: Include <errno.h>.
7546 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7547 * math/w_tgammal.c: Include <errno.h>.
7548 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7549 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7550 underflow. Add more tgamma tests.
7551 * math/auto-libm-test-out: Regenerated.
7552 * sysdeps/i386/fpu/libm-test-ulps: Update.
7553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7554
bbf37bdc
JM
7555 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7556 sin, sinh, tan, tanh, tgamma, y0 and y1.
7557 * math/auto-libm-test-out: Regenerated.
7558 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7559 (TEST_COND_x86): Likewise.
7560 (M_E2l): Remove macro.
7561 (M_E3l): Likewise.
7562 (M_2_SQRT_PIl): Likewise.
7563 (M_SQRT_PIl): Likewise.
7564 (M_1_DIV_El): Likewise.
7565 (log_test_data): Use AUTO_TESTS_f_f.
7566 (log10_test_data): Likewise.
7567 (log1p_test_data): Likewise.
7568 (log2_test_data): Likewise.
7569 (sin_test_data): Likewise.
7570 (sin_tonearest_test_data): Likewise.
7571 (sin_towardzero_test_data): Likewise.
7572 (sin_downward_test_data): Likewise.
7573 (sin_upward_test_data): Likewise.
7574 (sinh_test_data): Likewise.
7575 (sinh_tonearest_test_data): Likewise.
7576 (sinh_towardzero_test_data): Likewise.
7577 (sinh_downward_test_data): Likewise.
7578 (sinh_upward_test_data): Likewise.
7579 (tan_test_data): Likewise.
7580 (tan_tonearest_test_data): Likewise.
7581 (tan_towardzero_test_data): Likewise.
7582 (tan_downward_test_data): Likewise.
7583 (tan_upward_test_data): Likewise.
7584 (tanh_test_data): Likewise.
7585 (tgamma_test_data): Likewise.
7586 (y0_test_data): Likewise.
7587 (y1_test_data): Likewise.
7588 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7589 (special_real_inputs): Add pi/4.
7590 * sysdeps/i386/fpu/libm-test-ulps: Update.
7591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7592
eb5ad6b9
AZ
75932013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7594
7595 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7596 "longjmp_target" static probes.
7597 (__longjmp): Rename to __longjmp_symbol.
7598 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7599 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7600 on which longjmp to generate.
7601 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7602 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7603 probe.
7604 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7605 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7606 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7607 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7608 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7609 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7611 __longjmp_symbol based on which __longjmp to generate.
7612 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7613 probe.
7614 (setjmp): Rename to setjmp_symbol.
7615 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7616 (_setjmp): Rename to _setjmp_symbol.
7617 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7618 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7619 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7620 which setjmp to generate.
7621 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7622 "longjmp_target" static probes.
7623
d136c6dc
SP
76242013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7625
9298ecba
SP
7626 * benchtests/README: Add note about output arguments.
7627 * benchtests/bench-sincos.c: Remove file.
7628 * benchtests/sincos-inputs: New file.
7629 * scripts/bench.pl: Identify output arguments and define
7630 static variables for them.
7631
232983e9
SP
7632 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7633
d136c6dc
SP
7634 [BZ #15941]
7635 * Makefile (INSTALL): Add install-plain.texi as the primary
7636 dependency.
7637 * manual/install-plain.texi: New file.
7638 * manual/install.texi: Include node directive only for
7639 non-plaintext output.
7640
699ff837
JM
76412013-12-04 Joseph Myers <joseph@codesourcery.com>
7642
ab07cea8
JM
7643 * stdlib/longlong.h: Update from GCC.
7644
699ff837
JM
7645 [BZ #6807]
7646 [BZ #15901]
7647 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7648 * math/w_j0f.c (y0f): Likewise.
7649 * math/w_j0l.c (__y0l): Likewise.
7650 * math/w_j1.c (y1): Likewise.
7651 * math/w_j1f.c (y1f): Likewise.
7652 * math/w_j1l.c (__y1l): Likewise
7653 * math/w_jn.c (yn): Likewise.
7654 * math/w_jnf.c (ynf): Likewise.
7655 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7656 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7657 value for Bessel function domain errors outside _SVID_ mode.
7658 Adjust sign of return value for yn (negative integer, 0).
7659 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7660 by zero in return for negative x and set sign appropriately for
7661 negative n.
7662 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7663 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7664 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7665 expectations in error cases.
7666 (y1_test_data): Likewise.
7667 (yn_test_data): Likewise.
7668 * sysdeps/i386/fpu/libm-test-ulps: Update.
7669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7670
5b118558
UW
76712013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7672
7673 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7674 "64" to "64-v1". Add "64-v2".
7675 (abi-64-options): Rename to ...
7676 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7677 (abi-64-condition): Rename to ...
7678 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7679 (abi-64-ld-soname): Rename to ...
7680 (abi-64-v1-ld-soname): ... this.
7681 (abi-64-v2-options): Define.
7682 (abi-64-v2-condition): Likewise.
7683 (abi-64-v2-ld-soname): Likewise.
7684 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7685 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7689
61cd8fe4
UW
76902013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7691 Alan Modra <amodra@gmail.com>
7692
7693 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7694 New versions for use with the ELFv2 ABI.
7695 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7696 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7697 declaration.
7698 (struct La_ppc64v2_retval): Likewise.
7699 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7700 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7701 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7702 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7703 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7704 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7705 Do not save or restore CR.
7706 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7707 (_dl_profile_resolve): Do no save or restore CR. Support extended
7708 return values for ELFv2 ABI. Fix location of FPR return registers.
7709 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7710 updated values for _CALL_ELF == 2.
7711 (La_regs, La_retval, int_retval): Likewise.
7712
8b8a692c
UW
77132013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7714
7715 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7716 (FRAME_MIN_SIZE_PARM): Likewise.
7717 (FRAME_BACKCHAIN): Likewise.
7718 (FRAME_CR_SAVE): Likewise.
7719 (FRAME_LR_SAVE): Likewise.
7720 (FRAME_TOC_SAVE): Likewise.
7721 (FRAME_PARM_SAVE): Likewise.
7722 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7723 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7724 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7725 (call_mcount_parm_offset): New macro.
7726 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7727 (PROF): Use symbolic stack frame offsets.
7728 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7729 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7730 Redefine in terms of FRAME_MIN_SIZE.
7731 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7732 (_dl_profile_resolve): Likewise. Update comment.
7733 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7734 symbols stack frame offsets.
7735 (__sigsetjmp): Likewise.
7736 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7737 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7738 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7739 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7740
7741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7742 (FRAME_BACKCHAIN): Remove.
7743 (FRAME_CR_SAVE): Likewise.
7744 (FRAME_LR_SAVE): Likewise.
7745 (FRAME_COMPILER_DW): Likewise.
7746 (FRAME_LINKER_DW): Likewise.
7747 (FRAME_TOC_SAVE): Likewise.
7748 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
7749 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7750 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7751 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
7752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7753 (CHECK_SP): Use symbolic stack frame offsets.
7754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7755 zone" instead of caller's parameter save area for temp storage.
7756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7757 Likewise. Also, use symbolic stack frame offsets.
7758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7759 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7760 our own stack frame instead of the caller's.
7761 (__socket): Use symbolic stack frame offsets.
7762
122b66de
UW
77632013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7764 Alan Modra <amodra@gmail.com>
7765
7766 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7767 Define.
57f41c40
AS
7768 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7769 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
7770 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7771 New function.
7772 (elf_machine_fixup_plt): Call it.
7773 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7774 reloc arguments.
7775 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
7776 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7777 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7778 r2 before calling target.
7779
696caf1d
UW
77802013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7781 Alan Modra <amodra@gmail.com>
7782
7783 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7784 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7785 versions of macros to support ELFv2 ABI.
7786 (LOCALENTRY): New macro.
7787 (ENTRY, EALIGN): Use it.
7788 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7789 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7790 fall through into ENTRY entry point.
7791 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7792 Only define if _CALL_ELF != 2.
7793
7794 (elf_machine_matches_host): Verify ABI version matches.
7795 (RTLD_START): Use LOCALENTRY.
7796 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7797 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7798 (PLT_ENTRY_WORDS): New macro.
7799 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7800 (elf_machine_runtime_setup): Support ELFv2 ABI.
7801 (elf_machine_fixup_plt): Likewise.
7802 (elf_machine_plt_conflict): Likewise.
7803 (resolve_ifunc): Likewise.
7804 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7805 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7806 Likewise.
7807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7808 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7810 (makecontext): Support ELFv2 ABI.
7811 * elf/elf.h (EF_PPC64_ABI): Define.
7812
d31beafa
UW
78132013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7814
57f41c40
AS
7815 * sysdeps/powerpc/powerpc64/sysdep.h
7816 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7817 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7818 (ENTRY) [ASSEMBLER]: ... but instead here ...
7819 (EALIGN) [ASSEMBLER]: ... and here.
7820 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7821 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7822 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
7823 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7824 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
7825 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7826 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
7827 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7829 Use PPC64_LOAD_FUNCPTR.
7830
b525166b
UW
7831 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7832
7ec07d9a
AM
78332013-12-04 Alan Modra <amodra@gmail.com>
7834
7835 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7836 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7837 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7838 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7839
7840 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7841 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7842 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7843 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7844 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7845 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7846
5162e7dd
UW
78472013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7848
7849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7850 (__makecontext): Fix incorrect CFI when backtracing out of
7851 context created via makecontext.
7852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7853 (__setcontext): Fix incorrect CFI during switch to new context.
7854 (__novec_setcontext): Likewise.
7855
19e3372b
OB
78562013-12-04 Ondřej Bílka <neleai@seznam.cz>
7857
7858 [BZ #4772]
7859 * time/strptime_l.c (__strptime_internal): Allow modifiers
7860 in strptime.
7861 * time/tst-strptime.c (day_tests): Add testcase.
7862
ecaf142d
SP
78632013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7864
7865 * scripts/bench.pl: Skip over blank lines.
7866
fbf964ae
PE
78672013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7868
7869 [BZ #926]
7870 * manual/time.texi (Calendar Time): Clarify what timezone functions
7871 use.
7872
fa60a674
AZ
78732013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7874
7875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7876
d674f0ef
OB
78772013-12-04 Ondřej Bílka <neleai@seznam.cz>
7878
7879 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7880 implementation.
7881 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7882 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7883 * debug/memset_chk.c (__memset_chk): Likewise.
7884 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7885 * debug/strncpy_chk.c: Likewise.
7886
17dea188
JM
78872013-12-03 Joseph Myers <joseph@codesourcery.com>
7888
749008ff
JM
7889 [BZ #15268]
7890 [BZ #15425]
7891 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7892 (__ieee754_exp): For possibly underflowing results, check size of
7893 result and force underflow exception if required.
7894 * math/auto-libm-test-in: Add more tests of exp.
7895 * math/auto-libm-test-out: Regenerated.
7896 * sysdeps/i386/fpu/libm-test-ulps: Update.
7897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7898
17dea188
JM
7899 [BZ #16283]
7900 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7901 * math/w_exp2f.c (__exp2f): Likewise.
7902 * math/w_exp2l.c (__exp2l): Likewise.
7903 * math/auto-libm-test-in: Do not allow missing errno on exp2
7904 underflow.
7905 * math/auto-libm-test-out: Regenerated.
7906
b20de2c3
OB
79072013-12-03 Ondřej Bílka <neleai@seznam.cz>
7908
7909 [BZ #16274]
7910 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7911 handle filename validation.
7912 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7913 (do_open): Delete.
7914
d8e2dbe3
JM
79152013-12-03 Joseph Myers <joseph@codesourcery.com>
7916
34e16df5
JM
7917 [BZ #6786]
7918 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7919 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7920 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7921 <float.h>.
7922 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7923 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7924 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7925 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7926 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7927 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7928 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7929 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7930 Add more erfc tests.
7931 * math/auto-libm-test-out: Regenerated.
7932 * sysdeps/i386/fpu/libm-test-ulps: Update.
7933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7934
d8e2dbe3
JM
7935 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7936 exp2, expm1, j0 and j1.
7937 * math/auto-libm-test-out: Regenerated.
7938 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7939 (erfc_test_data): Likewise.
7940 (exp_test_data): Likewise.
7941 (exp_tonearest_test_data): Likewise.
7942 (exp_towardzero_test_data): Likewise.
7943 (exp_downward_test_data): Likewise.
7944 (exp_upward_test_data): Likewise.
7945 (exp10_test_data): Likewise.
7946 (exp2_test_data): Likewise.
7947 (expm1_test_data): Likewise.
7948 (j0_test_data): Likewise.
7949 (j1_test_data): Likewise.
7950 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7951 (input_flag_type): Add flag_xfail_rounding.
7952 (input_flags): Add xfail-rounding.
7953 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7954 (output_for_one_input_case): Handle flag_xfail_rounding.
7955 * sysdeps/i386/fpu/libm-test-ulps: Update.
7956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7957
18d14251
AJ
79582013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7959
3d2e6075 7960 [BZ #16289]
18d14251
AJ
7961 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7962 division by 0.
7963
520d437b
SP
79642013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7965
7966 [BZ #16195]
7967 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7968 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7969 (STAP_PROBE0): New macro.
7970 (STAP_PROBE1): Likewise.
7971 (STAP_PROBE2): Likewise.
7972 (STAP_PROBE3): Likewise.
7973 (STAP_PROBE4): Likewise.
7974
416e0145
OB
79752013-12-02 Ondřej Bílka <neleai@seznam.cz>
7976
7977 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7978
9d17796a
SE
79792013-12-02 Steve Ellcey <sellcey@mips.com>
7980
7981 * benchtests/Makefile (bench): Add sqrt.
7982 (LDLIBS-bench-sqrt): New.
7983 * benchtests/sqrt-input: New.
7984
f524d6a8
PS
79852013-12-02 Pavel Simerda <psimerda@redhat.com>
7986
639a0ef8
PS
7987 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7988 (GAIH_EAI): Likewise.
7989 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7990 (gaih_inet): Likewise.
7991 (getaddrinfo): Don't use GAIH_EAI.
7992
f524d6a8
PS
7993 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7994 (struct gaih): Remove definition.
7995
df3aedaf
SP
79962013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7997
7998 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7999 Use HERRNOP directly.
8000
1ab19dec
AZ
80012013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8002
b42ad38d 8003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 8004
176b0c79
JM
80052013-11-30 Joseph Myers <joseph@codesourcery.com>
8006
8007 * math/gen-auto-libm-tests.c (test_functions): Add more
8008 single-argument functions.
8009 (special_fill_pi_2): New function.
8010 (special_fill_minus_pi_2): Likewise.
8011 (special_fill_pi_6): Likewise.
8012 (special_fill_minus_pi_6): Likewise.
8013 (special_fill_pi_3): Likewise.
8014 (special_fill_2pi_3): Likewise.
8015 (special_fill_e): Likewise.
8016 (special_fill_1_e): Likewise.
8017 (special_fill_e_minus_1): Likewise.
8018 (special_real_inputs): Add more special inputs.
8019 (output_for_one_input_case): Do not require ERANGE on underflow to
8020 zero if round-to-nearest result does not underflow to zero, unless
8021 exact results required.
8022 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8023 atan, atanh, cbrt, cos and cosh.
8024 * math/auto-libm-test-out: Regenerated.
8025 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8026 (acos_tonearest_test_data): Likewise.
8027 (acos_towardzero_test_data): Likewise.
8028 (acos_downward_test_data): Likewise.
8029 (acos_upward_test_data): Likewise.
8030 (acosh_test_data): Likewise.
8031 (asin_test_data): Likewise.
8032 (asin_tonearest_test_data): Likewise.
8033 (asin_towardzero_test_data): Likewise.
8034 (asin_upward_test_data): Likewise.
8035 (asinh_test_data): Likewise.
8036 (atan_test_data): Likewise.
8037 (atanh_test_data): Likewise.
8038 (cbrt_test_data): Likewise.
8039 (cos_test_data): Likewise.
8040 (cos_tonearest_test_data): Likewise.
8041 (cos_towardzero_test_data): Likewise.
8042 (cos_downward_test_data): Likewise.
8043 (cos_upward_test_data): Likewise.
8044 (cosh_test_data): Likewise.
8045 (cosh_tonearest_test_data): Likewise.
8046 (cosh_towardzero_test_data): Likewise.
8047 (cosh_downward_test_data): Likewise.
8048 (cosh_upward_test_data): Likewise.
8049 * sysdeps/i386/fpu/libm-test-ulps: Update.
8050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8051
ffb536d0
JM
80522013-11-29 Joseph Myers <joseph@codesourcery.com>
8053
2a77a467
JM
8054 [BZ #6787]
8055 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8056 * math/w_exp10f.c (__exp10f): Likewise.
8057 * math/w_exp10l.c (__exp10l): Likewise.
8058 * math/libm-test.inc (exp10_test_data): Add more tests and expect
8059 errno settings in existing tests.
8060
ea3bc4e8
JM
8061 [BZ #14032]
8062 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8063 precision control set to double precision.
8064 * sysdeps/i386/fpu/w_sqrt.c: New file.
8065 * math/auto-libm-test-in: Add more tests.
8066 * math/auto-libm-test-out: Update.
8067
0712c9d8
JM
8068 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8069 (sqrt_test_tonearest): New function.
8070 (sqrt_towardzero_test_data): New variable.
8071 (sqrt_test_towardzero): New function.
8072 (sqrt_downward_test_data): New variable.
8073 (sqrt_test_downward): New function.
8074 (sqrt_upward_test_data): New variable.
8075 (sqrt_test_upward): New function.
8076 (main): Call the new functions.
8077
ffb536d0
JM
8078 * math/gen-auto-libm-tests.c: New file.
8079 * math/auto-libm-test-in: Likewise.
8080 * math/auto-libm-test-out: New generated file.
8081 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8082 variables.
8083 (%beautify): Add generated representations of zero.
8084 (top level): Set $auto_input and call parse_auto_input.
8085 (beautify): Remove trailing "f" from hex float constants.
8086 (parse_args): Handle XFAIL_TEST.
8087 (convert_condition): New function.
8088 (or_value): Likewise.
8089 (or_cond_value): Likewise.
8090 (generate_testfile): Handle AUTO_TESTS_* lines.
8091 (parse_auto_input): New function.
8092 * math/libm-test.inc (XFAIL_TEST): New macro.
8093 (ERRNO_UNCHANGED): Update value.
8094 (ERRNO_EDOM): Likewise.
8095 (ERRNO_ERANGE): Likewise.
8096 (IGNORE_RESULT): Likewise.
8097 (TEST_COND_flt_32): New macro.
8098 (TEST_COND_dbl_64): Likewise.
8099 (TEST_COND_ldbl_96_intel): Likewise.
8100 (TEST_COND_ldbl_96_m68k): Likewise.
8101 (TEST_COND_ldbl_128): Likewise.
8102 (TEST_COND_ldbl_128ibm): Likewise.
8103 (TEST_COND_long32): Likewise.
8104 (TEST_COND_long64): Likewise.
8105 (TEST_COND_before_rounding): Likewise.
8106 (TEST_COND_after_rounding): Likewise.
8107 (enable_test): Handle XFAIL_TEST flag.
8108 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8109 with finite results.
8110 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8111 auto-libm-test-out.
8112
acd98a8e
AK
81132013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8114 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8115
8116 [BZ #16214]
8117 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8118 __tls_get_addr_internal instead of __tls_get_offset in order to
8119 avoid GOT pointer dependency. Make rtld export
8120 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8121 __tls_get_addr since we are a __tls_get_offset platform.
8122 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8123 GOT pointer being set up before.
8124 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8125
3c1c46a6
JM
81262013-11-28 Joseph Myers <joseph@codesourcery.com>
8127
7475aef5
JM
8128 * manual/math.texi (Errors in Math Functions): Document accuracy
8129 goals.
8130
8bca7cd8
JM
8131 [BZ #15004]
8132 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8133 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8134 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8135 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8136 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8137 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8138 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8139 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8140 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8141 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8142 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8143 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8144 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8145 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8146 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8147 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8148
91a1f3fe
JM
8149 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8150 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8151 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8152 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8153 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8154 Likewise.
8155 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8156 Likewise.
8157 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8158 Likewise.
8159 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8160 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8161 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8162 atomic-feupdateenv and flt-rounds.
8163 * sysdeps/powerpc/nofpu/Versions (libc): Add
8164 __atomic_feholdexcept, __atomic_feclearexcept,
8165 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8166 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8167 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8168 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8169 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8170 here.
8171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8172 Update.
8173
c5df7609
JM
8174 * manual/arith.texi (FP Exceptions): Document that exceptions may
8175 not be raised when matherr is used.
8176 (Math Error Reporting): Document overflow in directed rounding
8177 modes. Document that errno may not be set when finite values are
8178 returned on overflow. Document intent to set errno on underflow
8179 only for underflow to zero.
8180
3c1c46a6
JM
8181 [BZ #16271]
8182 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8183 round-to-nearest then adjust result for other rounding modes.
8184 * include/fenv.h (fegetround): Use libm_hidden_proto.
8185 * math/fegetround.c (fegetround): Use libm_hidden_def.
8186 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8187 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8188 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8189 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8190 Likewise.
8191 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8192 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8193 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8194 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8195
5a4c6d53
SP
81962013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8197
8198 [BZ #16077]
8199 * nss/Versions (libnss_files): Add
8200 _nss_files_gethostbyname3_r.
8201 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8202 New function.
8203 (HOST_DB_LOOKUP): Remove macro.
8204 (_nss_files_gethostbyname_r): Implement function without the
8205 HOST_DB_LOOKUP macro.
8206 (_nss_files_gethostbyname2_r): Likewise.
8207
897b98ba
OB
82082013-11-28 Ondřej Bílka <neleai@seznam.cz>
8209
8210 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8211
6f476861
UB
82122013-11-26 Uros Bizjak <ubizjak@gmail.com>
8213
8214 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8215 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8216 warning.
8217
bd12ab55
AZ
82182013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8219
8220 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8221 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8222 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8223 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8224 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8225 __fe_nomask_env_priv and attribute_hidden.
8226 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8227 (libc_feupdateenv_test_ppc): Likewise.
8228 (libc_feresetround_ppc): Likewise.
8229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8230 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8231 compat_symbol macro.
8232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8233 (__fe_nomask_env): Likewise.
8234 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8235
52bb6543
OB
82362013-11-26 Ondřej Bílka <neleai@seznam.cz>
8237
8238 * string/Makefile: Remove ifunc tests.
8239 * string/test-string.h: Define TEST_IFUNC.
8240 * string/test-bcopy-ifunc.c: Remove.
8241 * string/test-bzero-ifunc.c: Likewise.
8242 * string/test-memccpy-ifunc.c: Likewise.
8243 * string/test-memchr-ifunc.c: Likewise.
8244 * string/test-memcmp-ifunc.c: Likewise.
8245 * string/test-memcpy-ifunc.c: Likewise.
8246 * string/test-memmem-ifunc.c: Likewise.
8247 * string/test-memmove-ifunc.c: Likewise.
8248 * string/test-mempcpy-ifunc.c: Likewise.
8249 * string/test-memrchr-ifunc.c: Likewise.
8250 * string/test-memset-ifunc.c: Likewise.
8251 * string/test-rawmemchr-ifunc.c: Likewise.
8252 * string/test-stpcpy-ifunc.c: Likewise.
8253 * string/test-stpncpy-ifunc.c: Likewise.
8254 * string/test-strcasecmp-ifunc.c: Likewise.
8255 * string/test-strcasestr-ifunc.c: Likewise.
8256 * string/test-strcat-ifunc.c: Likewise.
8257 * string/test-strchr-ifunc.c: Likewise.
8258 * string/test-strchrnul-ifunc.c: Likewise.
8259 * string/test-strcmp-ifunc.c: Likewise.
8260 * string/test-strcpy-ifunc.c: Likewise.
8261 * string/test-strcspn-ifunc.c: Likewise.
8262 * string/test-strlen-ifunc.c: Likewise.
8263 * string/test-strncasecmp-ifunc.c: Likewise.
8264 * string/test-strncat-ifunc.c: Likewise.
8265 * string/test-strncmp-ifunc.c: Likewise.
8266 * string/test-strncpy-ifunc.c: Likewise.
8267 * string/test-strnlen-ifunc.c: Likewise.
8268 * string/test-strpbrk-ifunc.c: Likewise.
8269 * string/test-strrchr-ifunc.c: Likewise.
8270 * string/test-strspn-ifunc.c: Likewise.
8271 * string/test-strstr-ifunc.c: Likewise.
8272
ab260039 82732013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
8274
8275 * benchtests/Makefile: Remove ifunc tests.
8276 * benchtests/bench-string.h: Define TEST_IFUNC.
8277 * benchtests/bench-bcopy-ifunc.c: Remove.
8278 * benchtests/bench-bzero-ifunc.c: Likewise.
8279 * benchtests/bench-memccpy-ifunc.c: Likewise.
8280 * benchtests/bench-memchr-ifunc.c: Likewise.
8281 * benchtests/bench-memcmp-ifunc.c: Likewise.
8282 * benchtests/bench-memcpy-ifunc.c: Likewise.
8283 * benchtests/bench-memmem-ifunc.c: Likewise.
8284 * benchtests/bench-memmove-ifunc.c: Likewise.
8285 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8286 * benchtests/bench-memrchr-ifunc.c: Likewise.
8287 * benchtests/bench-memset-ifunc.c: Likewise.
8288 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8289 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8290 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8291 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8292 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8293 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8294 * benchtests/bench-strcat-ifunc.c: Likewise.
8295 * benchtests/bench-strchr-ifunc.c: Likewise.
8296 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8297 * benchtests/bench-strcmp-ifunc.c: Likewise.
8298 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8299 * benchtests/bench-strcpy-ifunc.c: Likewise.
8300 * benchtests/bench-strcspn-ifunc.c: Likewise.
8301 * benchtests/bench-strlen-ifunc.c: Likewise.
8302 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8303 * benchtests/bench-strncat-ifunc.c: Likewise.
8304 * benchtests/bench-strncmp-ifunc.c: Likewise.
8305 * benchtests/bench-strncpy-ifunc.c: Likewise.
8306 * benchtests/bench-strnlen-ifunc.c: Likewise.
8307 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8308 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 8309 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
8310 * benchtests/bench-strspn-ifunc.c: Likewise.
8311 * benchtests/bench-strstr-ifunc.c: Likewise.
8312
83132013-11-26 Ondřej Bílka <neleai@seznam.cz>
8314
ab260039
OB
8315 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8316
d1d9eaf4 83172013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 8318
d1d9eaf4
OB
8319 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8320 * rt/aio.h: Likewise.
8321 * sysdeps/gnu/bits/utmp.h: Likewise.
8322 * sysdeps/gnu/bits/utmpx.h: Likewise.
8323 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8324 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8325 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8326 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8327 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8328 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8329 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8330 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8331 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8332 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8333 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8334 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8335 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8337 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8338 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8339 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8340 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8341 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8342 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8343 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8344 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8345 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8346 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8347 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8348 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8349 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8350 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8351 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8352 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8353 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8354 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8355 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8356 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8357 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8358 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8359 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8360 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8361 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8362 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8363 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8364 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8365
a7624ed9
CD
83662013-11-25 Carlos O'Donell <carlos@redhat.com>
8367
8368 [BZ #16245]
8369 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8370 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8371
63cfe52b
JM
83722013-11-25 Joseph Myers <joseph@codesourcery.com>
8373
8374 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8375 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8376 Likewise.
8377
41e8926a
AZ
83782013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8379
8380 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8381 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8382 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8383 (__fesetround): Remove define.
8384 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8385 rounding and exceptions handling.
8386 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8387 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8388 (__fe_nomask_env): Likewise.
8389 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8390 __fegetround instead of fegetround.
8391 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8392 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8393
6851bd4d
RM
83942013-11-21 Roland McGrath <roland@hack.frob.com>
8395
070906ff
RM
8396 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8397 it's there.
8398
6851bd4d
RM
8399 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8400
84ae135d
MI
84012013-11-21 Meador Inge <meadori@codesourcery.com>
8402
8403 [BZ #11157]
8404 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8405 (encrypt_r): Likewise.
8406 * malloc/obstack.h (obstack_free): Likewise.
8407 * posix/unistd.h (encrypt): Likewise.
8408
daf75146
GM
84092013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8410
8411 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8412 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8413 DL_CALL_DT_FINI() that call the functions directly.
8414 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8415 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8416 * elf/dl-fini.c: Likewise.
8417
10ad46bc
OB
84182013-11-20 Ondřej Bílka <neleai@seznam.cz>
8419
8420 * malloc/hooks.c (memalign_check): Add alignment rounding.
8421 * malloc/malloc.c (_mid_memalign): New function.
8422 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8423 Implement by calling _mid_memalign.
8424 * manual/probes.texi (Memory Allocation Probes): Remove
8425 memory_valloc_retry and memory_pvalloc_retry.
8426
f3fd2628
SP
84272013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8428
4712799f
SP
8429 * locale/programs/locarchive.c (open_archive): Add const
8430 qualifier to ARCHIVEFNAME and copy default fname to
8431 DEFAULT_FNAME.
8432
0417b20f
SP
8433 [BZ #15601]
8434 * libio/tst-widetext.input: Rename Oriya to Odia.
8435 * locale/iso-639.def: Likewise.
8436
f3fd2628
SP
8437 * manual/probes.texi (Mathematical Function Probes): Add
8438 documentation for sin, cos, asin and acos probes.
8439 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8440 (__sin32): Add slowasin probe.
8441 (__cos32): Add slowacos probe.
8442 (__mpsin): Add slowsin probe.
8443 (__mpcos): Add slowcos probe.
8444
73c1ce4f
JM
84452013-11-19 Joseph Myers <joseph@codesourcery.com>
8446
8447 [BZ #15483]
8448 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8449 thread-local __sim_exceptions_thread and global
8450 __sim_exceptions_global.
8451 (__sim_disabled_exceptions): Change to thread-local
8452 __sim_disabled_exceptions_thread and global
8453 __sim_disabled_exceptions_global.
8454 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8455 and global __sim_round_mode_global.
8456 (__simulate_exceptions): Use thread-local floating-point state and
8457 set global state from it as needed.
8458 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8459 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8460 __sim_round_mode_thread.
8461 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8462 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8463 and global __sim_exceptions_global.
8464 (__sim_disabled_exceptions): Change to thread-local
8465 __sim_disabled_exceptions_thread and global
8466 __sim_disabled_exceptions_global.
8467 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8468 and global __sim_round_mode_global.
8469 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8470 (SIM_SET_GLOBAL): Likewise.
8471 * sysdeps/powerpc/soft-fp/sfp-machine.h
8472 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8473 __sim_round_mode_thread.
8474 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8475 __sim_disabled_exceptions_thread.
8476 (__sim_exceptions): Change to __sim_exceptions_thread.
8477 (__sim_disabled_exceptions): Change to
8478 __sim_disabled_exceptions_thread.
8479 (__sim_round_mode): Change to __sim_round_mode_thread.
8480 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8481 thread-local floating-point state and set global state from it as
8482 needed.
8483 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8484 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8485 (__sim_disabled_exceptions): Remove extern declaration.
8486 (feenableexcept): Use thread-local floating-point state and set
8487 global state from it as needed.
8488 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8489 extern declaration.
8490 (__sim_disabled_exceptions): Likewise.
8491 (__sim_round_mode): Likewise.
8492 (__fegetenv): Use thread-local floating-point state.
8493 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8494 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8495 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8496 floating-point state and set global state from it as needed.
8497 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8498 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8499 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8500 Likewise.
8501 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8502 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8503 Likewise.
8504 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8505 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8506 Use __sim_round_mode_thread.
8507 * math/test-fenv-tls.c: New file.
8508 * math/Makefile (tests): Add test-fenv-tls.
8509 ($(objpfx)test-fenv-tls): Depend on
8510 $(common-objpfx)nptl/libpthread.so.
8511
b5449b12
AS
85122013-11-19 Andreas Schwab <schwab@suse.de>
8513
8514 * locale/programs/locale.c (show_info): Decode wordarray elements.
8515 * locale/categories.def (LC_MONETARY): Add element for
8516 _NL_MONETARY_CRNCYSTR.
8517 * locale/C-monetary.c (conversion_rate): New variable.
8518 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8519 element.
8520
e186536b
CM
85212013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8522
8523 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8524 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8525
5c349950
PP
85262013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8527
8528 * elf/Makefile (tst-auxv): New test.
8529 * elf/tst-auxv.c: New
8530 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8531
699df45b
JM
85322013-11-18 Joseph Myers <joseph@codesourcery.com>
8533
8534 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8535 (hidden_proto): Caller changed.
8536 (hidden_tls_proto): New macro.
8537 (libc_hidden_tls_proto): Likewise.
8538 (rtld_hidden_tls_proto): Likewise.
8539 (libm_hidden_tls_proto): Likewise.
8540 (libresolv_hidden_tls_proto): Likewise.
8541 (librt_hidden_tls_proto): Likewise.
8542 (libdl_hidden_tls_proto): Likewise.
8543 (libnss_files_hidden_tls_proto): Likewise.
8544 (libnsl_hidden_tls_proto): Likewise.
8545 (libnss_nisplus_hidden_tls_proto): Likewise.
8546 (libutil_hidden_tls_proto): Likewise.
8547
b7589107
OB
85482013-11-18 Ondřej Bílka <neleai@seznam.cz>
8549
8550 [BZ #10253]
8551 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8552 (decompose_rpath): Defer expansion to fillin_rpath.
8553 (_dl_init_paths): Pass linkmap to fillin_rpath.
8554
250c23bd
RS
85552013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8556
8557 * benchtests/Makefile: Add strsep.
8558 * benchtests/bench-strsep.c: New file: strsep benchtest.
8559 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8560
a7931fcf
AS
85612013-11-18 Andreas Schwab <schwab@suse.de>
8562
8563 * locale/programs/locale.c (show_info) [case byte]: Check for
8564 '\377' instead of '\177'.
8565 * locale/C-monetary.c (not_available): Always use "\377".
8566 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8567 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8568 detect unavailable sign_posn locale elements.
8569 * locale/localeconv.c (__localeconv): For grouping and
8570 mon_grouping handle "\177" and "\377" like no grouping.
8571 (INT_ELEM): New macro. Use it to set all numeric members.
8572 * locale/programs/ld-monetary.c (monetary_read)
8573 <tok_mon_grouping>: Normalize single -1 to the empty string.
8574 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8575 Likewise.
8576
728dab0e
OB
85772013-11-07 Ondřej Bílka <neleai@seznam.cz>
8578
8579 [BZ #16055]
8580 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8581 when we match (nil).
8582 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8583
66294491
JM
85842013-11-16 Joseph Myers <joseph@codesourcery.com>
8585
ce665817
JM
8586 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8587 (NO_TEST_INLINE): Update value.
8588 (ERRNO_UNCHANGED): Likewise.
8589 (ERRNO_EDOM): Likewise.
8590 (ERRNO_ERANGE): Likewise.
8591 (IGNORE_RESULT): Likewise.
8592 (check_float_internal): Check signs of NaN results if
8593 TEST_NAN_SIGN used.
8594 (check_complex): Pass TEST_NAN_SIGN flag through to second
8595 check_float_internal call.
8596 (copysign_test_data): Add tests with quiet NaNs as second
8597 argument. Use TEST_NAN_SIGN.
8598 (fabs_test_data): Add test of negative quiet NaN argument. Use
8599 TEST_NAN_SIGN.
8600 (signbit_test_data): Add tests of quiet NaN argument.
8601 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8602
ee1466a9
JM
8603 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8604 $ignore_result.
8605 (parse_args): Handle function results specified as IGNORE.
8606 * math/libm-test.inc (IGNORE_RESULT): New macro.
8607 (check_float_internal): Do not check numerical result if flag
8608 IGNORE_RESULT set.
8609 (check_complex): Pass through IGNORE_RESULT to second
8610 check_float_internal call.
8611 (check_int): Do not check numerical result if flag IGNORE_RESULT
8612 set.
8613 (check_long): Likewise.
8614 (check_bool): Likewise.
8615 (check_longlong): Likewise.
8616 (lrint_test_data): Add tests of infinite and NaN arguments.
8617 (lrint_tonearest_test_data): Likewise.
8618 (lrint_towardzero_test_data): Likewise.
8619 (lrint_downward_test_data): Likewise.
8620 (lrint_upward_test_data): Likewise.
8621 (llrint_test_data): Likewise.
8622 (llrint_tonearest_test_data): Likewise.
8623 (llrint_towardzero_test_data): Likewise.
8624 (llrint_downward_test_data): Likewise.
8625 (llrint_upward_test_data): Likewise.
8626 (lround_test_data): Likewise.
8627 (llround_test_data): Likewise.
8628
14407b7e
JM
8629 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8630 (ERRNO_UNCHANGED): Update value.
8631 (ERRNO_EDOM): Likewise.
8632 (ERRNO_ERANGE): Likewise.
8633 (NO_TEST_INLINE_FLOAT): New macro.
8634 (NO_TEST_INLINE_DOUBLE): Likewise.
8635 (enable_test): New function.
8636 (RUN_TEST_f_f): Check enable_test before running test.
8637 (RUN_TEST_2_f): Likewise.
8638 (RUN_TEST_fff_f): Likewise.
8639 (RUN_TEST_c_f): Likewise.
8640 (RUN_TEST_f_f1): Likewise.
8641 (RUN_TEST_fF_f1): Likewise.
8642 (RUN_TEST_fI_f1): Likewise.
8643 (RUN_TEST_ffI_f1): Likewise.
8644 (RUN_TEST_c_c): Likewise.
8645 (RUN_TEST_cc_c): Likewise.
8646 (RUN_TEST_f_i): Likewise.
8647 (RUN_TEST_f_i_tg): Likewise.
8648 (RUN_TEST_ff_i_tg): Likewise.
8649 (RUN_TEST_f_b): Likewise.
8650 (RUN_TEST_f_b_tg): Likewise.
8651 (RUN_TEST_f_l): Likewise.
8652 (RUN_TEST_f_L): Likewise.
8653 (RUN_TEST_fFF_11): Likewise.
8654 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8655 conditionals.
8656 (cosh_test_data): Likewise.
8657 (exp_test_data): Likewise.
8658 (expm1_test_data): Likewise.
8659 (hypot_test_data): Likewise.
8660 (pow_test_data): Likewise.
8661 (sinh_test_data): Likewise.
8662 (tanh_test_data): Likewise.
8663 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8664 flags argument.
8665
ca07f197
JM
8666 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8667 tests with quiet NaN input and output.
8668 (acosh_test_data): Likewise.
8669 (asin_test_data): Likewise.
8670 (asinh_test_data): Likewise.
8671 (atan_test_data): Likewise.
8672 (atanh_test_data): Likewise.
8673 (atan2_test_data): Likewise.
8674 (cbrt_test_data): Likewise.
8675 (cos_test_data): Likewise.
8676 (cosh_test_data): Likewise.
8677 (erf_test_data): Likewise.
8678 (erfc_test_data): Likewise.
8679 (exp_test_data): Likewise.
8680 (exp10_test_data): Likewise.
8681 (exp2_test_data): Likewise.
8682 (expm1_test_data): Likewise.
8683 (hypot_test_data): Likewise.
8684 (j0_test_data): Likewise.
8685 (j1_test_data): Likewise.
8686 (jn_test_data): Likewise.
8687 (lgamma_test_data): Likewise.
8688 (log_test_data): Likewise.
8689 (log10_test_data): Likewise.
8690 (log1p_test_data): Likewise.
8691 (log2_test_data): Likewise.
8692 (pow_test_data): Likewise.
8693 (scalb_test_data): Likewise.
8694 (sin_test_data): Likewise.
8695 (sincos_test_data): Likewise.
8696 (sinh_test_data): Likewise.
8697 (tan_test_data): Likewise.
8698 (tanh_test_data): Likewise.
8699 (tgamma_test_data): Likewise.
8700 (y0_test_data): Likewise.
8701 (y1_test_data): Likewise.
8702 (yn_test_data): Likewise.
8703
66294491
JM
8704 [BZ #16167]
8705 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8706 argument being NaN and avoid computations with second argument in
8707 that case.
8708 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8709 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8710 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8711
1820b143
CL
87122013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8713
8714 * locale/iso-639.def: Add Chitwani Tharu (the).
8715
714bd261
AS
87162013-11-14 Andreas Schwab <schwab@suse.de>
8717
8718 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8719 word instead of empty string.
8720
7ab44563
AZ
87212013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8722
8723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8724 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8726 (__fe_nomask_env): Likewise.
8727
e8470ea2
SE
87282013-11-13 Steve Ellcey <sellcey@mips.com>
8729
8730 * benchtests/bench-timing.h: Include time.h.
8731
17c1d9f0
L
87322013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8733
8734 [BZ #15997]
8735 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8736 to 3.4.0 for x32.
8737 * sysdeps/unix/sysv/linux/configure: Regenerated.
8738
9310c284
JM
87392013-11-13 Joseph Myers <joseph@codesourcery.com>
8740
8741 [BZ #16151]
8742 * stdlib/strtod_l.c (round_and_return): Do not consider
8743 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8744 exponent one less than half the least subnormal exponent.
8745 * stdlib/test-strtod-round-data: Add more tests.
8746 * stdlib/tst-strtod-round.c (tests): Regenerated.
8747
7a2ad8cf
AZ
87482013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8749
8750 [BZ #14143]
8751 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8752 (__fe_mask_env): Likewise.
8753 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8754 libm_hidden_proto and add function prototype.
8755 (__fe_mask_env): Add function prototype.
8756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8757 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8759 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8761 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8762
50727aa7
MS
87632013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8764
b2f386c1 8765 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8766 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8767
a615be46
MS
87682013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8769
8770 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8771 of htab_find_slot().
8772
7ddace62
DM
87732013-11-11 David S. Miller <davem@davemloft.net>
8774
8775 [BZ #16150]
8776 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8777 symbol in the non-vis3 case in static builds.
8778 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8779 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8780 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8781 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8782
9182aa67
JK
87832013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8784
8785 [BZ #387]
8786 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8787 it is empty.
8788
450a2e2d
AZ
87892013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8790
b2f386c1
SP
8791 * benchtests/Makefile: Add bench-strtod.
8792 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8793
8ec3f656
AS
87942013-11-11 Andreas Schwab <schwab@suse.de>
8795
8796 [BZ #16153]
8797 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8798 terminating NUL in key length.
8799
76a9b998
AZ
88002013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8801
8802 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8803 Add artificial ODP entry for vDSO symbol for PPC64.
8804 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8805 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8806
e4368156
OB
88072013-11-07 Ondřej Bílka <neleai@seznam.cz>
8808
8809 [BZ #15374]
8810 * nss/getent.c (services_keys): Recognize services starting with digit.
8811
8d6bb57c
DM
88122013-11-06 David S. Miller <davem@davemloft.net>
8813
8814 [BZ #15985]
8815 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8816 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8817
e256c421
WN
88182013-11-06 Will Newton <will.newton@linaro.org>
8819
8820 * manual/memory.texi (Malloc Examples): Remove register
8821 keyword from examples.
8822
f6e12daa 88232013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8824
f6e12daa 8825 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8826
9d880655
AS
88272013-11-04 Joseph Myers <joseph@codesourcery.com>
8828
fd2f9486 8829 [BZ #6981]
9d880655
AS
8830 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8831 depending on [__GCC_IEC_559 > 0].
8832 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8833 depending on [__GCC_IEC_559_COMPLEX > 0].
8834
ae129d3c
CL
88352013-11-03 Chris Leonard <cjl@sugarlabs.org>
8836
8837 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8838 to iso-639.def.
8839
4a15c2a4 88402013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8841
8842 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8843
8b35e35d
OB
88442013-11-01 Ondřej Bílka <neleai@seznam.cz>
8845
8846 [BZ #16112]
8847 * malloc/malloc (malloc_info): Do not handle first bin as
8848 special case.
8849
1d70fd6c
CL
88502013-11-01 Chris Leonard <cjl@sugarlabs.org>
8851
8852 * locale/iso-639.def: Add Central Nahuatl (nhn).
8853
8c5c2600
BH
88542013-11-01 Bruno Haible <bruno@clisp.org>
8855
8856 [BZ #7003]
8857 * manual/math.texi (BSD Random): Specify range upper bound as
8858 in POSIX.
8859
da5579c2
CL
88602013-10-31 Chris Leonard <cjl@sugarlabs.org>
8861
8862 * locale/iso-639.def: Add Meadow Mari (mhr).
8863
5d30d853
OB
88642013-10-31 Ondřej Bílka <neleai@seznam.cz>
8865
8866 [BZ #14752], [BZ #15763]
8867 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8868 Validate name.
8869 * rt/tst_shm.c: Add test for escaping directory.
8870
a4966c61
AS
88712013-10-31 Andreas Schwab <schwab@suse.de>
8872
8a43e768 8873 [BZ #15917]
a4966c61
AS
8874 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8875 followed by 'x' as part of digit sequence.
8876 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8877
28d708c4
MAP
88782013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8879
8880 [BZ #16037]
8881 * configure.ac: allow GNU Make 4.0 and greater.
8882 * configure: Regenerated.
8883
a56ee40b
WN
88842013-10-30 Will Newton <will.newton@linaro.org>
8885
8886 [BZ #16038]
8887 * malloc/hooks.c (memalign_check): Limit alignment to the
8888 maximum representable power of two.
8889 * malloc/malloc.c (__libc_memalign): Likewise.
8890 * malloc/tst-memalign.c (do_test): Add test for very
8891 large alignment values.
8892 * malloc/tst-posix_memalign.c (do_test): Likewise.
8893
c6e4925d
OB
88942013-10-30 Ondřej Bílka <neleai@seznam.cz>
8895
8896 [BZ #11087]
8897 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8898 (munmap_chunk): Likewise.
8899 (mremap_chunk): Likewise.
8900
89012013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8902
8a43e768 8903 [BZ #15799]
bbea82f7
OB
8904 * stdlib/div.c (div): Remove obsolete code.
8905 * stdlib/ldiv.c (ldiv): Likewise.
8906 * stdlib/lldiv.c (lldiv): Likewise.
8907
977f4b31
SP
89082013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8909
8910 [BZ #16071]
8911 * nss/nss_files/files-XXX.c (get_contents_ret): New
8912 enumerator.
8913 (get_contents): New function.
8914 (internal_getent): Use it. Expand size of LINEBUFLEN.
8915
cb8a6dbd
MF
89162013-10-30 Mike Frysinger <vapier@gentoo.org>
8917
8918 * configure.in: Moved to ...
8919 * configure.ac: ... here. Change reference to configure.in
8920 to configure.ac.
8921 * sysdeps/arm/preconfigure.ac: ... here.
8922 configure.in to configure.ac.
8923 * sysdeps/gnu/configure.in: Moved to ...
8924 * sysdeps/gnu/configure.ac: ... here.
8925 * sysdeps/i386/configure.in: Moved to ...
8926 * sysdeps/i386/configure.ac: ... here.
8927 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8928 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8929 * sysdeps/mach/configure.in: Moved to ...
8930 * sysdeps/mach/configure.ac: ... here.
8931 * sysdeps/mach/hurd/configure.in: Moved to ...
8932 * sysdeps/mach/hurd/configure.ac: ... here.
8933 * sysdeps/powerpc/configure.in: Moved to ...
8934 * sysdeps/powerpc/configure.ac: ... here.
8935 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8936 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8937 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8938 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8939 * sysdeps/s390/s390-32/configure.in: Moved to ...
8940 * sysdeps/s390/s390-32/configure.ac: ... here.
8941 * sysdeps/s390/s390-64/configure.in: Moved to ...
8942 * sysdeps/s390/s390-64/configure.ac: ... here.
8943 * sysdeps/sh/configure.in: Moved to ...
8944 * sysdeps/sh/configure.ac: ... here.
8945 * sysdeps/sparc/configure.in: Moved to ...
8946 * sysdeps/sparc/configure.ac: ... here.
8947 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8948 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8949 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8950 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8951 * sysdeps/x86_64/configure.in: Moved to ...
8952 * sysdeps/x86_64/configure.ac: ... here.
8953 * sysdeps/x86_64/preconfigure.in: Moved to ...
8954 * sysdeps/x86_64/preconfigure.ac: ... here.
8955 * aclocal.m4: Change reference to configure.in to configure.ac.
8956 * config.h.in: Likewise.
8957 * manual/install.texi: Likewise.
8958 * manual/maint.texi: Likewise.
8959 * Makefile: Likewise.
8960 * malloc/Makefile: Likewise.
8961 * nscd/Makefile: Likewise.
8962 * Makeconfig: Change reference to configure.in and
8963 preconfigure.in to configure.ac and preconfigure.ac
8964 respectively.
8965 * INSTALL: Regenerated.
8966 * configure: Likewise.
8967 * sysdeps/gnu/configure: Likewise.
8968 * sysdeps/i386/configure: Likewise.
8969 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8970 * sysdeps/mach/configure: Likewise.
8971 * sysdeps/mach/hurd/configure: Likewise.
8972 * sysdeps/powerpc/configure: Likewise.
8973 * sysdeps/powerpc/powerpc32/configure: Likewise.
8974 * sysdeps/powerpc/powerpc64/configure: Likewise.
8975 * sysdeps/s390/s390-32/configure: Likewise.
8976 * sysdeps/s390/s390-64/configure: Likewise.
8977 * sysdeps/sh/configure: Likewise.
8978 * sysdeps/sparc/configure: Likewise.
8979 * sysdeps/unix/sysv/linux/configure: Likewise.
8980 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8981 * sysdeps/x86_64/configure: Likewise.
8982 * sysdeps/x86_64/preconfigure: Likewise.
8983
36a4953a
AS
89842013-10-29 Andreas Schwab <schwab@suse.de>
8985
8986 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8987
c79a1204
SP
89882013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8989
dfa1b402
SP
8990 * benchtests/pow-inputs: Add new inputs.
8991
54f73d9c
SP
8992 * benchtests/exp-inputs: Add new inputs.
8993
c79a1204
SP
8994 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8995 conditional check for return value.
8996 (__cos32): Likewise.
8997
67beb545 89982013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8999
9000 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9001 to provide a boost for large inputs with word alignment.
9002 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9003 implementation based on optimized PPC64 strcpy.
9004 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9005 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9006 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9007 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9008
151659f6
OB
90092013-10-25 Ondřej Bílka <neleai@seznam.cz>
9010
482a077e 9011 [BZ #2801]
151659f6
OB
9012 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9013
10b0f26b
OB
90142013-10-25 Ondřej Bílka <neleai@seznam.cz>
9015
9016 [BZ #14876]
9017 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9018 * time/tst-strptime.c (day_tests): Add testcase.
9019
ca42d35e
OB
90202013-10-25 Ondřej Bílka <neleai@seznam.cz>
9021
482a077e 9022 [BZ #14029]
ca42d35e
OB
9023 * manual/pattern.texi: Acknowledge that fnmatch can fail.
9024
52e6d801
FB
90252013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
9026
9027 [BZ #16074]
9028 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9029 MAP_FAILED on error.
9030
7cbcdb36
SP
90312013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9032
9033 [BZ #16072]
9034 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9035 heap for large requests.
9036
894f3f10
AM
90372013-10-25 Aurelien Jarno <aurelien@aurel32.net>
9038
9039 [BZ #9954]
9040 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9041 result if the result has no associated interface.
9042 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9043 interface for all 127.X.Y.Z addresses.
9044
b85545a6
CL
90452013-10-24 Chris Leonard <cjl@sugarlabs.org>
9046
9047 * locale/iso-639.def: Add Ligurian (lij)
9048
d1f23d46
OB
90492013-10-21 Ondřej Bílka <neleai@seznam.cz>
9050
9051 [BZ #15825]
9052 * sunrpc/rpc_main.c: Document rpcgen -5.
9053
4db5b08f
MS
90542013-10-19 Michael Stahl <mstahl@redhat.com>
9055
9056 * elf/rtld.c (do_preload): Print the reason why preloading failed.
9057
a471e96a
OB
90582013-10-19 Ondřej Bílka <neleai@seznam.cz>
9059
d1f23d46 9060 [BZ #10278]
a471e96a
OB
9061 * posix/glob.c: Match only directories when trailing slash is present.
9062 * posix/tst-gnuglob.c (my_opendir): Do not open files.
9063 (main): Add testcase.
9064
45c30c61
OB
90652013-10-19 Ondřej Bílka <neleai@seznam.cz>
9066
9067 [BZ #15670]
9068 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9069
484c12fb
CD
90702013-10-18 Carlos O'Donell <carlos@redhat.com>
9071
3d7dc513
CD
9072 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9073 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9074 AUTH_DES and cindex for FIPS 140-2.
9075 (DES Encryption): Add cindex FIPS 46-3.
9076
484c12fb
CD
9077 * locale/locarchive.h (struct locarhandle): Add fname.
9078 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9079 if an optional argument was specified to --list-archive,
9080 otherwise NULL.
9081 * locale/programs/locarchive.c (show_archive_content): Take new
9082 argument fname and pass it via ah.fname to open_archive.
9083 * locale/programs/localedef.h: Update decl.
9084 (open_archive): If AH->fname is non-null, open that file
9085 rather than the default file name, and don't ignore ENOENT.
9086 (create_archive): Set AH.fname to NULL.
9087 (delete_locales_from_archive): Likewise.
9088 (add_locales_to_archive): Likewise.
9089 * locale/programs/locfile.c (write_all_categories): Likewise.
9090
3c8325fb
JM
90912013-10-18 Joseph Myers <joseph@codesourcery.com>
9092 Aldy Hernandez <aldyh@redhat.com>
9093
9094 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9095 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9096 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9097 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9098 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9099 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9100 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9101 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9102 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9103 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9104 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9105 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9106 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9107 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9108 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9109 Likewise.
9110 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9111 Likewise.
9112 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9113 Likewise.
9114 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9115 Likewise.
9116 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9117 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9118 Likewise.
9119 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9120 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9121 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9122 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9123 Likewise.
9124 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9125 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9126 * sysdeps/powerpc/preconfigure: Likewise.
9127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9128 Likewise.
9129 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9130 Replace contents of file by #include of <fenv_libc.h>.
9131 * sysdeps/powerpc/soft-fp/sfp-machine.h
9132 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9133 and <sys/prctl.h>.
9134 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9135 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9136 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9137 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9138 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9139 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9140 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9141 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9142 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9143 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9144 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9145 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9147 Allow copysignl PLT reference to be missing.
9148
5abe0682
RS
91492013-10-18 Richard Sandiford <richard@codesourcery.com>
9150 Joseph Myers <joseph@codesourcery.com
9151
9152 [BZ #15948]
9153 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9154 single character.
9155 (add_to_tablewc): Assert sequence of wide characters is nonempty.
9156
c7738d08
SP
91572013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9158
9159 * elf/tst-tls-dlinfo.c: Don't include tls.h.
9160 * elf/tst-tls1.c: Likewise.
9161 * elf/tst-tls10.h: Likewise.
9162 * elf/tst-tls14.c: Likewise.
9163 * elf/tst-tls2.c: Likewise.
9164 * elf/tst-tls3.c: Likewise.
9165 * elf/tst-tls4.c: Likewise.
9166 * elf/tst-tls5.c: Likewise.
9167 * elf/tst-tls6.c: Likewise.
9168 * elf/tst-tls7.c: Likewise.
9169 * elf/tst-tls8.c: Likewise.
9170 * elf/tst-tls9.c: Likewise.
9171 * elf/tst-tlsmod1.c: Likewise.
9172 * elf/tst-tlsmod13.c: Likewise.
9173 * elf/tst-tlsmod13a.c: Likewise.
9174 * elf/tst-tlsmod14a.c: Likewise.
9175 * elf/tst-tlsmod16a.c: Likewise.
9176 * elf/tst-tlsmod16b.c: Likewise.
9177 * elf/tst-tlsmod2.c: Likewise.
9178 * elf/tst-tlsmod3.c: Likewise.
9179 * elf/tst-tlsmod4.c: Likewise.
9180 * elf/tst-tlsmod5.c: Likewise.
9181 * elf/tst-tlsmod6.c: Likewise.
9182
0bfcf2c7
OB
91832013-10-18 Ondřej Bílka <neleai@seznam.cz>
9184
9185 [BZ #12486]
9186 * malloc/malloc.c: remove checks for statistics.
9187
264aad1e
OB
91882013-10-17 Ondřej Bílka <neleai@seznam.cz>
9189
9190 [BZ #15277]
9191 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9192 * inet/tst-network.c: Add testcase.
9193
b957ced8
AS
91942013-10-17 Andreas Schwab <schwab@suse.de>
9195
9196 [BZ #15218]
9197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9198 to determine canonical name.
9199
c5d5d574
OB
92002013-10-17 Ondřej Bílka <neleai@seznam.cz>
9201
9202 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9203 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9204 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9205 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9206 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9207 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9208 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9209 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9210 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9211 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9212 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9213 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9214 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9215 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9216 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9217 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9218 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9219 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9220 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9221 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9222 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9223 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9224 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9225 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9226 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9227 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9228 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9229 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9230 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9231 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9232 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9233 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9234 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9235 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9236 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9237 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9238 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9239 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9240 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9241 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9242 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9243 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9244 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9245 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9246 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9247 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9248 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9249 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9250 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9251 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9252 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9253 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9254 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9255 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9256 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9257 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9258 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9259 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9260
e5c2c2d0
JM
92612013-10-17 Joseph Myers <joseph@codesourcery.com>
9262
9263 [BZ #16041]
9264 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9265 make result into a quiet NaN.
9266
51ca9e29
JM
92672013-10-16 Joseph Myers <joseph@codesourcery.com>
9268
9269 * soft-fp/adddf3.c: Fix horizontal whitespace.
9270 * soft-fp/addsf3.c: Likewise.
9271 * soft-fp/addtf3.c: Likewise.
9272 * soft-fp/divdf3.c: Likewise.
9273 * soft-fp/divsf3.c: Likewise.
9274 * soft-fp/divtf3.c: Likewise.
9275 * soft-fp/double.h: Likewise.
9276 * soft-fp/eqdf2.c: Likewise.
9277 * soft-fp/eqsf2.c: Likewise.
9278 * soft-fp/eqtf2.c: Likewise.
9279 * soft-fp/extenddftf2.c: Likewise.
9280 * soft-fp/extended.h: Likewise.
9281 * soft-fp/extendsfdf2.c: Likewise.
9282 * soft-fp/extendsftf2.c: Likewise.
9283 * soft-fp/extendxftf2.c: Likewise.
9284 * soft-fp/fixdfdi.c: Likewise.
9285 * soft-fp/fixdfsi.c: Likewise.
9286 * soft-fp/fixdfti.c: Likewise.
9287 * soft-fp/fixsfdi.c: Likewise.
9288 * soft-fp/fixsfsi.c: Likewise.
9289 * soft-fp/fixsfti.c: Likewise.
9290 * soft-fp/fixtfdi.c: Likewise.
9291 * soft-fp/fixtfsi.c: Likewise.
9292 * soft-fp/fixtfti.c: Likewise.
9293 * soft-fp/fixunsdfdi.c: Likewise.
9294 * soft-fp/fixunsdfsi.c: Likewise.
9295 * soft-fp/fixunsdfti.c: Likewise.
9296 * soft-fp/fixunssfdi.c: Likewise.
9297 * soft-fp/fixunssfsi.c: Likewise.
9298 * soft-fp/fixunssfti.c: Likewise.
9299 * soft-fp/fixunstfdi.c: Likewise.
9300 * soft-fp/fixunstfsi.c: Likewise.
9301 * soft-fp/fixunstfti.c: Likewise.
9302 * soft-fp/floatdidf.c: Likewise.
9303 * soft-fp/floatdisf.c: Likewise.
9304 * soft-fp/floatditf.c: Likewise.
9305 * soft-fp/floatsidf.c: Likewise.
9306 * soft-fp/floatsisf.c: Likewise.
9307 * soft-fp/floatsitf.c: Likewise.
9308 * soft-fp/floattidf.c: Likewise.
9309 * soft-fp/floattisf.c: Likewise.
9310 * soft-fp/floattitf.c: Likewise.
9311 * soft-fp/floatundidf.c: Likewise.
9312 * soft-fp/floatundisf.c: Likewise.
9313 * soft-fp/floatunditf.c: Likewise.
9314 * soft-fp/floatunsidf.c: Likewise.
9315 * soft-fp/floatunsisf.c: Likewise.
9316 * soft-fp/floatunsitf.c: Likewise.
9317 * soft-fp/floatuntidf.c: Likewise.
9318 * soft-fp/floatuntisf.c: Likewise.
9319 * soft-fp/floatuntitf.c: Likewise.
9320 * soft-fp/fmadf4.c: Likewise.
9321 * soft-fp/fmasf4.c: Likewise.
9322 * soft-fp/fmatf4.c: Likewise.
9323 * soft-fp/gedf2.c: Likewise.
9324 * soft-fp/gesf2.c: Likewise.
9325 * soft-fp/getf2.c: Likewise.
9326 * soft-fp/ledf2.c: Likewise.
9327 * soft-fp/lesf2.c: Likewise.
9328 * soft-fp/letf2.c: Likewise.
9329 * soft-fp/muldf3.c: Likewise.
9330 * soft-fp/mulsf3.c: Likewise.
9331 * soft-fp/multf3.c: Likewise.
9332 * soft-fp/negdf2.c: Likewise.
9333 * soft-fp/negsf2.c: Likewise.
9334 * soft-fp/negtf2.c: Likewise.
9335 * soft-fp/op-1.h: Likewise.
9336 * soft-fp/op-2.h: Likewise.
9337 * soft-fp/op-4.h: Likewise.
9338 * soft-fp/op-8.h: Likewise.
9339 * soft-fp/op-common.h: Likewise.
9340 * soft-fp/quad.h: Likewise.
9341 * soft-fp/single.h: Likewise.
9342 * soft-fp/soft-fp.h: Likewise.
9343 * soft-fp/sqrtdf2.c: Likewise.
9344 * soft-fp/sqrtsf2.c: Likewise.
9345 * soft-fp/sqrttf2.c: Likewise.
9346 * soft-fp/subdf3.c: Likewise.
9347 * soft-fp/subsf3.c: Likewise.
9348 * soft-fp/subtf3.c: Likewise.
9349 * soft-fp/truncdfsf2.c: Likewise.
9350 * soft-fp/trunctfdf2.c: Likewise.
9351 * soft-fp/trunctfsf2.c: Likewise.
9352 * soft-fp/trunctfxf2.c: Likewise.
9353 * soft-fp/unorddf2.c: Likewise.
9354 * soft-fp/unordsf2.c: Likewise.
9355 * soft-fp/unordtf2.c: Likewise.
9356
9ebb0332
JM
93572013-10-15 Joseph Myers <joseph@codesourcery.com>
9358
9359 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9360 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9361
4b1a6d8b
OB
93622013-10-15 Ondřej Bílka <neleai@seznam.cz>
9363
9364 * elf/dl-libc.c: Clear initfini list after freeing.
9365
1e145589
JM
93662013-10-14 Joseph Myers <joseph@codesourcery.com>
9367
9368 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9369 * soft-fp/addsf3.c: Likewise.
9370 * soft-fp/addtf3.c: Likewise.
9371 * soft-fp/divdf3.c: Likewise.
9372 * soft-fp/divsf3.c: Likewise.
9373 * soft-fp/divtf3.c: Likewise.
9374 * soft-fp/double.h: Likewise.
9375 * soft-fp/eqdf2.c: Likewise.
9376 * soft-fp/eqsf2.c: Likewise.
9377 * soft-fp/eqtf2.c: Likewise.
9378 * soft-fp/extenddftf2.c: Likewise.
9379 * soft-fp/extended.h: Likewise.
9380 * soft-fp/extendsfdf2.c: Likewise.
9381 * soft-fp/extendsftf2.c: Likewise.
9382 * soft-fp/extendxftf2.c: Likewise.
9383 * soft-fp/fixdfdi.c: Likewise.
9384 * soft-fp/fixdfsi.c: Likewise.
9385 * soft-fp/fixdfti.c: Likewise.
9386 * soft-fp/fixsfdi.c: Likewise.
9387 * soft-fp/fixsfsi.c: Likewise.
9388 * soft-fp/fixsfti.c: Likewise.
9389 * soft-fp/fixtfdi.c: Likewise.
9390 * soft-fp/fixtfsi.c: Likewise.
9391 * soft-fp/fixtfti.c: Likewise.
9392 * soft-fp/fixunsdfdi.c: Likewise.
9393 * soft-fp/fixunsdfsi.c: Likewise.
9394 * soft-fp/fixunsdfti.c: Likewise.
9395 * soft-fp/fixunssfdi.c: Likewise.
9396 * soft-fp/fixunssfsi.c: Likewise.
9397 * soft-fp/fixunssfti.c: Likewise.
9398 * soft-fp/fixunstfdi.c: Likewise.
9399 * soft-fp/fixunstfsi.c: Likewise.
9400 * soft-fp/fixunstfti.c: Likewise.
9401 * soft-fp/floatdidf.c: Likewise.
9402 * soft-fp/floatdisf.c: Likewise.
9403 * soft-fp/floatditf.c: Likewise.
9404 * soft-fp/floatsidf.c: Likewise.
9405 * soft-fp/floatsisf.c: Likewise.
9406 * soft-fp/floatsitf.c: Likewise.
9407 * soft-fp/floattidf.c: Likewise.
9408 * soft-fp/floattisf.c: Likewise.
9409 * soft-fp/floattitf.c: Likewise.
9410 * soft-fp/floatundidf.c: Likewise.
9411 * soft-fp/floatundisf.c: Likewise.
9412 * soft-fp/floatunsidf.c: Likewise.
9413 * soft-fp/floatunsisf.c: Likewise.
9414 * soft-fp/floatuntidf.c: Likewise.
9415 * soft-fp/floatuntisf.c: Likewise.
9416 * soft-fp/floatuntitf.c: Likewise.
9417 * soft-fp/fmadf4.c: Likewise.
9418 * soft-fp/fmasf4.c: Likewise.
9419 * soft-fp/fmatf4.c: Likewise.
9420 * soft-fp/gedf2.c: Likewise.
9421 * soft-fp/gesf2.c: Likewise.
9422 * soft-fp/getf2.c: Likewise.
9423 * soft-fp/ledf2.c: Likewise.
9424 * soft-fp/lesf2.c: Likewise.
9425 * soft-fp/letf2.c: Likewise.
9426 * soft-fp/muldf3.c: Likewise.
9427 * soft-fp/mulsf3.c: Likewise.
9428 * soft-fp/multf3.c: Likewise.
9429 * soft-fp/negdf2.c: Likewise.
9430 * soft-fp/negsf2.c: Likewise.
9431 * soft-fp/negtf2.c: Likewise.
9432 * soft-fp/op-1.h: Likewise.
9433 * soft-fp/op-2.h: Likewise.
9434 * soft-fp/op-4.h: Likewise.
9435 * soft-fp/op-8.h: Likewise.
9436 * soft-fp/op-common.h: Likewise.
9437 * soft-fp/quad.h: Likewise.
9438 * soft-fp/single.h: Likewise.
9439 * soft-fp/soft-fp.h: Likewise.
9440 * soft-fp/sqrtdf2.c: Likewise.
9441 * soft-fp/sqrtsf2.c: Likewise.
9442 * soft-fp/sqrttf2.c: Likewise.
9443 * soft-fp/subdf3.c: Likewise.
9444 * soft-fp/subsf3.c: Likewise.
9445 * soft-fp/subtf3.c: Likewise.
9446 * soft-fp/truncdfsf2.c: Likewise.
9447 * soft-fp/trunctfdf2.c: Likewise.
9448 * soft-fp/trunctfsf2.c: Likewise.
9449 * soft-fp/trunctfxf2.c: Likewise.
9450 * soft-fp/unorddf2.c: Likewise.
9451 * soft-fp/unordsf2.c: Likewise.
9452 * soft-fp/unordtf2.c: Likewise.
9453
17c48a60
OB
94542013-10-14 Ondřej Bílka <neleai@seznam.cz>
9455
9456 [BZ #15672]
9457 * misc/error.c (error_tail): Fix possible buffer overflow.
9458
cabba934
OB
94592013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9460
9461 [BZ #13028]
9462 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9463 address.
9464
94bf958a
PM
94652013-10-14 P. J. McDermott <pj@pehjota.net>
9466
9467 [BZ #832]
9468 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9469 testing pipefail option.
9470
71b4dea7
JM
94712013-10-12 Joseph Myers <joseph@codesourcery.com>
9472
9473 * soft-fp/double.h: Indent preprocessor directives inside #if.
9474 * soft-fp/extended.h: Likewise.
9475 * soft-fp/op-2.h: Likewise.
9476 * soft-fp/op-4.h: Likewise.
9477 * soft-fp/op-common.h: Likewise.
9478 * soft-fp/quad.h: Likewise.
9479 * soft-fp/single.h: Likewise.
9480 * soft-fp/soft-fp.h: Likewise.
9481
55602758
YC
94822013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9483
9484 * iconv/iconv_prog.c: Fix typos.
9485 * stdio-common/psiginfo-data.h: Likewise.
9486
9cd83302
RT
94872013-10-12 Reuben Thomas <rrt@sc3d.org>
9488
9489 [BZ #15764]
9490 * locale/setlocale.c: Fix typo.
9491
99fd9f47
JM
94922013-10-12 Joseph Myers <joseph@codesourcery.com>
9493
b7ea74f0
JM
9494 [BZ #16036]
9495 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9496 signaling NaN arguments.
9497 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9498 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9499
8a509447
JM
9500 [BZ #14910]
9501 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9502 unordered operands.
9503 * soft-fp/gesf2.c (__gesf2): Likewise.
9504 * soft-fp/getf2.c (__getf2): Likewise.
9505 * soft-fp/ledf2.c (__ledf2): Likewise.
9506 * soft-fp/lesf2.c (__lesf2): Likewise.
9507 * soft-fp/letf2.c (__letf2): Likewise.
9508
98998e9f
JM
9509 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9510 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9511 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9512 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9513 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9514 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9515 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9516 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9517 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9518 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9519 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9520 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9521 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9522 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9523 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9524 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9525 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9526 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9527 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9528 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9529 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9530 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9531 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9532 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9533 * soft-fp/floattidf.c (__floattidf): Likewise.
9534 * soft-fp/floattisf.c (__floattisf): Likewise.
9535 * soft-fp/floattitf.c (__floattitf): Likewise.
9536 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9537 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9538 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9539 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9540 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9541 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9542 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9543 * soft-fp/gesf2.c (__gesf2): Likewise.
9544 * soft-fp/getf2.c (__getf2): Likewise.
9545 * soft-fp/ledf2.c (__ledf2): Likewise.
9546 * soft-fp/lesf2.c (__lesf2): Likewise.
9547 * soft-fp/letf2.c (__letf2): Likewise.
9548
8edc4a11
JM
9549 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9550 Undefine and redefine.
9551 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9552 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9553 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9554 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9555 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9556 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9557 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9558 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9559 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9560 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9561 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9562 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9563 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9564 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9565 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9566
8399acaf
JM
9567 [BZ #16032]
9568 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9569 without decrementing exponent if mantissa >= that for the
9570 denominator, not >.
9571 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9572 denominator, not >. Decrement exponent in < case instead of
9573 incrementing in >= case.
9574 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9575 without decrementing exponent if mantissa >= that for the
9576 denominator, not >.
9577
99fd9f47
JM
9578 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9579 computing saturated result for unsigned overflow.
9580
10e1cf6b
SP
95812013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9582 Jeff Law <law@redhat.com>
9583
9584 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9585 (atan2Mp): Add systemtap probe marker.
9586 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9587 (__ieee754_log): Add systemtap probe marker.
9588 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9589 (atanMp): Add systemtap probe marker.
9590 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9591 (tanMp): Add systemtap probe marker.
9592 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9593 (__slowexp): Add systemtap probe marker.
9594 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9595 (__slowpow): Add systemtap probe marker.
9596 * manual/probes.texi: Document probes.
9597
3d110c7c
EB
95982013-10-11 Eric Biggers <ebiggers3@gmail.com>
9599
9600 [BZ #15362]
9601 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9602 written.
9603 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9604 written.
9605 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9606 written to buffer but not flushed.
9607 * libio/iofwrite_u.c: Likewise.
9608 * libio/iopadn.c: Return bytes returned even if EOF was
9609 encountered.
9610 * libio/iowpadn.c: Likewise.
9611 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9612 if _IO_padn does not write the whole buffer.
9613 [!COMPILE_WPRINTF] (PAD): Likewise.
9614
75b4202a
DM
96152013-10-10 David S. Miller <davem@davemloft.net>
9616
9617 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9618 directory block.
9619
6c6352e6
JM
96202013-10-10 Joseph Myers <joseph@codesourcery.com>
9621
33b853c3
JM
9622 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9623 instead of FSF address.
9624 * soft-fp/fixdfti.c: Likewise.
9625 * soft-fp/fixsfti.c: Likewise.
9626 * soft-fp/fixtfti.c: Likewise.
9627 * soft-fp/fixunsdfti.c: Likewise.
9628 * soft-fp/fixunssfti.c: Likewise.
9629 * soft-fp/fixunstfti.c: Likewise.
9630 * soft-fp/floattidf.c: Likewise.
9631 * soft-fp/floattisf.c: Likewise.
9632 * soft-fp/floattitf.c: Likewise.
9633 * soft-fp/floatuntidf.c: Likewise.
9634 * soft-fp/floatuntisf.c: Likewise.
9635 * soft-fp/floatuntitf.c: Likewise.
9636 * soft-fp/trunctfxf2.c: Likewise.
9637
6c6352e6
JM
9638 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9639 * soft-fp/fixdfti.c: Likewise.
9640 * soft-fp/fixsfti.c: Likewise.
9641 * soft-fp/fixtfti.c: Likewise.
9642 * soft-fp/fixunsdfti.c: Likewise.
9643 * soft-fp/fixunssfti.c: Likewise.
9644 * soft-fp/fixunstfti.c: Likewise.
9645 * soft-fp/floattidf.c: Likewise.
9646 * soft-fp/floattisf.c: Likewise.
9647 * soft-fp/floattitf.c: Likewise.
9648 * soft-fp/floatuntidf.c: Likewise.
9649 * soft-fp/floatuntisf.c: Likewise.
9650 * soft-fp/floatuntitf.c: Likewise.
9651 * soft-fp/trunctfxf2.c: Likewise.
9652
3bf78b71
DM
96532013-10-10 David S. Miller <davem@davemloft.net>
9654
9655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9656
6f10289e
JM
96572013-10-10 Joseph Myers <joseph@codsourcery.com>
9658
bd878fc0
JM
9659 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9660 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9661 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9662 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9663 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9664 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9665 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9666
6f10289e
JM
9667 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9668 for NaNs before doing comparisons on argument.
9669 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9670 Likewise.
9671
321e2684
WN
96722013-10-10 Will Newton <will.newton@linaro.org>
9673
9674 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9675 passed to _int_memalign does not overflow.
9676
40fefba1
TR
96772013-10-10 Torvald Riegel <triegel@redhat.com>
9678
9679 * scripts/bench.pl: Add include-sources directive.
9680 * benchtests/README: Update documentation.
9681
2ae21ed2
JM
96822013-10-10 Joseph Myers <joseph@codesourcery.com>
9683
dcc2dd3f
JM
9684 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9685 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9686 instead of FP_INIT_ROUNDMODE.
9687 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9688 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9689
2ae21ed2
JM
9690 [BZ #16034]
9691 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9692 copy class of input value.
9693 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9694 not handle exceptions.
9695 * soft-fp/negsf2.c (__negsf2): Likewise.
9696 * soft-fp/negtf2.c (__negtf2): Likewise.
9697 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9698
cb8f9562
JM
96992013-10-09 Joseph Myers <joseph@codesourcery.com>
9700
9701 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9702 semicolon. From Linux kernel.
9703
5b60c59d
AB
97042013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9705
9706 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9707
b86835ca
YC
97082013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9709
9710 [BZ #156]
9711 * manual/socket.texi: Added statement about buffer
9712 for gethostbyname2_r.
9713
e7044ea7
OB
97142013-10-08 Ondřej Bílka <neleai@seznam.cz>
9715
9716 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9717 Use .p2align directive instead, throughout.
9718 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9719 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9720 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9721 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9722 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9723 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9724 * sysdeps/x86_64/strchr.S: Likewise.
9725 * sysdeps/x86_64/strrchr.S: Likewise.
9726
09544cbc
SP
97272013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9728
88576635
SP
9729 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9730
e7b2d1dd
SP
9731 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9732
09544cbc
SP
9733 * sysdeps/generic/math_private.h (__mpsin1): Remove
9734 declaration.
9735 (__mpcos1): Likewise.
9736 (__mpsin): New argument __range_reduce.
9737 (__mpcos): Likewise.
9738 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9739 (slow): Use __mpsin and __mpcos.
9740 (slow1): Likewise.
9741 (slow2): Likewise.
9742 (sloww): Likewise.
9743 (sloww1): Likewise.
9744 (sloww2): Likewise.
9745 (bsloww): Likewise.
9746 (bsloww1): Likewise.
9747 (bsloww2): Likewise.
9748 (cslow2): Likewise.
9749 (csloww): Likewise.
9750 (csloww1): Likewise.
9751 (csloww2): Likewise.
9752 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9753 range_reduce. Merge in __mpsin1.
9754 (__mpcos): Likewise.
9755 (__mpsin1): Remove.
9756 (__mpcos1): Likewise.
9757
7602d070
JM
97582013-10-07 Joseph Myers <joseph@codesourcery.com>
9759
9760 * locale/loadlocale.c (_nl_intern_locale_data): Use
9761 LOCFILE_ALIGNED_P.
9762 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9763 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9764 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9765 obstack data is appropriately aligned.
9766 (obstack_int32_grow_fast): Likewise.
9767 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9768 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9769 (add_locale_uint32_array): Likewise.
9770
a357259b
SP
97712013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9772
9773 * benchtests/Makefile: Remove ARGLIST and RET variables.
9774 ($(objpfx)bench-%.c): Pass only function name to the script.
9775 * benchtests/README: Update documentation.
9776 * benchtests/acos-inputs: Add new directives.
9777 * benchtests/acosh-inputs: Likewise.
9778 * benchtests/asin-inputs: Likewise.
9779 * benchtests/asinh-inputs: Likewise.
9780 * benchtests/atan-inputs: Likewise.
9781 * benchtests/atanh-inputs: Likewise.
9782 * benchtests/cos-inputs: Likewise.
9783 * benchtests/cosh-inputs: Likewise.
9784 * benchtests/exp-inputs: Likewise.
9785 * benchtests/log-inputs: Likewise.
9786 * benchtests/pow-inputs: Likewise.
9787 * benchtests/rint-inputs: Likewise.
9788 * benchtests/sin-inputs: Likewise.
9789 * benchtests/sinh-inputs: Likewise.
9790 * benchtests/tan-inputs: Likewise.
9791 * benchtests/tanh-inputs: Likewise.
9792 * scripts/bench.pl: Add support for new directives.
9793
9ec1b13d
AM
97942013-10-07 Alan Modra <amodra@gmail.com>
9795
9796 * README: Fix careless merge.
9797
8b7d57cd
AM
97982013-10-05 Alan Modra <amodra@gmail.com>
9799
9800 * NEWS: Mention powerpc64le support and bugs fixed.
9801 * README: Both big-endian and little-endian powerpc64 supported.
9802
7b7bab13
ST
98032013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9804
57f41c40
AS
9805 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9806 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
9807 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9808 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9809
d39baad1
RA
98102013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9811
9812 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9813 match prototype.
9814
cd78f7e7
JM
98152013-10-04 Joseph Myers <joseph@codesourcery.com>
9816
29d73d86
JM
9817 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9818 Move -mhard-float appending from
9819 ports/sysdeps/powerpc/powerpc32/Makefile.
9820 [$(with-fp) = yes] (ASFLAGS): Likewise.
9821 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9822 * sysdeps/powerpc/nofpu: Move directory from
9823 ports/sysdeps/powerpc/nofpu.
9824 * sysdeps/powerpc/soft-fp: Move directory from
9825 ports/sysdeps/powerpc/soft-fp.
9826 * sysdeps/powerpc/powerpc32/405: Move directory from
9827 ports/sysdeps/powerpc/powerpc32/405.
9828 * sysdeps/powerpc/powerpc32/440: Move directory from
9829 ports/sysdeps/powerpc/powerpc32/440.
9830 * sysdeps/powerpc/powerpc32/464: Move directory from
9831 ports/sysdeps/powerpc/powerpc32/464.
9832 * sysdeps/powerpc/powerpc32/476: Move directory from
9833 ports/sysdeps/powerpc/powerpc32/476.
9834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9835 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9837 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9839 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9841 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9843 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9844 * README: Update for powerpc-*-linux-gnu software floating point
9845 support in libc.
9846
e246b347
JM
9847 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9848 case to powerpc/powerpc32*.
9849 * sysdeps/unix/sysv/linux/configure: Regenerated.
9850
89c2003e
JM
9851 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9852 (_FPU_MASK_OM): Define as 0x04.
9853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9854 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9855 0x00c10080.
9856 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9857 0x0000003c.
9858 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9859
cd78f7e7
JM
9860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9861 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9862 getcontext_e500.
9863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9864 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9865 setcontext_e500.
9866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9867 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9868 and setcontext_e500.
9869
c755294d
CL
98702013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9871
9872 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9873
e16d221c
SP
98742013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9875
9876 * manual/threads.texi (Default Thread Attributes): Fix typo.
9877
215c7d43
WN
98782013-10-04 Will Newton <will.newton@linaro.org>
9879
9880 * malloc/Makefile: Add tst-memalign.
9881 * malloc/tst-memalign.c: New file.
9882
27d0461b
WN
9883 * malloc/tst-posix_memalign.c: Add comments.
9884 (do_test): Add comments and call free on all potentially
9885 allocated pointers. Add space after cast.
9886
1bc92709
WN
9887 * malloc/tst-pvalloc.c: Add comments.
9888 (do_test): Add comments and call free on all potentially
9889 allocated pointers. Remove duplicate check for NULL pointer.
9890 Add space after cast.
9891
66a9be9d
WN
9892 * malloc/tst-valloc.c: Add comments.
9893 (do_test): Add comments and call free on all potentially
9894 allocated pointers. Remove duplicate check for NULL pointer.
9895 Add space after cast.
9896
4cb81307
AM
98972013-10-04 Alan Modra <amodra@gmail.com>
9898
9899 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9900 Use stdint types in rather than __attribute__((mode())).
9901 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9902
f8e3e9f3
AM
99032013-10-04 Alan Modra <amodra@gmail.com>
9904
9905 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9906 Correct handling of unaligned relocs for little-endian.
9907 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9908
8f9ebb08
AM
99092013-10-04 Alan Modra <amodra@gmail.com>
9910
9911 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9912 * configure: Regenerate.
9913 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9914 * shlib-versions: Likewise.
9915
0edf96c2
AM
99162013-10-04 Alan Modra <amodra@gmail.com>
9917
9918 * string/tester.c (test_memrchr): Increment reported test cycle.
9919
e0f7a380
AM
99202013-10-04 Alan Modra <amodra@gmail.com>
9921
9922 * string/test-memcpy.c (do_one_test): When reporting errors, print
9923 string address and don't overrun end of string.
9924
466b0393
AM
99252013-10-04 Alan Modra <amodra@gmail.com>
9926
9927 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9928 insrdi. Make better use of reg selection to speed exit slightly.
9929 Schedule entry path a little better. Remove useless "are we done"
9930 checks on entry to main loop. Handle wrapping around zero address.
9931 Correct main loop count. Handle single left-over word from main
9932 loop inline rather than by using loop_small. Remove extra word
9933 case in loop_small caused by wrong loop count. Add little-endian
9934 support.
9935 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9936 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9937 cache hint.
9938 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9939 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9940 support. Avoid rlwimi.
9941 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9942
3be87c77
AM
99432013-10-04 Alan Modra <amodra@gmail.com>
9944
9945 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9946 insrdi. Formatting.
3be87c77
AM
9947 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9948 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9949 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9950 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9951 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9952 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9953
759cfef3
AM
99542013-10-04 Alan Modra <amodra@gmail.com>
9955
9956 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9957 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9958 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9959 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9960 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9961 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9962 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9963 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9964 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9965 use of regs. Use power7 mtocrf. Tidy function tails.
9966
fe6e95d7
AM
99672013-10-04 Alan Modra <amodra@gmail.com>
9968
9969 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9970 Formatting. Consistently use rXXX register defines or rN defines.
9971 Use early exit labels that avoid restoring unused non-volatile regs.
9972 Make cr field use more consistent with rWORDn compares. Rename
9973 regs used as shift registers for unaligned loop, using rN defines
9974 for short lifetime/multiple use regs.
9975 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9976 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9977 addi 1,1,64 to pop stack frame. Simplify return value code.
9978 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9979
664318c3
AM
99802013-10-04 Alan Modra <amodra@gmail.com>
9981
9982 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9983 support. Correct typos, formatting. Optimize tail. Use insrdi
9984 rather than rlwimi.
9985 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9986 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9987 little-endian support. Correct typos.
9988 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9989 rather than rlwimi.
9990 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9991 in loop and entry code to keep "and." results.
9992 (strchr): Add little-endian support. Comment. Move cntlzd
9993 earlier in tail.
9994 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9995
43b84013
AM
99962013-10-04 Alan Modra <amodra@gmail.com>
9997
9998 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9999 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10000 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10001 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10002
8a7413f9
AM
100032013-10-04 Alan Modra <amodra@gmail.com>
10004
10005 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10006 (rTMP): Define as r11.
10007 (strcmp): Add little-endian support. Optimise tail.
10008 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10009 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10010 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10011 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10012 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10013 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10014 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10015
33ee81de
AM
100162013-10-04 Alan Modra <amodra@gmail.com>
10017
10018 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10019 little-endian support. Remove unnecessary "are we done" tests.
10020 Handle "s" wrapping around zero and extremely large "size".
10021 Correct main loop count. Handle single left-over word from main
10022 loop inline rather than by using small_loop. Correct comments.
10023 Delete "zero" tail, use "end_max" instead.
10024 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10025
db9b4570
AM
100262013-10-04 Alan Modra <amodra@gmail.com>
10027
10028 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10029 support. Don't branch over align.
10030 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10031 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10032 support. Rearrange tmp reg use to suit. Comment.
10033 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10034
f7c399cf
AM
100352013-10-04 Alan Modra <amodra@gmail.com>
10036
10037 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10038
0b2c2ace
AM
100392013-10-04 Alan Modra <amodra@gmail.com>
10040
10041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10042 conditional form of branch and link when obtaining pc.
10043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10044
02f04a6c
AM
100452013-10-04 Alan Modra <amodra@gmail.com>
10046
10047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10048 HIWORD/LOWORD.
10049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10051
9b874b2f
AM
100522013-10-04 Alan Modra <amodra@gmail.com>
10053
10054 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10055 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10056 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10057 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10058 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10059 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10060 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10061 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10062 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10063 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10064
be1e5d31
AB
100652013-10-04 Anton Blanchard <anton@au1.ibm.com>
10066 Alistair Popple <alistair@ozlabs.au.ibm.com>
10067 Alan Modra <amodra@gmail.com>
10068
10069 [BZ #15723]
10070 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10071 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10072 _dl_hwcap access for little-endian.
10073 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10074 destroy vmx regs when saving unaligned.
10075 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10076 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10077 destroy vmx regs when saving unaligned.
10078
fef13a78
AM
100792013-10-04 Alan Modra <amodra@gmail.com>
10080
10081 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10082 Don't use a union to pack hi/low value.
10083
76a66d51
AB
100842013-10-04 Anton Blanchard <anton@au1.ibm.com>
10085
10086 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10087 for little-endian.
10088 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10089 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10090 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10091 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10092 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10093
6a31fe7f
AM
100942013-10-04 Alan Modra <amodra@gmail.com>
10095
10096 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10097 constants to usual value for .cst8 section, and remove redundant
10098 high address load.
10099 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10100 constant for 0x1p52. Load little-endian words of double from
10101 correct stack offsets.
10102
7b88401f
AM
101032013-10-04 Alan Modra <amodra@gmail.com>
10104
10105 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10106 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10107 words of double from correct stack offsets.
10108 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10109 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10110 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10111 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10112 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10113 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10114 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10115 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10116 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10117 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10118 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10119 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10120 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10121 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10122 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10123 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10124 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10125
9c008155
AM
101262013-10-04 Alan Modra <amodra@gmail.com>
10127
10128 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10129 64-bit int/double union.
10130 (_FPU_SETCW): Likewise.
10131 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10132 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10133
da13146d
AM
101342013-10-04 Alan Modra <amodra@gmail.com>
10135
10136 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10137 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10138
603e8410
AM
101392013-10-04 Alan Modra <amodra@gmail.com>
10140
10141 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10142 use vector int constants.
10143 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10144
4a28b3ca
AB
101452013-10-04 Anton Blanchard <anton@au1.ibm.com>
10146
10147 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10148 array with long long.
10149 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10150 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10151 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10152 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10153 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10154 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10155 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10156 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10157 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10158 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10159 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10160 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10161 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10162
2ca85d2b
AB
101632013-10-04 Anton Blanchard <anton@au1.ibm.com>
10164
10165 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10166 (__signbit): Likewise. Correct for little-endian.
10167 (__signbitl): Call __signbit.
10168 (lrint): Correct for little-endian.
10169 (lrintf): Call lrint.
10170
62a728ae
AM
101712013-10-04 Alan Modra <amodra@gmail.com>
10172
10173 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10174 union 32-bit int array member with 64-bit int array.
10175 (t515, tm256): Double rather than long double.
10176 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10177
32c301df
AM
101782013-10-04 Alan Modra <amodra@gmail.com>
10179
10180 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10181 Delete.
10182 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10183 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10184 version of math_ldbl.h.
10185
650ef4bd
AM
101862013-10-04 Alan Modra <amodra@gmail.com>
10187
10188 [BZ #15734], [BZ #15735]
10189 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10190 all uses of ieee875 long double macros and unions. Simplify test
10191 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10192 ldbl_extract_mantissa value for ix,iy exponents. Properly
10193 normalize after ldbl_extract_mantissa, and don't add hidden bit
10194 already handled. Don't treat low word of ieee854 mantissa like
10195 low word of IBM long double and mask off bit when testing for
10196 zero.
10197 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10198 all uses of ieee875 long double macros and unions. Simplify tests
10199 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10200 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10201 two1022, instead use their values. Recognise that tests for large
10202 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10203 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10204 Rewrite all uses of ieee875 long double macros and unions. Simplify
10205 test for 0.0L and nan. Correct negation.
10206 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10207 ieee875 long double macros and unions. Correct output for large
10208 magnitude x. Correct absolute value calculation.
10209 (__erfcl): Likewise.
10210 * math/libm-test.inc: Add tests for errors discovered in IBM long
10211 double versions of fmodl, remainderl, erfl and erfcl.
10212
765714ca
AM
102132013-10-04 Alan Modra <amodra@gmail.com>
10214
10215 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10216 all uses of ieee854 long double macros and unions. Simplify tests
10217 for long doubles that are fully specified by the high double.
10218 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10219 Likewise.
10220 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10221 Remove dead code too.
10222 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10223 (__ieee754_ynl): Likewise.
10224 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10225 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10226 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10227 Remove dead code too.
10228 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10229 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10230 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10231 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10232 Simplify.
10233 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10234 Simplify.
10235 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10236 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10237 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10238 Comment on variable precision.
10239 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10240 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10241 Likewise.
10242 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10243 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10244 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10245 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10246 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10247
4ebd120c
AM
102482013-10-04 Alan Modra <amodra@gmail.com>
10249
10250 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10251 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10252 all uses of ieee854 long double macros and unions.
10253 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10254 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10255 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10256 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10257 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10258 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10259 Likewise.
10260 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10261 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10262 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10263 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10264 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10265 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10266 Simplify sign and nan test too.
10267 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10268 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10269 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10270 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10271 Likewise.
10272 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10273 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10274 Likewise.
10275 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10276 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10277 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10278 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10279 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10280 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10281
1b6adf88
AM
102822013-10-04 Alan Modra <amodra@gmail.com>
10283
10284 * stdio-common/printf_size.c (__printf_size): Don't use
10285 union ieee854_long_double in fpnum union.
10286 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10287 signbit macro to retrieve sign from long double.
10288 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10289 retrieve sign from long double.
10290 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10291 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10292 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10293 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10294 * math/test-misc.c (main): Don't use union ieee854_long_double.
10295
4cf69995
AM
102962013-10-04 Alan Modra <amodra@gmail.com>
10297
10298 [BZ #15680]
10299 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10300 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10301 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10302 calculation. Remove unnecessary test for denormal exponent.
10303 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10304 Correct handling of denormals. Avoid undefined shift behaviour.
10305 Correct normalisation of low mantissa when low double is denormal.
10306 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10307 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10308 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10309 Correct normalisation of low mantissa. Test for overflow of high
10310 mantissa and normalise.
10311 (ldbl_nearbyint): Use more readable constant for two52.
10312 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10313 (__mpn_construct_long_double): Fix test for overflow of high
10314 mantissa and correct normalisation. Avoid undefined shift.
10315
9605ca6c
AM
103162013-10-04 Alan Modra <amodra@gmail.com>
10317
10318 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10319 (union ibm_extended_long_double): Define as an array of ieee754_double.
10320 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10321 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10322 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10323 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10324 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10325 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10326 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10327 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10328 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10329 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10330 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10331
975569d0
JM
103322013-10-03 Joseph Myers <joseph@codesourcery.com>
10333
d3d23756
JM
10334 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10335 page size instead of calling getpagesize.
10336
975569d0
JM
10337 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10338 (LOCFILE_ALIGN_MASK): Likewise.
10339 (LOCFILE_ALIGN_UP): Likewise.
10340 (LOCFILE_ALIGNED_P): Likewise.
10341 * locale/programs/ld-collate.c (collate_output): Use the new
10342 macros instead of __alignof__ (int32_t).
10343 * locale/weight.h (findidx): Likewise.
10344
b1fe1f2b
OB
103452013-10-03 Ondřej Bílka <neleai@seznam.cz>
10346
10347 [BZ #431]
10348 * manual/string.texi: Fix strncat and wcsncat.
10349
5f855e35
BM
103502013-10-03 Brooks Moses <bmoses@google.com>
10351
10352 [BZ #15915]
10353 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10354 * Makerules: ...here, and adjust associated comments.
10355
3cef6009
WN
103562013-10-02 Will Newton <will.newton@linaro.org>
10357
10358 * malloc/Makefile: Add tst-pvalloc.
10359 * malloc/tst-pvalloc.c: New file.
10360
7815420b
WN
103612013-10-02 Will Newton <will.newton@linaro.org>
10362
10363 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10364 improve test coverage.
10365
4868b204
WN
103662013-10-02 Will Newton <will.newton@linaro.org>
10367
10368 * malloc/Makefile: Add tst-posix_memalign.
10369 * malloc/tst-posix_memalign.c: New file.
10370
29c793b3
EB
103712013-10-01 Eric Blake <eblake@redhat.com>
10372
10373 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10374 Use __THROWNL rather than __THROW on static functions.
10375
fd967522
PM
103762013-09-30 Petr Machata <pmachata@redhat.com>
10377
10378 * elf/elf.h (R_AARCH64_ABS16): New macro.
10379 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10380 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10381 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10382 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10383 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10384 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10385 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10386 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10387 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10388 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10389 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10390 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10391 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10392 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10393 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10394 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10395 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10396 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10397 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10398 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10399 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10400 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10401 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10402 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10403 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10404 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10405 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10406 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10407 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10408 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10409 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10410 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10411 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10412 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10413 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10414 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10415 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10416 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10417 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10418 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10419 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10420 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10421 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10422 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10423 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10424 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10425 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10426 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10427 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10428 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10429 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10430 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10431 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10432 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10433 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10434 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10435 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10436 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10437 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10438 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10439 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10440 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10441 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10442 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10443 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10444 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10445 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10446 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10447 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10448 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10449 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10450 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10451 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10452 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10453 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10454 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10455 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10456 (R_AARCH64_TLSDESC_LDR): Likewise.
10457 (R_AARCH64_TLSDESC_ADD): Likewise.
10458 (R_AARCH64_TLSDESC_CALL): Likewise.
10459
b2179107
AS
104602013-09-30 Andreas Schwab <schwab@suse.de>
10461
10462 [BZ #15048]
10463 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10464 the nss database lookup.
10465 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10467
47f28d0a
MF
104682013-09-28 Mike Frysinger <vapier@gentoo.org>
10469
10470 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10471
104722013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
10473
10474 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10475 ${Bash-specific parameter/pattern/string} parameter expansion.
10476 * sysdeps/unix/make-syscalls.sh: Likewise.
10477
f4518a17
KK
104782013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10479
10480 * sysdeps/sh/stackguard-macros.h: New file.
10481
dc1a95c7
OB
104822013-09-26 Ondřej Bílka <neleai@seznam.cz>
10483
10484 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10485 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10486 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10487 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10488 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10489 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10490
5ebbff8f
AZ
104912013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10492
10493 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10494 Fix thread ID register.
10495
4fd2cf9f
JM
104962013-09-25 Joseph Myers <joseph@codesourcery.com>
10497
10498 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10499 [POSIX || UNIX98]: Require rather than permitting all symbols from
10500 <time.h>.
10501 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10502 element of struct sched_param.
10503 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10504 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10505 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10506 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10507 constant.
10508
12c22bc4
OL
105092013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10510
10511 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10512 argument calculation.
10513
a03d8ea7
JM
105142013-09-24 Joseph Myers <joseph@codesourcery.com>
10515
10516 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10517 Expect macro.
10518 [POSIX] (pthread_attr_t): Do not require type.
10519 [POSIX] (pthread_cond_t): Likewise.
10520 [POSIX] (pthread_condattr_t): Likewise.
10521 [POSIX] (pthread_key_t): Likewise.
10522 [POSIX] (pthread_mutex_t): Likewise.
10523 [POSIX] (pthread_mutexattr_t): Likewise.
10524 [POSIX] (pthread_once_t): Likewise.
10525 [POSIX] (pthread_t): Likewise.
10526 [POSIX-based standards] (pthread_atfork): Expect function.
10527
6055173a
JM
105282013-09-24 Joseph Myers <joseph@codesourcery.com>
10529 Richard Sandiford <richard@codesourcery.com>
10530
10531 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10532 (swap_endianness_p): New extern variable.
10533 (set_big_endian): New inline function.
10534 (maybe_swap_uint32): Likewise.
10535 (maybe_swap_uint32_array): Likewise.
10536 (maybe_swap_uint32_obstack): Likewise.
10537 * locale/programs/locfile.c: Include <stdbool.h>.
10538 (swap_endianness_p): New variable.
10539 (add_locale_uint32): Call maybe_swap_uint32.
10540 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10541 (write_locale_data): Call maybe_swap_uint32_array.
10542 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10543 maybe_swap_uint32.
10544 (obstack_int32_grow_fast): Likewise.
10545 (output_weightwc): Call maybe_swap_uint32_obstack.
10546 (collate_output): Likewise.
10547 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10548 (OPT_LITTLE_ENDIAN): Likewise.
10549 (options): Add --little-endian and --big-endian options.
10550 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10551 * locale/programs/locarchive.c: Include "locfile.h".
10552 (GET): New macro.
10553 (SET): Likewise.
10554 (INC): Likewise.
10555 (create_archive): Use the new macros to access fields of
10556 structures directly mapped from or written to locale archives.
10557 (oldlocrecentcmp): Likewise.
10558 (enlarge_archive): Likewise.
10559 (insert_name): Likewise.
10560 (add_alias): Likewise.
10561 (add_locale): Likewise.
10562 (delete_locales_from_archive): Likewise.
10563 (show_archive_content): Likewise.
10564 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10565 locale data.
10566
39bf0bb4
RM
105672013-09-24 Roland McGrath <roland@hack.frob.com>
10568
10569 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10570 http://www.gnu.org/doc/freemanuals.texi.
10571 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10572
f02eed10
WN
105732013-09-24 Will Newton <will.newton@linaro.org>
10574
10575 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10576 macro.
10577
a3a6c312
JM
105782013-09-23 Joseph Myers <joseph@codesourcery.com>
10579
10580 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10581 unsigned char.
10582
107375ac
MR
105832013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10584
10585 * manual/threads.texi (POSIX Threads): Fix a typo.
10586
141f3a77
SP
105872013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10588
303e567a
SP
10589 [BZ #14547]
10590 * string/tst-strcoll-overflow.c: New test case.
10591 * string/Makefile (xtests): Add tst-strcoll-overflow.
10592 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10593 cache if string sizes may cause integer overflow.
10594
141f3a77
SP
10595 [BZ #14547]
10596 * string/strcoll_l.c (coll_seq): New members rule, idx,
10597 save_idx and back_us.
10598 (get_next_seq_nocache): New function.
10599 (do_compare_nocache): New function.
10600 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10601 when malloc fails.
10602
c61b4d41
CD
106032013-09-23 Carlos O'Donell <carlos@redhat.com>
10604
0b1f8e35
CD
10605 [BZ #15754]
10606 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10607 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10608 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10609
c61b4d41
CD
10610 [BZ #15754]
10611 * elf/Makefile (tests): Add tst-ptrguard1.
10612 (tests-static): Add tst-ptrguard1-static.
10613 (tst-ptrguard1-ARGS): Define.
10614 (tst-ptrguard1-static-ARGS): Define.
10615 * elf/tst-ptrguard1.c: New file.
10616 * elf/tst-ptrguard1-static.c: New file.
10617 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10618 * sysdeps/i386/stackguard-macros.h: Likewise.
10619 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10620 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10621 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10622 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10623 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10624 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10625
106262013-09-23 Hector Marco <hecmargi@upv.es>
10627 Ismael Ripoll <iripoll@disca.upv.es>
10628 Carlos O'Donell <carlos@redhat.com>
10629
10630 [BZ #15754]
10631 * sysdeps/generic/stackguard-macros.h: Define
10632 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10633 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10634 Define __pointer_chk_guard_local.
10635 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10636 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10637
f5f4e7b4
VV
106382013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10639
10640 [BZ #15859]
10641 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10642
5bb43a43
AS
106432013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10644
10645 * include/string.h (__ffs): Declare as hidden.
10646 * string/ffs.c (__ffs): Define as hidden.
10647 * sysdeps/i386/ffs.c (__ffs): Likewise.
10648 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10649 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10650 * sysdeps/s390/ffs.c (__ffs): Likewise.
10651 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10652
3ea5be54
AO
106532013-09-20 Alexandre Oliva <aoliva@redhat.com>
10654
ffb89e53
AO
10655 * NEWS: Mention malloc probes.
10656
322dea08
AO
10657 * malloc/arena.c (new_heap): New memory_heap_new probe.
10658 (grow_heap): New memory_heap_more probe.
10659 (shrink_heap): New memory_heap_less probe.
10660 (heap_trim): New memory_heap_free probe.
10661 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10662 (systrim): New memory_sbrk_less probe.
10663 * manual/probes.texi: Document them.
10664
655673f3
AO
10665 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10666 * manual/probes.texi: Document it.
10667
35fed6f1
AO
10668 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10669 (__libc_realloc): Add memory_realloc_retry probe.
10670 (__libc_memalign): Add memory_memalign_retry probe.
10671 (__libc_valloc): Add memory_valloc_retry probe.
10672 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10673 (__libc_calloc): Add memory_calloc_retry probe.
10674 * manual/probes.texi: Document them.
10675
6999d38c
AO
10676 * malloc/arena.c (get_free_list): Add probe
10677 memory_arena_reuse_free_list.
10678 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10679 and memory_arena_reuse.
10680 (arena_get2) [!PER_THREAD]: Likewise.
10681 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10682 memory_arena_reuse_realloc.
10683 * manual/probes.texi: Document them.
10684
0653427f
AO
10685 * malloc/malloc.c (__libc_free): Add
10686 memory_mallopt_free_dyn_thresholds probe.
10687 (__libc_mallopt): Add multiple memory_mallopt probes.
10688 * manual/probes.texi: Document them.
10689
3ea5be54
AO
10690 * malloc/malloc.c: Include stap-probe.h.
10691 (__libc_mallopt): Add memory_mallopt probe.
10692 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10693 * manual/probes.texi: New.
10694 * manual/Makefile (chapters): Add probes.
10695 * manual/threads.texi: Set next node.
10696
e35696c3 106972013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 10698
e35696c3
CL
10699 [BZ #15963, #13985]
10700 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10701 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10702 Add `Chinese' to `nan' entry name.
10703
4aafb73c
SP
107042013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10705
10706 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10707 (POLYNOMIAL): Likewise.
10708 (TAYLOR_SINCOS): Likewise.
10709 (TAYLOR_SLOW): Likewise.
10710 (__sin): Use TAYLOR_SINCOS.
10711 (__cos): Likewise.
10712 (slow): Use TAYLOR_SLOW.
10713 (sloww): Likewise.
10714 (bsloww): Likewise.
10715 (csloww): Likewise.
10716
d84f25c7
LD
107172013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10718
10719 * stdlib/strtod_l.c: Fix buffer overrun.
10720
5eea0404
SP
107212013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10722
7849ff93
SP
10723 * benchtests/Makefile (bench): Add sincos.
10724 * benchtests/bench-sincos.c: New file.
10725
cfa3c886
SP
10726 * math/libm-test.inc (cos_test_data): New test inputs.
10727 (sin_test_data): Likewise.
10728
b348e1e3
SP
10729 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10730 macro.
10731 (__sin): Use it.
10732 (__cos): Likewise.
10733 (slow1): Likewise.
10734 (slow2): Likewise.
10735 (sloww1): Likewise.
10736 (sloww2): Likewise.
10737 (bsloww1): Likewise.
10738 (bsloww2): Likewise.
10739 (cslow2): Likewise.
10740 (csloww1): Likewise.
10741 (csloww2): Likewise.
10742
6cce25f8
SP
10743 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10744 function.
10745 (__sin): Use it.
10746 (__cos): Likewise.
10747
5eea0404
SP
10748 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10749 gotos.
10750 (__cos): Likewise.
10751
9c21573c
MR
107522013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10753
10754 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10755 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10756 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10757 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10758 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10759 * elf/cache.c (print_entry): Handle the new cache flags.
10760
24d22e65
JM
107612013-09-18 Joseph Myers <joseph@codesourcery.com>
10762 Aldy Hernandez <aldyh@redhat.com>
10763
10764 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10765 Change condition to [_SOFT_FLOAT].
10766 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10767 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10768 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10769 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10770 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10771 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10772 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10773 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10774 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10775 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10776 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10777 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10778 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10779 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10780 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10781 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10782 declaration.
10783
d13ef066
JM
107842013-09-18 Joseph Myers <joseph@codesourcery.com>
10785
2e071de0
JM
10786 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10787 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10788 (__longjmp): Use LOAD_GP to load saved GPRs.
10789 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10790 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10791 (__sigsetjmp): Use SAVE_GP to save GPRs.
10792
d13ef066
JM
10793 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10794 Do not append -msoft-float.
10795 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10796
97a0650b
SP
107972013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10798
10799 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10800
11ca09e9
JM
108012013-09-17 Joseph Myers <joseph@codesourcery.com>
10802
10803 [BZ #15966]
10804 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10805 (_FPU_GETCW): Use initial "__" on variable and field names but not
10806 on macro parameter name.
10807 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10808 parentheses around reference to macro parameter.
10809
08ffcf34
RS
108102013-09-13 Richard Sandiford <richard@codesourcery.com>
10811
10812 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10813 prototype.
10814 (ctype_startup): Use uint32_t in cast and sizeof for
10815 ctype->charnames.
10816
ae7080d3
JL
108172013-09-11 Jia Liu <proljc@gmail.com>
10818
10819 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10820 __daddr_t_defined.
10821 [__FreeBSD__]: Likewise.
10822
5905e7b3
OB
108232013-09-11 Ondřej Bílka <neleai@seznam.cz>
10824
10825 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10826 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10827 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10828 (strchr): Remove __strchr_sse42 ifunc selection.
10829 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10830 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10831
b987c776
WN
108322013-09-11 Will Newton <will.newton@linaro.org>
10833
10834 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10835 parameter to RES. Remove hardcoded 1000 value.
10836 * benchtests/bench-skeleton.c (main): Pass RES parameter
10837 to TIMING_INIT and multiply result by 1000.
10838
ddf985af
AZ
108392013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10840
10841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10842
ffdd3181
AS
108432013-09-11 Andreas Schwab <schwab@suse.de>
10844
10845 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10846 if not defined.
10847 (O_TMPFILE) [__USE_GNU]: Define.
10848 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10849 Define.
10850
b73ed247
WN
108512013-09-11 Will Newton <will.newton@linaro.org>
10852
10853 [BZ #15857]
10854 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10855 does not overflow.
10856
55e17aad
WN
108572013-09-11 Will Newton <will.newton@linaro.org>
10858
10859 [BZ #15856]
10860 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10861 does not overflow.
10862
1159a193
WN
108632013-09-11 Will Newton <will.newton@linaro.org>
10864
10865 [BZ #15855]
10866 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10867 does not overflow.
10868
5905e7b3 108692013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10870
10871 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10872 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10873 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10874 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10875 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10876
cdfc721b
AM
108772013-09-10 Allan McRae <allan@archlinux.org>
10878
aa04af00
AM
10879 [BZ #15748]
10880 * manual/arith.texi (Parsing of Floats): Clarify
10881 cross-reference.
10882
cdfc721b
AM
10883 [BZ #15849]
10884 * manual/install.texi (Running make install): Mention
10885 --enable-pt-chown.
10886 * INSTALL: Regenerated.
10887
95e7cf29
MR
108882013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10889
10890 * csu/init-first.c (_init): Remove the !SHARED condition around
10891 FPU control word initialization.
10892 * elf/dl-support.c (_dl_fpu_control): New variable.
10893 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10894 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10895 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10896 * math/test-fpucw-static.c: New file.
10897 * math/test-fpucw-ieee.c: New file.
10898 * math/test-fpucw-ieee-static.c: New file.
10899 * math/Makefile (tests): Add `test-fpucw-ieee' and
10900 `$(tests-static)'.
10901 (tests-static): New variable.
10902 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10903 dependency to...
10904 [($(build-shared),yes)]
10905 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10906 ... this.
10907 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10908 New dependency.
10909
83e43bf0
AM
109102013-09-09 Allan McRae <allan@archlinux.org>
10911
a9f5ce09
AM
10912 [BZ #15939]
10913 * manual/string.texi (Collation Functions): Fix typo in
10914 strcoll example.
10915 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10916
34829bc2
AM
10917 [BZ #15893]
10918 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10919
3932737d
AM
10920 [BZ #15892]
10921 * libio/memstream.c (open_memstream): Fix memory leak.
10922 * libio/wmemstream.c (open_wmemstream): Likewise.
10923
83e43bf0
AM
10924 [BZ #15895]
10925 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10926
0c66b8e9
WN
109272013-09-09 Will Newton <will.newton@linaro.org>
10928
10929 * malloc/Makefile: Add tst-realloc to tests.
10930 * malloc/tst-realloc.c: New file.
10931
f6b00fd1
AM
109322013-09-09 Allan McRae <allan@archlinux.org>
10933
10934 [BZ #15844]
10935 * COPYING: Update from GNU website to fix FSF address.
10936 * COPYING.LIB: Likewise.
10937
eec55e16
DM
109382013-09-06 David S. Miller <davem@davemloft.net>
10939
10940 * po/zh_TW.po: Update Chinese (traditional) translation from
10941 translation project.
10942
1ecbb381
RS
109432013-09-06 Richard Sandiford <richard@codesourcery.com>
10944 Joseph Myers <joseph@codesourcery.com>
10945
10946 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10947 "localeinfo.h".
10948 (obstack_chunk_alloc): New macro.
10949 (obstack_chunk_free): Likewise.
10950 (record_offset): New function.
10951 (init_locale_data): Likewise.
10952 (align_locale_data): Likewise.
10953 (add_locale_empty): Likewise.
10954 (add_locale_raw_data): Likewise.
10955 (add_locale_raw_obstack): Likewise.
10956 (add_locale_string): Likewise.
10957 (add_locale_wstring): Likewise.
10958 (add_locale_uint32): Likewise.
10959 (add_locale_uint32_array): Likewise.
10960 (add_locale_char): Likewise.
10961 (start_locale_structure): Likewise.
10962 (end_locale_structure): Likewise.
10963 (start_locale_prelude): Likewise.
10964 (end_locale_prelude): Likewise.
10965 (write_locale_data): Take locale_file structure rather than an
10966 iovec.
10967 * locale/programs/locfile.h: Include "obstack.h".
10968 (struct locale_file): Change to store locale file contents instead
10969 of header.
10970 (init_locale_data): New prototype.
10971 (align_locale_data): Likewise.
10972 (add_locale_empty): Likewise.
10973 (add_locale_raw_data): Likewise.
10974 (add_locale_raw_obstack): Likewise.
10975 (add_locale_string): Likewise.
10976 (add_locale_wstring): Likewise.
10977 (add_locale_uint32): Likewise.
10978 (add_locale_uint32_array): Likewise.
10979 (add_locale_char): Likewise.
10980 (start_locale_structure): Likewise.
10981 (end_locale_structure): Likewise.
10982 (start_locale_prelude): Likewise.
10983 (end_locale_prelude): Likewise.
10984 (write_locale_data): Update prototype.
10985 * locale/programs/3level.h (struct TABLE): Remove result field.
10986 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10987 Use new locale_file interface.
10988 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10989 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10990 * locale/programs/ld-address.c (address_output): Use new
10991 locale_file interface.
10992 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10993 NO_ADD_LOCALE.
10994 (collate_finish): Don't call collseq_table_finalize.
10995 (collate_output): Use new locale_file interface.
10996 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10997 in file.
10998 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10999 (TABLE): Move defines earlier in file.
11000 (ELEMENT): Likewise.
11001 (DEFAULT): Likewise.
11002 (wctrans_table_add): Move macro and inline function earlier in
11003 file.
11004 (struct wctype_table): Move type earlier in file.
11005 (add_locale_wctype_table): New static prototype.
11006 (struct locale_ctype_t): Use logical types instead of struct iovec
11007 pointers for members.
11008 (ctype_output): Use new locale_file interface.
11009 (wctype_table_finalize): Change to add_locale_wctype_table. Use
11010 new locale_file interface.
11011 (allocate_arrays): Update for use of new locale_file interface.
11012 * locale/programs/ld-identification.c (identification_output): Use
11013 new locale_file interface.
11014 * locale/programs/ld-measurement.c (measurement_output): Likewise.
11015 * locale/programs/ld-messages.c (messages_output): Likewise.
11016 * locale/programs/ld-monetary.c (monetary_output): Likewise.
11017 * locale/programs/ld-name.c (name_output): Likewise.
11018 * locale/programs/ld-numeric.c (numeric_output): Likewise.
11019 * locale/programs/ld-paper.c (paper_output): Likewise.
11020 * locale/programs/ld-telephone.c (telephone_output): Likewise.
11021 * locale/programs/ld-time.c (time_output): Likewise.
11022
e029e2e5
AZ
110232013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11024
11025 * benchtests/Makefile: Add memrchr benchmark.
11026 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11027 benchmark as memrchr.
11028 * benchtests/bench-memrchr-ifunc.c: New file.
11029 * benchtests/bench-memrchr.c: New file.
11030
bbf6e8e4
WN
110312013-09-06 Will Newton <will.newton@linaro.org>
11032
11033 * benchtests/Makefile (string-bench): Add memcpy.
11034
6c82a2f8
CD
110352013-09-05 Carlos O'Donell <carlos@redhat.com>
11036 Cong Wang <amwang@redhat.com>
11037
e732c5f0 11038 [BZ #15850]
6c82a2f8
CD
11039 * sysdeps/unix/sysv/linux/bits/in.h
11040 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11041 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11042 before __USE_KERNEL_IPV6_DEFS uses.
11043 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11044 IPPROTO_BEETPH.
11045 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11046 sockaddr_in6, or ipv6_mreq.
11047
5430fc65
AZ
110482013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11049
11050 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11051 memory access for final bytes in some large inputs.
11052 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11053
4660856c
AZ
110542013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11055
11056 * string/test-memrchr.c: New file.
11057 * string/test-memrchr-ifunc.c: New file.
11058 * string/Makefile: Add new memrchr testcase.
11059
bb8ea713
MF
110602013-09-05 Mike Frysinger <vapier@gentoo.org>
11061
11062 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11063 fanotify_init returns EPERM.
11064
b92a20b5
JM
110652013-09-04 Joseph Myers <joseph@codesourcery.com>
11066
11067 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11068 errors.
11069 (top level): Treat second token from macro or constant entries for
11070 allowed headers as allowed.
11071 * include/complex.h: Condition internal declarations on
11072 [!_ISOMAC].
11073 * include/fenv.h: Condition include of <stdbool.h> and internal
11074 declarations on [!_ISOMAC].
7447ccd9
CL
11075
110762013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11077
3e181dda 11078 [BZ #15923]
7447ccd9
CL
11079 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11080
3f2e46a4
JM
110812013-09-04 Joseph Myers <joseph@codesourcery.com>
11082
11083 * configure.in (--enable-versioning): Remove configure option.
11084 (libc_cv_asm_symver_directive): Remove configure test.
11085 (libc_cv_ld_version_script_option): Likewise.
11086 (VERSIONING): Remove variable and AC_SUBST.
11087 (DO_VERSIONING): Remove AC_DEFINE.
11088 * configure: Regenerated.
11089 * config.h.in (DO_VERSIONING): Remove macro.
11090 * Makerules [$(versioning) = yes]: Change conditionals to
11091 [$(build-shared) = yes].
11092 * config.make.in (versioning): Remove variable.
11093 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11094 [$(build-shared) = yes].
11095 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11096 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11097 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11098 [$(build-shared) = yes].
11099 * extra-lib.mk [$(versioning) = yes]: Likewise.
11100 * hurd/Makefile [$(versioning) = yes]: Likewise.
11101 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11102 [SHARED].
11103 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11104 [SHARED].
11105 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11106 [SHARED && !NO_HIDDEN].
11107 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11108 [SHARED].
11109 [SHARED && DO_VERSIONING]: Likewise..
11110 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11111 [$(build-shared) = yes].
11112 * manual/install.texi (--disable-versioning): Remove
11113 documentation.
11114 * INSTALL: Regenerated.
11115 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11116 to [SHARED].
11117 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11118 [$(build-shared) = yes].
11119 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11120 * sysdeps/i386/i686/multiarch/strstr-c.c
11121 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11122 [SHARED && !NO_HIDDEN].
11123 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11124 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11125 * sysdeps/powerpc/powerpc32/dl-machine.c
11126 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11127 * sysdeps/powerpc/powerpc32/sysdep.h
11128 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11129 to [SHARED && PIC && !NO_HIDDEN].
11130 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11131 conditional to [SHARED].
11132
44558701
WN
111332013-09-04 Will Newton <will.newton@linaro.org>
11134
11135 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11136 * benchtests/bench-string.h: Include bench-timing.h instead
11137 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11138 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11139 call to HP_TIMING_DIFF_INIT.
11140 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11141 instead of hp-timing.h macros.
11142 * benchtests/bench-memchr.c: Likewise.
11143 * benchtests/bench-memcmp.c: Likewise.
11144 * benchtests/bench-memcpy.c: Likewise.
11145 * benchtests/bench-memmem.c: Likewise.
11146 * benchtests/bench-memmove.c: Likewise.
11147 * benchtests/bench-memset.c: Likewise.
11148 * benchtests/bench-rawmemchr.c: Likewise.
11149 * benchtests/bench-strcasecmp.c: Likewise.
11150 * benchtests/bench-strcasestr.c: Likewise.
11151 * benchtests/bench-strcat.c: Likewise.
11152 * benchtests/bench-strchr.c: Likewise.
11153 * benchtests/bench-strcmp.c: Likewise.
11154 * benchtests/bench-strcpy.c: Likewise.
11155 * benchtests/bench-strcpy_chk.c: Likewise.
11156 * benchtests/bench-strlen.c: Likewise.
11157 * benchtests/bench-strncasecmp.c: Likewise.
11158 * benchtests/bench-strncat.c: Likewise.
11159 * benchtests/bench-strncmp.c: Likewise.
11160 * benchtests/bench-strncpy.c: Likewise.
11161 * benchtests/bench-strnlen.c: Likewise.
11162 * benchtests/bench-strpbrk.c: Likewise.
11163 * benchtests/bench-strrchr.c: Likewise.
11164 * benchtests/bench-strspn.c: Likewise.
11165 * benchtests/bench-strstr.c: Likewise.
11166
cae16d66
WN
111672013-09-04 Will Newton <will.newton@linaro.org>
11168
11169 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11170
ffa3cd7f
JM
111712013-09-03 Joseph Myers <joseph@codesourcery.com>
11172
11173 [BZ #15427]
11174 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11175 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11176 * math/libm-test.inc (lgamma_test_data): Add more tests.
11177 * sysdeps/i386/fpu/libm-test-ulps: Update.
11178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11179
8f02859f
OB
111802013-09-03 Ondřej Bílka <neleai@seznam.cz>
11181
11182 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11183 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11184 Add ifunc.
11185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11186 Add strcmp-sse2-unaligned
11187 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11188
18d43716
MF
111892013-09-02 Mike Frysinger <vapier@gentoo.org>
11190
11191 * Versions.def (libc): Add GLIBC_2.19.
11192
ac444012
MF
111932013-09-02 Mike Frysinger <vapier@gentoo.org>
11194
11195 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11196 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11197
b7835e32
JM
111982013-09-02 Joseph Myers <joseph@codesourcery.com>
11199
11200 [BZ #14155]
11201 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11202 intermediate calculations in recurrence.
11203 (__ieee754_ynf): Likewise.
11204 * math/libm-test.inc (jn_test_data): Do not allow spurious
11205 underflow exception. Add more tests.
11206 (yn_test_data): Add more tests.
11207 * sysdeps/i386/fpu/libm-test-ulps: Update.
11208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11209
8220f4f0
OB
112102013-09-02 Ondřej Bílka <neleai@seznam.cz>
11211
11212 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11213
f24a6d08
OB
112142013-08-30 Ondřej Bílka <neleai@seznam.cz>
11215
11216 * csu/init-first.c: Fix then/than typos.
11217 * locale/programs/ld-collate.c: Likewise.
11218 * locale/programs/linereader.h: Likewise.
11219 * manual/charset.texi: Likewise.
11220 * manual/filesys.texi: Likewise.
11221 * manual/stdio.texi: Likewise.
11222 * manual/string.texi: Likewise.
11223 * stdlib/fmtmsg.c: Likewise.
11224 * sysdeps/i386/stpncpy.S: Likewise.
11225 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11226 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11227 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11228 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11229
382466e0
OB
112302013-08-30 Ondřej Bílka <neleai@seznam.cz>
11231
11232 * elf/dl-open.c: Fix typos.
11233 * iconvdata/gbbig5.c: Likewise.
11234 * iconvdata/iso-2022-jp.c: Likewise.
11235 * iconv/gconv_int.h: Likewise.
11236 * iconv/loop.c: Likewise.
11237 * nis/rpcsvc/nis.h: Likewise.
11238 * resolv/ns_name.c: Likewise.
11239 * stdio-common/vfscanf.c: Likewise.
11240 * streams/stropts.h: Likewise.
11241 * sunrpc/rpc_thread.c: Likewise.
11242 * sysdeps/i386/strpbrk.S: Likewise.
11243 * sysdeps/ieee754/k_standard.c: Likewise.
11244 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11245 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11246 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11247 * sysdeps/mach/hurd/profil.c: Likewise.
11248 * sysdeps/s390/dl-procinfo.h: Likewise.
11249 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11250 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11251 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11252 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11253 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11254
0186c6e9
OB
112552013-08-30 Ondřej Bílka <neleai@seznam.cz>
11256
11257 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11258 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11259
d4e16af1
OB
112602013-08-29 Ondřej Bílka <neleai@seznam.cz>
11261
11262 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11263 aix specific files.
11264 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11265 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11266 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11267 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11268 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11269 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11270 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11271 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11272
88335980
TS
112732013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11274 Roland McGrath <roland@hack.frob.com>
11275
11276 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11277 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11278
ed479b02
ST
112792013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11280
11281 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11282 __executable_start symbol instead of _start.
11283
f1cc4c86
TS
112842013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11285
d821f07c
TS
11286 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11287 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11288 Move macros to...
11289 * sysdeps/gnu/ldsodefs.h: ... this new file.
11290
c54290cf
TS
11291 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11292 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11293 instead of ELFOSABI_LINUX.
11294
0007fc9b 11295 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
11296 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11297 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11298 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11299 Likewise.
11300 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11301 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11302 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11303 Likewise.
11304 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11305 (ibm_extended_long_double): Add ieee_nan member.
11306 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11307 (do_test): New function.
11308
f1cc4c86
TS
11309 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11310 TEST_TRUNC.
11311 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11312 functions, renamed from truncdfsf_test, trunctfsf_test,
11313 trunctfdf_test.
11314 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11315 functions.
11316 (do_test): Run all these.
11317
6f65e668
OB
113182013-08-29 Ondřej Bílka <neleai@seznam.cz>
11319
11320 * argp/argp-help.c: Fix typos.
11321 * argp/argp-parse.c: Likewise.
11322 * debug/backtracesyms.c: Likewise.
11323 * elf/elf.h: Likewise.
11324 * malloc/malloc.c: Likewise.
11325 * nis/nis_print.c: Likewise.
11326 * resolv/res_comp.c: Likewise.
11327 * stdlib/stdlib.h: Likewise.
11328 * sunrpc/clnt_tcp.c: Likewise.
11329 * sunrpc/clnt_udp.c: Likewise.
11330 * sunrpc/clnt_unix.c: Likewise.
11331 * sysdeps/unix/bsd/ptsname.c: Likewise.
11332 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11333 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
11334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11335 Likewise.
11336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11337 Likewise.
11338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11339 Likewise.
6f65e668
OB
11340 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11341
3a309239
SP
113422013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11343
11344 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11345 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11346
3b813b29
MF
113472013-08-27 Mike Frysinger <vapier@gentoo.org>
11348
11349 [BZ #15897]
11350 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11351 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11352 ($(objpfx)bug-dl-leaf): New rule.
11353 ($(objpfx)bug-dl-leaf.so): Likewise.
11354 ($(objpfx)bug-dl-leaf.out): Likewise.
11355 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11356 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11357 * dlfcn/bug-dl-leaf.c: New test.
11358 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11359 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11360 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11361 (dlclose): Likewise.
11362 (dlmopen): Likewise.
11363
8cc3269f
RM
113642013-08-27 Roland McGrath <roland@hack.frob.com>
11365
7f9d0034
RM
11366 * include/netdb.h [!_ISOMAC]:
11367 Don't include <tls.h>.
11368 (h_errno, __libc_h_errno): Move declaration and macros out of
11369 [_LIBC_REENTRANT].
11370
fb431262
RM
11371 * include/resolv.h [_RESOLV_H_]:
11372 Don't include <tls.h>.
11373 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11374 * resolv/res_libc.c: Don't include <tls.h>.
11375 (_res): Use __attribute__ ((nocommon)) in place of
11376 __attribute__ ((section (".bss"))).
11377
bd81123a
RM
11378 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11379 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11380
c4e42566
RM
11381 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11382
f890a59b
RM
11383 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11384 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11385
11386 * resolv/res_mkquery.c: Include <sys/time.h>.
11387
5d1f0a09
RM
11388 * inet/ifreq.c: Moved to ...
11389 * sysdeps/unix/ifreq.c: ... here.
11390 * inet/ifreq.c: New file, true stub version.
11391
6fcf28b3
RM
11392 * socket/sa_len.c: New file.
11393 * socket/Makefile (aux): Add it.
11394 * sysdeps/unix/sysv/linux/Makefile
11395 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11396 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11397 and #include <socket/sa_len.c>.
11398 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11399 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11400
e041fb8b
RM
11401 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11402 * bits/socket.h: ... here.
11403
8cc3269f
RM
11404 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11405 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11406 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11407
5d228a43
AS
114082013-08-27 Andreas Schwab <schwab@suse.de>
11409
45b8accc
AS
11410 [BZ #15736]
11411 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11412 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11413 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11414 * string/test-strcasecmp.c (test_main): Run tests in several
11415 locales.
11416 * string/test-strncasecmp.c (test_main): Likewise.
11417
5d228a43
AS
11418 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11419 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11420 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11421 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11422 (__strncasecmp_ssse3) [PIC]: Likewise.
11423
59d112a4
RM
114242013-08-26 Roland McGrath <roland@hack.frob.com>
11425
53234cc3
RM
11426 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11427
59d112a4
RM
11428 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11429 instead of explicitly declaring xdecrypt.
11430 * nis/nss_nis/nis-publickey.c: Likewise.
11431
595aba70
SP
114322013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11433
11434 [BZ #15890]
11435 * nscd/aicache.c: Include res_hconf.h.
11436 (addhstaiX): Initialize res_hconf.
11437
ffabd393
AS
114382013-08-26 Andreas Schwab <schwab@suse.de>
11439
11440 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11441 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11442
e0a69f5c
SP
114432013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11444
11445 * nscd/aicache.c (addhstaiX): Fix indentation.
11446
8c12f01d
MF
114472013-08-25 Mike Frysinger <vapier@gentoo.org>
11448
11449 * configure.ac: Quote $build_pt_chown test.
11450 * configure: Regenerated.
11451
8fe89494
JM
114522013-08-23 Joseph Myers <joseph@codesourcery.com>
11453
11454 [BZ #15532]
11455 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11456 * math/s_cexpf.c (__cexpf): Likewise.
11457 * math/s_cexpl.c (__cexpl): Likewise.
11458 * math/libm-test.inc (cexp_test_data): Correct expected return
11459 value for NaN + i0. Add another test.
11460
75b181d6
DM
114612013-08-22 David S. Miller <davem@davemloft.net>
11462
11463 * po/ca.po: Update Catalan translation from translation project.
936241e4 11464 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 11465
acd06bb1
JM
114662013-08-21 Joseph Myers <joseph@codesourcery.com>
11467
11468 [BZ #15797]
11469 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11470 is infinite, not alongside NaN test.
11471 * math/s_fdimf.c (__fdimf): Likewise.
11472 * math/s_fdiml.c (__fdiml): Likewise.
11473 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11474 errno is unchanged.
11475
c0c3f78a
OB
114762013-08-21 Ondřej Bílka <neleai@seznam.cz>
11477
11478 * argp/argp-help.c: Fix typos.
11479 * crypt/speeds.c: Likewise.
11480 * csu/check_fds.c: Likewise.
11481 * elf/dl-load.c: Likewise.
11482 * elf/dl-open.c: Likewise.
11483 * elf/reldep3.c: Likewise.
11484 * elf/reldep.c: Likewise.
11485 * elf/sprof.c: Likewise.
11486 * iconv/iconv_charmap.c: Likewise.
11487 * iconv/skeleton.c: Likewise.
11488 * iconv/strtab.c: Likewise.
11489 * io/lockf64.c: Likewise.
11490 * libio/libioP.h: Likewise.
11491 * resolv/gai_notify.c: Likewise.
11492 * resolv/ns_name.c: Likewise.
11493 * resolv/ns_samedomain.c: Likewise.
11494 * resolv/res_send.c: Likewise.
11495 * stdlib/random.c: Likewise.
11496 * sunrpc/rpc/xdr.h: Likewise.
11497 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11498 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11499 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11500 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11501 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11502 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11503 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11504 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11505 * sysdeps/mach/hurd/check_fds.c: Likewise.
11506 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11507 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11508 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11509 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11510 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11511 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11512 * sysdeps/pthread/aio_notify.c: Likewise.
11513 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11514 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11515 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11516 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11517 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11518
46ed1038
LD
115192013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11520
11521 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11522 version if bit_Slow_SSE4_2 is set.
11523 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11524 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11525
d400dcac
AZ
115262013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11527
11528 [BZ #15867]
11529 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11530 trampoline stack frame information.
11531 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11532 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11533 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11534 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11535 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11536 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11537 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11538 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11539 sa_flags value.
11540 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11541 interrupting a syscall and set with option SA_SIGINFO.
11542
42c8fdd8
JM
115432013-08-20 Joseph Myers <joseph@codesourcery.com>
11544
c980f2f4
JM
11545 [BZ #15531]
11546 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11547 argument is infinite.
11548 * math/s_cprojf.c (__cprojf): Likewise.
11549 * math/s_cprojl.c (__cprojl): Likewise.
11550 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11551 * math/libm-test.inc (cproj_test_data): Add more tests.
11552
0716c4fc
JM
11553 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11554
42c8fdd8
JM
11555 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11556 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11557 size. Use __ffs to determine corresponding shift.
11558
b31469d0
JM
115592013-08-20 Joseph Myers <joseph@codesourcery.com>
11560 Roland McGrath <roland@hack.frob.com>
11561
11562 * Makefile (INSTALL): Remove trailing blank lines from output of
11563 makeinfo.
11564
4e39af6e
AK
115652013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11566
11567 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11568 Align 32 bit compat elf_greg to 8 bytes.
11569
f315524e
AA
115702013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11571
11572 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11573
1326ba1a
SP
115742013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11575
11576 * string/strcoll_l.c (coll_seq): New structure.
11577 (get_next_seq_cached): New function.
11578 (get_next_seq): New function.
11579 (do_compare): New function.
11580 (STRCOLL): Use GNU style definition. Simplify implementation
11581 by using get_next_seq, get_next_seq_cached and do_compare.
11582
91ce4085
FW
115832013-08-16 Florian Weimer <fweimer@redhat.com>
11584
11585 [BZ #14699]
11586 CVE-2013-4237
11587 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11588 member.
11589 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11590 member.
11591 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11592 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11593 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11594 conditional.
11595 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11596 GETDENTS_64BIT_ALIGNED.
11597 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11598 * manual/filesys.texi (Reading/Closing Directory): Document
11599 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11600 strongly.
11601 * manual/conf.texi (Limits for Files): Add portability note to
11602 NAME_MAX, PATH_MAX.
11603 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11604
ca0a6bc4
AS
116052013-08-13 Andreas Schwab <schwab@suse.de>
11606
11607 [BZ #15749]
11608 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11609 of fabs.
11610 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11611 LDBL_MAX_EXP >= 16384]: Add tests for it.
11612
6c1fd795
DM
116132013-08-12 David S. Miller <davem@davemloft.net>
11614
11615 * version.h (RELEASE): Set to "development".
11616 (VERSION): Set to "2.18.90".
11617 * NEWS: Add 2.19 section.
11618
31ad488d
DM
116192013-08-03 David S. Miller <davem@davemloft.net>
11620
11621 * po/ko.po: Update Korean translation from translation project.
11622
db24e684
DM
116232013-08-01 David S. Miller <davem@davemloft.net>
11624
11625 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11626 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11627 Bilka.
11628
f723285b
DM
116292013-07-30 David S. Miller <davem@davemloft.net>
11630
11631 * po/fr.po: Update French translation from translation project.
11632
3cbc52db
DM
116332013-07-28 David S. Miller <davem@davemloft.net>
11634
30bbc0cc
DM
11635 * po/cs.po: Update Czech translation from translation project.
11636
3cbc52db
DM
11637 * po/sv.po: Update Swedish translation from translation project.
11638
d492e6d0
DM
116392013-07-27 David S. Miller <davem@davemloft.net>
11640
f1a7f492
DM
11641 * po/eo.po: Update Esperanto translation from translation project.
11642
90e62a4a
DM
11643 * po/vi.po: Update Vietnamese translation from translation project.
11644
d492e6d0
DM
11645 * po/de.po: Update German translation from translation project.
11646
d4baa62d
DM
116472013-07-26 David S. Miller <davem@davemloft.net>
11648
641aa7b4
DM
11649 * po/bg.po: Update Bulgarian translation from translation project.
11650
d4baa62d
DM
11651 * po/nl.po: Update Dutch translation from translation project.
11652 * po/pl.po: Update Polish translation from translation project.
11653 * po/ru.po: Update Russian translation from translation project.
11654
61a9dcb9
DM
116552013-07-24 David S. Miller <davem@davemloft.net>
11656
11657 * po/libc.pot: Update.
11658
7b1f8b58
AZ
116592013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11660
11661 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11662 variable page size.
11663 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11664 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11665 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11666
a8fc7a03
AK
116672013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11668
11669 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11670
e4608715
CD
116712013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11672 Andreas Schwab <schwab@suse.de>
11673 Roland McGrath <roland@hack.frob.com>
11674 Joseph Myers <joseph@codesourcery.com>
11675 Carlos O'Donell <carlos@redhat.com>
11676
11677 [BZ #15755]
11678 * config.h.in: Define HAVE_PT_CHOWN.
11679 * config.make.in (build-pt-chown): New variable.
11680 * configure.in (--enable-pt_chown): New configure option.
11681 * configure: Regenerate.
11682 * login/Makefile: Include Makeconfig. Build pt_chown only if
11683 build-pt-chown is enabled.
11684 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11685 pt_chown to fix pty ownership.
11686 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11687 CLOSE_ALL_FDS.
11688 * manual/install.texi (Configuring and compiling): Mention
11689 --enable-pt_chown. Add @findex for grantpt.
11690 * INSTALL: Regenerate.
11691
da2d62df
DM
116922013-07-20 David S. Miller <davem@davemloft.net>
11693
11694 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11695 difference between 32-bit and 64-bit.
11696
d7e06450
CD
116972013-07-15 Carlos O'Donell <carlos@redhat.com>
11698
11699 [BZ #15711]
11700 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11701 Avoid system header dependency with -ffreestanding.
11702 ($(objpfx)bits/syscall%d): Likewise.
11703
f959cfd7
DM
117042013-07-13 David S. Miller <davem@davemloft.net>
11705
11706 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11707 underflows from atanl/atan2l due to bug 15319.
11708 (casinh_test_data): Likewise.
11709
c61f8513
DM
117102013-07-07 David S. Miller <davem@davemloft.net>
11711
11712 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11713
72c90ed0
JA
117142013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11715
11716 * sysdeps/i386/fpu/libm-test-ulps: Update.
11717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11718
52dfbe13
SP
117192013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11720
11721 * configure.in (--enable-lock-elision): Fix message text.
11722 * INSTALL: Regenerate.
11723 * configure: Regenerate.
11724
3f169543
AZ
117252013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11726
11727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11728
521c6785
AJ
117292013-07-03 Andreas Jaeger <aj@suse.de>
11730
11731 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11732 define.
11733 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11734 (ptrace_peeksiginfo_args): Add.
11735 (__ptrace_peeksiginfo_flags): Add.
11736 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11737 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11738 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11739
d2cc15cb
AM
117402013-07-03 Allan McRae <allan@archlinux.org>
11741
11742 * sysdeps/i386/fpu/libm-test-ulps: Update.
11743
3aaeeca7
DM
117442013-07-02 David S. Miller <davem@davemloft.net>
11745
11746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11747
5314ed1a
MT
117482013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11749
11750 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11751
67338156
JM
117522013-07-02 Joseph Myers <joseph@codesourcery.com>
11753
11754 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11756
1717da59
AK
117572013-07-02 Andi Kleen <ak@linux.intel.com>
11758
11759 * config.h.in (ENABLE_LOCK_ELISION): Add.
11760 * configure.in (--enable-lock-elision): Add option.
11761 * manual/install.texi: Document --enable lock elision.
11762 * configure: Regenerate
11763 * INSTALL: Regenerate.
11764
1c81621c
L
117652013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11766
11767 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11768 SSE4.2 strcasecmp for libc.a.
11769 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11770
77f01ab5
JM
117712013-07-02 Joseph Myers <joseph@codesourcery.com>
11772
11773 [BZ #13304]
11774 * soft-fp/op-common.h (_FP_FMA): New macro.
11775 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11776 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11777 (_FP_MUL_MEAT_1_imm): ... here.
11778 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11779 (_FP_MUL_MEAT_1_wide): ... here.
11780 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11781 (_FP_MUL_MEAT_1_hard): ... here.
11782 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11783 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11784 (_FP_MUL_MEAT_2_wide): ... here.
11785 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11786 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11787 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11788 (_FP_MUL_MEAT_2_gmp): ... here.
11789 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11790 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11791 (_FP_MUL_MEAT_4_wide): ... here.
11792 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11793 (_FP_MUL_MEAT_4_gmp): ... here.
11794 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11795 (_FP_WFRACBITS_DW_S): Likewise.
11796 (_FP_WFRACXBITS_DW_S): Likewise.
11797 (_FP_HIGHBIT_DW_S): Likewise.
11798 (FP_FMA_S): Likewise.
11799 (_FP_FRAC_HIGH_DW_S): Likewise.
11800 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11801 (_FP_WFRACBITS_DW_D): Likewise.
11802 (_FP_WFRACXBITS_DW_D): Likewise.
11803 (_FP_HIGHBIT_DW_D): Likewise.
11804 (FP_FMA_D): Likewise.
11805 (_FP_FRAC_HIGH_DW_D): Likewise.
11806 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11807 (_FP_WFRACBITS_DW_E): Likewise.
11808 (_FP_WFRACXBITS_DW_E): Likewise.
11809 (_FP_HIGHBIT_DW_E): Likewise.
11810 (FP_FMA_E): Likewise.
11811 (_FP_FRAC_HIGH_DW_E): Likewise.
11812 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11813 (_FP_WFRACBITS_DW_Q): Likewise.
11814 (_FP_WFRACXBITS_DW_Q): Likewise.
11815 (_FP_HIGHBIT_DW_Q): Likewise.
11816 (FP_FMA_Q): Likewise.
11817 (_FP_FRAC_HIGH_DW_Q): Likewise.
11818 * soft-fp/fmasf4.c: New file.
11819 * soft-fp/fmadf4.c: Likewise.
11820 * soft-fp/fmatf4.c: Likewise.
11821
6308fd9a
LD
118222013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11823
11824 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11825 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11826 Silvermont.
11827 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11828 macro.
11829 (index_Slow_SSE4_2): Likewise.
11830 (index_Prefer_PMINUB_for_stringop): Likewise.
11831 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11832 bit_Slow_SSE4_2 is set.
11833 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11834 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11835
89cd9569
RA
118362013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11837
11838 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11839 rtld_global._dl_hwcap2.
11840 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11841 POWER8.
11842 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11843 POWER8 feature descriptions defined in _dl_hwcap2.
11844 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11845 string handling for POWER8 feature bits.
11846 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11847 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11848 _dl_powerpc_cap_flags.
11849 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11850 * sysdeps/powerpc/rtld-global-offsets.sym
11851 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11852 _dl_hwcap2 in the rtld_global_ro structure.
11853
1ae8bfe0
RA
118542013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11855
11856 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11857 hardware capabilities in support of AT_HWCAP2.
11858 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11859 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11860 GLRO(dl_hwcap2).
11861 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11862 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11863 explicitly the unknown a_type display mechanism is used.
11864 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11865 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11866 struct member.
11867 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11868 to macro prototype for AT_HWCAP2 support.
11869 * sysdeps/i386/dl-procinfo.h: Likewise.
11870 * sysdeps/s390/dl-procinfo.h: Likewise.
11871 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11872 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11873 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11874 return -1 for unknown a_type display fallback.
11875 * sysdeps/sparc/dl-procinfo.h: Likewise.
11876 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11877 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11878
8fbec010
JM
118792013-06-28 Joseph Myers <joseph@codesourcery.com>
11880
11881 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11882 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11883
0432680e
PY
118842013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11885
11886 [BZ #12492]
11887 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11888 mprotect making __stack_prot writable.
11889
ce61a2ad
NF
118902013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11891 Joseph Myers <joseph@codesourcery.com>
11892
11893 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11894 as being properly aligned.
11895
f91f1c0f
MR
118962013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11897
3d0f5d0c
MR
11898 * dlfcn/modstatic5.c: New file.
11899 * dlfcn/tststatic5.c: New file.
11900 * dlfcn/Makefile (tests): Add tststatic5.
11901 (tests-static): Likewise.
11902 (modules-names): Add modstatic5.
11903 (tststatic5-ENV): New variable.
11904 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11905
f91f1c0f
MR
11906 [BZ #15022]
11907 * elf/dl-support.c (_dl_main_map): New variable.
11908 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11909 (_dl_nns, _dl_load_adds): Set to 1.
11910 (_dl_initial_searchlist): Refer to _dl_main_map.
11911 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11912 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11913 call to _dl_get_origin.
11914 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11915 around call_map.
11916 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11917 * dlfcn/modstatic3.c: New file.
11918 * dlfcn/tststatic3.c: New file.
11919 * dlfcn/tststatic4.c: New file.
11920 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11921 (tests-static): Likewise.
11922 (modules-names): Add modstatic3.
11923 (tststatic3-ENV, tststatic4-ENV): New variables.
11924 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11925 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11926
cbe7d24b
JM
119272013-06-26 Joseph Myers <joseph@codesourcery.com>
11928
11929 * configure.in (CC): Require GCC version 4.4 or later.
11930 * configure: Regenerated.
11931 * manual/install.texi (Tools for Compilation): Update GCC version
11932 requirement.
11933 * INSTALL: Regenerated.
11934
11b8a0e1
LD
119352013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11936
11937 [BZ #15674]
bb5bb87c
L
11938 * string/test-memcmp.c (check2): New.
11939 (main): Call check2.
11940
11b8a0e1
LD
11941 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11942
b0037103
MR
119432013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11944
11945 [BZ #15022]
11946 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11947 over to...
11948 (dl_open_worker) [!SHARED]: ... here.
11949
c18c701d
RA
119502013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11951
11952 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11953
1d17fa5f
RH
119542013-06-25 Richard Henderson <rth@redhat.com>
11955
11956 * locale/programs/locarchive.c: Include <libc-internal.h>
11957
8fcb833a
JM
119582013-06-25 Joseph Myers <joseph@codesourcery.com>
11959
11960 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11961 trailing whitespace removed.
11962
17db6e8d
MF
119632013-06-24 Mike Frysinger <vapier@gentoo.org>
11964
11965 [BZ #10283]
17db6e8d
MF
11966 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11967 * locale/programs/locarchive.c: Include libc-mmap.h.
11968 (prepare_address_space): Take two new outputs (the mmap base and len).
11969 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11970 values.
11971 (create_archive): Declare new mmap base and len values for
11972 prepare_address_space, and store the result in ah.
11973 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11974 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11975 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11976 Declare new mmap base and len values for
11977 prepare_address_space, and store the result in new_ah.
11978 (open_archive): Declare new mmap base and len values for
11979 prepare_address_space, and store the result in ah.
11980 (close_archive): If ah->mmap_base is not NULL, use that and
11981 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11982 * sysdeps/generic/libc-mmap.h: New file.
11983
d605071e
MF
119842013-06-24 Mike Frysinger <vapier@gentoo.org>
11985
11986 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11987 (ALIGN_UP): Likewise.
11988 (PTR_ALIGN_DOWN): Likewise.
11989 (PTR_ALIGN_UP): Likewise.
11990
2f063a6e
RA
119912013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11992
11993 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11994 entry mapped to PPC_PLATFORM_POWER8.
11995 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11996 POWER8.
11997 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11998 (_dl_string_platform): Add case for exporting platform position for
11999 POWER8.
12000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12001 search path to sysdeps/powerpc/powerpc32/power8 directory.
12002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12003 search path to sysdeps/powerpc/powerpc64/power8 directory.
12004 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12005 power7 directories.
12006 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12007 power7 directories.
12008
a31ee4b3
SP
120092013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12010
a74ca98f
SP
12011 * INSTALL: Regenerate.
12012
a31ee4b3
SP
12013 * nscd/connections.c (nscd_init): Fix comment.
12014
695c378f
JM
120152013-06-22 Joseph Myers <joseph@codesourcery.com>
12016
d8412221
JM
12017 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12018
695c378f
JM
12019 [BZ #15667]
12020 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12021 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12022
d1d54715
MR
120232013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12024
12025 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12026 DL_DST_REQ_STATIC.
12027 (DL_DST_REQ_STATIC): Remove macro.
12028
8fdda7af
JM
120292013-06-21 Joseph Myers <joseph@codesourcery.com>
12030
12031 [BZ #7006]
12032 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12033 with a shift of 0 bits.
12034
f3bc5e5a
MR
120352013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
12036
12037 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12038 $(tststatic-ENV).
12039
be09e8c9
KK
120402013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12041
12042 [BZ #15655]
12043 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12044
85c2e611
AZ
120452013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12046
12047 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12048 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12049 accepts -fno-tree-loop-distribute-patterns.
12050 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12051 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12052 recursive call.
12053 * string/memset.c (memset): Likewise.
12054 * string/test-memmove.c (simple_memmove): Disable loop transformation
12055 to library calls.
12056 * string/test-memset.c (simple_memset): Likewise.
12057 * benchtests/bench-memmove.c (simple_memmove): Likewise.
12058 * benchtests/bench-memset.c (simple_memset): Likewise.
12059 * configure: Regenerated.
12060
c91e0825
JM
120612013-06-20 Joseph Myers <joseph@codesourcery.com>
12062
b8c792af
JM
12063 * math/test-misc.c (main): Ignore fesetround failure when failures
12064 of subsequent rounding tests would be ignored.
12065
c91e0825
JM
12066 [BZ #15654]
12067 * math/fedisblxcpt.c (fedisableexcept): Return 0.
12068 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12069 * math/fegetenv.c (__fegetenv): Return 0.
12070 * math/fegetexcept.c (fegetexcept): Return 0.
12071 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12072 FE_TONEAREST.
12073 * math/feholdexcpt.c (feholdexcept): Return 0.
12074 * math/fesetenv.c (__fesetenv): Return 0.
12075 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12076 argument FE_TONEAREST.
12077 * math/feupdateenv.c (__feupdateenv): Return 0.
12078 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12079
bfcacbde
RM
120802013-06-18 Roland McGrath <roland@hack.frob.com>
12081
12082 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12083 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12084 ($(objpfx)rtld-%.os rules): Use them.
12085
e55a9b25
AZ
120862013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12087
12088 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12089 fields.
12090
346d65b3
RM
120912013-06-17 Roland McGrath <roland@hack.frob.com>
12092
12086fb4
RM
12093 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12094 length of target pattern, then descending length of dependency pattern.
12095 * configure.in (AWK): Require gawk 3.1.2 or newer.
12096 * manual/install.texi (Tools for Compilation): Say that we do.
12097 * configure: Regenerated.
12098
346d65b3
RM
12099 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12100 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12101 * scripts/sysd-rules.awk: ... this new script.
12102 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12103 than a glob-style pattern.
12104
1a846317
JM
121052013-06-17 Joseph Myers <joseph@codesourcery.com>
12106
12107 * math/test-misc.c (main): Do not treat incorrectly rounded
12108 conversions as failure unless ROUNDING_TESTS passes.
12109
8fc75e6f
JM
121102013-06-15 Joseph Myers <joseph@codesourcery.com>
12111
3711a167
JM
12112 [BZ #15631]
12113 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12114 restore exception state around main square root computation, then
12115 check for inexactness explicitly.
12116
8fc75e6f
JM
12117 * math/libm-test.inc (fma_test_data): Add another test.
12118
61dd6208
SP
121192013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12120
adf23d2c
SP
12121 * manual/threads.texi (Non-POSIX Extensions): New document
12122 node. Document pthread_getattr_default_np and
12123 pthread_setattr_default_np.
12124
61dd6208
SP
12125 * Versions.def (libpthread): Add GLIBC_2.18.
12126 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12128 Likewise.
12129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12130 Likewise.
12131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12132 Likewise.
12133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12134 Likewise.
12135 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12136 Likewise.
12137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12138 Likewise.
12139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12140 Likewise.
12141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12142 Likewise.
12143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12144 Likewise.
12145
d086fc7b
LD
121462013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12147
12148 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12149 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12150
747ef469
SP
121512013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12152 H.J. Lu <hjl.tools@gmail.com>
12153
12154 [BZ #15627]
12155 * sysdeps/x86_64/rtld-memset.c: Remove file.
12156 * sysdeps/x86_64/rtld-memset.S: New file.
12157
1b2feed2
JM
121582013-06-14 Joseph Myers <joseph@codesourcery.com>
12159
12160 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12161 (test_in_one_mode): Take arguments for whether the rounding mode
12162 is supported for each floating-point type.
12163 (do_test): Pass new arguments to test_in_one_mode using
12164 ROUNDING_TESTS.
12165
a58ad3f8
RM
121662013-06-13 Roland McGrath <roland@hack.frob.com>
12167
12168 * posix/tst-waitid.c (do_test): Distinguish different instances of
12169 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12170 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12171 before entering the kernel for waitpid.
12172
c204ab28
SP
121732013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12174
12175 * NEWS: Fix note on clock function precision. Text by Roland
12176 McGrath.
12177
f4a29fba
RM
121782013-06-13 Roland McGrath <roland@hack.frob.com>
12179
12180 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12181 it into place only when and if the sanity check passes.
12182
1f24b9ad
JM
121832013-06-13 Joseph Myers <joseph@codesourcery.com>
12184
12185 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12186 output for whether conversion result is exact. Take argument
12187 indicating whether type is IBM long double.
12188 (round_for_all): Change need_exact field to ibm_ld.
12189 * stdlib/tst-strtod-round.c (struct exactness): New type.
12190 (struct test): Change bool ld_ok field to struct exactness exact.
12191 (TEST): Update all definitions for change to field.
12192 (tests): Regenerate array contents.
12193 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12194 field value. Check for IBM long double here.
12195 (do_test): Update calls to test_in_one_mode.
12196
58206c68
SP
121972013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12198
12199 [BZ #12515]
12200 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12201 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12202
2d6f4c5b 122032013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
12204
12205 [BZ #15605]
12206 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12207 generated by the compiler on loop optimizations.
12208 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12209 general definitions.
12210
94f2c076
JM
122112013-06-12 Joseph Myers <joseph@codesourcery.com>
12212
12213 * math/bug-nextafter.c: Include <math-tests.h>.
12214 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12215 the relevant type.
12216 * math/bug-nexttoward.c: Include <math-tests.h>.
12217 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12218 the relevant type.
12219 * math/test-misc.c: Include <math-tests.h>.
12220 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12221 the relevant type.
12222
e0e50a0a
AJ
122232013-06-12 Andreas Jaeger <aj@suse.de>
12224
12225 * po/ia.po: Update Interlingua translation from translation
12226 project.
12227
25061094
SP
122282013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12229
12230 * include/fenv.h: Include stdbool.h.
12231 (struct rm_ctx): New structure.
12232 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12233 Define macro.
12234 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12235 (SET_RESTORE_ROUNDF): Likewise.
12236 (SET_RESTORE_ROUNDL): Likewise.
12237 (SET_RESTORE_ROUND_NOEX): Likewise.
12238 (SET_RESTORE_ROUND_NOEXF): Likewise.
12239 (SET_RESTORE_ROUND_NOEXL): Likewise.
12240 (SET_RESTORE_ROUND_53BIT): Likewise.
12241 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12242 (libc_feresetround_noexf_ctx): Likewise.
12243 (libc_feresetround_noexl_ctx): Likewise.
12244 (libc_feholdsetround_53bit_ctx): Likewise.
12245 (libc_feresetround_53bit_ctx): Likewise.
12246 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12247 (libc_feholdexcept_setround_sse_ctx): New function.
12248 (libc_fesetenv_sse_ctx): Likewise.
12249 (libc_feupdateenv_sse_ctx): Likewise.
12250 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12251 (libc_feholdexcept_setround_387_ctx): Likewise.
12252 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12253 (libc_feholdsetround_387_prec_ctx): Likewise.
12254 (libc_feholdsetround_387_ctx): Likewise.
12255 (libc_feholdsetround_387_53bit_ctx): Likewise.
12256 (libc_feholdsetround_sse_ctx): Likewise.
12257 (libc_feresetround_sse_ctx): Likewise.
12258 (libc_feresetround_387_ctx): Likewise.
12259 (libc_feupdateenv_387_ctx): Likewise.
12260 (libc_feholdexcept_setroundf_ctx): Define macro.
12261 (libc_fesetenvf_ctx): Likewise.
12262 (libc_feupdateenvf_ctx): Likewise.
12263 (libc_feholdsetroundf_ctx): Likewise.
12264 (libc_feresetroundf_ctx): Likewise.
12265 (libc_feholdexcept_setround_ctx): Likewise.
12266 (libc_fesetenv_ctx): Likewise.
12267 (libc_feupdateenv_ctx): Likewise.
12268 (libc_feholdsetround_ctx): Likewise.
12269 (libc_feresetround_ctx): Likewise.
12270 (libc_feholdexcept_setroundl_ctx): Likewise.
12271 (libc_feupdateenvl_ctx): Likewise.
12272 (libc_feholdsetroundl_ctx): Likewise.
12273 (libc_feresetroundl_ctx): Likewise.
12274 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12275 (libc_feresetround_53bit_ctx): Likewise.
12276
59b30555
SP
122772013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12278
12279 * locale/iso-639.def: Convert to UTF-8.
12280
f1d73d30
JM
122812013-06-11 Joseph Myers <joseph@codesourcery.com>
12282
12283 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12284 (EXCEPTION_TESTS_double): Likewise.
12285 (EXCEPTION_TESTS_long_double): Likewise.
12286 (EXCEPTION_TESTS): Likewise.
12287 * math/libm-test.inc (test_exceptions): Only test exceptions if
12288 EXCEPTION_TESTS (FLOAT).
12289
94aca5e7
SP
122902013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12291
12292 * benchtests/Makefile (string-bench): Add strcpy_chk and
12293 stpcpy_chk.
12294 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12295 * benchtests/bench-stpcpy_chk.c: New file.
12296 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12297 * benchtests/bench-strcpy_chk.c: New file.
12298 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12299 code.
12300 (do_test): Likewise.
12301
fac0c5f2
RA
123022013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12303
12304 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12305 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12306 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12307 with tabs where appropriate.
12308 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12309 dl-procinfo.h.
12310 [PPC_PLATFORM_PPC440]: Likewise.
12311 [PPC_PLATFORM_PPC464]: Likewise.
12312 [PPC_PLATFORM_PPC476]: Likewise.
12313 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12314 ppc464, and ppc476 platform strings merging from ports/
12315 dl-procinfo.h.
12316
f22bc486
AS
123172013-06-11 Andreas Schwab <schwab@suse.de>
12318
12319 [BZ #14991]
12320 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12321 (from_ucs4_idx): Regenerate.
12322 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12323 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12324 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12325 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12326 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12327 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12328 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12329 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12330 from FROM_LOOP and TO_LOOP specific macros.
12331 (BODY): Handle combining characters.
12332 * iconvdata/BIG5HKSCS.irreversible: Update.
12333 * iconvdata/BIG5HKSCS.precomposed: New file.
12334 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12335 characters.
12336 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12337
c1f75dc3
SP
123382013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12339
4eacded2
SP
12340 * include/sys/time.h: Fix indentation and add copyright header.
12341
fec799f8
SP
12342 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12343 (do_test): Likewise.
12344 * string/test-memchr.c (do_one_test): Likewise.
12345 (do_test): Likewise.
12346 * string/test-memcmp.c (do_one_test): Likewise.
12347 (do_test): Likewise.
12348 * string/test-memcpy.c (do_one_test): Likewise.
12349 (do_test): Likewise.
12350 * string/test-memmem.c (do_one_test): Likewise.
12351 (do_test): Likewise.
12352 (do_random_tests): Likewise.
12353 * string/test-memmove.c (do_one_test): Likewise.
12354 (do_test): Likewise.
12355 * string/test-memset.c (do_one_test): Likewise.
12356 (do_test): Likewise.
12357 * string/test-rawmemchr.c (do_one_test): Likewise.
12358 (do_test): Likewise.
12359 * string/test-strcasecmp.c (do_one_test): Likewise.
12360 (do_test): Likewise.
12361 * string/test-strcasestr.c (do_one_test): Likewise.
12362 (do_test): Likewise.
12363 * string/test-strcat.c (do_one_test): Likewise.
12364 (do_test): Likewise.
12365 * string/test-strchr.c (do_one_test): Likewise.
12366 (do_test): Likewise.
12367 * string/test-strcmp.c (do_one_test): Likewise.
12368 (do_test): Likewise.
12369 * string/test-strcpy.c (do_one_test): Likewise.
12370 (do_test): Likewise.
12371 * string/test-string.h: Likewise.
12372 (test_init): Likewise.
12373 * string/test-strlen.c (do_one_test): Likewise.
12374 (do_test): Likewise.
12375 * string/test-strncasecmp.c (do_one_test): Likewise.
12376 (do_test): Likewise.
12377 * string/test-strncat.c (do_one_test): Likewise.
12378 (do_test): Likewise.
12379 * string/test-strncmp.c (do_one_test): Likewise.
12380 (do_test_limit): Likewise.
12381 (do_test): Likewise.
12382 * string/test-strncpy.c (do_one_test): Likewise.
12383 (do_test): Likewise.
12384 * string/test-strnlen.c (do_one_test): Likewise.
12385 (do_test): Likewise.
12386 * string/test-strpbrk.c (do_one_test): Likewise.
12387 (do_test): Likewise.
12388 * string/test-strrchr.c (do_one_test): Likewise.
12389 (do_test): Likewise.
12390 * string/test-strspn.c (do_one_test): Likewise.
12391 (do_test): Likewise.
12392 * string/test-strstr.c (do_one_test): Likewise.
12393 (do_test): Likewise.
12394
97020474
SP
12395 * benchtests/Makefile (string-bench): Add string benchmarks.
12396 * benchtests/bench-bcopy-ifunc.c: New file.
12397 * benchtests/bench-bcopy.c: New file.
12398 * benchtests/bench-bzero-ifunc.c: New file.
12399 * benchtests/bench-bzero.c: New file.
12400 * benchtests/bench-memccpy-ifunc.c: New file.
12401 * benchtests/bench-memccpy.c: New file.
12402 * benchtests/bench-memchr-ifunc.c: New file.
12403 * benchtests/bench-memchr.c: New file.
12404 * benchtests/bench-memcmp-ifunc.c: New file.
12405 * benchtests/bench-memcmp.c: New file.
12406 * benchtests/bench-memmem-ifunc.c: New file.
12407 * benchtests/bench-memmem.c: New file.
12408 * benchtests/bench-memmove-ifunc.c: New file.
12409 * benchtests/bench-memmove.c: New file.
12410 * benchtests/bench-mempcpy-ifunc.c: New file.
12411 * benchtests/bench-mempcpy.c: New file.
12412 * benchtests/bench-memset-ifunc.c: New file.
12413 * benchtests/bench-memset.c: New file.
12414 * benchtests/bench-rawmemchr-ifunc.c: New file.
12415 * benchtests/bench-rawmemchr.c: New file.
12416 * benchtests/bench-stpcpy-ifunc.c: New file.
12417 * benchtests/bench-stpcpy.c: New file.
12418 * benchtests/bench-stpncpy-ifunc.c: New file.
12419 * benchtests/bench-stpncpy.c: New file.
12420 * benchtests/bench-strcasecmp-ifunc.c: New file.
12421 * benchtests/bench-strcasecmp.c: New file.
12422 * benchtests/bench-strcasestr-ifunc.c: New file.
12423 * benchtests/bench-strcasestr.c: New file.
12424 * benchtests/bench-strcat-ifunc.c: New file.
12425 * benchtests/bench-strcat.c: New file.
12426 * benchtests/bench-strchr-ifunc.c: New file.
12427 * benchtests/bench-strchr.c: New file.
12428 * benchtests/bench-strchrnul-ifunc.c: New file.
12429 * benchtests/bench-strchrnul.c: New file.
12430 * benchtests/bench-strcmp-ifunc.c: New file.
12431 * benchtests/bench-strcmp.c: New file.
12432 * benchtests/bench-strcpy-ifunc.c: New file.
12433 * benchtests/bench-strcpy.c: New file.
12434 * benchtests/bench-strcspn-ifunc.c: New file.
12435 * benchtests/bench-strcspn.c: New file.
12436 * benchtests/bench-strlen-ifunc.c: New file.
12437 * benchtests/bench-strlen.c: New file.
12438 * benchtests/bench-strncasecmp-ifunc.c: New file.
12439 * benchtests/bench-strncasecmp.c: New file.
12440 * benchtests/bench-strncat-ifunc.c: New file.
12441 * benchtests/bench-strncat.c: New file.
12442 * benchtests/bench-strncmp-ifunc.c: New file.
12443 * benchtests/bench-strncmp.c: New file.
12444 * benchtests/bench-strncpy-ifunc.c: New file.
12445 * benchtests/bench-strncpy.c: New file.
12446 * benchtests/bench-strnlen-ifunc.c: New file.
12447 * benchtests/bench-strnlen.c: New file.
12448 * benchtests/bench-strpbrk-ifunc.c: New file.
12449 * benchtests/bench-strpbrk.c: New file.
12450 * benchtests/bench-strrchr-ifunc.c: New file.
12451 * benchtests/bench-strrchr.c: New file.
12452 * benchtests/bench-strspn-ifunc.c: New file.
12453 * benchtests/bench-strspn.c: New file.
12454 * benchtests/bench-strstr-ifunc.c: New file.
12455 * benchtests/bench-strstr.c: New file.
12456
c1f75dc3
SP
12457 * benchtests/Makefile: Disable parallel execution of targets.
12458 (string-bench): Add memcpy.
12459 (benchset): New variable to store a list of benchmark sets.
12460 (bench-func): Renamed from bench.
12461 (bench-set): New target.
12462 (bench): Depend on bench-func and bench-set.
12463 * benchtests/README: Add section on benchmark sets.
12464 * benchtests/bench-memcpy-ifunc.c: New file.
12465 * benchtests/bench-memcpy.c: New file.
12466 * benchtests/bench-string.h: New file.
12467
50fd745b
AS
124682013-06-11 Andreas Schwab <schwab@suse.de>
12469
12470 [BZ #15577]
12471 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12472 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12473 values in the triple.
12474 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12475 terminator in the group key.
12476
3ee7e9fe
AJ
124772013-06-11 Andreas Jaeger <aj@suse.de>
12478
12479 * po/zh_TW.po: Update Chinese (traditional) translation from
12480 translation project.
12481
89fb6835
SP
124822013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12483
12484 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12485 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12486 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12487 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12488 (clock_getcpuclockid): Likewise.
12489 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12490 Add weak_alias and libc_hidden_def.
12491 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12492 * rt/clock_gettime.c (clock_gettime): Rename to
12493 __clock_gettime. Add weak_alias and libc_hidden_def.
12494 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12495 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12496 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12497 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12498 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12499 Likewise.
12500 * rt/clock_settime.c (clock_settime): Rename to
12501 __clock_settime. Add weak_alias and libc_hidden_def.
12502 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12503
0efa6f8b
JM
125042013-06-10 Joseph Myers <joseph@codesourcery.com>
12505
b8c61b4b
JM
12506 * mach/err_boot.sub: Remove trailing whitespace.
12507 * mach/err_ipc.sub: Likewise.
12508 * mach/err_mach.sub: Likewise.
12509
0efa6f8b
JM
12510 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12511 (ROUNDING_TESTS_double): Likewise.
12512 (ROUNDING_TESTS_long_double): Likewise.
12513 (ROUNDING_TESTS): Likewise.
12514 * math/libm-test.inc: Include <math-tests.h>.
12515 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12516 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12517 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12518 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12519
50b818bf
SP
125202013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12521
12522 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12523 of assigning.
12524
60d2f8f3
JM
125252013-06-08 Joseph Myers <joseph@codesourcery.com>
12526
4902d2c3
JM
12527 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12528 otherwise empty TRANS lines.
12529 * sysdeps/gnu/errlist.c: Regenerated.
12530
60d2f8f3
JM
12531 * catgets/gencat.c (error_print): Use (void) in function
12532 definition.
12533 * crypt/crypt_util.c (__init_des): Likewise.
12534 * crypt/speeds.c (Stop): Likewise.
12535 (main): Likewise.
12536 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12537 * inet/ruserpass.c (token): Likewise.
12538 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12539 * intl/localealias.c (extend_alias_table): Likewise.
12540 * intl/plural-exp.c (init_germanic_plural): Likewise.
12541 * libio/fcloseall.c (__fcloseall): Likewise.
12542 * libio/genops.c (_IO_flush_all): Likewise.
12543 (_IO_flush_all_linebuffered): Likewise.
12544 (_IO_cleanup): Likewise.
12545 (_IO_iter_begin): Likewise.
12546 (_IO_iter_end): Likewise.
12547 (_IO_list_lock): Likewise.
12548 (_IO_list_unlock): Likewise.
12549 (_IO_list_resetlock): Likewise.
12550 * libio/getchar.c (getchar): Likewise.
12551 * libio/getchar_u.c (getchar_unlocked): Likewise.
12552 * libio/getwchar.c (getwchar): Likewise.
12553 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12554 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12555 * login/getpt.c (__getpt): Likewise.
12556 * login/tst-utmp.c (main): Likewise.
12557 * malloc/hooks.c (__malloc_check_init): Likewise.
12558 * malloc/malloc.c (__malloc_stats): Likewise.
12559 * malloc/mtrace.c (tr_break): Likewise.
12560 (mtrace): Likewise.
12561 (muntrace): Likewise.
12562 * misc/fstab.c (endfsent): Likewise.
12563 * misc/getclktck.c (__getclktck): Likewise.
12564 * misc/getdtsz.c (__getdtablesize): Likewise.
12565 * misc/gethostid.c (gethostid): Likewise.
12566 * misc/getpagesize.c (__getpagesize): Likewise.
12567 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12568 (__get_nprocs): Likewise.
12569 (__get_phys_pages): Likewise.
12570 (__get_avphys_pages): Likewise.
12571 * misc/getttyent.c (getttyent): Likewise.
12572 (setttyent): Likewise.
12573 (endttyent): Likewise.
12574 * misc/getusershell.c (getusershell): Likewise.
12575 (endusershell): Likewise.
12576 (setusershell): Likewise.
12577 (initshells): Likewise.
12578 * misc/hsearch.c (__hdestroy): Likewise.
12579 * misc/sync.c (sync): Likewise.
12580 * misc/syslog.c (closelog_internal): Likewise.
12581 (closelog): Likewise.
12582 * misc/ttyslot.c (ttyslot): Likewise.
12583 * misc/vhangup.c (vhangup): Likewise.
12584 * posix/fork.c (__fork): Likewise.
12585 * posix/getegid.c (__getegid): Likewise.
12586 * posix/geteuid.c (__geteuid): Likewise.
12587 * posix/getgid.c (__getgid): Likewise.
12588 * posix/getpid.c (__getpid): Likewise.
12589 * posix/getppid.c (__getppid): Likewise.
12590 * posix/getuid.c (__getuid): Likewise.
12591 * posix/pause.c (pause): Likewise.
12592 * posix/setpgrp.c (setpgrp): Likewise.
12593 * posix/setsid.c (__setsid): Likewise.
12594 * posix/test-vfork.c (noop): Likewise.
12595 * resolv/gethnamaddr.c (_endhtent): Likewise.
12596 (_gethtent): Likewise.
12597 (ht_endhostent): Likewise.
12598 (gethostent): Likewise.
12599 (dns_service): Likewise.
12600 * stdlib/drand48.c (drand48): Likewise.
12601 * stdlib/lrand48.c (lrand48): Likewise.
12602 * stdlib/mrand48.c (mrand48): Likewise.
12603 * stdlib/rand.c (rand): Likewise.
12604 * stdlib/random.c (__random): Likewise.
12605 * stdlib/setenv.c (clearenv): Likewise.
12606 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12607 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12608 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12609 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12610 (__get_nprocs): Likewise.
12611 (__get_phys_pages): Likewise.
12612 (__get_avphys_pages): Likewise.
12613 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12614 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12615 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12616 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12617 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12618 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12619 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12620 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12621 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12622 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12623 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12624 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12625 * sysdeps/posix/clock.c (clock): Likewise.
12626 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12627 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12628 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12629 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12630 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12631 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12632 (__get_nprocs_conf): Likewise.
12633 (__get_phys_pages): Likewise.
12634 (__get_avphys_pages): Likewise.
12635 * time/clock.c (clock): Likewise.
12636 * time/tzset.c (__tzname_max): Likewise.
12637
2e09a79a
JM
126382013-06-07 Joseph Myers <joseph@codesourcery.com>
12639
12640 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12641 (__bswap_32): Do not use "register".
12642 * crypt/crypt.c (_ufc_doit_r): Likewise.
12643 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12644 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12645 * gmon/gmon.c (__monstartup): Likewise.
12646 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12647 * hurd/hurdmalloc.c (more_memory): Likewise.
12648 (malloc): Likewise.
12649 (free): Likewise.
12650 (realloc): Likewise.
12651 (malloc_fork_prepare): Likewise.
12652 (malloc_fork_parent): Likewise.
12653 (malloc_fork_child): Likewise.
12654 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12655 (_svcauth_des): Likewise.
12656 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12657 * inet/inet_net.c (inet_network): Likewise.
12658 * inet/inet_netof.c (inet_netof): Likewise.
12659 * inet/rcmd.c (__validuser2_sa): Likewise.
12660 * io/fts.c (fts_open): Likewise.
12661 (fts_load): Likewise.
12662 (fts_close): Likewise.
12663 (fts_read): Likewise.
12664 (fts_children): Likewise.
12665 (fts_build): Likewise.
12666 (fts_stat): Likewise.
12667 (fts_sort): Likewise.
12668 (fts_alloc): Likewise.
12669 (fts_lfree): Likewise.
12670 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12671 (_IO_file_xsgetn): Likewise.
12672 (_IO_file_xsgetn_mmap): Likewise.
12673 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12674 (_IO_cookie_write): Likewise.
12675 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12676 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12677 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12678 * malloc/obstack.c (_obstack_begin): Likewise.
12679 (_obstack_begin_1): Likewise.
12680 (_obstack_newchunk): Likewise.
12681 (_obstack_allocated_p): Likewise.
12682 (obstack_free): Likewise.
12683 (_obstack_memory_used): Likewise.
12684 * misc/getttyent.c (getttynam): Likewise.
12685 (getttyent): Likewise.
12686 (skip): Likewise.
12687 (value): Likewise.
12688 * misc/getusershell.c (initshells): Likewise.
12689 * misc/syslog.c (__vsyslog_chk): Likewise.
12690 * misc/ttyslot.c (ttyslot): Likewise.
12691 * nis/nis_hash.c (__nis_hash): Likewise.
12692 * posix/fnmatch_loop.c (FCT): Likewise.
12693 * posix/getconf.c (print_all): Likewise.
12694 (main): Likewise.
12695 * posix/getopt.c (exchange): Likewise.
12696 * posix/glob.c (globfree): Likewise.
12697 (prefix_array): Likewise.
12698 (__glob_pattern_type): Likewise.
12699 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12700 (NS_GET32): Likewise.
12701 (NS_PUT16): Likewise.
12702 (NS_PUT32): Likewise.
12703 * resolv/gethnamaddr.c (getanswer): Likewise.
12704 (gethostbyname2): Likewise.
12705 (gethostbyaddr): Likewise.
12706 (_gethtent): Likewise.
12707 (_gethtbyname2): Likewise.
12708 (_gethtbyaddr): Likewise.
12709 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12710 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12711 * resolv/res_init.c (__res_vinit): Likewise.
12712 (net_mask): Likewise.
12713 * resolv/res_mkquery.c (outchar): Likewise.
12714 (PRINT): Likewise.
12715 * stdio-common/printf_fp.c (outchar): Likewise.
12716 (PRINT): Likewise.
12717 * stdio-common/printf_fphex.c (outchar): Likewise.
12718 (PRINT): Likewise.
12719 * stdio-common/printf_size.c (outchar): Likewise.
12720 (PRINT): Likewise.
12721 * stdio-common/test_rdwr.c (main): Likewise.
12722 * stdio-common/tfformat.c (matches): Likewise.
12723 * stdio-common/vfprintf.c (outchar): Likewise.
12724 (printf_unknown): Likewise.
12725 (buffered_vfprintf): Likewise.
12726 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12727 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12728 (ReadFile): Likewise.
12729 * stdlib/qsort.c (SWAP): Likewise.
12730 (_quicksort): Likewise.
12731 * stdlib/setenv.c (__add_to_environ): Likewise.
12732 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12733 * stdlib/strtol_l.c (__strtol_l): Likewise.
12734 * stdlib/tst-strtod.c (main): Likewise.
12735 * stdlib/tst-strtol.c (main): Likewise.
12736 * stdlib/tst-strtoll.c (main): Likewise.
12737 * string/bits/string2.h (__strcmp_cc): Likewise.
12738 (__strcmp_cg): Likewise.
12739 (__strcspn_c1): Likewise.
12740 (__strcspn_c2): Likewise.
12741 (__strcspn_c3): Likewise.
12742 (__strspn_c1): Likewise.
12743 (__strspn_c2): Likewise.
12744 (__strspn_c3): Likewise.
12745 (__strsep_1c): Likewise.
12746 (__strsep_2c): Likewise.
12747 (__strsep_3c): Likewise.
12748 * string/memccpy.c (__memccpy): Likewise.
12749 * string/stpcpy.c (__stpcpy): Likewise.
12750 * string/strcmp.c (strcmp): Likewise.
12751 * string/strrchr.c (strrchr): Likewise.
12752 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12753 Likewise.
12754 * sysdeps/mach/hurd/getcwd.c
12755 (_hurd_canonicalize_directory_name_internal): Likewise.
12756 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12757 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12758 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12759 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12760 Likewise, in both definitions.
12761 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12762 definitions.
12763 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12764 64] (__bswap_64): Likewise.
12765 * time/test_time.c (main): Likewise.
12766 * time/tzfile.c (__tzfile_read): Likewise.
12767 (__tzfile_compute): Likewise.
12768 * time/tzset.c (__tzset_parse_tz): Likewise.
12769 (tzset_internal): Likewise.
12770 (compute_change): Likewise.
12771 * wcsmbs/wcscat.c (__wcscat): Likewise.
12772 * wcsmbs/wcschr.c (wcschr): Likewise.
12773 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12774 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12775 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12776 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12777 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12778 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12779 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12780 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12781 * wcsmbs/wmemset.c (wmemset): Likewise.
12782
9e54314b
JM
127832013-06-06 Joseph Myers <joseph@codesourcery.com>
12784
12785 * scripts/config.guess: Update to version 2013-05-16.
12786 * scripts/config.sub: Update to version 2013-04-24.
12787 * scripts/install-sh: Update to version 2011-11-20.07.
12788 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12789 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12790
350635a5
OB
127912013-06-06 Ondřej Bílka <neleai@seznam.cz>
12792
12793 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12794 * elf/sln.c: Likewise.
12795 * hurd/hurd/ioctl.h: Likewise.
12796 * hurd/hurdmalloc.c: Likewise.
12797 * hurd/xattr.c: Likewise.
12798 * include/shlib-compat.h: Likewise.
12799 * inet/ruserpass.c: Likewise.
12800 * libio/iofgets_u.c: Likewise.
12801 * libio/iofgetws_u.c: Likewise.
12802 * locale/programs/ld-identification.c: Likewise.
12803 * locale/programs/ld-time.c: Likewise.
12804 * mach/msg-destroy.c: Likewise.
12805 * nss/nss_files/files-netgrp.c: Likewise.
12806 * resolv/res_data.c: Likewise.
12807 * soft-fp/op-1.h: Likewise.
12808 * soft-fp/op-2.h: Likewise.
12809 * soft-fp/op-4.h: Likewise.
12810 * soft-fp/op-common.h: Likewise.
12811 * stdio-common/printf_fphex.c: Likewise.
12812 * stdlib/strtod_l.c: Likewise.
12813 * sunrpc/rpc/clnt.h: Likewise.
12814 * sysdeps/generic/framestate.c: Likewise.
12815 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12816 * sysdeps/i386/bsd-setjmp.S: Likewise.
12817 * sysdeps/i386/__longjmp.S: Likewise.
12818 * sysdeps/i386/setjmp.S: Likewise.
12819 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12820 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12821 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12822 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12823 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12824 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12825 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12826 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12827 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12828 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12829 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12830 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12831 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12832 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12833 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12834 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12835 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12836 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12837 * sysdeps/ieee754/support.c: Likewise.
12838 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12839 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12840 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12841 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12842 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12843 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12844 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12845 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12846 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12847 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12848 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12849 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12850 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12851 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12852 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12853 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12854 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12856
44a988af
OB
128572013-06-05 Ondřej Bílka <neleai@seznam.cz>
12858
25506f09 12859 * posix/transbug.c: Remove executable mode.
44a988af 12860
9c84384c
JM
128612013-06-05 Joseph Myers <joseph@codesourcery.com>
12862
12863 * crypt/speeds.c: Remove trailing whitespace.
12864 * dlfcn/default.c: Likewise.
12865 * elf/ifuncdep2.c: Likewise.
12866 * elf/ifuncmain1.c: Likewise.
12867 * elf/ifuncmain1vis.c: Likewise.
12868 * elf/testobj.h: Likewise.
12869 * elf/tst-stackguard1.c: Likewise.
12870 * gmon/sys/gmon.h: Likewise.
12871 * hurd/hurdmsg.c: Likewise.
12872 * hurd/new-fd.c: Likewise.
12873 * hurd/ports-get.c: Likewise.
12874 * iconvdata/ibm1008_420.c: Likewise.
12875 * inet/tst-getni1.c: Likewise.
12876 * inet/tst-getni2.c: Likewise.
12877 * libio/ioungetc.c: Likewise.
12878 * libio/wfiledoalloc.c: Likewise.
12879 * manual/libm-err-tab.pl: Likewise.
12880 * math/w_dremf.c: Likewise.
12881 * misc/ftruncate.c: Likewise.
12882 * posix/bug-glob2.c: Likewise.
12883 * posix/tst-pcre.c: Likewise.
12884 * posix/wait4.c: Likewise.
12885 * resolv/README: Likewise.
12886 * resolv/res_debug.h: Likewise.
12887 * resolv/tst-inet_ntop.c: Likewise.
12888 * setjmp/bug269-setjmp.c: Likewise.
12889 * soft-fp/extended.h: Likewise.
12890 * soft-fp/op-1.h: Likewise.
12891 * soft-fp/op-2.h: Likewise.
12892 * soft-fp/op-4.h: Likewise.
12893 * soft-fp/op-8.h: Likewise.
12894 * soft-fp/testit.c: Likewise.
12895 * stdio-common/bug16.c: Likewise.
12896 * stdlib/random.c: Likewise.
12897 * sunrpc/rpcsvc/rquota.x: Likewise.
12898 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12899 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12900 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12901 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12902 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12903 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12904 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12905 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12906 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12907 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12908 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12909 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12910 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12911 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12912 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12913 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12914 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12915 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12916 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12917 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12918 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12919 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12920 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12921 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12922 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12923 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12924 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12925 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12926 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12927 * sysdeps/ieee754/s_lib_version.c: Likewise.
12928 * sysdeps/mach/hurd/check_fds.c: Likewise.
12929 * sysdeps/mach/hurd/getsockname.c: Likewise.
12930 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12931 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12932 * sysdeps/powerpc/bits/link.h: Likewise.
12933 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12934 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12935 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12936 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12937 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12938 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12939 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12940 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12941 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12942 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12943 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12944 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12945 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12946 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12947 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12948 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12949 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12950 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12951 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12952 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12953 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12954 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12955 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12956 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12957 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12958 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12959 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12960 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12961 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12962 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12963 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12964 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12965 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12966 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12967 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12968 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12969 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12970 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12971 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12972 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12973 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12974 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12975 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12976 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12977 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12978 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12979 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12980 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12981 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12982 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12983 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12984 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12985 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12986 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12987 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12988 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12989 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12990 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12991 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12992 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12993 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12994 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12995 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12996 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12997 * sysdeps/powerpc/sysdep.h: Likewise.
12998 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12999 * sysdeps/s390/s390-64/sub_n.S: Likewise.
13000 * sysdeps/sh/dl-trampoline.S: Likewise.
13001 * sysdeps/sh/memset.S: Likewise.
13002 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13003 * sysdeps/sh/strlen.S: Likewise.
13004 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13005 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13006 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13007 * sysdeps/sparc/sparc32/rem.S: Likewise.
13008 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13009 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13010 * sysdeps/sparc/sparc32/strchr.S: Likewise.
13011 * sysdeps/sparc/sparc32/udiv.S: Likewise.
13012 * sysdeps/sparc/sparc32/urem.S: Likewise.
13013 * sysdeps/sparc/sparc64/add_n.S: Likewise.
13014 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13015 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13016 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13017 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13018 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13019 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13020 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13021 * sysdeps/unix/bsd/times.c: Likewise.
13022 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13023 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13027 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13028 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13029 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13030 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13031 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13032 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13033 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13034 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13035 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13036 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13037 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13038 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13039 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13040 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13041 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13042 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13043 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13044 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13045 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13046 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13047 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13048 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13049 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13050 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13051 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13052 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13053 * sysdeps/x86_64/strcspn.S: Likewise.
13054
869378a5
RA
130552013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13056
13057 * locale/C-translit.h: Revert #include <stdint.h> because this is a
13058 generated file. Regenerate properly from gen-translit.pl.
13059 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
13060 locale/C-translit.h.
13061
840e2943
AS
130622013-06-05 Andreas Schwab <schwab@suse.de>
13063
13064 [BZ #15100]
13065 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13066 week as 6 instead of -1.
13067 * time/tst-strptime.c (day_tests): Add test case.
13068
4c60cb0c
SP
130692013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13070
13071 * sysdeps/generic/math_private.h
13072 (libc_feholdexcept_setround_53bit): Replace with
13073 libc_feholdsetround_53bit.
13074 (libc_feupdateenv_53bit): Replace with
13075 libc_feresetround_53bit.
13076 (SET_RESTORE_ROUND_53BIT): Adjust.
13077
d180203e
SP
130782013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13079
96df079a
SP
13080 * string/test-strchrnul.c: Add copyright header.
13081
d180203e
SP
13082 * posix/tst-getaddrinfo4.c: Increase test timeout.
13083
8b0ccb2d
CD
130842013-06-03 Carlos O'Donell <carlos@redhat.com>
13085
13086 [BZ #15536]
13087 * math/libm-test.inc (MAX_EXP): Remove
13088 (MIN_EXP): Define.
13089 (ulp): Use MIN_EXP - MANT_DIG.
13090 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13091
3b3c4d40
CD
130922013-05-31 Carlos O'Donell <carlos@redhat.com>
13093
13094 * po/be.po: Revert last change.
13095 * po/zh_CN.po: Likewise.
13096 * po/header.pot: Likewise.
13097
fab7ce3f
JM
130982013-05-31 Joseph Myers <joseph@codesourcery.com>
13099
13100 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13101 link-libc-deps to empty as target-specific variable.
13102 * Makerules (link-libc-args): New variable.
13103 (libc-for-link): Likewise.
13104 (link-libc-deps): Likewise.
13105 (lib%.so): Depend on $(link-libc-deps). Link with
13106 $(link-libc-args).
13107 (build-module): Link with $(link-libc-args).
13108 (build-module-asneeded): Likewise.
13109 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13110 list of objects.
13111 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13112 target-specific variable.
13113 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13114 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13115 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13116 libc.
13117 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13118 libc and ld.so.
13119 ($(objpfx)libpcprofile.so): Likewise.
13120 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13121 libc_nonshared.a.
13122 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13123 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13124 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13125 $(link-libc-deps).
13126 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13127 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13128 * login/Makefile ($(objpfx)libutil.so): Likewise.
13129 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13130 * math/Makefile ($(objpfx)libm.so): Likewise.
13131 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13132 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13133 variable instead of depending directly on libc.
13134 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13135 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13136 $(link-libc-deps).
13137 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13138 libc.
13139 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13140 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13141 ($(objpfx)libanl.so): Likewise.
13142 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13143 ld.so.
13144 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13145 $(link-libc-deps).
13146 * sysdeps/i386/fpu/Makefile: Remove file.
13147 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13148 ($(objpfx)libm.so): Remove dependency on ld.so.
13149
eca5920c
PF
131502013-05-30 Patsy Franklin <pfrankli@redhat.com>
13151
13152 [BZ # 15553]
13153 * nis/yp_xdr.c (XDRMAXNAME): Define.
13154 (XDRMAXRECORD): Define.
13155 (xdr_domainname): Use XDRMAXNAME.
13156 (xdr_mapname): Likewise.
13157 (xdr_peername): Likewise.
13158 (xdr_keydat): Use XDRMAXRECORD.
13159 (xdr_valdat): Likewise.
13160
131612013-05-30 Jeff Law <law@redhat.com>
96945714
JL
13162
13163 [BZ #14256]
13164 * manual/errno.texi (ESTALE): Update to account for more than
13165 just NFS file systems.
13166 * sysdeps/gnu/errlist.c: Regenerated.
13167
b9375348
SP
131682013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13169
13170 [BZ #15465]
13171 * elf/Makefile (tests): Add tst-null-argv.
13172 (modules-names): Add tst-null-argv-lib.
13173 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13174 (tst-null-argv-ENV): Set environment for tst-null-argv.
13175 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13176 (RTLD_PROGNAME): New macro.
13177 * elf/tst-null-argv.c: New test case.
13178 * elf/tst-null-argv-lib.c: Library for test case.
13179 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13180 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13181 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13182 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13183 * elf/dl-init.c (call_init): Likewise.
13184 (_dl_init): Likewise.
13185 * elf/dl-load.c (print_search_path): Likewise.
13186 (_dl_map_object): Likewise.
13187 * elf/dl-lookup.c (do_lookup_x): Likewise.
13188 (add_dependency): Likewise.
13189 (_dl_lookup_symbol_x): Likewise.
13190 (_dl_debug_bindings): Likewise.
13191 * elf/dl-open.c (_dl_show_scope): Likewise.
13192 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13193 * elf/dl-version.c (match_symbol): Likewise.
13194 (_dl_check_map_versions): Likewise.
13195 * elf/rtld.c (dl_main): Likewise.
13196 (print_unresolved): Use RTLD_PROGNAME.
13197 (print_missing_version): Likewise.
13198 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13199 (elf_machine_rela): Likewise.
13200 * sysdeps/powerpc/powerpc32/dl-machine.c
13201 (__process_machine_rela): Likewise.
13202 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13203 Likewise.
13204 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13205 Likewise.
13206 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13207 Likewise.
13208 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13209 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13210 Likewise.
13211 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13212 Likewise.
13213 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13214
8a9f20c8
CD
132152013-05-28 Carlos O'Donell <carlos@redhat.com>
13216
13217 * po/be.po: Add descriptive title.
13218 * po/zh_CN.po: Likewise.
13219 * po/header.pot: Likewise.
13220
0e60d68e
MF
132212013-05-28 Mike Frysinger <vapier@gentoo.org>
13222
13223 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13224 error message.
13225 (enlarge_archive): Likewise.
13226
56b672e9
BN
132272013-05-28 Ben North <ben@redfrontdoor.org>
13228
13229 * manual/arith.texi (frexp): It is the magnitude of the return
13230 value which lies in [0.5, 1), not the return value itself.
13231
5e056687
AZ
132322013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13233
13234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13235
2b66ef5d
TS
132362013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13237
528c2405
TS
13238 * stdio-common/bug26.c (main): Correct fscanf template.
13239
07b4c13d
TS
13240 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13241 declare _dl_skip_args.
13242
ec9dd97c
TS
13243 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13244 Don't declare.
13245
2b66ef5d
TS
13246 * manual/platform.texi: Add missing @end deftypefun.
13247
4f8dfe27
JM
132482013-05-24 Joseph Myers <joseph@codesourcery.com>
13249
0323d086
JM
13250 [BZ #15529]
13251 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13252 bit of mantissa of 2^16382.
13253 * math/libm-test.inc (hypot_test_data): Add more tests.
13254
dd4259b9
JM
13255 * math/libm-test.inc: Add drem and pow10 to list of tested
13256 functions.
13257 (pow10_test): New function.
13258 (drem_test): Likewise.
13259 (drem_test_tonearest): Likewise.
13260 (drem_test_towardzero): Likewise.
13261 (drem_test_downward): Likewise.
13262 (drem_test_upward): Likewise.
13263 (main): Call the new functions.
13264
4f8dfe27
JM
13265 * math/libm-test.inc (finite_test_data): Remove.
13266 (finite_test): Run tests from isfinite_test_data.
13267 (gamma_test_data): Remove.
13268 (gamma_test): Run tests from lgamma_test_data.
13269 * sysdeps/i386/fpu/libm-test-ulps: Update.
13270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13271
d116b7c4
AZ
132722013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13273
13274 * manual/platform.texi: Add PowerPC PPR function set documentation.
13275 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13276 implementation.
13277
e96e3767
CD
132782013-05-24 Carlos O'Donell <carlos@redhat.com>
13279
13280 * math/libm-test.inc (MAX_EXP): Define.
13281 (ULPDIFF): Define.
13282 (ulp): New function.
13283 (check_float_internal): Use ULPDIFF.
13284 (cpow_test): Disable failing test.
13285 (check_ulp): Test ulp() implemetnation.
13286 (main): Call check_ulp before starting tests.
13287
b679a606
JM
132882013-05-24 Joseph Myers <joseph@codesourcery.com>
13289
e8bdba36
JM
13290 * math/gen-libm-test.pl (generate_testfile): Do not handle
13291 START_DATA and END_DATA.
13292 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13293 END_DATA.
13294 (acos_tonearest_test_data): Likewise.
13295 (acos_towardzero_test_data): Likewise.
13296 (acos_downward_test_data): Likewise.
13297 (acos_upward_test_data): Likewise.
13298 (acosh_test_data): Likewise.
13299 (asin_test_data): Likewise.
13300 (asin_tonearest_test_data): Likewise.
13301 (asin_towardzero_test_data): Likewise.
13302 (asin_downward_test_data): Likewise.
13303 (asin_upward_test_data): Likewise.
13304 (asinh_test_data): Likewise.
13305 (atan_test_data): Likewise.
13306 (atanh_test_data): Likewise.
13307 (atan2_test_data): Likewise.
13308 (cabs_test_data): Likewise.
13309 (cacos_test_data): Likewise.
13310 (cacosh_test_data): Likewise.
13311 (carg_test_data): Likewise.
13312 (casin_test_data): Likewise.
13313 (casinh_test_data): Likewise.
13314 (catan_test_data): Likewise.
13315 (catanh_test_data): Likewise.
13316 (cbrt_test_data): Likewise.
13317 (ccos_test_data): Likewise.
13318 (ccosh_test_data): Likewise.
13319 (ceil_test_data): Likewise.
13320 (cexp_test_data): Likewise.
13321 (cimag_test_data): Likewise.
13322 (clog_test_data): Likewise.
13323 (clog10_test_data): Likewise.
13324 (conj_test_data): Likewise.
13325 (copysign_test_data): Likewise.
13326 (cos_test_data): Likewise.
13327 (cos_tonearest_test_data): Likewise.
13328 (cos_towardzero_test_data): Likewise.
13329 (cos_downward_test_data): Likewise.
13330 (cos_upward_test_data): Likewise.
13331 (cosh_test_data): Likewise.
13332 (cosh_tonearest_test_data): Likewise.
13333 (cosh_towardzero_test_data): Likewise.
13334 (cosh_downward_test_data): Likewise.
13335 (cosh_upward_test_data): Likewise.
13336 (cpow_test_data): Likewise.
13337 (cproj_test_data): Likewise.
13338 (creal_test_data): Likewise.
13339 (csin_test_data): Likewise.
13340 (csinh_test_data): Likewise.
13341 (csqrt_test_data): Likewise.
13342 (ctan_test_data): Likewise.
13343 (ctan_tonearest_test_data): Likewise.
13344 (ctan_towardzero_test_data): Likewise.
13345 (ctan_downward_test_data): Likewise.
13346 (ctan_upward_test_data): Likewise.
13347 (ctanh_test_data): Likewise.
13348 (ctanh_tonearest_test_data): Likewise.
13349 (ctanh_towardzero_test_data): Likewise.
13350 (ctanh_downward_test_data): Likewise.
13351 (ctanh_upward_test_data): Likewise.
13352 (erf_test_data): Likewise.
13353 (erfc_test_data): Likewise.
13354 (exp_test_data): Likewise.
13355 (exp_tonearest_test_data): Likewise.
13356 (exp_towardzero_test_data): Likewise.
13357 (exp_downward_test_data): Likewise.
13358 (exp_upward_test_data): Likewise.
13359 (exp10_test_data): Likewise.
13360 (exp2_test_data): Likewise.
13361 (expm1_test_data): Likewise.
13362 (fabs_test_data): Likewise.
13363 (fdim_test_data): Likewise.
13364 (finite_test_data): Likewise.
13365 (floor_test_data): Likewise.
13366 (fma_test_data): Likewise.
13367 (fma_towardzero_test_data): Likewise.
13368 (fma_downward_test_data): Likewise.
13369 (fma_upward_test_data): Likewise.
13370 (fmax_test_data): Likewise.
13371 (fmin_test_data): Likewise.
13372 (fmod_test_data): Likewise.
13373 (fpclassify_test_data): Likewise.
13374 (frexp_test_data): Likewise.
13375 (gamma_test_data): Likewise.
13376 (hypot_test_data): Likewise.
13377 (ilogb_test_data): Likewise.
13378 (isfinite_test_data): Likewise.
13379 (isgreater_test_data): Likewise.
13380 (isgreaterequal_test_data): Likewise.
13381 (isinf_test_data): Likewise.
13382 (isless_test_data): Likewise.
13383 (islessequal_test_data): Likewise.
13384 (islessgreater_test_data): Likewise.
13385 (isnan_test_data): Likewise.
13386 (isnormal_test_data): Likewise.
13387 (issignaling_test_data): Likewise.
13388 (isunordered_test_data): Likewise.
13389 (j0_test_data): Likewise.
13390 (j1_test_data): Likewise.
13391 (jn_test_data): Likewise.
13392 (ldexp_test_data): Likewise.
13393 (lgamma_test_data): Likewise.
13394 (lrint_test_data): Likewise.
13395 (lrint_tonearest_test_data): Likewise.
13396 (lrint_towardzero_test_data): Likewise.
13397 (lrint_downward_test_data): Likewise.
13398 (lrint_upward_test_data): Likewise.
13399 (llrint_test_data): Likewise.
13400 (llrint_tonearest_test_data): Likewise.
13401 (llrint_towardzero_test_data): Likewise.
13402 (llrint_downward_test_data): Likewise.
13403 (llrint_upward_test_data): Likewise.
13404 (log_test_data): Likewise.
13405 (log10_test_data): Likewise.
13406 (log1p_test_data): Likewise.
13407 (log2_test_data): Likewise.
13408 (logb_test_data): Likewise.
13409 (logb_downward_test_data): Likewise.
13410 (lround_test_data): Likewise.
13411 (llround_test_data): Likewise.
13412 (modf_test_data): Likewise.
13413 (nearbyint_test_data): Likewise.
13414 (nextafter_test_data): Likewise.
13415 (nexttoward_test_data): Likewise.
13416 (pow_test_data): Likewise.
13417 (pow_tonearest_test_data): Likewise.
13418 (pow_towardzero_test_data): Likewise.
13419 (pow_downward_test_data): Likewise.
13420 (pow_upward_test_data): Likewise.
13421 (remainder_test_data): Likewise.
13422 (remainder_tonearest_test_data): Likewise.
13423 (remainder_towardzero_test_data): Likewise.
13424 (remainder_downward_test_data): Likewise.
13425 (remainder_upward_test_data): Likewise.
13426 (remquo_test_data): Likewise.
13427 (rint_test_data): Likewise.
13428 (rint_tonearest_test_data): Likewise.
13429 (rint_towardzero_test_data): Likewise.
13430 (rint_downward_test_data): Likewise.
13431 (rint_upward_test_data): Likewise.
13432 (round_test_data): Likewise.
13433 (scalb_test_data): Likewise.
13434 (scalbn_test_data): Likewise.
13435 (scalbln_test_data): Likewise.
13436 (signbit_test_data): Likewise.
13437 (sin_test_data): Likewise.
13438 (sin_tonearest_test_data): Likewise.
13439 (sin_towardzero_test_data): Likewise.
13440 (sin_downward_test_data): Likewise.
13441 (sin_upward_test_data): Likewise.
13442 (sincos_test_data): Likewise.
13443 (sinh_test_data): Likewise.
13444 (sinh_tonearest_test_data): Likewise.
13445 (sinh_towardzero_test_data): Likewise.
13446 (sinh_downward_test_data): Likewise.
13447 (sinh_upward_test_data): Likewise.
13448 (sqrt_test_data): Likewise.
13449 (tan_test_data): Likewise.
13450 (tan_tonearest_test_data): Likewise.
13451 (tan_towardzero_test_data): Likewise.
13452 (tan_downward_test_data): Likewise.
13453 (tan_upward_test_data): Likewise.
13454 (tanh_test_data): Likewise.
13455 (tgamma_test_data): Likewise.
13456 (trunc_test_data): Likewise.
13457 (y0_test_data): Likewise.
13458 (y1_test_data): Likewise.
13459 (yn_test_data): Likewise.
13460 (significand_test_data): Likewise.
13461
b679a606
JM
13462 * math/gen-libm-test.pl (@functions): Remove variable.
13463 (generate_testfile): Don't handle START and END lines.
13464 * math/libm-test.inc (START): New macro.
13465 (END): Likewise.
13466 (END_COMPLEX): Likewise.
13467 (acos_test): Use END macro without arguments.
13468 (acos_test_tonearest): Likewise.
13469 (acos_test_towardzero): Likewise.
13470 (acos_test_downward): Likewise.
13471 (acos_test_upward): Likewise.
13472 (acosh_test): Likewise.
13473 (asin_test): Likewise.
13474 (asin_test_tonearest): Likewise.
13475 (asin_test_towardzero): Likewise.
13476 (asin_test_downward): Likewise.
13477 (asin_test_upward): Likewise.
13478 (asinh_test): Likewise.
13479 (atan_test): Likewise.
13480 (atanh_test): Likewise.
13481 (atan2_test): Likewise.
13482 (cabs_test): Likewise.
13483 (cacos_test): Use END_COMPLEX macro without arguments.
13484 (cacosh_test): Likewise.
13485 (carg_test): Use END macro without arguments.
13486 (casin_test): Use END_COMPLEX macro without arguments.
13487 (casinh_test): Likewise.
13488 (catan_test): Likewise.
13489 (catanh_test): Likewise.
13490 (cbrt_test): Use END macro without arguments.
13491 (ccos_test): Use END_COMPLEX macro without arguments.
13492 (ccosh_test): Likewise.
13493 (ceil_test): Use END macro without arguments.
13494 (cexp_test): Use END_COMPLEX macro without arguments.
13495 (cimag_test): Use END macro without arguments.
13496 (clog_test): Use END_COMPLEX macro without arguments.
13497 (clog10_test): Likewise.
13498 (conj_test): Likewise.
13499 (copysign_test): Use END macro without arguments.
13500 (cos_test): Likewise.
13501 (cos_test_tonearest): Likewise.
13502 (cos_test_towardzero): Likewise.
13503 (cos_test_downward): Likewise.
13504 (cos_test_upward): Likewise.
13505 (cosh_test): Likewise.
13506 (cosh_test_tonearest): Likewise.
13507 (cosh_test_towardzero): Likewise.
13508 (cosh_test_downward): Likewise.
13509 (cosh_test_upward): Likewise.
13510 (cpow_test): Use END_COMPLEX macro without arguments.
13511 (cproj_test): Likewise.
13512 (creal_test): Use END macro without arguments.
13513 (csin_test): Use END_COMPLEX macro without arguments.
13514 (csinh_test): Likewise.
13515 (csqrt_test): Likewise.
13516 (ctan_test): Likewise.
13517 (ctan_test_tonearest): Likewise.
13518 (ctan_test_towardzero): Likewise.
13519 (ctan_test_downward): Likewise.
13520 (ctan_test_upward): Likewise.
13521 (ctanh_test): Likewise.
13522 (ctanh_test_tonearest): Likewise.
13523 (ctanh_test_towardzero): Likewise.
13524 (ctanh_test_downward): Likewise.
13525 (ctanh_test_upward): Likewise.
13526 (erf_test): Use END macro without arguments.
13527 (erfc_test): Likewise.
13528 (exp_test): Likewise.
13529 (exp_test_tonearest): Likewise.
13530 (exp_test_towardzero): Likewise.
13531 (exp_test_downward): Likewise.
13532 (exp_test_upward): Likewise.
13533 (exp10_test): Likewise.
13534 (exp2_test): Likewise.
13535 (expm1_test): Likewise.
13536 (fabs_test): Likewise.
13537 (fdim_test): Likewise.
13538 (finite_test): Likewise.
13539 (floor_test): Likewise.
13540 (fma_test): Likewise.
13541 (fma_test_towardzero): Likewise.
13542 (fma_test_downward): Likewise.
13543 (fma_test_upward): Likewise.
13544 (fmax_test): Likewise.
13545 (fmin_test): Likewise.
13546 (fmod_test): Likewise.
13547 (fpclassify_test): Likewise.
13548 (frexp_test): Likewise.
13549 (gamma_test): Likewise.
13550 (hypot_test): Likewise.
13551 (ilogb_test): Likewise.
13552 (isfinite_test): Likewise.
13553 (isgreater_test): Likewise.
13554 (isgreaterequal_test): Likewise.
13555 (isinf_test): Likewise.
13556 (isless_test): Likewise.
13557 (islessequal_test): Likewise.
13558 (islessgreater_test): Likewise.
13559 (isnan_test): Likewise.
13560 (isnormal_test): Likewise.
13561 (issignaling_test): Likewise.
13562 (isunordered_test): Likewise.
13563 (j0_test): Likewise.
13564 (j1_test): Likewise.
13565 (jn_test): Likewise.
13566 (ldexp_test): Likewise.
13567 (lgamma_test): Likewise.
13568 (lrint_test): Likewise.
13569 (lrint_test_tonearest): Likewise.
13570 (lrint_test_towardzero): Likewise.
13571 (lrint_test_downward): Likewise.
13572 (lrint_test_upward): Likewise.
13573 (llrint_test): Likewise.
13574 (llrint_test_tonearest): Likewise.
13575 (llrint_test_towardzero): Likewise.
13576 (llrint_test_downward): Likewise.
13577 (llrint_test_upward): Likewise.
13578 (log_test): Likewise.
13579 (log10_test): Likewise.
13580 (log1p_test): Likewise.
13581 (log2_test): Likewise.
13582 (logb_test): Likewise.
13583 (logb_test_downward): Likewise.
13584 (lround_test): Likewise.
13585 (llround_test): Likewise.
13586 (modf_test): Likewise.
13587 (nearbyint_test): Likewise.
13588 (nextafter_test): Likewise.
13589 (nexttoward_test): Likewise.
13590 (pow_test): Likewise.
13591 (pow_test_tonearest): Likewise.
13592 (pow_test_towardzero): Likewise.
13593 (pow_test_downward): Likewise.
13594 (pow_test_upward): Likewise.
13595 (remainder_test): Likewise.
13596 (remainder_test_tonearest): Likewise.
13597 (remainder_test_towardzero): Likewise.
13598 (remainder_test_downward): Likewise.
13599 (remainder_test_upward): Likewise.
13600 (remquo_test): Likewise.
13601 (rint_test): Likewise.
13602 (rint_test_tonearest): Likewise.
13603 (rint_test_towardzero): Likewise.
13604 (rint_test_downward): Likewise.
13605 (rint_test_upward): Likewise.
13606 (round_test): Likewise.
13607 (scalb_test): Likewise.
13608 (scalbn_test): Likewise.
13609 (scalbln_test): Likewise.
13610 (signbit_test): Likewise.
13611 (sin_test): Likewise.
13612 (sin_test_tonearest): Likewise.
13613 (sin_test_towardzero): Likewise.
13614 (sin_test_downward): Likewise.
13615 (sin_test_upward): Likewise.
13616 (sincos_test): Likewise.
13617 (sinh_test): Likewise.
13618 (sinh_test_tonearest): Likewise.
13619 (sinh_test_towardzero): Likewise.
13620 (sinh_test_downward): Likewise.
13621 (sinh_test_upward): Likewise.
13622 (sqrt_test): Likewise.
13623 (tan_test): Likewise.
13624 (tan_test_tonearest): Likewise.
13625 (tan_test_towardzero): Likewise.
13626 (tan_test_downward): Likewise.
13627 (tan_test_upward): Likewise.
13628 (tanh_test): Likewise.
13629 (tgamma_test): Likewise.
13630 (trunc_test): Likewise.
13631 (y0_test): Likewise.
13632 (y1_test): Likewise.
13633 (yn_test): Likewise.
13634 (significand_test): Likewise.
13635
bae143d2
OB
136362013-05-24 Ondřej Bílka <neleai@seznam.cz>
13637
13638 [BZ #15381]
13639 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13640
9323d39b
EM
136412013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13642
d4ea44a0 13643 [BZ #14894]
9323d39b
EM
13644 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13645 __ppc_mdoio and __ppc_mdoom.
13646 * manual/platform.texi: Document new functions __ppc_yield,
13647 __ppc_mdoio and __ppc_mdoom.
13648
13e23af7
CD
136492013-05-22 Carlos O'Donell <carlos@redhat.com>
13650
13651 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13652 (main): Mention "tls" pseudo-hwcap is legacy.
13653 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13654
351fe550
JM
136552013-05-22 Joseph Myers <joseph@codesourcery.com>
13656
13657 * math/gen-libm-test.pl (parse_args): Output only string of
13658 arguments as text for test name, not full call or descriptions of
13659 tests for extra outputs.
13660 (generate_testfile): Do not pass function name to parse_args.
13661 Generate this_func variable from START.
13662 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13663 field to arg_str.
13664 (struct test_ff_f_data): Likewise.
13665 (test_ff_f_data_nexttoward): Likewise.
13666 (struct test_fi_f_data): Likewise.
13667 (struct test_fl_f_data): Likewise.
13668 (struct test_if_f_data): Likewise.
13669 (struct test_fff_f_data): Likewise.
13670 (struct test_c_f_data): Likewise.
13671 (struct test_f_f1_data): Likewise. Remove field extra_name.
13672 (struct test_fF_f1_data): Likewise.
13673 (struct test_ffI_f1_data): Likewise.
13674 (struct test_c_c_data): Rename test_name field to arg_str.
13675 (struct test_cc_c_data): Likewise.
13676 (struct test_f_i_data): Likewise.
13677 (struct test_ff_i_data): Likewise.
13678 (struct test_f_l_data): Likewise.
13679 (struct test_f_L_data): Likewise.
13680 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13681 and extra2_name.
13682 (COMMON_TEST_SETUP): New macro.
13683 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13684 (COMMON_TEST_CLEANUP): Likewise.
13685 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13686 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13687 macros.
13688 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13689 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13690 macros.
13691 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13692 (RUN_TEST_fff_f): Take argument string. Call new setup and
13693 cleanup macros.
13694 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13695 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13696 macros.
13697 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13698 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13699 macros.
13700 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13701 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13702 cleanup macros.
13703 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13704 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13705 cleanup macros.
13706 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13707 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13708 cleanup macros.
13709 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13710 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13711 macros.
13712 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13713 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13714 macros.
13715 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13716 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13717 macros.
13718 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13719 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13720 cleanup macros.
13721 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13722 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13723 cleanup macros.
13724 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13725 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13726 macros.
13727 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13728 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13729 cleanup macros.
13730 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13731 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13732 macros.
13733 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13734 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13735 macros.
13736 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13737 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13738 cleanup macros.
13739 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13740
85118d4d
EBM
137412013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13742
13743 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13744 to _sifields.sigfault.
13745 (si_addr_lsb): Define new macro.
13746 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13747 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13748 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13749
7a44c18f
CD
137502013-05-03 Carlos O'Donell <carlos at redhat.com>
13751
13752 [BZ #15441]
13753 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13754 returns -1.
13755 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13756 null return -1.
13757 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13758 loading the domain.
13759
b50a7181
JM
137602013-05-22 Joseph Myers <joseph@codesourcery.com>
13761
13762 * math/gen-libm-test.pl (parse_args): Do not include expected
13763 result in test name.
13764 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13765 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13766 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13767 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13768 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13770
051063c8
SP
137712013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13772
3ce9e010
SP
13773 * benchtests/Makefile: Sort function entries.
13774
051063c8
SP
13775 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13776 tanh, asinh, acosh, atanh.
13777 * benchtests/acos-inputs: New file.
13778 * benchtests/acosh-inputs: New file.
13779 * benchtests/asin-inputs: New file.
13780 * benchtests/asinh-inputs: New file.
13781 * benchtests/atanh-inputs: New file.
13782 * benchtests/cosh-inputs: New file.
13783 * benchtests/log-inputs: New file.
13784 * benchtests/sinh-inputs: New file.
13785 * benchtests/tanh-inputs: New file.
13786
47c22455
DL
137872013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13788
13789 [BZ #15339]
13790 * posix/tst-getaddrinfo4.c: New test.
13791 * posix/Makefile (tests): Add it.
13792
3d04f5db
SP
137932013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13794
13795 [BZ #15339]
13796 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13797 when no services were used.
13798 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13799 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13800
d5dd6189
AS
138012013-05-21 Andreas Schwab <schwab@suse.de>
13802
13803 [BZ #15014]
13804 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13805 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13806 successful.
13807 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13808 redundant variable declarations and reallocation of buffer when
13809 parsing as IPv6 address. Always set NSS status when called from
13810 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13811 buffer too small. Correct computation of needed size.
13812 * nss/Makefile (tests): Add test-digits-dots.
13813 * nss/test-digits-dots.c: New test.
13814
fef94eab
SP
138152013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13816
13817 * benchtests/Makefile: Remove instructions for adding
13818 benchmark tests.
13819 * benchtests/README: New file to explain how to execute and
13820 enhance the benchmark tests.
13821
e39adf43
AS
138222013-05-21 Andreas Schwab <schwab@suse.de>
13823
13824 [BZ #15493]
13825 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13826 * setjmp/tst-sigsetjmp.c: New test.
13827
b2b671b6
OB
138282013-05-20 Ondřej Bílka <neleai@seznam.cz>
13829
13830 * sysdeps/x86_64/memset.S (memset): New implementation.
13831 (__bzero): Likewise.
13832 (__memset_tail): New function.
13833
2d48b41c
OB
138342013-05-20 Ondřej Bílka <neleai@seznam.cz>
13835
13836 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13837 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13838 __memcpy_sse2_unaligned ifunc selection.
13839 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13840 Add memcpy-sse2-unaligned.S.
13841 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13842 Add: __memcpy_sse2_unaligned.
13843
f16cc3eb
JM
138442013-05-19 Joseph Myers <joseph@codesourcery.com>
13845
3e694268
JM
13846 [BZ #15490]
13847 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13848 math_force_eval before restoring floating-point envrionment.
13849 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13850 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13851 Likewise.
13852 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13853 <math_private.h>.
13854 (__nearbyintl): Use math_force_eval before restoring
13855 floating-point environment.
13856 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13857
db62a907
JM
13858 * math/gen-libm-test.pl (special_functions): Remove.
13859 (parse_args): Don't handle TEST_extra. Handle functions with no
13860 return value.
13861 * math/libm-test.inc (struct test_sincos_data): Replace with
13862 struct test_fFF_11_data.
13863 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13864 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13865 (sincos_test_data): Change element type to struct
13866 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13867 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13868 RUN_TEST_LOOP_sincos.
13869 * math/README.libm-test: Don't mention special handling of
13870 individual functions.
13871 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13872 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13873 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13874 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13875 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13877
f16cc3eb
JM
13878 * math/gen-libm-test.pl (get_variable): Remove function.
13879 (parse_args): Don't show pointer parameters to call in test
13880 names. Use "extra output N" in test names for extra outputs
13881 rather than naming variables.
13882
3779b5b6
JM
138832013-05-18 Joseph Myers <joseph@codesourcery.com>
13884
2ee094ff
JM
13885 [BZ #15488]
13886 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13887 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13888 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13889 double tests.
13890 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13891 disable.
13892 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13893 check_long_double.
13894
3779b5b6
JM
13895 * math/gen-libm-test.pl (@tests): Remove variable.
13896 ($count): Likewise.
13897 (new_test): Remove function.
13898 (show_exceptions): New function.
13899 (special_functions): Use show_exceptions instead of new_test.
13900 (parse_args): Likewise.
13901 (generate_testfile): Pass only function name in generated call to
13902 print_max_error or print_complex_max_error.
13903 (get_ulps): Do not handle complex tests specially.
13904 (output_test): Rename to ...
13905 (get_all_ulps_for_test): ... this. Return a string rather than
13906 printing to a file. Require ulps to be present.
13907 (output_ulps): Generate arrays rather than #defines.
13908 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13909 (struct ulp_data): New type.
13910 (BUILD_COMPLEX_ULP): Remove macro.
13911 (compare_ulp_data): New function.
13912 (find_ulps): Likewise.
13913 (find_test_ulps): Likewise.
13914 (find_function_ulps): Likewise.
13915 (find_complex_function_ulps): Likewise.
13916 (print_max_error): Determine allowed ulps using
13917 find_function_ulps.
13918 (print_complex_max_error): Determine allowed ulps using
13919 find_complex_function_ulps.
13920 (check_float_internal): Determine max ulps using find_test_ulps.
13921 (check_float): Do not take max_ulp parameter. Update call to
13922 check_float_internal.
13923 (check_complex): Likewise.
13924 (check_int): Do not take max_ulp parameter.
13925 (check_long): Likewise.
13926 (check_bool): Likewise.
13927 (check_longlong): Likewise.
13928 (struct test_f_f_data): Remove max_ulp field.
13929 (struct test_ff_f_data): Likewise.
13930 (struct test_ff_f_data_nexttoward): Likewise.
13931 (struct test_fi_f_data): Likewise.
13932 (struct test_fl_f_data): Likewise.
13933 (struct test_if_f_data): Likewise.
13934 (struct test_fff_f_data): Likewise.
13935 (struct test_c_f_data): Likewise.
13936 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13937 (struct test_fF_f1_data): Likewise.
13938 (struct test_ffI_f1_data): Likewise.
13939 (struct test_c_c_data): Remove max_ulp field.
13940 (struct test_cc_c_data): Likewise.
13941 (struct test_f_i_data): Likewise.
13942 (struct test_ff_i_data): Likewise.
13943 (struct test_f_l_data): Likewise.
13944 (struct test_f_L_data): Likewise.
13945 (struct test_sincos_data): Likewise.
13946 (RUN_TEST_f_f): Do not handle ulps.
13947 (RUN_TEST_LOOP_f_f): Likewise.
13948 (RUN_TEST_2_f): Likewise.
13949 (RUN_TEST_LOOP_2_f): Likewise.
13950 (RUN_TEST_fff_f): Likewise.
13951 (RUN_TEST_LOOP_fff_f): Likewise.
13952 (RUN_TEST_c_f): Likewise.
13953 (RUN_TEST_LOOP_c_f): Likewise.
13954 (RUN_TEST_f_f1): Likewise.
13955 (RUN_TEST_LOOP_f_f1): Likewise.
13956 (RUN_TEST_fF_f1): Likewise.
13957 (RUN_TEST_LOOP_fF_f1): Likewise.
13958 (RUN_TEST_fI_f1): Likewise.
13959 (RUN_TEST_LOOP_fI_f1): Likewise.
13960 (RUN_TEST_ffI_f1): Likewise.
13961 (RUN_TEST_LOOP_ffI_f1): Likewise.
13962 (RUN_TEST_c_c): Likewise.
13963 (RUN_TEST_LOOP_c_c): Likewise.
13964 (RUN_TEST_cc_c): Likewise.
13965 (RUN_TEST_LOOP_cc_c): Likewise.
13966 (RUN_TEST_f_i): Likewise.
13967 (RUN_TEST_LOOP_f_i): Likewise.
13968 (RUN_TEST_f_i_tg): Likewise.
13969 (RUN_TEST_LOOP_f_i_tg): Likewise.
13970 (RUN_TEST_ff_i_tg): Likewise.
13971 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13972 (RUN_TEST_f_b): Likewise.
13973 (RUN_TEST_LOOP_f_b): Likewise.
13974 (RUN_TEST_f_b_tg): Likewise.
13975 (RUN_TEST_LOOP_f_b_tg): Likewise.
13976 (RUN_TEST_f_l): Likewise.
13977 (RUN_TEST_LOOP_f_l): Likewise.
13978 (RUN_TEST_f_L): Likewise.
13979 (RUN_TEST_LOOP_f_L): Likewise.
13980 (RUN_TEST_sincos): Likewise.
13981 (RUN_TEST_LOOP_sincos): Likewise.
13982
8269107f
JM
139832013-05-17 Joseph Myers <joseph@codesourcery.com>
13984
bb38759d
JM
13985 [BZ #15480]
13986 [BZ #15485]
13987 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13988 main case of finite arguments, set rounding mode to FE_TONEAREST
13989 and discard exceptions.
13990 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13991 exceptions.
13992 (remainder_tonearest_test_data): New variable.
13993 (remainder_test_tonearest): New function.
13994 (remainder_towardzero_test_data): New variable.
13995 (remainder_test_towardzero): New function.
13996 (remainder_downward_test_data): New variable.
13997 (remainder_test_downward): New function.
13998 (remainder_upward_test_data): New variable.
13999 (remainder_test_upward): New function.
14000 (main): Call the new test functions.
14001
a00bdcf0
JM
14002 * math/libm-test.inc (struct test_f_f1_data): Remove field
14003 extra_init.
14004 (struct test_fF_f1_data): Likewise.
14005 (struct test_ffI_f1_data): Likewise.
14006 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
14007 based on value of EXTRA_EXPECTED.
14008 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14009 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
14010 EXTRA_VAR based on value of EXTRA_EXPECTED.
14011 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14012 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
14013 EXTRA_VAR based on value of EXTRA_EXPECTED.
14014 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14015 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
14016 EXTRA_VAR based on value of EXTRA_EXPECTED.
14017 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14018 * math/gen-libm-test.pl (parse_args): Don't output initializers
14019 for extra output values.
14020
de407f79
JM
14021 * math/libm-test.inc (check_int): Expect result to be exactly
14022 equal to expected value and do not handle ulps.
14023 (check_long): Likewise.
14024 (check_longlong): Likewise.
14025
8269107f
JM
14026 * math/libm-test.inc (ceil_test_data): Test for "inexact"
14027 exceptions.
14028 (cimag_test_data): Likewise.
14029 (conj_test_data): Likewise.
14030 (copysign_test_data): Likewise.
14031 (cproj_test_data): Likewise.
14032 (creal_test_data): Likewise.
14033 (fabs_test_data): Likewise.
14034 (fdim_test_data): Likewise.
14035 (finite_test_data): Likewise.
14036 (floor_test_data): Likewise.
14037 (fmax_test_data): Likewise.
14038 (fmin_test_data): Likewise.
14039 (fmod_test_data): Likewise.
14040 (fpclassify_test_data): Likewise.
14041 (frexp_test_data): Likewise.
14042 (ilogb_test_data): Likewise.
14043 (isfinite_test_data): Likewise.
14044 (isgreater_test_data): Likewise.
14045 (isgreaterequal_test_data): Likewise.
14046 (isinf_test_data): Likewise.
14047 (isless_test_data): Likewise.
14048 (islessequal_test_data): Likewise.
14049 (islessgreater_test_data): Likewise.
14050 (isnan_test_data): Likewise.
14051 (isnormal_test_data): Likewise.
14052 (issignaling_test_data): Likewise.
14053 (isunordered_test_data): Likewise.
14054 (ldexp_test_data): Likewise.
14055 (lrint_test_data): Likewise.
14056 (lrint_test_data) [TEST_FLOAT]: Disable one test.
14057 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14058 (lrint_tonearest_test_data): Test for "inexact" exceptions.
14059 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14060 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14061 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14062 test input.
14063 (lrint_towardzero_test_data): Test for "inexact" exceptions.
14064 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14065 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14066 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14067 that test input.
14068 (lrint_downward_test_data): Test for "inexact" exceptions.
14069 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14070 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14071 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14072 test input.
14073 (lrint_upward_test_data): Test for "inexact" exceptions.
14074 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14075 test input.
14076 (llrint_test_data): Test for "inexact" exceptions.
14077 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14078 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14079 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14080 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14081 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14082 (llrint_downward_test_data): Test for "inexact" exceptions.
14083 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14084 (llrint_upward_test_data): Test for "inexact" exceptions.
14085 (logb_test_data): Likewise.
14086 (logb_downward_test_data): Likewise.
14087 (nextafter_test_data): Likewise.
14088 (nexttoward_test_data): Likewise.
14089 (remainder_test_data): Likewise.
14090 (remquo_test_data): Likewise.
14091 (scalbn_test_data): Likewise.
14092 (scalbln_test_data): Likewise.
14093 (signbit_test_data): Likewise.
14094 (sqrt_test_data): Likewise.
14095 (significand_test_data): Likewise.
14096
48a18de1
SP
140972013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14098
14099 [BZ #15424]
14100 * benchtests/bench-modf.c (struct args): Mark arg0 as
14101 volatile.
14102 * scripts/bench.pl: Mark members of struct args as volatile.
14103
13d3b41a
AZ
141042013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14105
68191c1d 14106 [BZ # 15497]
13d3b41a
AZ
14107 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14108 negative infinity on POWER6 or lower.
14109 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14110
2848b105
MR
141112013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14112
14113 [BZ #15442]
14114 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14115 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14116 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14117 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14118 (_FP_SETQNAN): New macro.
14119 (_FP_SETQNAN_SEMIRAW): Likewise.
14120 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14121 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14122 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14123 (FP_EXTEND): Use _FP_FRAC_SNANP.
14124 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14125 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14126 into account.
14127 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14128 New macro.
14129 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14130 Likewise.
14131
323e5cb7
JM
141322013-05-16 Joseph Myers <joseph@codesourcery.com>
14133
c58b274f
JM
14134 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14135 with DIVIDE_BY_ZERO_EXCEPTION.
14136 (gamma_test_data): Likewise.
14137 (lgamma_test_data): Likewise.
14138 (log_test_data): Likewise.
14139 (log10_test_data): Likewise.
14140 (log2_test_data): Likewise.
14141 (tgamma_test_data): Likewise.
14142
0ab34904
JM
14143 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14144 (acos_test_tonearest): Likewise.
14145 (acos_test_towardzero): Likewise.
14146 (acos_test_downward): Likewise.
14147 (acos_test_upward): Likewise.
14148 (acosh_test): Likewise.
14149 (asin_test): Likewise.
14150 (asin_test_tonearest): Likewise.
14151 (asin_test_towardzero): Likewise.
14152 (asin_test_downward): Likewise.
14153 (asin_test_upward): Likewise.
14154 (asinh_test): Likewise.
14155 (atan_test): Likewise.
14156 (atanh_test): Likewise.
14157 (atan2_test): Likewise.
14158 (cabs_test): Likewise.
14159 (cacos_test): Likewise.
14160 (cacosh_test): Likewise.
14161 (casin_test): Likewise.
14162 (casinh_test): Likewise.
14163 (catan_test): Likewise.
14164 (catanh_test): Likewise.
14165 (cbrt_test): Likewise.
14166 (ccos_test): Likewise.
14167 (ccosh_test): Likewise.
14168 (cexp_test): Likewise.
14169 (clog_test): Likewise.
14170 (clog10_test): Likewise.
14171 (cos_test): Likewise.
14172 (cos_test_tonearest): Likewise.
14173 (cos_test_towardzero): Likewise.
14174 (cos_test_downward): Likewise.
14175 (cos_test_upward): Likewise.
14176 (cosh_test): Likewise.
14177 (cosh_test_tonearest): Likewise.
14178 (cosh_test_towardzero): Likewise.
14179 (cosh_test_downward): Likewise.
14180 (cosh_test_upward): Likewise.
14181 (cpow_test): Likewise.
14182 (csin_test): Likewise.
14183 (csinh_test): Likewise.
14184 (csqrt_test): Likewise.
14185 (ctan_test): Likewise.
14186 (ctan_test_tonearest): Likewise.
14187 (ctan_test_towardzero): Likewise.
14188 (ctan_test_downward): Likewise.
14189 (ctan_test_upward): Likewise.
14190 (ctanh_test): Likewise.
14191 (ctanh_test_tonearest): Likewise.
14192 (ctanh_test_towardzero): Likewise.
14193 (ctanh_test_downward): Likewise.
14194 (ctanh_test_upward): Likewise.
14195 (erf_test): Likewise.
14196 (erfc_test): Likewise.
14197 (exp_test): Likewise.
14198 (exp_test_tonearest): Likewise.
14199 (exp_test_towardzero): Likewise.
14200 (exp_test_downward): Likewise.
14201 (exp_test_upward): Likewise.
14202 (exp10_test): Likewise.
14203 (exp2_test): Likewise.
14204 (expm1_test): Likewise.
14205 (fmod_test): Likewise.
14206 (gamma_test): Likewise.
14207 (hypot_test): Likewise.
14208 (j0_test): Likewise.
14209 (j1_test): Likewise.
14210 (jn_test): Likewise.
14211 (lgamma_test): Likewise.
14212 (log_test): Likewise.
14213 (log10_test): Likewise.
14214 (log1p_test): Likewise.
14215 (log2_test): Likewise.
14216 (logb_test_downward): Likewise.
14217 (pow_test): Likewise.
14218 (pow_test_tonearest): Likewise.
14219 (pow_test_towardzero): Likewise.
14220 (pow_test_downward): Likewise.
14221 (pow_test_upward): Likewise.
14222 (remainder_test): Likewise.
14223 (remquo_test): Likewise.
14224 (sin_test): Likewise.
14225 (sin_test_tonearest): Likewise.
14226 (sin_test_towardzero): Likewise.
14227 (sin_test_downward): Likewise.
14228 (sin_test_upward): Likewise.
14229 (sincos_test): Likewise.
14230 (sinh_test): Likewise.
14231 (sinh_test_tonearest): Likewise.
14232 (sinh_test_towardzero): Likewise.
14233 (sinh_test_downward): Likewise.
14234 (sinh_test_upward): Likewise.
14235 (sqrt_test): Likewise.
14236 (tan_test): Likewise.
14237 (tan_test_tonearest): Likewise.
14238 (tan_test_towardzero): Likewise.
14239 (tan_test_downward): Likewise.
14240 (tan_test_upward): Likewise.
14241 (tanh_test): Likewise.
14242 (tgamma_test): Likewise.
14243 (y0_test): Likewise.
14244 (y1_test): Likewise.
14245 (yn_test): Likewise.
14246
323e5cb7
JM
14247 * math/gen-libm-test.pl (adjust_arg): Remove function.
14248 (special_function): Remove argument $in_func. Only handle
14249 generating output for tables of tests, not inside functions.
14250 (parse_args): Likewise.
14251 (generate_testfile): Remove variable $in_func. Update call to
14252 parse_args.
14253 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14254 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14255 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14256 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14257 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14258 (MAX_VALUE_INIT): Rename macro to max_value.
14259 (MIN_VALUE_INIT): Rename macro to min_value.
14260 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14261 (plus_zero): Remove variable.
14262 (minus_zero): Likewise.
14263 (plus_infty): Likewise.
14264 (minus_infty): Likewise.
14265 (qnan_value): Likewise.
14266 (max_value): Likewise.
14267 (min_value): Likewise.
14268 (min_subnorm_value): Likewise.
14269
e054f494
RA
142702013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14271
14272 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14273 uint64_t or uint32_t usage.
14274 * crypt/sha256-block.c: Likewise.
14275 * crypt/sha256-crypt.c: Likewise.
14276 * crypt/sha256.c: Likewise.
14277 * crypt/sha512-block.c: Likewise.
14278 * crypt/sha512-crypt.c: Likewise.
14279 * crypt/sha512.c: Likewise.
14280 * debug/backtrace-tst.c: Likewise.
14281 * debug/pcprofiledump.c: Likewise.
14282 * elf/cache.c: Likewise.
14283 * elf/dl-cache.c: Likewise.
14284 * elf/dl-misc.c: Likewise.
14285 * elf/dl-profile.c: Likewise.
14286 * elf/dl-support.c: Likewise.
14287 * elf/ldconfig.c: Likewise.
14288 * elf/sprof.c: Likewise.
14289 * iconv/dummy-repertoire.c: Likewise.
14290 * iconv/iconv_charmap.c: Likewise.
14291 * iconv/skeleton.c: Likewise.
14292 * iconvdata/8bit-generic.c: Likewise.
14293 * iconvdata/cp737.h: Likewise.
14294 * iconvdata/cp775.h: Likewise.
14295 * iconvdata/ibm1008.h: Likewise.
14296 * iconvdata/ibm1025.h: Likewise.
14297 * iconvdata/ibm1046.h: Likewise.
14298 * iconvdata/ibm1097.h: Likewise.
14299 * iconvdata/ibm1112.h: Likewise.
14300 * iconvdata/ibm1122.h: Likewise.
14301 * iconvdata/ibm1123.h: Likewise.
14302 * iconvdata/ibm1124.h: Likewise.
14303 * iconvdata/ibm1129.h: Likewise.
14304 * iconvdata/ibm1130.h: Likewise.
14305 * iconvdata/ibm1132.h: Likewise.
14306 * iconvdata/ibm1133.h: Likewise.
14307 * iconvdata/ibm1137.h: Likewise.
14308 * iconvdata/ibm1140.h: Likewise.
14309 * iconvdata/ibm1141.h: Likewise.
14310 * iconvdata/ibm1142.h: Likewise.
14311 * iconvdata/ibm1143.h: Likewise.
14312 * iconvdata/ibm1144.h: Likewise.
14313 * iconvdata/ibm1145.h: Likewise.
14314 * iconvdata/ibm1146.h: Likewise.
14315 * iconvdata/ibm1147.h: Likewise.
14316 * iconvdata/ibm1148.h: Likewise.
14317 * iconvdata/ibm1149.h: Likewise.
14318 * iconvdata/ibm1153.h: Likewise.
14319 * iconvdata/ibm1154.h: Likewise.
14320 * iconvdata/ibm1155.h: Likewise.
14321 * iconvdata/ibm1156.h: Likewise.
14322 * iconvdata/ibm1157.h: Likewise.
14323 * iconvdata/ibm1158.h: Likewise.
14324 * iconvdata/ibm1160.h: Likewise.
14325 * iconvdata/ibm1161.h: Likewise.
14326 * iconvdata/ibm1162.h: Likewise.
14327 * iconvdata/ibm1163.h: Likewise.
14328 * iconvdata/ibm1164.h: Likewise.
14329 * iconvdata/ibm1166.h: Likewise.
14330 * iconvdata/ibm1167.h: Likewise.
14331 * iconvdata/ibm12712.h: Likewise.
14332 * iconvdata/ibm1390.h: Likewise.
14333 * iconvdata/ibm1399.h: Likewise.
14334 * iconvdata/ibm16804.h: Likewise.
14335 * iconvdata/ibm4517.h: Likewise.
14336 * iconvdata/ibm4899.h: Likewise.
14337 * iconvdata/ibm4909.h: Likewise.
14338 * iconvdata/ibm4971.h: Likewise.
14339 * iconvdata/ibm5347.h: Likewise.
14340 * iconvdata/ibm803.h: Likewise.
14341 * iconvdata/ibm856.h: Likewise.
14342 * iconvdata/ibm901.h: Likewise.
14343 * iconvdata/ibm902.h: Likewise.
14344 * iconvdata/ibm9030.h: Likewise.
14345 * iconvdata/ibm9066.h: Likewise.
14346 * iconvdata/ibm921.h: Likewise.
14347 * iconvdata/ibm922.h: Likewise.
14348 * iconvdata/ibm9448.h: Likewise.
14349 * iconvdata/isiri-3342.h: Likewise.
14350 * iconvdata/jis0201.h: Likewise.
14351 * include/link.h: Likewise.
14352 * include/netdb.h: Likewise.
14353 * inet/check_native.c: Likewise.
14354 * inet/check_pf.c: Likewise.
14355 * inet/getipv4sourcefilter.c: Likewise.
14356 * inet/getnameinfo.c: Likewise.
14357 * inet/getsourcefilter.c: Likewise.
14358 * inet/htonl.c: Likewise.
14359 * inet/setipv4sourcefilter.c: Likewise.
14360 * inet/setsourcefilter.c: Likewise.
14361 * inet/test-inet6_opt.c: Likewise.
14362 * inet/tst-network.c: Likewise.
14363 * locale/C-collate.c: Likewise.
14364 * locale/C-ctype.c: Likewise.
14365 * locale/C-time.c: Likewise.
14366 * locale/C-translit.h: Likewise.
14367 * locale/loadarchive.c: Likewise.
14368 * locale/programs/3level.h: Likewise.
14369 * locale/programs/charmap.c: Likewise.
14370 * locale/programs/charmap.h: Likewise.
14371 * locale/programs/ld-address.c: Likewise.
14372 * locale/programs/ld-collate.c: Likewise.
14373 * locale/programs/ld-ctype.c: Likewise.
14374 * locale/programs/ld-identification.c: Likewise.
14375 * locale/programs/ld-measurement.c: Likewise.
14376 * locale/programs/ld-messages.c: Likewise.
14377 * locale/programs/ld-monetary.c: Likewise.
14378 * locale/programs/ld-name.c: Likewise.
14379 * locale/programs/ld-numeric.c: Likewise.
14380 * locale/programs/ld-paper.c: Likewise.
14381 * locale/programs/ld-telephone.c: Likewise.
14382 * locale/programs/ld-time.c: Likewise.
14383 * locale/programs/linereader.c: Likewise.
14384 * locale/programs/locale.c: Likewise.
14385 * locale/programs/locarchive.c: Likewise.
14386 * locale/programs/locfile.h: Likewise.
14387 * locale/programs/repertoire.c: Likewise.
14388 * locale/programs/simple-hash.c: Likewise.
14389 * locale/programs/simple-hash.h: Likewise.
14390 * malloc/memusage.c: Likewise.
14391 * malloc/memusagestat.c: Likewise.
14392 * nis/nis_defaults.c: Likewise.
14393 * nis/nis_hash.c: Likewise.
14394 * nis/nis_print.c: Likewise.
14395 * nis/nis_xdr.c: Likewise.
14396 * nscd/connections.c: Likewise.
14397 * nscd/hstcache.c: Likewise.
14398 * nscd/nscd_gethst_r.c: Likewise.
14399 * nscd/nscd_getserv_r.c: Likewise.
14400 * nscd/nscd_helper.c: Likewise.
14401 * nscd/servicescache.c: Likewise.
14402 * nss/makedb.c: Likewise.
14403 * nss/nss_db/db-XXX.c: Likewise.
14404 * nss/nss_db/db-initgroups.c: Likewise.
14405 * nss/nss_db/db-netgrp.c: Likewise.
14406 * nss/nss_files/files-network.c: Likewise.
14407 * nss/nss_files/files-parse.c: Likewise.
14408 * posix/bug-regex5.c: Likewise.
14409 * posix/fnmatch_loop.c: Likewise.
14410 * posix/regcomp.c: Likewise.
14411 * posix/regexec.c: Likewise.
14412 * posix/tst-rfc3484-2.c: Likewise.
14413 * posix/tst-rfc3484-3.c: Likewise.
14414 * posix/tst-rfc3484.c: Likewise.
14415 * resolv/nss_dns/dns-canon.c: Likewise.
14416 * resolv/nss_dns/dns-network.c: Likewise.
14417 * resolv/res_init.c: Likewise.
14418 * resolv/res_mkquery.c: Likewise.
14419 * resolv/tst-aton.c: Likewise.
14420 * stdlib/cxa_atexit.c: Likewise.
14421 * stdlib/cxa_finalize.c: Likewise.
14422 * stdlib/gen-fpioconst.c: Likewise.
14423 * stdlib/strtol_l.c: Likewise.
14424 * string/tst-endian.c: Likewise.
14425 * sunrpc/auth_des.c: Likewise.
14426 * sunrpc/clnt_udp.c: Likewise.
14427 * sunrpc/rtime.c: Likewise.
14428 * sunrpc/svcauth_des.c: Likewise.
14429 * sunrpc/xdr.c: Likewise.
14430 * sunrpc/xdr_intXX_t.c: Likewise.
14431 * sunrpc/xdr_rec.c: Likewise.
14432 * sysdeps/generic/ldconfig.h: Likewise.
14433 * sysdeps/generic/ldsodefs.h: Likewise.
14434 * sysdeps/generic/memusage.h: Likewise.
14435 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14436 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14437 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14438 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14439 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14440 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14441 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14442 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14443 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14444 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14445 * sysdeps/posix/getaddrinfo.c: Likewise.
14446 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14447 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14448 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14449 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14450 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14451 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14452 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14453 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14454 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14455 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14456 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14457 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14458 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14459 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14460 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14461 * sysdeps/x86_64/dl-tls.h: Likewise.
14462 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14463 * time/alt_digit.c: Likewise.
14464 * time/era.c: Likewise.
14465 * wcsmbs/tst-c16c32-1.c: Likewise.
14466
8c75f674
JM
144672013-05-16 Joseph Myers <joseph@codesourcery.com>
14468
14469 * math/libm-test.inc (struct test_sincos_data): New type.
14470 (RUN_TEST_LOOP_sincos): New macro.
14471 (sincos_test_data): New variable.
14472 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14473
e6e49e59
RH
144742013-05-16 Richard Henderson <rth@redhat.com>
14475
14476 * math/atest-exp2.c (LIMB64): New macro.
14477 (CONSTSZ): New macro.
14478 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14479 (hexdig): Move ...
14480 (print_mpn_fp): ... to function scope.
14481 (read_mpn_hex): Remove.
14482 (get_log2): Remove.
14483 (exp2_mpn): Use mp_log2.
14484 (main): Use mp_exp1.
14485
15c7c18d
JM
144862013-05-16 Joseph Myers <joseph@codesourcery.com>
14487
105a07df
JM
14488 * math/libm-test.inc: Remove comment about not testing "inexact"
14489 exceptions.
14490 (INEXACT_EXCEPTION): New macro.
14491 (NO_INEXACT_EXCEPTION): Likewise.
14492 (INVALID_EXCEPTION_OK): Update value.
14493 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14494 (OVERFLOW_EXCEPTION_OK): Likewise.
14495 (UNDERFLOW_EXCEPTION_OK): Likewise.
14496 (IGNORE_ZERO_INF_SIGN): Likewise.
14497 (ERRNO_UNCHANGED): Likewise.
14498 (ERRNO_EDOM): Likewise.
14499 (ERRNO_ERANGE): Likewise.
14500 (test_exceptions): Handle testing "inexact" exceptions.
14501 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14502 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14503 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14504 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14505 INEXACT_EXCEPTION.
14506 (rint_towardzero_test_data): Likewise.
14507 (rint_downward_test_data): Likewise.
14508 (rint_upward_test_data): Likewise.
14509
e9eee333
JM
14510 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14511 with OVERFLOW_EXCEPTION.
14512 (exp10_test_data): Likewise.
14513 (exp2_test_data): Likewise.
14514 (expm1_test_data): Likewise.
14515 (lgamma_test_data): Likewise.
14516 (pow_test_data): Likewise.
14517 (tgamma_test_data): Likewise.
14518 (yn_test_data): Remove duplicate test of overflow.
14519
1c38ff73
JM
14520 * math/libm-test.inc (struct test_cc_c_data): New type.
14521 (RUN_TEST_LOOP_cc_c): New macro.
14522 (cpow_test_data): New variable.
14523 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14524
15c7c18d
JM
14525 * math/libm-test.inc (struct test_f_L_data): New type.
14526 (RUN_TEST_LOOP_f_L): New macro.
14527 (llrint_test_data): New variable.
14528 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14529 (llrint_tonearest_test_data): New variable.
14530 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14531 (llrint_towardzero_test_data): New variable.
14532 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14533 (llrint_downward_test_data): New variable.
14534 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14535 (llrint_upward_test_data): New variable.
14536 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14537 (llround_test_data): New variable.
14538 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14539
f137ff13
PC
145402013-05-13 Peter Collingbourne <pcc@google.com>
14541
14542 * math/atest-exp2.c (get_log2): Remove const attribute.
14543
3608cb24
JM
145442013-05-15 Joseph Myers <joseph@codesourcery.com>
14545
14546 * math/libm-test.inc (struct test_f_l_data): New type.
14547 (RUN_TEST_LOOP_f_l): New macro.
14548 (lrint_test_data): New variable.
14549 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14550 (lrint_tonearest_test_data): New variable.
14551 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14552 (lrint_towardzero_test_data): New variable.
14553 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14554 (lrint_downward_test_data): New variable.
14555 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14556 (lrint_upward_test_data): New variable.
14557 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14558 (lround_test_data): New variable.
14559 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14560
39b1f617
PC
145612013-05-15 Peter Collingbourne <pcc@google.com>
14562
1deff3dc
PC
14563 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14564 (EXTRACT_WORDS64) Use where appropriate.
14565 (INSERT_WORDS64) Likewise.
14566
791f3ba0
PC
14567 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14568 constraints with x constraints.
14569 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14570
39b1f617
PC
14571 * malloc/obstack.c (_obstack_compat): Add initializer.
14572
12fba011
EM
145732013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14574
14575 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14576 si_trapno and add si_addr_lsb to _sifields.sigfault.
14577 (si_trapno): Remove macro.
14578 (si_addr_lsb): Define new macro.
14579 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14580
d369f531
JM
145812013-05-15 Joseph Myers <joseph@codesourcery.com>
14582
b861c6c4
JM
14583 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14584 instead of TEST_f_l.
14585 (llrint_test_tonearest): Likewise.
14586 (llrint_test_towardzero): Likewise.
14587 (llrint_test_downward): Likewise.
14588 (llrint_test_upward): Likewise.
14589 (llround_test): Likewise.
14590
7abeee12
JM
14591 * math/libm-test.inc (struct test_f_i_data): Add comment.
14592 (RUN_TEST_LOOP_f_b): New macro.
14593 (RUN_TEST_LOOP_f_b_tg): Likewise.
14594 (finite_test_data): New variable.
14595 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14596 (isfinite_test_data): New variable.
14597 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14598 (isinf_test_data): New variable.
14599 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14600 (isnan_test_data): New variable.
14601 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14602 (isnormal_test_data): New variable.
14603 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14604 (issignaling_test_data): New variable.
14605 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14606 (signbit_test_data): New variable.
14607 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14608
cbe8c4d3
JM
14609 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14610 with INVALID_EXCEPTION.
14611 (acosh_test_data): Likewise.
14612 (asin_test_data): Likewise.
14613 (atanh_test_data): Likewise.
14614 (fmod_test_data): Likewise.
14615 (log_test_data): Likewise.
14616 (log10_test_data): Likewise.
14617 (log2_test_data): Likewise.
14618 (pow_test_data): Likewise.
14619 (sqrt_test_data): Likewise.
14620 (y0_test_data): Likewise.
14621 (y1_test_data): Likewise.
14622 (yn_test_data): Likewise.
14623
5575c0e5
JM
14624 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14625 function contents.
14626
d369f531
JM
14627 * math/libm-test.inc (struct test_ff_i_data): New type.
14628 (RUN_TEST_LOOP_ff_i_tg): New macro.
14629 (isgreater_test_data): New variable.
14630 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14631 (isgreaterequal_test_data): New variable.
14632 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14633 (isless_test_data): New variable.
14634 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14635 (islessequal_test_data): New variable.
14636 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14637 (islessgreater_test_data): New variable.
14638 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14639 (isunordered_test_data): New variable.
14640 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14641
781fd748
DM
146422013-05-14 David S. Miller <davem@davemloft.net>
14643
14644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14645
87aa21df
JM
146462013-05-14 Joseph Myers <joseph@codesourcery.com>
14647
5e908270
JM
14648 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14649
f71172e5
JM
14650 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14651 extra_test to int.
14652 (struct test_f_i_data): Change type of max_ulp to int.
14653
8cfa635a
JM
14654 * math/libm-test.inc (test_ffI_f1_data): New type.
14655 (RUN_TEST_LOOP_ffI_f1): New macro.
14656 (remquo_test_data): New variable.
14657 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14658
2bcb36b2
JM
14659 * setjmp/tst-setjmp-fp.c: New file.
14660 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14661 (link-libm): New variable.
14662 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14663
acbd839a
JM
14664 * math/libm-test.inc (struct test_f_i_data): New type.
14665 (RUN_TEST_LOOP_f_i): New macro.
14666 (RUN_TEST_LOOP_f_i_tg): Likewise.
14667 (fpclassify_test_data): New variable.
14668 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14669 (ilogb_test_data): New variable.
14670 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14671
e414d745
JM
14672 * math/libm-test.inc (scalbln_test): Correct function name in END
14673 call.
14674
d9c2a0fd
JM
14675 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14676 (RUN_TEST_LOOP_fI_f1): New macro.
14677 (frexp_test_data): New variable.
14678 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14679
9dc9095d
JM
14680 * math/libm-test.inc (struct test_fF_f1_data): New type.
14681 (RUN_TEST_LOOP_fF_f1): New macro.
14682 (modf_test_data): New variable.
14683 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14684
87aa21df
JM
14685 * math/libm-test.inc (struct test_f_f1_data): New type.
14686 (RUN_TEST_LOOP_f_f1): New macro.
14687 (gamma_test_data): New variable.
14688 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14689 (lgamma_test_data): New variable.
14690 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14691
141af660
CD
146922013-05-13 Carlos O'Donell <carlos@redhat.com>
14693
14694 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14695 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14696 (main): Comment "tls" pseudo-hwcap.
14697
6d33265c
JM
146982013-05-13 Joseph Myers <joseph@codesourcery.com>
14699
68fc074c
JM
14700 * math/libm-test.inc (struct test_fl_f_data): New type.
14701 (RUN_TEST_LOOP_fl_f): New variable.
14702 (scalbln_test_data): New variable.
14703 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14704
243216e1
JM
14705 * math/libm-test.inc (struct test_fi_f_data): New type.
14706 (RUN_TEST_LOOP_fi_f): New macro.
14707 (ldexp_test_data): New variable.
14708 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14709 (scalbn_test_data): New variable.
14710 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14711
6a1992e2
JM
14712 * math/libm-test.inc (struct test_c_f_data): New type.
14713 (RUN_TEST_LOOP_c_f): New macro.
14714 (cabs_test_data): New variable.
14715 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14716 (carg_test_data): New variable.
14717 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14718 (cimag_test_data): New variable.
14719 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14720 (creal_test_data): New variable.
14721 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14722
0e400df5
JM
14723 * math/libm-test.inc (struct test_if_f_data): New type.
14724 (RUN_TEST_LOOP_if_f): New macro.
14725 (jn_test_data): New variable.
14726 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14727 (yn_test_data): New variable.
14728 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14729
6d33265c
JM
14730 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14731
f98ece5f
AZ
147322013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14733
14734 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14735 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14736
0f7d347b
SP
147372013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14738
43fe811b
SP
14739 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14740 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14741 (bench-deps): Add bench-timing.h.
14742 * benchtests-bench-skeleton.c: Include bench-timing.h.
14743 (main): Use TIMING_* macros instead of clock_gettime.
14744 * benchtests/bench-timing.h: New file.
14745
0f7d347b
SP
14746 [BZ #14582]
14747 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14748 Renamed from _LIB_VERSION.
14749 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14750
601a3a5f
JM
147512013-05-12 Joseph Myers <joseph@codesourcery.com>
14752
4f184d30
JM
14753 * math/libm-test.inc (struct test_fff_f_data): New type.
14754 (RUN_TEST_LOOP_fff_f): New macro.
14755 (fma_test_data): New variable.
14756 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14757 (fma_towardzero_test_data): New variable.
14758 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14759 (fma_downward_test_data): New variable.
14760 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14761 (fma_upward_test_data): New variable.
14762 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14763
08198877
JM
14764 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14765 (struct test_c_c_data): New type.
14766 (RUN_TEST_LOOP_c_c): New macro.
14767 (cacos_test_data): New variable.
14768 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14769 (cacosh_test_data): New variable.
14770 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14771 (casin_test_data): New variable.
14772 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14773 (casinh_test_data): New variable.
14774 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14775 (catan_test_data): New variable.
14776 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14777 (catanh_test_data): New variable.
14778 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14779 (ccos_test_data): New variable.
14780 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14781 (ccosh_test_data): New variable.
14782 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14783 (cexp_test_data): New variable.
14784 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14785 (clog_test_data): New variable.
14786 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14787 (clog10_test_data): New variable.
14788 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14789 (conj_test_data): New variable.
14790 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14791 (cproj_test_data): New variable.
14792 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14793 (csin_test_data): New variable.
14794 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14795 (csinh_test_data): New variable.
14796 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14797 (csqrt_test_data): New variable.
14798 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14799 (ctan_test_data): New variable.
14800 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14801 (ctan_tonearest_test_data): New variable.
14802 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14803 (ctan_towardzero_test_data): New variable.
14804 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14805 (ctan_downward_test_data): New variable.
14806 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14807 (ctan_upward_test_data): New variable.
14808 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14809 (ctanh_test_data): New variable.
14810 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14811 (ctanh_tonearest_test_data): New variable.
14812 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14813 (ctanh_towardzero_test_data): New variable.
14814 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14815 (ctanh_downward_test_data): New variable.
14816 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14817 (ctanh_upward_test_data): New variable.
14818 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14819 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14820 of BUILD_COMPLEX.
14821
601a3a5f
JM
14822 * math/libm-test.inc (struct test_ff_f_data): New type.
14823 (struct test_ff_f_data_nexttoward): Likewise.
14824 (RUN_TEST_LOOP_2_f): New macro.
14825 (RUN_TEST_LOOP_ff_f): Likewise.
14826 (atan2_test_data): New variable.
14827 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14828 (copysign_test_data): New variable.
14829 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14830 (fdim_test_data): New variable.
14831 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14832 (fmax_test_data): New variable.
14833 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14834 (fmin_test_data): New variable.
14835 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14836 (fmod_test_data): New variable.
14837 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14838 (hypot_test_data): New variable.
14839 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14840 (nextafter_test_data): New variable.
14841 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14842 (nexttoward_test_data): New variable.
14843 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14844 (pow_test_data): New variable.
14845 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14846 (pow_tonearest_test_data): New variable.
14847 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14848 (pow_towardzero_test_data): New variable.
14849 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14850 (pow_downward_test_data): New variable.
14851 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14852 (pow_upward_test_data): New variable.
14853 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14854 (remainder_test_data): New variable.
14855 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14856 (scalb_test_data): New variable.
14857 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14858 * sysdeps/i386/fpu/libm-test-ulps: Update.
14859
74c57478
JM
148602013-05-11 Joseph Myers <joseph@codesourcery.com>
14861
8329e4da
JM
14862 * math/libm-test.inc (fma_test): Use max_value instead of local
14863 variable fltmax.
14864 (nextafter_test): Likewise.
14865
74c57478
JM
14866 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14867 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14868 (acos_downward_test_data): New variable.
14869 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14870 (acos_upward_test_data): New variable.
14871 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14872 (acosh_test_data): New variable.
14873 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14874 (asin_test_data): New variable.
14875 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14876 (asin_tonearest_test_data): New variable.
14877 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14878 (asin_towardzero_test_data): New variable.
14879 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14880 (asin_downward_test_data): New variable.
14881 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14882 (asin_upward_test_data): New variable.
14883 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14884 (asinh_test_data): New variable.
14885 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14886 (atan_test_data): New variable.
14887 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14888 (atanh_test_data): New variable.
14889 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14890 (cbrt_test_data): New variable.
14891 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14892 (ceil_test_data): New variable.
14893 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14894 (cos_test_data): New variable.
14895 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14896 (cos_tonearest_test_data): New variable.
14897 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14898 (cos_towardzero_test_data): New variable.
14899 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14900 (cos_downward_test_data): New variable.
14901 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14902 (cos_upward_test_data): New variable.
14903 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14904 (cosh_test_data): New variable.
14905 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14906 (cosh_tonearest_test_data): New variable.
14907 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14908 (cosh_towardzero_test_data): New variable.
14909 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14910 (cosh_downward_test_data): New variable.
14911 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14912 (cosh_upward_test_data): New variable.
14913 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14914 (erf_test_data): New variable.
14915 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14916 (erfc_test_data): New variable.
14917 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14918 (exp_test_data): New variable.
14919 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14920 (exp_tonearest_test_data): New variable.
14921 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14922 (exp_towardzero_test_data): New variable.
14923 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14924 (exp_downward_test_data): New variable.
14925 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14926 (exp_upward_test_data): New variable.
14927 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14928 (exp10_test_data): New variable.
14929 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14930 (exp2_test_data): New variable.
14931 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14932 (expm1_test_data): New variable.
14933 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14934 (fabs_test_data): New variable.
14935 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14936 (floor_test_data): New variable.
14937 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14938 (j0_test_data): New variable.
14939 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14940 (j1_test_data): New variable.
14941 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14942 (log_test_data): New variable.
14943 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14944 (log10_test_data): New variable.
14945 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14946 (log1p_test_data): New variable.
14947 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14948 (log2_test_data): New variable.
14949 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14950 (logb_test_data): New variable.
14951 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14952 (logb_downward_test_data): New variable.
14953 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14954 (nearbyint_test_data): New variable.
14955 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14956 (rint_test_data): New variable.
14957 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14958 (rint_tonearest_test_data): New variable.
14959 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14960 (rint_towardzero_test_data): New variable.
14961 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14962 (rint_downward_test_data): New variable.
14963 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14964 (rint_upward_test_data): New variable.
14965 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14966 (round_test_data): New variable.
14967 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14968 (sin_test_data): New variable.
14969 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14970 (sin_tonearest_test_data): New variable.
14971 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14972 (sin_towardzero_test_data): New variable.
14973 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14974 (sin_downward_test_data): New variable.
14975 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14976 (sin_upward_test_data): New variable.
14977 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14978 (sinh_test_data): New variable.
14979 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14980 (sinh_tonearest_test_data): New variable.
14981 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14982 (sinh_towardzero_test_data): New variable.
14983 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14984 (sinh_downward_test_data): New variable.
14985 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14986 (sinh_upward_test_data): New variable.
14987 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14988 (sqrt_test_data): New variable.
14989 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14990 (tan_test_data): New variable.
14991 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14992 (tan_tonearest_test_data): New variable.
14993 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14994 (tan_towardzero_test_data): New variable.
14995 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14996 (tan_downward_test_data): New variable.
14997 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14998 (tan_upward_test_data): New variable.
14999 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15000 (tanh_test_data): New variable.
15001 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15002 (tgamma_test_data): New variable.
15003 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15004 (trunc_test_data): New variable.
15005 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15006 (y0_test_data): New variable.
15007 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15008 (y1_test_data): New variable.
15009 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15010 (significand_test_data): New variable.
15011 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15012
7187d844
CG
150132013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
15014
15015 [BZ #12387]
15016 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15017
f63fae73
PT
150182013-05-10 Pino Toscano <toscano.pino@tiscali.it>
15019
15020 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15021
8a67a4b3
AJ
150222013-05-10 Andreas Jaeger <aj@suse.de>
15023
15024 [BZ #15448]
15025 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15026 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15027
51df539d
JM
150282013-05-10 Joseph Myers <joseph@codesourcery.com>
15029
15030 * math/gen-libm-test.pl (adjust_arg): New function.
15031 (special_functions): Handle generating output in both functions
15032 and arrays.
15033 (parse_args): Likewise.
15034 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
15035 $in_func argument to parse_args.
15036 * math/libm-test.inc (struct test_f_f_data): New type.
15037 (IF_ROUND_INIT_): New macro.
15038 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15039 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15040 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15041 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15042 (ROUND_RESTORE_): Likewise.
15043 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15044 (ROUND_RESTORE_FE_TONEAREST): Likewise.
15045 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15046 (ROUND_RESTORE_FE_UPWARD): Likewise.
15047 (RUN_TEST_LOOP_f_f): New macro.
15048 (acos_test_data): New variable.
15049 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15050 (acos_tonearest_test_data): New variable.
15051 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15052
5c637fe5
SP
150532013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15054
15055 * benchtests/bench-skeleton.c (startup): Fix coding style.
15056
ab2b9461
JM
150572013-05-10 Joseph Myers <joseph@codesourcery.com>
15058
15059 [BZ #6809]
15060 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15061 negative infinity argument.
15062 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15063 negative infinity argument.
15064 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15065 negative infinity argument.
15066 * math/libm-test.inc (tgamma_test): Expect errno to be set for
15067 domain errors.
15068
4c0fe6fe
FW
150692013-05-10 Florian Weimer <fweimer@redhat.com>
15070
15071 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15072 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15073 * iconv/iconv_prog.c (main): Likewise.
15074 * locale/programs/charmap-dir.c (charmap_readdir)
15075 (fopen_uncompressed): Likewise.
15076 * locale/programs/locfile.c (siblings_uncached)
15077 (write_locale_data): Use lstat64 instead of lstat.
15078 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15079 stat.
15080
a3375d29
AJ
150812013-05-10 Andreas Jaeger <aj@suse.de>
15082
15083 [BZ #15395]
15084 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15085 localization.
15086 Include <locale.h>.
15087
36129722
CD
150882013-05-09 Carlos O'Donell <carlos@redhat.com>
15089
15090 * elf/dl-close.c (_dl_close_worker): Add comments.
15091
faa7f811
JM
150922013-05-09 Joseph Myers <joseph@codesourcery.com>
15093
ed41ffef
JM
15094 [BZ #15359]
15095 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15096 high part of pi/2.
15097 (__ieee754_rem_pio2l): Update comments.
15098
d0213cd0
JM
15099 [BZ #15429]
15100 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15101 high part of pi/2.
15102 (__ieee754_rem_pio2l): Update comments.
15103
0d3e777a
JM
15104 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15105 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15106
24f56066
JM
15107 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15108 M_PI_4l.
15109
faa7f811
JM
15110 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15111 (M_PI_34_LOG10El): Likewise.
15112 (M_PI2_LOG10El): Likewise.
15113 (M_PI4_LOG10El): Likewise.
15114 (M_PI_LOG10El): Likewise.
15115
e9a5e0fd
AZ
151162013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15117
15118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15119
d8cd06db
JM
151202013-05-08 Joseph Myers <joseph@codesourcery.com>
15121
a0d9f9d7
JM
15122 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15123 (MINUS_ZERO_INIT): Likewise.
15124 (PLUS_INFTY_INIT): Likewise.
15125 (MINUS_INFTY_INIT): Likewise.
15126 (QNAN_VALUE_INIT): Likewise.
15127 (MAX_VALUE_INIT): Likewise.
15128 (MIN_VALUE_INIT): Likewise.
15129 (MIN_SUBNORM_VALUE_INIT): Likewise.
15130 (plus_zero): Initialize with PLUS_ZERO_INIT.
15131 (minus_zero): Initialize with MINUS_ZERO_INIT.
15132 (plus_infty): Initialize with PLUS_INFTY_INIT.
15133 (minus_infty): Initialize with MINUS_INFTY_INIT.
15134 (qnan_value): Initialize with QNAN_VALUE_INIT.
15135 (max_value): Initialize with MAX_VALUE_INIT.
15136 (min_value): Initialize with MIN_VALUE_INIT.
15137 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15138
ae08db3b
JM
15139 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15140 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15141 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15142 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15143
f44bf14a
JM
15144 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15145 (RUN_TEST_2_f): Likewise.
15146 (RUN_TEST_ff_f): Likewise.
15147 (RUN_TEST_fi_f): Likewise.
15148 (RUN_TEST_fl_f): Likewise.
15149 (RUN_TEST_fff_f): Likewise.
15150 (RUN_TEST_c_f): Likewise.
15151 (RUN_TEST_f_f1): Likewise.
15152 (RUN_TEST_fF_f1): Likewise.
15153 (RUN_TEST_fI_f1): Likewise.
15154 (RUN_TEST_ffI_f1): Likewise.
15155 (RUN_TEST_c_c): Likewise.
15156 (RUN_TEST_cc_c): Likewise.
15157 (RUN_TEST_f_i): Likewise.
15158 (RUN_TEST_f_i_tg): Likewise.
15159 (RUN_TEST_ff_i_tg): Likewise.
15160 (RUN_TEST_f_b): Likewise.
15161 (RUN_TEST_f_b_tg): Likewise.
15162 (RUN_TEST_f_l): Likewise.
15163 (RUN_TEST_f_L): Likewise.
15164 (RUN_TEST_sincos): Likewise.
15165 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15166 whether to show exceptions. Do not include ");\n" in return
15167 value.
15168 (special_functions): Output call to RUN_TEST_sincos instead of
15169 check_float calls. Update calls to new_test.
15170 (parse_args): Output call to single RUN_TEST_* macro instead of
15171 check_* calls and other assignments. Update calls to new_test.
15172
d8cd06db
JM
15173 [BZ #2546]
15174 [BZ #2560]
15175 [BZ #5159]
15176 [BZ #15426]
15177 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15178 input to result for tgamma overflow.
15179 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15180 (gamma_coeff): New variable.
15181 (NCOEFF): New macro.
15182 (gamma_positive): New function.
15183 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15184 underflow here. Use gamma_positive instead of exp (lgamma) for
15185 other arguments.
15186 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15187 (gamma_coeff): New variable.
15188 (NCOEFF): New macro.
15189 (gammaf_positive): New function.
15190 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15191 underflow here. Use gamma_positive instead of exp (lgamma) for
15192 other arguments.
15193 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15194 (gamma_coeff): New variable.
15195 (NCOEFF): New macro.
15196 (gammal_positive): New function.
15197 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15198 underflow here. Use gamma_positive instead of exp (lgamma) for
15199 other arguments.
15200 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15201 (gamma_coeff): New variable.
15202 (NCOEFF): New macro.
15203 (gammal_positive): New function.
15204 (__ieee754_gammal_r): Handle positive infinity, overflow and
15205 underflow here. Handle NaN the same as positive infinity. Remove
15206 check x < 0xffffffff for negative integers. Use gamma_positive
15207 instead of exp (lgamma) for other arguments.
15208 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15209 (gamma_coeff): New variable.
15210 (NCOEFF): New macro.
15211 (gammal_positive): New function.
15212 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15213 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15214 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15215 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15216 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15217 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15218 * sysdeps/generic/math_private.h (__gamma_productf): New
15219 prototype.
15220 (__gamma_product): Likewise.
15221 (__gamma_productl): Likewise.
15222 * math/Makefile (libm-calls): Add gamma_product.
15223 * math/libm-test.inc (tgamma_test): Add more tests.
15224 * sysdeps/i386/fpu/libm-test-ulps: Update.
15225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15226
bb7cf681
OB
152272013-05-08 Ondřej Bílka <neleai@seznam.cz>
15228
15229 * benchtests/bench-skeleton.c (main): Preheat CPU.
15230
ba853947
AJ
152312013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15232
15233 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15234
8347c74c
RM
152352013-05-07 Roland McGrath <roland@hack.frob.com>
15236
15237 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15238 and _dl_skip_args_internal.
15239
e8dd4791
CD
152402013-05-07 Carlos O'Donell <carlos@redhat.com>
15241
15242 * manual/message.texi (Message Translation): Talk about users.
15243 Message to key mapping impacts design.
15244
c7405830
RM
152452013-05-06 Roland McGrath <roland@hack.frob.com>
15246
a9173057
RM
15247 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15248
976e2f03
RM
15249 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15250
9723ffc5
RM
15251 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15252 * sysdeps/wordsize-64/glob64.c: ... here.
15253
962e6658
RM
15254 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15255 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15256 New macros.
15257
ee586a6d
RM
15258 * debug/getlogin_r_chk.c: Moved to ...
15259 * login/getlogin_r_chk.c: ... here.
15260 * debug/Makefile (routines): Move getlogin_r_chk to ...
15261 * login/Makefile (routines): ... here.
15262 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15263 * login/Versions (libc: GLIBC_2.4): ... here.
15264
355f9165
RM
15265 * io/poll.c (__poll): Renamed from poll.
15266 Add libc_hidden_def.
15267 (poll): Define as weak alias.
15268
bd9ffde6
RM
15269 * debug/ptsname_r_chk.c: Moved to ...
15270 * login/ptsname_r_chk.c: ... here.
15271 * debug/Makefile (routines): Move ptsname_r_chk to ...
15272 * login/Makefile (routines): ... here.
15273 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15274 * login/Versions (libc: GLIBC_2.4): ... here.
15275
8fb16a04
RM
15276 * posix/getlogin.c: Moved to ...
15277 * login/getlogin.c: ... here.
15278 * posix/getlogin_r.c: Moved to ...
15279 * login/getlogin_r.c: ... here.
15280 * posix/getlogin_r.c: Moved to ...
15281 * login/getlogin_r.c: ... here.
15282 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15283 * login/Makefile (routines): ... here.
15284 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15285 * login/Versions (libc: GLIBC_2.0): ... here.
15286
b99b892f
RM
15287 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15288 (setrlimit): Define as weak alias.
15289
c7405830
RM
15290 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15291 Call __ names for open, ftruncate, and close.
15292 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15293 (truncate): Define as weak alias.
15294
5bf96de5
JM
152952013-05-06 Joseph Myers <joseph@codesourcery.com>
15296
9ea3513c
JM
15297 * math/gen-libm-test.pl (parse_args): Initialize x before each
15298 test of frexp, modf and remquo.
15299
5bf96de5
JM
15300 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15301 test signgam value.
15302
16e616a7
AZ
153032013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15304
15305 [BZ #15418]
15306 [BZ #15419]
15307 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15308 internal tests.
15309 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15310
d5e82754
RM
153112013-05-06 Roland McGrath <roland@hack.frob.com>
15312
15313 * elf/dl-writev.h: New file.
15314 * elf/dl-misc.c: Include it.
15315 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15316 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15317
a7548d41
JM
153182013-05-04 Joseph Myers <joseph@codesourcery.com>
15319
b7dab1e4
JM
15320 * math/libm-test.inc (noXFails): Remove variable.
15321 (noXPasses): Likewise.
15322 (BUILD_COMPLEX_INT): Remove macro.
15323 (print_screen): Remove xfail argument.
15324 (print_screen_max_error): Likewise.
15325 (update_stats): Likewise.
15326 (print_max_error): Likewise. Update calls to other affected
15327 functions.
15328 (print_complex_max_error): Likewise.
15329 (test_single_exception): Update calls to print_screen.
15330 (test_single_errno): Likewise.
15331 (check_float_internal): Remove xfail argument. Update calls to
15332 other affected functions.
15333 (check_float): Likewise.
15334 (check_complex): Likewise.
15335 (check_int): Likewise.
15336 (check_long): Likewise.
15337 (check_bool): Likewise.
15338 (check_longlong): Likewise.
15339 (main): Don't print noXFails and noXPasses.
15340 * math/gen-libm-test.pl (top level): Don't mention expected
15341 failure handling in comment.
15342 (new_test): Don't handle expected failures.
15343 (parse_args): Don't mention expected failure handling in comment.
15344 (generate_testfile): Don't handle expected failures.
15345 (parse_ulps): Likewise.
15346 (print_ulps_file): Likewise.
15347 (get_failure): Remove function.
15348 (output_test): Don't handle expected failures.
15349 * make/README.libm-test: Don't mention expected failure handling.
15350
a7548d41
JM
15351 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15352 (minus_zero): Likewise.
15353 (plus_infty): Likewise.
15354 (minus_infty): Likewise.
15355 (qnan_value): Likewise.
15356 (max_value): Likewise.
15357 (min_value): Likewise.
15358 (min_subnorm_value): Likewise.
15359 (initialize): Do not initialize those variables dynamically.
15360
60bfd54c
RM
153612013-05-03 Roland McGrath <roland@hack.frob.com>
15362
cc0e6ed8
RM
15363 * io/open.c (__open_2): Moved to ...
15364 * io/open_2.c: ... this new file.
15365 * io/open64.c (__open64_2): Moved to ...
15366 * io/open64_2.c: ... this new file.
15367 * io/openat.c (__openat_2): Moved to ...
15368 * io/openat_2.c: ... this new file.
15369 * io/openat64.c (__openat64_2): Moved to ...
15370 * io/openat64_2.c: ... this new file.
15371 * io/Makefile (routines): Add them.
15372 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15373 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15374 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15375 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15376 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15377 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15378 (__openat64): Add hidden_ver.
15379 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15380 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15381
60bfd54c
RM
15382 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15383 Separately conditionalize setting of GLRO(dl_sysinfo) so
15384 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15385 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15386
83e7640f
AZ
153872013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15388
15389 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15390 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15391 definition.
15392 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15393 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15394 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15395 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15396 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15397
d5dc2af3
JM
153982013-05-03 Joseph Myers <joseph@codesourcery.com>
15399
c31a5b1e
JM
15400 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15401 test signgam value.
15402
d5dc2af3
JM
15403 * math/libm-test.inc (hypot_test): Do not use
15404 IGNORE_ZERO_INF_SIGN.
15405
164fd39d
AJ
154062013-05-03 Andreas Jaeger <aj@suse.de>
15407
15408 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15409 Linux 3.9.
15410 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15411 (PF_MAX): Adjust for VSOCK change.
15412
8237f48c
AZ
154132013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15414
15415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15416
9df02941
CD
154172013-05-02 Carlos O'Donell <carlos@redhat.com>
15418
15419 [BZ #15264]
15420 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15421 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15422 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15423
d422395e
DM
154242013-05-02 David S. Miller <davem@davemloft.net>
15425
15426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15427
a07c5731
OB
154282013-05-01 Ondřej Bílka <neleai@seznam.cz>
15429
15430 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15431
1324e37f
RM
154322013-05-01 Roland McGrath <roland@hack.frob.com>
15433
15434 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15435
0695940b
RS
154362013-05-01 Richard Smith <richard@metafoo.co.uk>
15437
bb5f27ad 15438 [BZ #14952]
0695940b
RS
15439 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15440 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15441 Use __attribute__ ((__gnu_inline__)).
15442 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15443 Don't use __attribute__ ((__gnu_inline__)).
15444
10de07f5
JM
154452013-05-01 Joseph Myers <joseph@codesourcery.com>
15446
15447 [BZ #15423]
15448 * math/s_catan.c (__catan): Handle small real or imaginary part of
15449 input specially to avoid spurious underflow.
15450 * math/s_catanf.c (__catanf): Likewise.
15451 * math/s_catanh.c (__catanh): Likewise.
15452 * math/s_catanhf.c (__catanhf): Likewise.
15453 * math/s_catanhl.c (__catanhl): Likewise.
15454 * math/s_catanl.c (__catanl): Likewise.
15455 * math/libm-test.inc (catan_test): Add more tests.
15456 (catanh_test): Likewise.
15457 * sysdeps/i386/fpu/libm-test-ulps: Update.
15458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15459
cb4d5414
AZ
154602013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15461
15462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15463
caf84319
JM
154642013-04-30 Joseph Myers <joseph@codesourcery.com>
15465
15466 [BZ #15416]
15467 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15468 accurately for denominator in atan2.
15469 * math/s_catanf.c (__catanf): Likewise.
15470 * math/s_catanh.c (__catanh): Likewise.
15471 * math/s_catanhf.c (__catanhf): Likewise.
15472 * math/s_catanhl.c (__catanhl): Likewise.
15473 * math/s_catanl.c (__catanl): Likewise.
15474 * math/libm-test.inc (catan_test): Add more tests.
15475 (catanh_test): Likewise.
15476 * sysdeps/i386/fpu/libm-test-ulps: Update.
15477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15478
d569c6ee
SP
154792013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15480
6dbe713d
SP
15481 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15482
f0ee064b
SP
15483 * benchtests/Makefile (bench): Remove slow benchmarks.
15484 * benchtests/atan-inputs: Add slow benchmark inputs.
15485 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15486 (BENCH_FUNC): Accept variant offset.
15487 (VARIANT): Define.
15488 * benchtests/bench-skeleton.c (main): Run benchmark for each
15489 variant.
15490 * benchtests/cos-inputs: Add slow benchmark inputs.
15491 * benchtests/exp-inputs: Likewise.
15492 * benchtests/pow-inputs: Likewise.
15493 * benchtests/sin-inputs: Likewise.
15494 * benchtests/slowatan-inputs: Remove.
15495 * benchtests/slowatan.c: Remove.
15496 * benchtests/slowcos-inputs: Remove.
15497 * benchtests/slowcos.c: Remove.
15498 * benchtests/slowexp-inputs: Remove.
15499 * benchtests/slowexp.c: Remove.
15500 * benchtests/slowpow-inputs: Remove.
15501 * benchtests/slowpow.c: Remove.
15502 * benchtests/slowsin-inputs: Remove.
15503 * benchtests/slowsin.c: Remove.
15504 * benchtests/slowtan-inputs: Remove.
15505 * benchtests/slowtan.c: Remove.
15506 * benchtests/tan-inputs: Add slow benchmark inputs.
15507 * scripts/bench.pl: Parse comments and directives.
15508
d569c6ee
SP
15509 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15510 in CPPFLAGS.
15511 ($(objpfx)bench-%.c): Remove *-ITER.
15512 * benchtests/bench-modf.c: Remove definition of ITER.
15513 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15514 (main): Loop for DURATION seconds instead of fixed number of
15515 iterations.
15516 * scripts/bench.pl: Don't expect iterations in parameters.
15517
a6a242fe
RM
155182013-04-29 Roland McGrath <roland@hack.frob.com>
15519
15520 * io/fchdir.c (__fchdir): Renamed from fchdir.
15521 (fchdir): Define as weak alias.
15522
f2da7793
JM
155232013-04-29 Joseph Myers <joseph@codesourcery.com>
15524
15525 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15526 (ERRNO_EDOM): Likewise.
15527 (ERRNO_ERANGE): Likewise.
15528 (noErrnoTests): New variable.
15529 (init_max_error): Set errno to 0.
15530 (test_single_errno): New function.
15531 (test_errno): Likewise.
15532 (check_float_internal): Call test_errno. Set errno to 0.
15533 (check_complex): Refer to errno tests in comment.
15534 (check_int): Call test_errno. Set errno to 0.
15535 (check_long): Likewise.
15536 (check_bool): Likewise.
15537 (check_longlong): Likewise.
15538 (cos_test): Use ERRNO_* flags for errno tests instead of
15539 check_int.
15540 (expm1_test): Likewise.
15541 (fmod_test): Likewise.
15542 (ilogb_test): Likewise.
15543 (lgamma_test): Likewise.
15544 (pow_test): Likewise.
15545 (remainder_test): Likewise.
15546 (sin_test): Likewise.
15547 (tan_test): Likewise.
15548 (yn_test): Likewise.
15549 (initialize): Set errno to 0.
15550 (main): Print number of errno tests.
15551 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15552
b1a36ceb
AJ
155532013-04-29 Andreas Jaeger <aj@suse.de>
15554
c3ed8088
AJ
15555 [BZ #15084]
15556 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15557 and RES_USEVC.
15558
f1a24198
AJ
15559 [BZ #15085]
15560 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15561 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15562 unimplemented.
15563
9ce3b2cb
AJ
15564 [BZ #15380]
15565 * stdlib/random.c (__initstate): Return NULL if
15566 __initstate fails.
15567
f1a24198 15568 [BZ #15086]
b1a36ceb
AJ
15569 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15570 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15571 RES_SNGLKUPREOP.
15572
7e7b6f36
AZ
155732013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15574
15575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15576
4d14f449
JM
155772013-04-29 Joseph Myers <joseph@codesourcery.com>
15578
15579 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15580 of individual tests.
15581 (casin_test): Likewise.
15582 (casinh_test): Likewise.
15583
5b4217d7
JM
155842013-04-27 Joseph Myers <joseph@codesourcery.com>
15585
15586 [BZ #15409]
15587 * math/s_catan.c (__catan): Handle arguments with large real or
15588 imaginary part separately without squaring.
15589 * math/s_catanf.c (__catanf): Likewise.
15590 * math/s_catanh.c (__catanh): Likewise.
15591 * math/s_catanhf.c (__catanhf): Likewise.
15592 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15593 and redefine.
15594 (__catanhl): Handle arguments with large real or imaginary part
15595 separately without squaring.
15596 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15597 and redefine.
15598 (__catanl): Handle arguments with large real or imaginary part
15599 separately without squaring.
15600 * math/libm-test.inc (catan_test): Add more tests.
15601 (catanh_test): Likewise.
15602 * sysdeps/i386/fpu/libm-test-ulps: Update.
15603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15604
4220c3ef
AJ
156052013-04-27 Andreas Jaeger <aj@suse.de>
15606
15607 [BZ #15007]
15608 * stdlib/stdlib.h: Update guards for qecvt.
15609 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15610 <stdlib.h>.
15611
4721b2d1
AM
156122013-04-27 Allan McRae <allan@archlinux.org>
15613
15614 * sysdeps/i386/fpu/libm-test-ulps: Update.
15615
f0302940
JM
156162013-04-26 Joseph Myers <joseph@codesourcery.com>
15617
9457fd95
JM
15618 [BZ #15406]
15619 * math/s_catan.c: Include <float.h>.
15620 (__catan): Ensure underflow exception occurs for underflowed
15621 result.
15622 * math/s_catanf.c: Include <float.h>.
15623 (__catanf): Ensure underflow exception occurs for underflowed
15624 result.
15625 * math/s_catanh.c: Include <float.h>.
15626 (__catanh): Ensure underflow exception occurs for underflowed
15627 result.
15628 * math/s_catanhf.c: Include <float.h>.
15629 (__catanhf): Ensure underflow exception occurs for underflowed
15630 result.
15631 * math/s_catanhl.c: Include <float.h>.
15632 (__catanhl): Ensure underflow exception occurs for underflowed
15633 result.
15634 * math/s_catanl.c: Include <float.h>.
15635 (__catanl): Ensure underflow exception occurs for underflowed
15636 result.
15637 * math/libm-test.inc (catan_test): Add more tests.
15638 (catanh_test): Likewise.
15639
f0302940
JM
15640 [BZ #15405]
15641 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15642 underflowed result.
15643 * math/s_ccoshf.c (__ccoshf): Likewise.
15644 * math/s_ccoshl.c (__ccoshl): Likewise.
15645 * math/s_csin.c (__csin): Likewise.
15646 * math/s_csinf.c (__csinf): Likewise.
15647 * math/s_csinh.c (__csinh): Likewise.
15648 * math/s_csinhf.c (__csinhf): Likewise.
15649 * math/s_csinhl.c (__csinhl): Likewise.
15650 * math/s_csinl.c (__csinl): Likewise.
15651 * math/libm-test.inc (ccos_test): Add more tests.
15652 (ccosh_test): Likewise.
15653 (csin_test): Likewise.
15654 (csinh_test): Likewise.
15655
aa630f59
AZ
156562013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15657
15658 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15659 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15660 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15661 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15662 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15663 powerpc/power5+/fpu folders.
15664 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15665
15666
1b835983
MT
156672013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15668
15669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15670
73709b26
JM
156712013-04-25 Joseph Myers <joseph@codesourcery.com>
15672
15673 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15674 additions to variable.
15675 [$(config-machine) = x86_64] (modules-names): Likewise.
15676 ($(objpfx)tst-audit3): Remove dependency.
15677 ($(objpfx)tst-audit3.out): Likewise.
15678 ($(objpfx)tst-audit4): Likewise.
15679 ($(objpfx)tst-audit4.out): Likewise.
15680 ($(objpfx)tst-audit5): Likewise.
15681 ($(objpfx)tst-audit5.out): Likewise.
15682 ($(objpfx)tst-audit6): Likewise.
15683 ($(objpfx)tst-audit6.out): Likewise.
15684 ($(objpfx)tst-audit7): Likewise.
15685 ($(objpfx)tst-audit7.out): Likewise.
15686 (tst-audit3-ENV): Remove variable.
15687 (tst-audit4-ENV): Likewise.
15688 (tst-audit5-ENV): Likewise.
15689 (tst-audit6-ENV): Likewise.
15690 (tst-audit7-ENV): Likewise.
15691 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15692 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15693 addition to variable.
15694 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15695 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15696 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15697 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15698 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15699 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15700 tst-audit3, tst-audit4 and tst-audit5.
15701 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15702 tst-audit6 and tst-audit7.
15703 [$(subdir) = elf] (modules-names): Add audit modules for those
15704 tests.
15705 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15706 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15707 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15708 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15709 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15710 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15711 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15712 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15713 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15714 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15715 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15716 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15717 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15718 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15719 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15720 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15721 Likewise.
15722 [$(subdir) = elf && $(config-cflags-avx) = yes]
15723 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15724 [$(subdir) = elf && $(config-cflags-avx) = yes]
15725 (CFLAGS-tst-auditmod4a.c): Likewise.
15726 [$(subdir) = elf && $(config-cflags-avx) = yes]
15727 (CFLAGS-tst-auditmod4b.c): Likewise.
15728 [$(subdir) = elf && $(config-cflags-avx) = yes]
15729 (CFLAGS-tst-auditmod6b.c): Likewise.
15730 [$(subdir) = elf && $(config-cflags-avx) = yes]
15731 (CFLAGS-tst-auditmod6c.c): Likewise.
15732 [$(subdir) = elf && $(config-cflags-avx) = yes]
15733 (CFLAGS-tst-auditmod7b.c): Likewise.
15734 * elf/tst-audit3.c: Move to ...
15735 * sysdeps/x86_64/tst-audit3.c: ... here.
15736 * elf/tst-audit4.c: Move to ...
15737 * sysdeps/x86_64/tst-audit4.c: ... here.
15738 * elf/tst-audit5.c: Move to ...
15739 * sysdeps/x86_64/tst-audit5.c: ... here.
15740 * elf/tst-audit6.c: Move to ...
15741 * sysdeps/x86_64/tst-audit6.c: ... here.
15742 * elf/tst-audit7.c: Move to ...
15743 * sysdeps/x86_64/tst-audit7.c: ... here.
15744 * elf/tst-auditmod3a.c: Move to ...
15745 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15746 * elf/tst-auditmod3b.c: Move to ...
15747 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15748 * elf/tst-auditmod4a.c: Move to ...
15749 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15750 * elf/tst-auditmod4b.c: Move to ...
15751 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15752 * elf/tst-auditmod5a.c: Move to ...
15753 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15754 * elf/tst-auditmod5b.c: Move to ...
15755 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15756 * elf/tst-auditmod6a.c: Move to ...
15757 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15758 * elf/tst-auditmod6b.c: Move to ...
15759 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15760 * elf/tst-auditmod6c.c: Move to ...
15761 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15762 * elf/tst-auditmod7a.c: Move to ...
15763 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15764 * elf/tst-auditmod7b.c: Move to ...
15765 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15766
1ef74943
PP
157672013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15768
15769 [BZ #15366]
15770 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15771 define unconditionally.
15772 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15773 define unconditionally.
15774 (INT8_C, INT16_C, etc.): Likewise.
15775
93fd48c5
MR
157762013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15777
ae9552cf
MR
15778 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15779 __ehdr_start with hidden visibility.
15780
93fd48c5
MR
15781 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15782
418601aa
CD
157832013-04-24 Carlos O'Donell <carlos@redhat.com>
15784
15785 * math/libm-test.inc (cos_test): Use accurate hex constants.
15786 (sincost_test): Likewise.
15787
2f38fbfe
JM
157882013-04-24 Joseph Myers <joseph@codesourcery.com>
15789
5e221800
JM
15790 * math/libm-test.inc (catan_test): Add more tests.
15791 (catanh_test): Likewise.
15792
77f143fd
JM
15793 * math/s_catanf.c (__catanf): Use suffixed floating-point
15794 constants.
15795 * math/s_catanhf.c (__catanhf): Likewise.
15796 * math/s_catanhl.c (__catanhl): Likewise.
15797 * math/s_catanl.c (__catanl): Likewise.
15798
2f38fbfe
JM
15799 [BZ #15394]
15800 * math/s_catan.c (__catan): Calculate imaginary part of result
15801 with log1p not log unless computing log of number close to 0.
15802 * math/s_catanf.c (__catanf): Likewise.
15803 * math/s_catanl.c (__catanl): Likewise.
15804 * math/s_catanh.c (__catanh): Calculate real part of result with
15805 log1p not log unless computing log of number close to 0.
15806 * math/s_catanhf.c (__catanhf): Likewise.
15807 * math/s_catanhl.c (__catanhl): Likewise.
15808 * math/libm-test.inc (catan_test): Add more tests.
15809 (catanh_test): Likewise.
15810 * sysdeps/i386/fpu/libm-test-ulps: Update.
15811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15812
45d69176
SP
158132013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15814
15815 * benchtests/Makefile: Mention files in which fast and slow
15816 paths of math functions are implemented.
15817
87f51853
RM
158182013-04-23 Roland McGrath <roland@hack.frob.com>
15819
15820 * sysdeps/posix/timespec_get.c: New file.
15821
3c026539
AZ
158222013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15823
15824 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15825 POWER.
15826 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15827 for POWER.
15828 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15829 powerpc/power5/fpu folders.
15830 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15831 * benchtests/Makefile: Add modf testcase.
15832 * benchtests/bench-modf.c: New file: Benchmark test for mo
15833
ff491d14
SP
158342013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15835
15836 [BZ #14888]
15837 * time/Makefile (tests): Add tst-strptime-whitespace.
15838 * time/strptime_l.c (get_number): Use ISSPACE.
15839 (__strptime_internal): Likewise.
15840 * time/tst-strptime-whitespace.c: New test case.
15841
7ed3f4e8
AS
158422013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15843
15844 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15845 member.
15846 (_nss_files_init): Set it here.
15847
5c95f7b6
HC
158482013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15849
15850 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15851 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15852 unsigned.
15853
d34c9158
JBG
158542013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15855
15856 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15857
2169712d
SP
158582013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15859
15860 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15861 size just once.
15862
29c5de99
DM
158632013-04-21 David S. Miller <davem@davemloft.net>
15864
15865 * po/ru.po: Update Russion translation from translation project.
15866
ccdad15d
AC
158672013-04-17 Adam Conrad <adconrad@0c3.net>
15868
15869 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15870 and setfsgid.
15871
0f122b8d
CD
158722013-04-17 Carlos O'Donell <carlos@redhat.com>
15873
5c5b07da 15874 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15875 * configure: Regenerate.
5c5b07da 15876 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15877 Add example to error message.
15878 * sysdeps/i386/configure: Regenerate.
15879
037714dd
SP
158802013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15881
15882 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15883 slowtan.
15884 * benchtests/cos-inputs: New file.
15885 * benchtests/slowcos-inputs: New file.
15886 * benchtests/slowcos.c: New file.
15887 * benchtests/slowtan-inputs: New file.
15888 * benchtests/slowtan.c: New file.
15889 * benchtests/tan-inputs: New file.
15890
e913141d
RM
158912013-04-16 Roland McGrath <roland@hack.frob.com>
15892
15893 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15894 considered kosher.
15895
a2964074
SP
158962013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15897
4856bcd2
SP
15898 * benchtests/Makefile: Include cppflags-iterator.mk to add
15899 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15900
a2964074
SP
15901 * Makefile.in (bench-clean): New target.
15902 * benchtests/Makefile (bench-clean): Likewise.
15903
9fbf9aca
DH
159042013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15905
15906 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15907
207d1e2a
TS
159082013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15909
15910 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15911
306dfba9
AS
159122013-04-15 Andreas Schwab <schwab@suse.de>
15913
15914 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15915 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15916 * nscd/pwdcache.c (cache_addpw): Likewise.
15917 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15918 more than recsize.
15919
206a6699
SP
159202013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15921
15922 * benchtests/Makefile (bench): Write all output to
15923 bench-out.tmp together.
15924
0582f6b3
AS
159252013-04-15 Andreas Schwab <schwab@suse.de>
15926
15927 * nscd/nscd.c (main): Don't fork again after closing files.
15928
acb4325f
SP
159292013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15930
5cb26d0a
SP
15931 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15932
acb4325f
SP
15933 * benchtests/Rules (bench-deps): Collect dependencies into a
15934 single variable. Add Makefile to dependencies.
15935 ($(objpfx)bench-%.c): Depend on bench-deps.
15936
47792506
RM
159372013-04-12 Roland McGrath <roland@hack.frob.com>
15938 Xavier Roche <roche+kml2@exalead.com>
15939
15940 [BZ #15361]
15941 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15942 just that it's a file descriptor.
15943 * manual/llio.texi (Synchronizing AIO Operations): Update description
15944 for EBADF error from aio_fsync.
15945
8fc1bee5
SP
159462013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15947
15948 * Rules (bench): Move target definition...
15949 * benchtests/Makefile: ... here.
15950
aba5e333
CD
159512013-04-11 Carlos O'Donell <carlos@redhat.com>
15952
15953 * math/libm-test.inc (cos_test): Fix PI/2 test.
15954 (sincos_test): Likewise.
15955 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15956 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15957
273cdee8
AS
159582013-04-11 Andreas Schwab <schwab@suse.de>
15959
6ecec3b6
AS
15960 [BZ #13988]
15961 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15962 accept exponent character only when digits were seen.
15963 * stdio-common/Makefile (tests): Add bug26.
15964 * stdio-common/bug26.c: New file.
15965
273cdee8
AS
15966 [BZ #14293]
15967 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15968 non-freeable.
15969
8da491f5
SP
159702013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15971
01dc6df9
SP
15972 * Makeconfig (rtld-prefix): Define built linker prefix.
15973 * Rules (run-bench): Use it.
15974 * math/Makefile (run-regen-ulps): Likewise.
15975
8da491f5
SP
15976 * Rules (bench): Remove eval.
15977
abe7f530
SP
159782013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15979 Roland McGrath <roland@hack.frob.com>
15980 Ondrej Bilka <neleai@seznam.cz>
15981
15982 [BZ #15346]
15983 * time/getdate.c: Include ctype.h and alloca.h.
15984 (__getdate_r): Trim leading and trailing spaces of input.
15985 * time/tst-getdate.c (tests): Add tests with leading and
15986 trailing spaces.
15987
61c23e62
RM
159882013-04-08 Roland McGrath <roland@hack.frob.com>
15989
15990 [BZ #14280]
15991 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15992 when computing value.
15993
7208a313
CD
159942013-04-06 Carlos O'Donell <carlos@redhat.com>
15995
085b2d41
CD
15996 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15997 Use testrun.sh to run libm tests.
15998
7208a313
CD
15999 [BZ #15309]
16000 * elf/dl-open.c (dl_open_worker): memset all of seen array.
16001
872c0acd
MM
160022013-04-06 Marko Myllynen <myllynen@redhat.com>
16003
16004 [BZ #15264]
16005 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16006
26510bdd
CD
160072013-04-06 Carlos O'Donell <carlos@redhat.com>
16008
16009 * Makefile.in (regen-ulps): New target.
16010 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16011 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16012 [ifneq (no,$(PERL)] (regen-ulps): New target.
16013 [ifeq (no,$(PERL)] (regen-ulps): New target.
16014 * math/libm-test.inc (ulps_file_name): Define.
16015 (output_dir): New variable.
16016 (options): Add "output-dir" option.
16017 (parse_opt): Handle 'o' case.
16018 (main): If output_dir is non-NULL use it as a prefix
16019 otherwise use "".
16020 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16021
a01f19c8
CD
160222013-04-06 Carlos O'Donell <carlos@redhat.com>
16023
16024 [BZ #10060, #10062]
16025 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16026 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16027 fail configure if __sync_val_compare_and_swap is not inlined.
16028 * sysdeps/i386/configure: Regenerate.
16029 * configure.in: Build for i686 when configured for i386.
16030 * configure: Regenerate.
16031 * README: Remove i386 reference.
16032
b7a329a5
CD
160332013-04-06 Carlos O'Donell <carlos@redhat.com>
16034
16035 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16036 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16037
bf0f50df
TS
160382013-04-05 Thomas Schwinge <thomas@codesourcery.com>
16039
ee091edf
TS
16040 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16041 (lmsnanval): New variables.
16042 (F): Add conversion tests.
16043 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16044 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16045
a8b792d6
TS
16046 * stdio-common/tstdiomisc.c (F): Properly collect individual
16047 tests' results.
16048
a1cbf437
TS
16049 [BZ #14686, #15336]
16050 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16051 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16052 Instead, use input NaN values or generate a qNaN by arithmetic
16053 operation. Also fix bugs to comply with the standard.
16054 * math/libm-test.inc (remainder_test): Add more tests.
16055
8b43a0c9
TS
16056 [BZ #15335, #15342]
16057 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16058 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16059 input NaN values or generate a qNaN by arithmetic operation.
16060
d91da4ce
TS
16061 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16062 unreachable code.
16063
bf0f50df
TS
16064 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16065 definitions.
16066
05e166c8
JM
160672013-04-03 Joseph Myers <joseph@codesourcery.com>
16068
16069 [BZ #14478]
16070 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16071 underflowed result.
16072 * math/s_cexpf.c (__cexpf): Likewise.
16073 * math/s_cexpl.c (__cexpl): Likewise.
16074 * math/libm-test.inc (cexp_test): Add more tests.
16075
1cef1b19
AS
160762013-04-03 Andreas Schwab <schwab@suse.de>
16077
16078 [BZ #15330]
16079 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16080 order arrays from heap if bigger than alloca cutoff.
16081
74d87055
TS
160822013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16083
16084 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16085 (SNAN_TESTS_double): Refer to GCC PR56831.
16086 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16087 GCC PR56828.
16088
d755bba4
SP
160892013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16090
90d5d5bb
SP
16091 * Rules (bench): Move bench.out after the run is complete.
16092
73e0cd5d
SP
16093 * Rules (bench): Echo currently running benchmark.
16094
64aabd4b
SP
16095 * benchtests/Makefile (bench): Add atan and slowatan.
16096 * benchtests/atan-inputs: New file.
16097 * benchtests/slowatan-inputs: New file.
16098 * benchtests/slowatan.c: New file.
16099
c871eccd
SP
16100 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16101 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16102 its value.
16103
d755bba4
SP
16104 [BZ #15305]
16105 * sysdeps/unix/sysv/linux/kernel-features.h
16106 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16107 __ASSUME_XFS_RESTRICTED_CHOWN.
16108 * sysdeps/unix/sysv/linux/pathconf.c
16109 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16110 Save and restore errno.
16111
52ce4860
JM
161122013-04-02 Joseph Myers <joseph@codesourcery.com>
16113
16114 [BZ #15327]
16115 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16116 arguments using __kernel_casinh.
16117 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16118 arguments using __kernel_casinhf.
16119 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16120 arguments using __kernel_casinhl.
16121 * math/libm-test.inc (cacosh_test): Add more tests.
16122 * sysdeps/i386/fpu/libm-test-ulps: Update.
16123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16124
81f311c2
SP
161252013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16126
e7906a47
SP
16127 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16128 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16129
92e3664b
SP
16130 * bench/Makefile (bench): Add sin and slowsin.
16131 * benchtests/sin-inputs: New file.
16132 * benchtests/slowsin-inputs: New file.
16133 * benchtests/slowsin.c: New file.
16134
81f311c2
SP
16135 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16136 (bench): Add slowexp and slowpow.
16137 (exp-ITER): Increase iterations.
16138 (pow-ITER): Likewise.
16139 * benchtests/exp-inputs: Change input.
16140 * benchtests/pow-inputs: Likewise.
16141 * benchtests/slowexp-inputs: New file.
16142 * benchtests/slowexp.c: New file.
16143 * benchtests/slowpow-inputs: New file.
16144 * benchtests/slowpow.c: New file.
16145
ab0f1aa9
AZ
161462013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16147
16148 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16149 instructions.
16150 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16151 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16152 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16153 * benchtests/Makefile: Add rint benchtest.
16154 * benchtests/rint-inputs: Input for rint benchtest.
16155
57267616
TS
161562013-04-02 Thomas Schwinge <thomas@codesourcery.com>
16157
16158 * Versions.def (libm): Add GLIBC_2.18.
16159 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16160 hidden libm prototypes.
16161 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16162 * math/Makefile (libm-calls): Add s_issignaling.
16163 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16164 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16165 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16166 declaration.
16167 * math/math.h [__USE_GNU] (issignaling): New macro.
16168 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16169 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16170 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16171 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16172 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16173 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16174 * manual/arith.texi (issignaling): New section.
16175 * manual/libm-err-tab.pl (@all_functions): Update comment.
16176 * math/gen-libm-test.pl (parse_args): Apply special handling for
16177 issignaling.
16178 * math/libm-test.inc (print_float, issignaling_test): New
16179 functions.
16180 (check_float_internal): Add issignaling checks.
16181 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16182 default definition.
16183 * sysdeps/powerpc/math-tests.h: New file.
16184 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16185 tests.
16186 * math/test-snan.c (TEST_FUNC): Likewise.
16187
6142896d
DM
161882013-03-30 David S. Miller <davem@davemloft.net>
16189
16190 * po/de.po: Update from translation team.
16191
ccc8cadf
JM
161922013-03-30 Joseph Myers <joseph@codesourcery.com>
16193
16194 [BZ #10357]
16195 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16196 imaginary part less than 1.0 and real part less than 0.5
16197 specially.
16198 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16199 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16200 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16201 (cacos_test): Add more tests.
16202 (casin_test): Likewise.
16203 (casinh_test): Likewise.
16204 * sysdeps/i386/fpu/libm-test-ulps: Update.
16205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16206
0f6a8d4b
SP
162072013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16208
0d1029de
SP
16209 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16210 ONE with its value.
16211
c2d94018
SP
16212 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16213 (__pow_mp): Replace ONE and MONE with their values.
16214 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16215 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16216 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16217 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16218 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16219 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16220
27ec37f1
SP
16221 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16222
a64d7e0e
SP
16223 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16224 (__pow_mp): Replace ZERO and MZERO with their values.
16225 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16226 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16227 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16228 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16229 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16230 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16231 (__sqr): Likewise.
16232
d26dd3eb
SP
16233 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16234
0f6a8d4b
SP
16235 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16236
e57b0c61
RM
162372013-03-28 Roland McGrath <roland@hack.frob.com>
16238
16239 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16240 Declare with __attribute__ ((weak)).
16241 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16242 Call __call_tls_dtors only if it's not NULL.
16243
356b3480
RM
162442013-03-28 Roland McGrath <roland@hack.frob.com>
16245
288f7d79
RM
16246 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16247 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16248 magic __ehdr_start linker symbol if it's defined.
16249 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16250 them up here if it was already done.
16251
dc0a0263
RM
16252 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16253 (_dl_aux_init): Use const in cast when setting it.
16254 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16255 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16256 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16257
3d3436ae
RM
16258 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16259 Declare them here.
16260 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16261 * csu/libc-tls.c: Nor here.
16262 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16263
356b3480
RM
16264 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16265 (__libc_message): Never call vsyslog.
16266
b0f1246a
AM
162672013-03-28 Alan Modra <amodra@gmail.com>
16268
16269 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16270 Define as empty.
16271 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16272 Likewise.
16273
fbbe2b9a
AZ
162742013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16275
16276 [BZ #15214]
16277 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16278 underflow.
16279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16280
1728ab37
SP
162812013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16282
7a86be6e
SP
16283 [BZ #15304]
16284 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16285 Don't add gid passed as argument.
16286
1728ab37
SP
16287 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16288
3a7182a1
JM
162892013-03-27 Joseph Myers <joseph@codesourcery.com>
16290
16291 [BZ #15307]
16292 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16293 imaginary part between 1.0 and 1.5 and real part less than 0.5
16294 specially.
16295 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16296 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16297 * math/libm-test.inc (cacos_test): Add more tests.
16298 (casin_test): Likewise.
16299 (casinh_test): Likewise.
16300 * sysdeps/i386/fpu/libm-test-ulps: Update.
16301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16302
6f2e90e7
SP
163032013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16304
5739f705
SP
16305 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16306 constants.
16307 (norm): Likewise.
16308 (denorm): Likewise.
16309 (__dbl_mp): Likewise.
16310 (add_magnitudes): Likewise.
16311 (sub_magnitudes): Likewise.
16312 (__add): Likewise.
16313 (__sub): Likewise.
16314 (__mul): Likewise.
16315 (__sqr): Likewise.
16316 (__inv): Likewise.
16317 (__dvd): Likewise.
16318
e375e83d
SP
16319 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16320 commented code.
16321 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16322 (__dubcos): Likewise.
16323 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16324 (__ieee754_acos): Likewise.
16325 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16326 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16327 (__exp1): Likewise.
16328 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16329 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16330 (log1): Likewise.
16331 (my_log2): Likewise.
16332 (checkint): Likewise.
16333 * sysdeps/ieee754/dbl-64/e_remainder.c
16334 (__ieee754_remainder): Likewise.
16335 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16336 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16337 (bsloww): Likewise.
16338 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16339
6f2e90e7
SP
16340 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16341 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16342 MANTISSA_STORE_T to store computations on mantissa. Use
16343 macros for rounding and division.
16344 (denorm): Likewise.
16345 (__dbl_mp): Likewise.
16346 (add_magnitudes): Likewise.
16347 (sub_magnitudes): Likewise.
16348 (__mul): Likewise.
16349 (__sqr): Likewise.
16350 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16351 powers of two in terms of TWOPOW macro.
16352 (mp_no): Make type of mantissa as MANTISSA_T.
16353 [!RADIXI]: Define RADIXI.
16354 [!TWO52]: Define TWO52.
16355 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16356
fce14d4e
AZ
163572013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16358
16359 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16360 llroundl symbol when building for PPC32.
16361
9ad027fb
MW
163622013-03-24 Mark H Weaver <mhw@netris.org>
16363
16364 * manual/arith.texi (Normalization Functions): Fix prototypes for
16365 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16366
e42a38dd
AZ
163672013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16368
16369 [BZ #13889]
16370 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16371 high value to check if expl overflow.
16372 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16373 to check for underflow and overflow.
16374 * math/libm-test.inc: Add exp test.
16375
2e0fb521
DL
163762013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16377
16378 [BZ #11120]
16379 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16380 with NOT_IN_libc.
16381
b5784d95
AZ
163822013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16383
16384 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16385 symbol.
16386
5aa4a1a1
TS
163872013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16388
bdef0be7
TS
16389 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16390 wrap blocks consisting of several statements.
16391
5aa4a1a1
TS
16392 * sysdeps/generic/math-tests.h: New file.
16393 * sysdeps/i386/fpu/math-tests.h: Likewise.
16394 * math/test-snan.c: Include it.
16395 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16396
98c48fe5
JM
163972013-03-21 Joseph Myers <joseph@codesourcery.com>
16398
16399 [BZ #15285]
16400 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16401 (__ieee754_j0l): Do not improve calculations using cos of twice
16402 input for inputs above LDBL_MAX / 2.0L.
16403 (__ieee754_y0l): Likewise.
16404 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16405 (__ieee754_j1l): Do not improve calculations using cos of twice
16406 input for inputs above LDBL_MAX / 2.0L.
16407 (__ieee754_y1l): Likewise.
16408 * math/libm-test.inc (j0_test): Add another test.
16409 (j1_test): Likewise.
16410 (y0_test): Likewise.
16411 (y1_test): Likewise.
16412 * sysdeps/i386/fpu/libm-test-ulps: Update.
16413
3775a8bc
SP
164142013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16415
16416 * Rules ($(objpfx)bench-%.c): Include code from a C source
16417 file.
16418
0a1b2ae6
JM
164192013-03-21 Joseph Myers <joseph@codesourcery.com>
16420
16421 [BZ #15287]
16422 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16423 imaginary part 1.0 and real part less than 0.5 specially.
16424 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16425 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16426 * math/libm-test.inc (cacos_test): Add more tests.
16427 (casin_test): Likewise.
16428 (casinh_test): Likewise.
16429 * sysdeps/i386/fpu/libm-test-ulps: Update.
16430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16431
b33d4ce4
SP
164322013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16433
16434 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16435 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16436
bef0b507
JM
164372013-03-20 Joseph Myers <joseph@codesourcery.com>
16438
16439 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16440 * config.make.in (config-cflags-sse4): Remove variable.
16441 (config-cflags-avx): Likewise.
16442 (config-cflags-sse2avx): Likewise.
16443 (config-cflags-novzeroupper): Likewise.
16444 (config-asflags-i686): Likewise.
16445 (have-mfma4): Likewise.
16446 (have-as-vis3): Likewise.
16447 (MIG): Likewise.
16448 * configure.in (MIG): Do not AC_SUBST.
16449 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16450 (libc_cv_cc_sse4): Do not AC_SUBST.
16451 (libc_cv_cc_avx): Likewise.
16452 (libc_cv_cc_sse2avx): Likewise.
16453 (libc_cv_cc_novzeroupper): Likewise.
16454 (libc_cv_cc_fma4): Likewise.
16455 (libc_cv_as_i686): Likewise.
16456 (libc_cv_sparc_as_vis3): Likewise.
16457 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16458 LIBC_CONFIG_VAR.
16459 (config-asflags-i686): Likewise.
16460 (config-cflags-avx): Likewise.
16461 (config-cflags-sse2avx): Likewise.
16462 (have-mfma4): Likewise.
16463 (config-cflags-novzeroupper): Likewise.
16464 * sysdeps/mach/configure.in (MIG): Likewise.
16465 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16466 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16467 LIBC_CONFIG_VAR.
16468 (config-cflags-avx): Likewise.
16469 (config-cflags-sse2avx): Likewise.
16470 (have-mfma4): Likewise.
16471 (config-cflags-novzeroupper): Likewise.
16472 * configure: Regenerated.
16473 * sysdeps/i386/configure: Likewise.
16474 * sysdeps/mach/configure: Likewise.
16475 * sysdeps/sparc/configure: Likewise.
16476 * sysdeps/x86_64/configure: Likewise.
16477
912cc4b3
RM
164782013-03-20 Roland McGrath <roland@hack.frob.com>
16479
16480 [BZ #14812]
16481 * locale/programs/localedef.c (options): Put N_ translation marker
16482 on argument names, not just descriptions.
16483
04eed2b0
MS
164842013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16485
16486 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16487
a065ceff
OB
164882013-03-20 Ondřej Bílka <neleai@seznam.cz>
16489
9bb2a810 16490 [BZ #14176]
a065ceff
OB
16491 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16492
a600e5ce
RM
164932013-03-19 Roland McGrath <roland@hack.frob.com>
16494
16495 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16496 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16497 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16498 [!BEFORE_ABORT] (before_abort): New function.
16499 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16500 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16501 (writev_for_fatal): New function.
16502 (WRITEV_FOR_FATAL): New macro; call that.
16503 (backtrace_and_maps): New function.
16504 (BEFORE_ABORT): New macro; call that.
16505 (struct str_list): Type removed.
16506 (__libc_message, __libc_fatal): Functions removed.
16507 Include <sysdeps/posix/libc_fatal.c> instead.
16508
6b18bea6
JM
165092013-03-19 Joseph Myers <joseph@codesourcery.com>
16510
16511 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16512 constants.
16513 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16514 double constants.
16515
aaa8cb4b
AS
165162013-03-19 Andreas Schwab <schwab@suse.de>
16517
44673770
AS
16518 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16519 * sysdeps/gnu/configure: Regenerate.
16520
aaa8cb4b
AS
16521 * configure.in: Substitute libc_cv_rtlddir.
16522 * configure: Regenerate.
16523 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16524 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16525 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16526 * elf/Makefile (install-others, CFLAGS-interp.c)
16527 (ldso_install, common-ldd-rewrite): Likewise.
16528 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16529 $(inst_slibdir)/$(rtld-installed-name).
16530 * scripts/rellns-sh: Add -p option.
16531 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16532 for source.
16533
d3cfc668
SP
165342013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16535
16536 * manual/nptl.texi: Renamed to ...
16537 * manual/threads.texi: ... this.
16538 * manual/Makefile (chapters): Update.
16539
0e2b9cdd
RM
165402013-03-18 Roland McGrath <roland@hack.frob.com>
16541
16542 [BZ #14812]
16543 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16544 on argument names, not just descriptions.
0e2b9cdd
RM
16545 * malloc/memusagestat.c (options): Likewise.
16546 * nss/getent.c (options): Likewise.
63270c24
RM
16547
165482013-03-18 Benno Schulenberg <bensberg@justemail.net>
16549
16550 [BZ #14812]
16551 * iconv/iconv_prog.c (options): Put N_ translation marker
16552 on argument names, not just descriptions.
16553 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 16554
b2e1393c
OB
165552013-03-18 Ondrej Bilka <neleai@seznam.cz>
16556
16557 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16558 implementation which is faster on all x86_64 architectures.
16559 Tested on AMD, Intel Nehalem, SNB, IVB.
16560 * sysdeps/x86_64/strnlen.S: Likewise.
16561
16562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16563 Remove all multiarch strlen and strnlen versions.
16564 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16565 Remove strlen and strnlen related parts.
16566
16567 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16568 Inline strlen part.
16569 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16570
16571 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16572 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16573 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16574 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16575 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16576 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16577
ec4ff04d
CD
165782013-03-17 Carlos O'Donell <carlos@redhat.com>
16579
16580 * manual/memory.texi (Malloc Tunable Parameters):
16581 Sort parameters alphabetically. Add comments for missing entries.
16582
cd18e90a
DM
165832013-03-17 David S. Miller <davem@davemloft.net>
16584
16585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16586
2a185d32
JM
165872013-03-16 Joseph Myers <joseph@codesourcery.com>
16588
d2f9799e
JM
16589 [BZ #15283]
16590 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16591 for arguments at most half maximum finite value.
16592 * math/libm-test.inc (j0_test): Add more tests.
16593 (j1_test): Likewise.
16594 (y0_test): Likewise.
16595 (y1_test): Likewise.
16596 * sysdeps/i386/fpu/libm-test-ulps: Update.
16597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16598
2a185d32
JM
16599 [BZ #14155]
16600 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16601 1 / x and functions P and Q for arguments above 0x1p256L.
16602 (__ieee754_y0l): Likewise.
16603 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16604 (__ieee754_y1l): Likewise.
16605 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16606 (j1_test): Likewise.
16607 (y0_test): Likewise.
16608 (y1_test): Likewise.
16609
6cbec759
TS
166102013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16611
16612 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16613 variable.
16614
bc16e260
RM
166152013-03-15 Roland McGrath <roland@hack.frob.com>
16616
aefc9b8c
RM
16617 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16618 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16619 zero since it's initialized to EXEC_PAGESIZE.
16620
bc16e260
RM
16621 * sysdeps/unix/sysv/linux/ldsodefs.h
16622 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16623 * sysdeps/generic/ldsodefs.h: ... here.
16624
a57da955
TS
166252013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16626
af00a34d
TS
16627 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16628
495ded2c
TS
16629 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16630 math/test-snan.c.
16631 * math/test-snan.c: Renamed from
16632 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16633 * math/Makefile (tests): Add test-snan.
16634 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16635 test-powerpc-snan.
16636
777b0332
TS
16637 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16638 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16639 functions.
16640 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16641 __builtin_nan family of functions.
16642 * math/libm-test.inc (initialize): Initialize qnan_value with
16643 __builtin_nan family of functions.
16644 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16645 Remove variables.
16646 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16647 Remove functions.
16648 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16649 storage class. Initialize qNaN_var and sNaN_var with
16650 __builtin_nan and __builtin_nans families of functions,
16651 respectively.
16652
64d063b8
TS
16653 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16654 (sqrt_test): Remove duplicate test with qNaN input.
16655 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16656 (round_test, signbit_test, significand_test): Note missing +/-Inf
16657 as well as qNaN tests.
16658
67e971f1
TS
16659 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16660 qNaN_var. Fix a few strings, too.
16661 * math/libm-test.inc (nan_value): Rename to qnan_value.
16662 * math/gen-libm-test.pl (%beautify): Adjust to that.
16663 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16664 * math/test-misc.c (main): Likewise.
16665 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16666 to __qnan_bytes, and __qnan_union, respectively.
16667 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16668 Likewise.
16669 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16670 and lqnanval, respectively.
16671 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16672 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16673 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16674 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16675
64487e12
TS
16676 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16677 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16678 doubles.
16679
e015e27b
TS
16680 * math/test-misc.c (main): Fix copy'n'pastos.
16681 * misc/tst-efgcvt.c (special): Likewise.
16682
a57da955
TS
16683 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16684 Remove declarations.
16685
1e380345
SP
166862013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16687
16688 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16689 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16690 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16691 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16692
ef26eece
AZ
166932013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16694
16695 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16696 macro to return vdso values correctly in IFUNC implementations.
16697 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16698 Optimization by using IFUNC.
16699
8cfdb7e0
SP
167002013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16701 Richard Henderson <rth@redhat.com>
16702 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16703
16704 * Makefile.in (bench): New target.
16705 * NEWS: Mention the benchmark framework.
16706 * Rules (bench): Likewise.
16707 (binaries-bench): Generate binaries for functions to
16708 benchmark.
16709 * benchtests/Makefile: New makefile for benchmark tests.
16710 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16711 programs.
16712 * benchtests/exp-inputs: New input file for EXP function.
16713 * benchtests/pow-inputs: New input file for POW function.
16714 * scripts/bench.pl: New script to generate source files for
16715 benchmark programs.
16716
bcda9880
SP
167172013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16718
d22ca8cd
SP
16719 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16720 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16721 computations on mantissa. Use macros for rounding and
16722 division.
16723 (denorm): Likewise.
16724 (__dbl_mp): Likewise.
16725 (add_magnitudes): Likewise.
16726 (sub_magnitudes): Likewise.
16727 (__mul): Likewise.
16728 (__sqr): Likewise.
16729 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16730 powers of two in terms of TWOPOW macro.
16731 (mp_no): Make type of mantissa as MANTISSA_T.
16732 [!RADIXI]: Define RADIXI.
16733 [!TWO52]: Define TWO52.
16734 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16735
bcda9880
SP
16736 * manual/nptl.texi (cindex): Modify threads to pthreads.
16737
06d5adfb
JM
167382013-03-15 Joseph Myers <joseph@codesourcery.com>
16739
16740 * sysdeps/x86_64/preconfigure: Regenerated.
16741
41c7328e
JM
167422013-03-14 Joseph Myers <joseph@codesourcery.com>
16743
16744 [BZ #14155]
16745 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16746 0x1p28 and above.
16747 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16748 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16749 0x1p28 and above.
16750 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16751 * math/libm-test.inc (j0_test): Do not allow one spurious
16752 underflow exception.
16753 (y1_test): Likewise.
16754
e25cfa60
SP
167552013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16756
0409959c
SP
16757 * manual/Makefile (chapters): Add nptl.
16758 * manual/debug.texi (Debugging Support): Add link to Threads
16759 chapter.
16760 * manual/nptl.texi: New file.
16761
e25cfa60
SP
16762 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16763
58a1335e
PB
167642013-03-14 Petr Baudis <pasky@ucw.cz>
16765
16766 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16767 for non-NULL pointer before the memory validity test. Pointed
16768 out by Holger Brunck <holger.brunck@keymile.com>.
16769
9dc7c64f
AS
167702013-03-13 Andreas Schwab <schwab@suse.de>
16771
16772 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16773 instead of .os.
16774
54206aa6
JM
167752013-03-13 Joseph Myers <joseph@codesourcery.com>
16776
16777 * timezone/zic.c: Update from tzcode 2013b.
16778
e98cdb38
CD
167792013-03-12 Carlos O'Donell <carlos@redhat.com>
16780
16781 * manual/install.texi (Configuring and compiling):
16782 Mention i686 and i586.
16783 * INSTALL: Regenerate.
16784
9967e003
RM
167852013-03-12 Roland McGrath <roland@hack.frob.com>
16786
16787 * sysdeps/init_array/elf-init.c: New file.
16788 * csu/elf-init.c
16789 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16790 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16791
16792 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16793 __gmon_start__ as global, but as static with a .preinit_array pointer.
16794 * sysdeps/init_array/gmon-start.c: New file. Use that.
16795 * sysdeps/init_array/crti.S: New file, empty except for comments.
16796 * sysdeps/init_array/crtn.S: Likewise.
16797
e6b5a293 167982013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16799
16800 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16801 definining bcopy.
80f844c9
OB
16802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16803 Remove Prefer_SSE_for_memop.
16804 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16805 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16806 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16807 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16808 memset-x86-64.
80f844c9 16809 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16810 Remove bzero, memset ifunc support.
80f844c9
OB
16811 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16812 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16813 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16814 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16815
fb6b0fcb
AS
168162013-03-11 Andreas Schwab <schwab@suse.de>
16817
16818 [BZ #15234]
16819 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16820 by SHLIB_COMPAT.
16821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16822 (GLIBC_2.16): Remove pthread_atfork.
16823
3e6bd4b1
PP
168242013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16825
16826 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16827 (ptestcases.h): Likewise.
16828
222d7f00
RM
168292013-03-08 Roland McGrath <roland@hack.frob.com>
16830
16831 * Makeconfig ($(common-objpfx)config.status): Depend on
16832 sysdeps/*/preconfigure{,.in} too.
16833
1ba4f030
JM
168342013-03-08 Joseph Myers <joseph@codesourcery.com>
16835
a222d91a
JM
16836 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16837 (__free_hook): Use void * instead of __malloc_ptr_t.
16838 (__malloc_hook): Likewise.
16839 (__realloc_hook): Likewise.
16840 (__memalign_hook): Likewise.
16841 (__after_morecore_hook): Likewise.
16842 * malloc/arena.c (save_malloc_hook): Likewise.
16843 (save_free_hook): Likewise.
16844 * malloc/hooks.c (malloc_hook_ini): Likewise.
16845 (realloc_hook_ini): Likewise.
16846 (memalign_hook_ini): Likewise.
16847 * malloc/malloc.c (malloc_hook_ini): Likewise.
16848 (realloc_hook_ini): Likewise.
16849 (memalign_hook_ini): Likewise.
16850 (__free_hook): Likewise.
16851 (__malloc_hook): Likewise.
16852 (__realloc_hook): Likewise.
16853 (__memalign_hook): Likewise.
16854 (__libc_malloc): Likewise.
16855 (__libc_free): Likewise.
16856 (__libc_realloc): Likewise.
16857 (__libc_memalign): Likewise.
16858 (__libc_valloc): Likewise.
16859 (__libc_pvalloc): Likewise.
16860 (__libc_calloc): Likewise.
16861 (__posix_memalign): Likewise.
16862 * malloc/morecore.c (__sbrk): Likewise.
16863 (__default_morecore): Likewise.
16864
5cc45e10
JM
16865 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16866
dd54b864
JM
16867 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16868 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16869 __malloc_ptrdiff_t.
16870
1ba4f030
JM
16871 * malloc/malloc.h (__malloc_size_t): Remove macro.
16872 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16873 __malloc_size_t.
16874 (old_memalign_hook): Likewise.
16875 (old_realloc_hook): Likewise.
16876 (struct hdr): Likewise.
16877 (flood): Likewise.
16878 (mallochook): Likewise.
16879 (memalignhook): Likewise.
16880 (reallochook): Likewise.
16881 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16882 (tr_old_realloc_hook): Likewise.
16883 (tr_old_memalign_hook): Likewise.
16884 (tr_mallochook): Likewise.
16885 (tr_reallochook): Likewise.
16886 (tr_memalignhook): Likewise.
16887
edf66e57
AZ
168882013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16889
16890 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16891 default_ldbl_pack and using as default implementation.
16892 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16893 implementation.
16894 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16895 redundant definition.
16896 (ldbl_insert_mantissa): Likewise.
16897 (ldbl_canonicalize): Likewise.
16898 (ldbl_nearbyint): Likewise.
16899 (ldbl_pack): Rename to ldbl_pack_ppc.
16900 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16901 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16902 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16903
6d9145d8
SP
169042013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16905
16906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16907 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16908 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16909 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16910 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16911 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16912 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16913 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16914
4dd4e157
AJ
169152013-03-07 Andreas Jaeger <aj@suse.de>
16916
16917 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16918 bits/mman-linux.h.
16919
adbb8027
SP
169202013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16921
ce544b5b
SP
16922 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16923 Include mpa.h and declare __MPEXP.
16924 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16925 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16926 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16927 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16928 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16929 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16930 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16931
4cc149fd
SP
16932 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16933 (__slowpow): Use long double EXPL and LOGL functions to
16934 compute POW.
16935 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16936 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16937 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16938 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16939 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16940 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16941
e6ebd4a7
SP
16942 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16943 intermediate variable to calculate exponent.
16944 (__sqr): Likewise.
16945 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16946 Likewise.
16947 (__sqr): Likewise.
16948
82a9811d
SP
16949 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16950 [!NO__SQR]: Define __sqr.
16951 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16952 and NO__SQR. Remove all code except __mul and __sqr. Include
16953 sysdeps/ieee754/dbl-64/mpa.c.
16954 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16955
adbb8027
SP
16956 [BZ #12723]
16957 * posix/Makefile (tests): Add tst-pathconf.
16958 * posix/tst-pathconf.c: New test case.
16959 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16960 _PC_PIPE_BUF.
16961 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16962
39120df9
PF
169632013-03-06 Patsy Franklin <pfrankli@redhat.com>
16964
16965 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16966
67525cb8
AJ
169672013-03-06 Andreas Jaeger <aj@suse.de>
16968
664a9ce4
AJ
16969 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16970 definition via __MAP_ANONYMOUS.
16971
8e39047d
AJ
16972 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16973 it's not part of Linux headers.
16974
67525cb8
AJ
16975 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16976 (MAP_HUGE_MASK): Define.
16977
16978 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16979 Define.
16980 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16981 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16982 Define.
16983 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16984 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16985 Define.
16986 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16987 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16988 Define.
16989 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16990
16991 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16992 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16993 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16994 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16995 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16996 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16997
16998 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16999 Handle f2fs.
17000
17001 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17002 Handle f2fs and efivarfs.
17003
17004 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17005 f2fs.
17006
17007 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17008 (EFIVARFS_MAGIC): Add.
17009 (F2FS_LINK_MAX): Add.
17010
e1b42695
PP
170112013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17012
17013 * stdio-common/vfprintf.c: Replace __builtin_expect with
17014 __glibc_unlikely.
17015
2d67d91a
JM
170162013-03-06 Joseph Myers <joseph@codesourcery.com>
17017
17018 [BZ #13550]
17019 * sysdeps/generic/bp-sym.h: Remove file.
17020 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17021 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17022 <bp-sym.h> and <bp-asm.h>.
17023 (__longjmp): Don't use BP_SYM.
17024 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17025 and <bp-asm.h>.
17026 (memcpy): Don't use BP_SYM.
17027 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17028 <bp-sym.h> and <bp-asm.h>.
17029 (memcpy): Don't use BP_SYM.
17030 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17031 <bp-asm.h>.
17032 (memcpy): Don't use BP_SYM.
17033 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17034 <bp-asm.h>.
17035 (memset): Don't use BP_SYM.
17036 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17037 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17038 (__bzero): Don't use BP_SYM.
17039 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17040 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17041 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17042 <bp-sym.h> and <bp-asm.h>.
17043 (memcmp): Don't use BP_SYM. Remove comment about bounded
17044 pointers.
17045 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17046 <bp-sym.h> and <bp-asm.h>.
17047 (memcpy): Don't use BP_SYM.
17048 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17049 <bp-sym.h> and <bp-asm.h>.
17050 (memset): Don't use BP_SYM.
17051 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17052 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17053 (__bzero): Don't use BP_SYM.
17054 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17055 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17056 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17057 <bp-sym.h> and <bp-asm.h>.
17058 (strncmp): Don't use BP_SYM. Remove comment about bounded
17059 pointers.
17060 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17061 <bp-sym.h> and <bp-asm.h>.
17062 (memcpy): Don't use BP_SYM.
17063 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17064 <bp-sym.h> and <bp-asm.h>.
17065 (memset): Don't use BP_SYM.
17066 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17067 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17068 (__bzero): Don't use BP_SYM.
17069 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17070 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17071 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17072 <bp-sym.h> and <bp-asm.h>.
17073 (__memchr): Don't use BP_SYM.
17074 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17075 <bp-sym.h> and <bp-asm.h>.
17076 (memcmp): Don't use BP_SYM. Remove comment about bounded
17077 pointers.
17078 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17079 <bp-sym.h> and <bp-asm.h>.
17080 (memcpy): Don't use BP_SYM.
17081 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17082 <bp-sym.h> and <bp-asm.h>.
17083 (__mempcpy): Don't use BP_SYM.
17084 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17085 <bp-sym.h> and <bp-asm.h>.
17086 (__memrchr): Don't use BP_SYM.
17087 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17088 <bp-sym.h> and <bp-asm.h>.
17089 (memset): Don't use BP_SYM.
17090 (__bzero): Likewise.
17091 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17092 <bp-sym.h> and <bp-asm.h>.
17093 (__rawmemchr): Don't use BP_SYM.
17094 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17095 <bp-sym.h> and <bp-asm.h>.
17096 (__STRCMP): Don't use BP_SYM.
17097 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17098 <bp-sym.h> and <bp-asm.h>.
17099 (strchr): Don't use BP_SYM.
17100 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17101 <bp-sym.h> and <bp-asm.h>.
17102 (__strchrnul): Don't use BP_SYM.
17103 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17104 <bp-sym.h> and <bp-asm.h>.
17105 (strlen): Don't use BP_SYM.
17106 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17107 <bp-sym.h> and <bp-asm.h>.
17108 (strncmp): Don't use BP_SYM. Remove comment about bounded
17109 pointers.
17110 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17111 <bp-sym.h> and <bp-asm.h>.
17112 (__strnlen): Don't use BP_SYM.
17113 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17114 <bp-sym.h> and <bp-asm.h>.
17115 (__GI__setjmp): Don't use BP_SYM.
17116 (_setjmp): Likewise.
17117 (__sigsetjmp): Likewise.
17118 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17119 (L(start_addresses)): Don't use BP_SYM.
17120 (_start): Likewise.
17121 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17122 <bp-asm.h>.
17123 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17124 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17125 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17126 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17127 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17128 <bp-asm.h>.
17129 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17130 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17131 about bounded pointers.
17132 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17133 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17134 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17135 <bp-asm.h>.
17136 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17137 about bounded pointers. Remove GKM FIXME comments.
17138 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17139 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17140 <bp-asm.h>.
17141 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17142 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17143 Remove GKM FIXME comments.
17144 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17145 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17146 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17147 <bp-asm.h>.
17148 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17149 about bounded pointers. Remove GKM FIXME comment.
17150 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17151 and <bp-asm.h>.
17152 (strncmp): Don't use BP_SYM. Remove comment about bounded
17153 pointers.
17154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17155 <bp-sym.h> and <bp-asm.h>.
17156 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17158 <bp-sym.h> and <bp-asm.h>.
17159 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17160 comment.
17161
cdcf361f
PP
171622013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17163
17164 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17165 call free(NULL).
17166
3c4a2b15
DM
171672013-03-05 David S. Miller <davem@davemloft.net>
17168
17169 * po/es.po: Update from translation team.
17170
cdcf361f 171712013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
17172
17173 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17174 <bits/mman-linux.h>.
17175 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17176 is fine.
17177 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17178 <bits/mman-linux.h> to end of file.
17179 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17180 is fine.
17181 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17182 <bits/mman-linux.h> to end of file.
17183 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17184 is fine.
17185 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17186 <bits/mman-linux.h> to end of file.
17187
17188 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17189 (MCL_CURRENT, MCL_FUTURE): Define here.
17190
5f67c04f
AK
171912013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17192
8a4473cc 17193 [BZ #15232]
5f67c04f
AK
17194 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17195 attribute_hidden.
17196 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17197
c3e94a95
AK
171982013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17199
17200 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17201 fourth parameter needed for rt_sigprocmask syscall.
17202 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17203 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17204 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17205 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17206 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17207 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17208
cfb6382a
JM
172092013-03-04 Joseph Myers <joseph@codesourcery.com>
17210
17211 [BZ #13550]
17212 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17213 comment about bounded pointers.
17214 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17215 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17216
539d8e01
AJ
172172013-03-04 Andreas Jaeger <aj@suse.de>
17218
17219 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17220 common definitions.
17221
17222 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17223 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17224 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17225 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17226 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
17227 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17228
2e167a70 172292013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
17230
17231 [BZ #15055]
17232 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17233 __ieee754_sqrl instead of __sqrl.
17234
68508633
JM
172352013-03-01 Joseph Myers <joseph@codesourcery.com>
17236
17237 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17238 * sysdeps/powerpc/fpu_control.h: ... here.
17239 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17240 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17241 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17242 * sysdeps/powerpc/bits/mathinline.h: ... here.
17243
7775448e
RM
172442013-03-01 Roland McGrath <roland@hack.frob.com>
17245
17246 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17247 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17248 to just [NEED_DL_SYSINFO_DSO].
17249 * elf/dl-support.c: Likewise.
17250 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17251 * elf/rtld.c (dl_main): Likewise.
17252 * elf/setup-vdso.h (setup_vdso): Likewise.
17253 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17254 * sysdeps/unix/sysv/linux/dl-sysdep.c
17255 (_dl_discover_osversion): Likewise.
17256
4e9b5995
CD
172572013-03-01 Carlos O'Donell <carlos@redhat.com>
17258
17259 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17260 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17261
e23872c8
SP
172622013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17263
e5c74c63
SP
17264 * NEWS: Mention libm performance improvements and non-x86 PI
17265 futex support.
17266
e23872c8
SP
17267 * csu/libc-start.c (__pthread_initialize_minimal): Change
17268 function arguments.
17269 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17270
b5510883
JM
172712013-02-28 Joseph Myers <joseph@codesourcery.com>
17272
17273 [BZ #13550]
17274 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17275 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17276 <bp-sym.h> and <bp-asm.h>.
17277 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17278 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17279 and <bp-asm.h>.
17280 (memcpy): Don't use BP_SYM.
17281 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17282 <bp-asm.h>.
17283 (__mpn_add_n): Don't use BP_SYM.
17284 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17285 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17286 and <bp-asm.h>.
17287 (__mpn_addmul_1): Don't use BP_SYM.
17288 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17289 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17290 <bp-sym.h>.
17291 (_setjmp): Don't use BP_SYM.
17292 (__novmx_setjmp): Likewise.
17293 (__GI__setjmp): Likewise.
17294 (__vmx_setjmp): Likewise.
17295 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17296 <bp-sym.h>.
17297 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17298 (__bzero): Don't use BP_SYM.
17299 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17300 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17301 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17302 <bp-sym.h> and <bp-asm.h>.
17303 (memcpy): Don't use BP_SYM.
17304 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17305 <bp-sym.h> and <bp-asm.h>.
17306 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17307 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17308 <bp-sym.h> and <bp-asm.h>.
17309 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17310 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17311 <bp-asm.h>.
17312 (__mpn_lshift): Don't use BP_SYM.
17313 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17314 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17315 <bp-asm.h>.
17316 (memset): Don't use BP_SYM.
17317 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17318 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17319 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17320 <bp-asm.h>.
17321 (__mpn_mul_1): Don't use BP_SYM.
17322 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17323 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17324 <bp-sym.h> and <bp-asm.h>.
17325 (memcmp): Don't use BP_SYM.
17326 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17327 <bp-sym.h> and <bp-asm.h>.
17328 (memcpy): Don't use BP_SYM.
17329 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17330 <bp-sym.h> and <bp-asm.h>.
17331 (memset): Don't use BP_SYM.
17332 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17333 <bp-sym.h> and <bp-asm.h>.
17334 (strncmp): Don't use BP_SYM.
17335 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17336 <bp-sym.h> and <bp-asm.h>.
17337 (memcpy): Don't use BP_SYM.
17338 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17339 <bp-sym.h> and <bp-asm.h>.
17340 (memset): Don't use BP_SYM.
17341 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17342 <bp-sym.h> and <bp-asm.h>.
17343 (__memchr): Don't use BP_SYM.
17344 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17345 <bp-sym.h> and <bp-asm.h>.
17346 (memcmp): Don't use BP_SYM.
17347 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17348 <bp-sym.h> and <bp-asm.h>.
17349 (memcpy): Don't use BP_SYM.
17350 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17351 <bp-sym.h> and <bp-asm.h>.
17352 (__mempcpy): Don't use BP_SYM.
17353 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17354 <bp-sym.h> and <bp-asm.h>.
17355 (__memrchr): Don't use BP_SYM.
17356 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17357 <bp-sym.h> and <bp-asm.h>.
17358 (memset): Don't use BP_SYM.
17359 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17360 <bp-sym.h> and <bp-asm.h>.
17361 (__rawmemchr): Don't use BP_SYM.
17362 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17363 <bp-sym.h> and <bp-asm.h>.
17364 (__STRCMP): Don't use BP_SYM.
17365 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17366 <bp-sym.h> and <bp-asm.h>.
17367 (strchr): Don't use BP_SYM.
17368 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17369 <bp-sym.h> and <bp-asm.h>.
17370 (__strchrnul): Don't use BP_SYM.
17371 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17372 <bp-sym.h> and <bp-asm.h>.
17373 (strlen): Don't use BP_SYM.
17374 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17375 <bp-sym.h> and <bp-asm.h>.
17376 (strncmp): Don't use BP_SYM.
17377 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17378 <bp-sym.h> and <bp-asm.h>.
17379 (__strnlen): Don't use BP_SYM.
17380 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17381 <bp-asm.h>.
17382 (__mpn_rshift): Don't use BP_SYM.
17383 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17384 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17385 <bp-sym.h> and <bp-asm.h>.
17386 (__sigsetjmp): Don't use BP_SYM.
17387 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17388 (L(start_addresses)): Don't use BP_SYM.
17389 (_start): Likewise.
17390 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17391 <bp-asm.h>.
17392 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17393 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17394 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17395 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17396 <bp-asm.h>.
17397 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17398 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17399 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17400 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17401 <bp-asm.h>.
17402 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17403 comments.
17404 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17405 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17406 <bp-asm.h>.
17407 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17408 FIXME comments.
17409 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17410 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17411 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17412 <bp-asm.h>.
17413 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17414 comment.
17415 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17416 and <bp-asm.h>.
17417 (strncmp): Don't use BP_SYM,
17418 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17419 <bp-asm.h>.
17420 (__mpn_sub_n): Don't use BP_SYM.
17421 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17422 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17423 and <bp-asm.h>.
17424 (__mpn_submul_1): Don't use BP_SYM.
17425 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17427 <bp-sym.h> and <bp-asm.h>.
17428 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17430 <bp-sym.h> and <bp-asm.h>.
17431 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17432 comment.
17433
8d19fe64
SP
174342013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17435
17436 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17437 Use ZK to minimize writes to Z.
17438 (sub_magnitudes): Simplify code a bit.
17439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17440 Use ZK to minimize writes to Z.
17441 (sub_magnitudes): Simplify code a bit.
17442
85bd816a
RM
174432013-02-27 Roland McGrath <roland@hack.frob.com>
17444
17445 * csu/gmon-start.c: Add special exception to license text.
17446
b5977bf2
RH
174472013-02-27 Richard Henderson <rth@redhat.com>
17448
17449 * scripts/config.guess: Update from config.git.
17450 * scripts/config.sub: Likewise.
17451
11d6e2f2
SP
174522013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17453
09c14ed2
SP
17454 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17455
a688864e
SP
17456 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17457
6295157a
SP
17458 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17459
b8de2202
SP
17460 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17461
11d6e2f2
SP
17462 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17463
7e80ddb8
RM
174642013-02-26 Roland McGrath <roland@hack.frob.com>
17465
17466 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17467 [$(build-shared = yes].
7e80ddb8 17468
7da6d9ed
SP
174692013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17470
45f05884
SP
17471 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17472 (__mul): Reduce iterations for calculating mantissa.
17473
2236d359
SP
17474 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17475 MPTWO.
17476 (__mpranred): Likewise.
17477
7da6d9ed
SP
17478 [BZ #15160]
17479 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17480 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17481
b7688c42
PE
174822013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17483
17484 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17485 Define __attribute__.
17486
53a5c423
SP
174872013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17488
17489 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17490 unused.
17491 * posix/regex_internal.h (__attribute): Remove.
17492 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17493 (re_string_context_at): Likewise.
17494 (bitset_not): Use __attribute__ and mark function as possibly
17495 unused.
17496 (bitset_merge): Likewise.
17497 (bitset_mask): Likewise.
17498 (re_string_char_size_at): Likewise.
17499 (re_string_wchar_at): Likewise.
17500 (re_string_elem_size_at): Likewise.
17501
60f5a8b5
SP
175022013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17503
2a983a2e
SP
17504 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17505 code.
17506 (cc32): Likewise.
17507
e69804d1
SP
17508 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17509 (__acr): Likewise.
17510 (__cpy): Likewise.
17511 (norm): Likewise.
17512 (denorm): Likewise.
17513 (__dbl_mp): Likewise.
17514 (add_magnitudes): Likewise.
17515 (sub_magnitudes): Likewise.
17516 (__mul): Likewise.
17517 (__inv): Likewise.
17518
2f22a1e8
SP
17519 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17520 style.
17521
8930ddc7
SP
17522 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17523 style.
17524
dc60cb11
SP
17525 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17526 code.
17527
60f5a8b5
SP
17528 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17529 up changes with default code.
17530 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17531 Likewise.
17532
b4d1fd33
AM
175332013-02-24 Allan McRae <allan@archlinux.org>
17534
faf6f8bc
AM
17535 * manual/socket.texi (The Internet Namespace): Order menu items
17536 to match that in the file.
17537
b4d1fd33
AM
17538 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17539 node listing of the info page menu.
17540
2366713d
JM
175412013-02-21 Joseph Myers <joseph@codesourcery.com>
17542
17543 [BZ #13550]
17544 * sysdeps/i386/bp-asm.h: Remove file.
17545 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17546 (PARMS): Do not use macros from bp-asm.h.
17547 (S1): Likewise.
17548 (S2): Likewise.
17549 (SIZE): Likewise.
17550 (__mpn_add_n): Do not use BP_SYM
17551 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17552 "bp-asm.h".
17553 (PARMS): Do not use macros from bp-asm.h.
17554 (S1): Likewise.
17555 (SIZE): Likewise.
17556 (__mpn_addmul_1): Do not use BP_SYM
17557 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17558 "bp-asm.h".
17559 (PARMS): Do not use macros from bp-asm.h.
17560 (SIGMSK): Likewise.
17561 (_setjmp): Likewise. Do not use BP_SYM.
17562 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17563 "bp-asm.h".
17564 (PARMS): Do not use macros from bp-asm.h.
17565 (SIGMSK): Likewise.
17566 (setjmp): Likewise. Do not use BP_SYM.
17567 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17568 "bp-asm.h".
17569 (PARMS): Do not use macros from bp-asm.h.
17570 (__frexp): Do not use BP_SYM.
17571 (frexp): Likewise.
17572 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17573 "bp-asm.h".
17574 (PARMS): Do not use macros from bp-asm.h.
17575 (__frexpf): Do not use BP_SYM.
17576 (frexpf): Likewise.
17577 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17578 "bp-asm.h".
17579 (PARMS): Do not use macros from bp-asm.h.
17580 (__frexpl): Do not use BP_SYM.
17581 (frexpl): Likewise.
17582 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17583 "bp-asm.h".
17584 (PARMS): Do not use macros from bp-asm.h.
17585 (__remquo): Do not use BP_SYM.
17586 (remquo): Likewise.
17587 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17588 "bp-asm.h".
17589 (PARMS): Do not use macros from bp-asm.h.
17590 (__remquof): Do not use BP_SYM.
17591 (remquof): Likewise.
17592 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17593 "bp-asm.h".
17594 (PARMS): Do not use macros from bp-asm.h.
17595 (__remquol): Do not use BP_SYM.
17596 (remquol): Likewise.
17597 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17598 "bp-asm.h".
17599 (PARMS): Do not use macros from bp-asm.h.
17600 (DEST): Likewise.
17601 (SRC): Likewise.
17602 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17603 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17604 "bp-asm.h".
17605 (PARMS): Do not use macros from bp-asm.h.
17606 (strlen): Do not use BP_SYM.
17607 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17608 "bp-asm.h".
17609 (PARMS): Do not use macros from bp-asm.h.
17610 (S1): Likewise.
17611 (S2): Likewise.
17612 (SIZE): Likewise.
17613 (__mpn_add_n): Do not use BP_SYM.
17614 * sysdeps/i386/i586/addmul_1.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 (SIZE): Likewise.
17619 (__mpn_addmul_1): Do not use BP_SYM.
17620 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17621 weak_alias.
17622 (bzero): Likewise.
17623 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17624 "bp-asm.h".
17625 (PARMS): Do not use macros from bp-asm.h.
17626 (S): Likewise.
17627 (SIZE): Likewise.
17628 (__mpn_lshift): Do not use BP_SYM.
17629 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17630 "bp-asm.h".
17631 (PARMS): Do not use macros from bp-asm.h.
17632 (DEST): Likewise.
17633 (SRC): Likewise.
17634 (LEN): Likewise.
17635 (memcpy): Likewise. Do not use BP_SYM.
17636 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17637 libc_hidden_def and weak_alias.
17638 (mempcpy): Do not use BP_SYM in weak_alias.
17639 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17640 "bp-asm.h".
17641 (PARMS): Do not use macros from bp-asm.h.
17642 (DEST): Likewise.
17643 (LEN): Likewise.
17644 [!BZERO_P] (CHR): Likewise.
17645 (memset): Likewise. Do not use BP_SYM.
17646 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17647 "bp-asm.h".
17648 (PARMS): Do not use macros from bp-asm.h.
17649 (S1): Likewise.
17650 (SIZE): Likewise.
17651 (__mpn_mul_1): Do not use BP_SYM.
17652 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17653 "bp-asm.h".
17654 (PARMS): Do not use macros from bp-asm.h.
17655 (S): Likewise.
17656 (SIZE): Likewise.
17657 (__mpn_rshift): Do not use BP_SYM.
17658 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17659 "bp-asm.h".
17660 (PARMS): Do not use macros from bp-asm.h.
17661 (STR): Likewise.
17662 (CHR): Likewise.
17663 (strchr): Likewise. Do not use BP_SYM.
17664 (index): Do not use BP_SYM in weak_alias.
17665 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17666 "bp-asm.h".
17667 (PARMS): Do not use macros from bp-asm.h.
17668 (DEST): Likewise.
17669 (SRC): Likewise.
17670 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17671 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17672 "bp-asm.h".
17673 (PARMS): Do not use macros from bp-asm.h.
17674 (strlen): Do not use BP_SYM.
17675 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17676 "bp-asm.h".
17677 (PARMS): Do not use macros from bp-asm.h.
17678 (S1): Likewise.
17679 (S2): Likewise.
17680 (SIZE): Likewise.
17681 (__mpn_sub_n): Do not use BP_SYM.
17682 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17683 "bp-asm.h".
17684 (PARMS): Do not use macros from bp-asm.h.
17685 (S1): Likewise.
17686 (SIZE): Likewise.
17687 (__mpn_submul_1): Do not use BP_SYM.
17688 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17689 "bp-asm.h".
17690 (PARMS): Do not use macros from bp-asm.h.
17691 (S1): Likewise.
17692 (S2): Likewise.
17693 (SIZE): Likewise.
17694 (__mpn_add_n): Do not use BP_SYM.
17695 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17696 weak_alias.
17697 (bzero): Likewise.
17698 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17699 "bp-asm.h".
17700 (PARMS): Do not use macros from bp-asm.h.
17701 (BLK2): Likewise.
17702 (LEN): Likewise.
17703 (memcmp): Do not use BP_SYM.
17704 (bcmp): Do not use BP_SYM in weak_alias.
17705 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17706 "bp-asm.h".
17707 (PARMS): Do not use macros from bp-asm.h.
17708 (DEST): Likewise.
17709 (SRC): Likewise.
17710 (LEN): Likewise.
17711 (memcpy): Likewise. Do not use BP_SYM.
17712 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17713 "bp-asm.h".
17714 (PARMS): Do not use macros from bp-asm.h.
17715 (DEST): Likewise.
17716 (SRC): Likewise.
17717 (LEN): Likewise.
17718 (memmove): Likewise. Do not use BP_SYM.
17719 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17720 "bp-asm.h".
17721 (PARMS): Do not use macros from bp-asm.h.
17722 (DEST): Likewise.
17723 (SRC): Likewise.
17724 (LEN): Likewise.
17725 (__mempcpy): Likewise. Do not use BP_SYM.
17726 (mempcpy): Do not use BP_SYM in weak_alias.
17727 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17728 "bp-asm.h".
17729 (PARMS): Do not use macros from bp-asm.h.
17730 (DEST): Likewise.
17731 (LEN): Likewise.
17732 [!BZERO_P] (CHR): Likewise.
17733 (memset): Likewise. Do not use BP_SYM.
17734 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17735 "bp-asm.h".
17736 (PARMS): Do not use macros from bp-asm.h.
17737 (STR2): Likewise.
17738 (strcmp): Do not use BP_SYM.
17739 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17740 "bp-asm.h".
17741 (PARMS): Do not use macros from bp-asm.h.
17742 (STR): Likewise.
17743 (DELIM): Likewise.
17744 [USE_AS_STRTOK_R] (SAVE): Likewise.
17745 (FUNCTION): Likewise. Do not use BP_SYM.
17746 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17747 aliases.
17748 (strtok_r): Likewise.
17749 (__GI___strtok_r): Likewise.
17750 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17751 (PARMS): Do not use macros from bp-asm.h.
17752 (S): Likewise.
17753 (SIZE): Likewise.
17754 (__mpn_lshift): Do not use BP_SYM.
17755 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17756 (PARMS): Do not use macros from bp-asm.h.
17757 (STR): Likewise.
17758 (CHR): Likewise.
17759 (__memchr): Do not use BP_SYM.
17760 (memchr): Do not use BP_SYM in weak_alias.
17761 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17762 (PARMS): Do not use macros from bp-asm.h.
17763 (BLK2): Likewise.
17764 (LEN): Likewise.
17765 (memcmp): Do not use BP_SYM.
17766 (bcmp): Do not use BP_SYM in weak_alias.
17767 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17768 (PARMS): Do not use macros from bp-asm.h.
17769 (S1): Likewise.
17770 (SIZE): Likewise.
17771 (__mpn_mul_1): Do not use BP_SYM.
17772 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17773 "bp-asm.h".
17774 (PARMS): Do not use macros from bp-asm.h.
17775 (STR): Likewise.
17776 (CHR): Likewise.
17777 (__rawmemchr): Do not use BP_SYM.
17778 (rawmemchr): Do not use BP_SYM in weak_alias.
17779 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17780 (PARMS): Do not use macros from bp-asm.h.
17781 (S): Likewise.
17782 (SIZE): Likewise.
17783 (__mpn_rshift): Do not use BP_SYM.
17784 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17785 (PARMS): Do not use macros from bp-asm.h.
17786 (SIGMSK): Likewise.
17787 (__sigsetjmp): Likewise. Do not use BP_SYM.
17788 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17789 (_start): Do not use BP_SYM.
17790 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17791 (PARMS): Do not use macros from bp-asm.h.
17792 (DEST): Likewise.
17793 (SRC): Likewise.
17794 (__stpcpy): Likewise. Do not use BP_SYM.
17795 (stpcpy): Do not use BP_SYM in weak_alias.
17796 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17797 "bp-asm.h".
17798 (PARMS): Do not use macros from bp-asm.h.
17799 (DEST): Likewise.
17800 (SRC): Likewise.
17801 (LEN): Likewise.
17802 (__stpncpy): Likewise. Do not use BP_SYM.
17803 (stpncpy): Do not use BP_SYM in weak_alias.
17804 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17805 (PARMS): Do not use macros from bp-asm.h.
17806 (STR): Likewise.
17807 (CHR): Likewise.
17808 (strchr): Likewise. Do not use BP_SYM.
17809 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17810 "bp-asm.h".
17811 (PARMS): Do not use macros from bp-asm.h.
17812 (STR): Likewise.
17813 (CHR): Likewise.
17814 (__strchrnul): Likewise. Do not use BP_SYM.
17815 (strchrnul): Do not use BP_SYM in weak_alias.
17816 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17817 "bp-asm.h".
17818 (PARMS): Do not use macros from bp-asm.h.
17819 (STOP): Likewise.
17820 (strcspn): Do not use BP_SYM.
17821 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17822 "bp-asm.h".
17823 (PARMS): Do not use macros from bp-asm.h.
17824 (STR): Likewise.
17825 (STOP): Likewise.
17826 (strpbrk): Likewise. Do not use BP_SYM.
17827 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17828 "bp-asm.h".
17829 (PARMS): Do not use macros from bp-asm.h.
17830 (STR): Likewise.
17831 (CHR): Likewise.
17832 (strrchr): Likewise. Do not use BP_SYM.
17833 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17834 (PARMS): Do not use macros from bp-asm.h.
17835 (SKIP): Likewise.
17836 (strspn): Do not use BP_SYM.
17837 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17838 (PARMS): Do not use macros from bp-asm.h.
17839 (STR): Likewise.
17840 (DELIM): Likewise.
17841 (SAVE): Likewise.
17842 (FUNCTION): Likewise. Do not use BP_SYM.
17843 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17844 aliases.
17845 (strtok_r): Likewise.
17846 (__GI___strtok_r): Likewise.
17847 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17848 (PARMS): Do not use macros from bp-asm.h.
17849 (S1): Likewise.
17850 (S2): Likewise.
17851 (SIZE): Likewise.
17852 (__mpn_sub_n): Do not use BP_SYM.
17853 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17854 "bp-asm.h".
17855 (PARMS): Do not use macros from bp-asm.h.
17856 (S1): Likewise.
17857 (SIZE): Likewise.
17858 (__mpn_submul_1): Do not use BP_SYM.
17859 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17860 <bp-sym.h>.
17861 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17862 and <bp-asm.h>.
17863 (PARMS): Do not use macros from bp-asm.h.
17864 (FLAGS): Likewise.
17865 (PTID): Likewise.
17866 (TLS): Likewise.
17867 (CTID): Likewise.
17868 (__clone): Do not use BP_SYM.
17869 (clone): Do not use BP_SYM in weak_alias.
17870 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17871 and <bp-asm.h>.
17872 (PARMS): Do not use macros from bp-asm.h.
17873 (LEN): Likewise.
17874 (__mmap64): Do not use BP_SYM.
17875 (mmap64): Do not use BP_SYM in weak_alias.
17876 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17877 <bp-sym.h> and <bp-asm.h>.
17878 (PARMS): Do not use macros from bp-asm.h.
17879 (__posix_fadvise64_l64): Do not use BP_SYM.
17880 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17881 (PARMS): Do not use macros from bp-asm.h.
17882 (NSOPS): Likewise.
17883 (semtimedop): Do not use BP_SYM.
17884 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17885 and <bp-asm.h>.
17886
582a3cff
AM
178872013-02-21 Allan McRae <allan@archlinux.org>
17888
17889 * manual/message.texi (Charset conversion in gettext):
17890 Move @end statement to beginning of line.
17891
bab8a695
SP
178922013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17893
80945231
SP
17894 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17895 static.
17896 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17897 Likewise.
17898
bab8a695
SP
17899 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17900 (denorm): Likewise.
17901 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17903
e21d7aa7
AK
179042013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17905
17906 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17907 tail-call to the resolved function if pltexit isn't needed.
17908
4c7a4263
SP
179092013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17910
17911 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17912 or Y being zero as being unlikely.
17913 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17914 Likewise.
17915
41f49342
CD
179162013-02-20 Carlos O'Donell <carlos@redhat.com>
17917
17918 * manual/nss.texi (System Databases and Name Service Switch):
17919 Remove frobnicate @pxref.
17920
50022a93
TS
179212013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17922
17923 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17924 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17925
08cbd996
PM
179262013-02-20 Petr Machata <pmachata@redhat.com>
17927
17928 * elf/elf.h (R_ARM_TARGET1): New macro.
17929 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17930 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17931 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17932 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17933 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17934 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17935 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17936 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17937 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17938 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17939 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17940 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17941 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17942 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17943 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17944 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17945 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17946 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17947 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17948 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17949 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17950 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17951 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17952 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17953 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17954 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17955 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17956 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17957 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17958 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17959 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17960 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17961 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17962 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17963 (R_ARM_THM_GOT_BREL12): Likewise.
17964 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17965 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17966 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17967 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17968 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17969 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17970 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17971 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17972 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17973
c7b275d6
TS
179742013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17975
17976 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17977 __attribute_used__ to __attribute__ ((unused)).
17978
20cd7fb3
SP
179792013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17980
17981 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17982 powerpc mpa.c.
17983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17984 comment formatting.
17985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17986
92945b52
JM
179872013-02-19 Joseph Myers <joseph@codesourcery.com>
17988
17989 [BZ #13550]
17990 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17991 Remove macro.
17992 (ENTER): Remove both macro definitions.
17993 (LEAVE): Likewise.
17994 (CHECK_BOUNDS_LOW): Likewise.
17995 (CHECK_BOUNDS_HIGH): Likewise.
17996 (CHECK_BOUNDS_BOTH): Likewise.
17997 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17998 (RETURN_BOUNDED_POINTER): Likewise.
17999 (RETURN_NULL_BOUNDED_POINTER): Likewise.
18000 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18001 (POP_ERRNO_LOCATION_RETURN): Likewise.
18002 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18003 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18004 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18005 macros.
18006 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18007 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18008 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18009 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18010 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18011 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18012 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18013 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18014 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18015 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18016 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18017 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18018 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18019 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18020 removed macros.
18021 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18022 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18023 macros.
18024 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18025 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18026 * sysdeps/i386/i586/memset.S (memset): Likewise.
18027 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18028 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18029 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18030 macros.
18031 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18032 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18033 Change uses of L(2) to L(out).
18034 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18035 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18036 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18037 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18038 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18039 removed macros.
18040 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18041 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18042 macros.
18043 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18044 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18045 (RETURN): Do not use macro LEAVE.
18046 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18047 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18048 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18049 * sysdeps/i386/i686/memset.S (memset): Likewise.
18050 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18051 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18052 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18053 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18054 Likewise.
18055 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18056 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
18057 L(1_2) and L(1_3) into L(1).
18058 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18059 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18060 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18061 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18062 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18063 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18064 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18065 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18066 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18067 macros.
18068 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18069 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18070 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18071 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18072 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18073 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18074 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18075 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18076 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18077 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18078 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18079 * sysdeps/i386/strspn.S (strspn): Likewise.
18080 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18081 conditional code.
18082 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18083 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18084 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18085 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18086 L(1_3) into L(1_1).
18087 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18088 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18089 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18090 macros.
18091 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18092
2389741a
JJ
180932013-02-19 Jakub Jelinek <jakub@redhat.com>
18094
18095 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18096 macro.
18097
2016b3cd
SP
180982013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18099
e4f22324
SP
18100 * math/atest-exp.c (exp_mpn): Remove ROUND.
18101 * math/atest-exp2.c (exp_mpn): Likewise.
18102 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18103
2016b3cd
SP
18104 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18105 * stdlib/tst-tls-atexit-lib.c: Likewise.
18106 * stdlib/tst-tls-atexit.c: Likewise.
18107
4be9b544
MF
181082013-02-18 Mike Frysinger <vapier@gentoo.org>
18109
18110 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18111 and __attribute_alloc_size__.
18112
2f62b9ee
MF
181132013-02-18 Mike Frysinger <vapier@gentoo.org>
18114
18115 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18116 __attribute_alloc_size__.
18117 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18118 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18119
6ff444c4
MF
181202013-02-18 Mike Frysinger <vapier@gentoo.org>
18121
18122 * include/programs/xmalloc.h: New file.
18123 * catgets/gencat.c: Include it.
18124 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18125 * elf/pldd.c: Likewise.
18126 * iconv/iconv_charmap.c: Likewise.
18127 * iconv/iconvconfig.c: Likewise.
18128 * iconv/strtab.c: Likewise.
18129 * locale/programs/locale.c: Likewise.
18130 * locale/programs/localedef.h: Likewise.
18131 * locale/programs/simple-hash.c: Likewise.
18132 * nscd/nscd.h: Likewise.
18133 * nss/makedb.c: Likewise.
18134 * sysdeps/generic/ldconfig.h: Likewise.
18135
be179c8a
SP
181362013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18137
ba384f6e
SP
18138 * Versions.def: Add GLIBC_2.18.
18139 * include/link.h (struct link_map): New member l_tls_dtor_count.
18140 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18141 (__call_tls_dtors): Likewise.
18142 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18143 __cxa_thread_atexit_impl.
18144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18145 Likewise.
18146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18147 Likewise.
18148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18149 Likewise.
18150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18151 Likewise.
18152 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18154 Likewise.
18155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18156 Likewise.
18157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18159 Likewise.
18160 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18161 (tests): Add test case tst-tls-atexit.
18162 (modules-names): Add shared library for tst-tls-atexit.
85891aca 18163 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
18164 (GLIBC_PRIVATE): Add __call_tls_dtors.
18165 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18166 for libstdc++.
18167 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18168 * stdlib/tst-tls-atexit.c: New test case.
18169 * stdlib/tst-tls-atexit-lib.c: New test case.
18170
ffaa74cf 18171 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 18172
be179c8a
SP
18173 * elf/Versions (ld): Add _dl_find_dso_for_object.
18174 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18175 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18176 (dl_open_worker): Use _dl_find_dso_for_object.
18177 * elf/dl-sym.c (do_sym): Likewise.
18178 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18179
f78b5caa
AK
181802013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18181
18182 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18183 Syntactic changes only.
18184 (_dl_runtime_profile): Do a tail-call to the resolved function.
18185
29691210
JM
181862013-02-17 Joseph Myers <joseph@codesourcery.com>
18187
18188 [BZ #13550]
18189 * sysdeps/x86_64/bp-asm.h: Remove file.
18190 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18191 <bp-sym.h> and <bp-asm.h>.
18192 (__clone): Do not use BP_SYM.
18193 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18194 <bp-sym.h> and <bp-asm.h>.
18195 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18196 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18197 "bp-asm.h".
18198 (_setjmp): Do not use BP_SYM.
18199 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18200 "bp-asm.h".
18201 (setjmp): Do not use BP_SYM.
18202 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18203 libc_hidden_def.
18204 (mempcpy): Do not use BP_SYM in weak_alias.
18205 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18206 "bp-asm.h".
18207 (strchr): Do not use BP_SYM.
18208 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18209 "bp-asm.h".
18210 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18211 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18212 (_start): Do not use BP_SYM.
18213 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18214 "bp-asm.h".
18215 (strcat): Do not use BP_SYM.
18216 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18217 "bp-asm.h".
18218 (STRCMP): Do not use BP_SYM.
18219 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18220 "bp-asm.h".
18221 (STRCPY): Do not use BP_SYM.
18222 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18223 "bp-asm.h".
18224 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18225 "bp-asm.h".
18226 (FUNCTION): Do not use BP_SYM.
18227 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18228 weak_alias.
18229 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18230
f238fd19
AJ
182312013-02-17 Andreas Jaeger <aj@suse.de>
18232
18233 * time/Versions: Sort entries.
18234 * string/Versions: Likewise.
18235 * resolv/Versions: Likewise.
18236 * posix/Versions: Likewise.
18237 * iconv/Versions: Likewise.
18238 * elf/Versions: Likewise.
18239 * wcsmbs/Versions: Likewise.
18240
bd07f23c 182412013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 18242
22af19f9
SP
18243 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18244 loop termination condition.
18245
4709fe76
SP
18246 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18247 variable to calculate EZ.
18248 (__sqr): Likewise.
2d0e0f29
SP
18249
18250 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18251 the lower precision input.
18252
daaa7713
JM
182532013-02-15 Joseph Myers <joseph@codesourcery.com>
18254
18255 [BZ #13550]
18256 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18257 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18258 (run-via-rtld-prefix): Do not handle %-bp tests.
18259 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18260 (all-object-suffixes): Remove .ob.
18261 (bppfx): Remove variable.
18262 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18263 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18264 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18265 [$(build-bounded) = yes] (libtype.ob): Likewise.
18266 * Makerules (elide-routines.ob): Remove variable.
18267 (do-tests-clean): Do not handle *-bp.out.
18268 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18269 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18270 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18271 (tests): Do not include $(tests-bp.out).
18272 (xtests): Do not include $(xtests-bp.out).
18273 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18274 [$(build-bounded) = yes] ($(addprefix
18275 $(objpfx),$(binaries-bounded))): Remove rule.
18276 ($(objpfx)%-bp.out): Remove rule.
18277 * config.make.in (build-bounded): Remove variable.
18278 * crypt/Makefile [$(build-bounded) = yes]
18279 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18280 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18281 append to variable.
18282 [$(build-bounded) = yes] (install-lib): Likewise.
18283 [$(build-bounded) = yes] (generated): Likewise.
18284 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18285 Remove rule.
18286 * intl/Makefile [$(build-bounded) = yes]
18287 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18288 * math/Makefile [$(build-bounded) = yes]
18289 ($(tests:%=$(objpfx)%-bp): Likewise.
18290 * misc/Makefile [$(build-bounded) = yes]
18291 ($(objpfx)tst-tsearch-bp): Likewise.
18292 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18293 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18294 Remove dependency.
18295 * string/Makefile (o-objects.ob): Remove variable.
18296 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18297 (CFLAGS-.ob): Remove variable.
18298 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18299 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18300 both definitions of variable.
18301 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18302 (ASFLAGS-.ob): Remove variable.
18303
e97ed6dd
JM
183042013-02-14 Joseph Myers <joseph@codesourcery.com>
18305
2bdd4ca6
JM
18306 [BZ #13550]
18307 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18308 Remove __BOUNDED_POINTERS__ from condition.
18309 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18310 * string/bits/string2.h [!__NO_STRING_INLINES &&
18311 !__BOUNDED_POINTERS__]: Likewise.
18312 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18313 Likewise.
18314 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18315 Remove conditional code.
18316 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18317 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18318 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18319 condition.
18320
e97ed6dd
JM
18321 [BZ #13550]
18322 * csu/libc-start.c: Do not include <bp-sym.h>.
18323 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18324 * elf/dl-open.c: Do not include <bp-sym.h>.
18325 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18326 * math/fegetenv.c: Do not include <bp-sym.h>.
18327 (fegetenv): Do not use BP_SYM in versioned symbols.
18328 * nptl/sysdeps/pthread/bits/libc-lockP.h
18329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18330 <bp-sym.h>.
18331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18332 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18334 (__pthread_mutex_destroy): Likewise.
18335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18336 (__pthread_mutex_lock): Likewise.
18337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18338 (__pthread_mutex_trylock): Likewise.
18339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18340 (__pthread_mutex_unlock): Likewise.
18341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18342 (__pthread_mutexattr_init): Likewise.
18343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18344 (__pthread_mutexattr_destroy): Likewise.
18345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18346 (__pthread_mutexattr_settype): Likewise.
18347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18348 (__pthread_rwlock_init): Likewise.
18349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18350 (__pthread_rwlock_destroy): Likewise.
18351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18352 (__pthread_rwlock_rdlock): Likewise.
18353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18354 (__pthread_rwlock_tryrdlock): Likewise.
18355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18356 (__pthread_rwlock_wrlock): Likewise.
18357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18358 (__pthread_rwlock_trywrlock): Likewise.
18359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18360 (__pthread_rwlock_unlock): Likewise.
18361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18362 (__pthread_key_create): Likewise.
18363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18364 (__pthread_setspecific): Likewise.
18365 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18366 (__pthread_getspecific): Likewise.
18367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18368 Likewise.
18369 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18370 (_pthread_cleanup_push_defer): Likewise.
18371 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18372 (_pthread_cleanup_pop_restore): Likewise.
18373 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18374 (pthread_setcancelstate): Likewise.
18375 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18376 <bp-sym.h>.
18377 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18378 (memchr): Do not use BP_SYM in weak_alias.
18379 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18380 (fegetenv): Do not use BP_SYM in versioned symbols.
18381 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18382 (fesetenv): Do not use BP_SYM in versioned symbols.
18383 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18384 (feupdateenv): Do not use BP_SYM in versioned symbols.
18385 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18386 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18387 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18388 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18389 (open64): Do not use BP_SYM in weak_alias.
18390 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18391 (fegetenv): Do not use BP_SYM in versioned symbols.
18392 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18393 (fesetenv): Do not use BP_SYM in versioned symbols.
18394 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18395 (feupdateenv): Do not use BP_SYM in versioned symbols.
18396 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18397 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18398 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18399 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18400 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18401 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18402 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18403 <bp-sym.h>.
18404 (__libc_start_main): Do not use BP_SYM.
18405
d6752ccd
SP
184062013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18407
cb57ce60
SP
18408 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18409 redundant return line.
18410 (norm): Likewise.
18411 (denorm): Likewise.
18412 (dbl_mp): Likewise.
18413 (sub_magnitudes): Likewise.
18414 (__add): Likewise.
18415 (__sub): Likewise.
18416 (__mul): Likewise.
18417 (__inv): Likewise.
18418 (__dvd): Likewise.
18419 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18420 (norm): Likewise.
18421 (denorm): Likewise.
18422 (dbl_mp): Likewise.
18423 (sub_magnitudes): Likewise.
18424 (__add): Likewise.
18425 (__sub): Likewise.
18426 (__mul): Likewise.
18427 (__inv): Likewise.
18428 (__dvd): Likewise.
18429
f414520d
SP
18430 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18431 instead of __mul.
18432 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18433 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18434 (cc32): Likewise.
18435
d6752ccd
SP
18436 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18437 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18438 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18439 of __mul for squares.
18440 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18441 function
18442 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18443 Likewise.
18444 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18445 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18446
70d9946a
JM
184472013-02-13 Joseph Myers <joseph@codesourcery.com>
18448
18449 [BZ #13550]
18450 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18451 code.
18452 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18453 prototype or function definition. Rename ubp_* variables and
18454 parameters. Remove argv definitions conditional on
18455 [__BOUNDED_POINTERS__].
18456 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18457 * elf/dl-runtime.c (_dl_fixup): Likewise.
18458 * include/set-hooks.h (RUN_HOOK): Likewise.
18459 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18460 definition.
18461 * string/strcpy.c (strcpy): Do not use __unbounded.
18462 * sysdeps/generic/frame.h (struct layout): Likewise.
18463 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18464 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18465 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18466 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18467 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18468 (__backtrace): Likewise.
18469 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18470 use __ptrvalue.
18471 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18472 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18473 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18474 Likewise.
18475 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18476 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18477 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18478 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18479 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18480 Do not use __unbounded.
18481 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18482 Rename __unboundedrlimits parameter to rlimits in prototype.
18483 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18484 Do not use __unbounded.
18485 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18486 not use __ptrvalue.
18487 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18488 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18489 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18490 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18491 __ptrvalue or __unbounded.
18492 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18493 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18494 use __unbounded.
18495 (__new_msgctl): Do not use __ptrvalue.
18496 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18497 __unbounded.
18498 (__libc_msgrcv): Do not use __ptrvalue.
18499 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18500 startup_info): Do not use __unbounded.
18501 (__libc_start_main): Likewise. Rename ubp_* variables and
18502 parameters. Remove argv definitions conditional on
18503 [__BOUNDED_POINTERS__].
18504 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18505 __ptrvalue.
18506 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18507 use __unbounded.
18508 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18509 or __ptrvalue.
18510 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18511 use __unbounded.
18512 (__new_shmctl): Do not use __ptrvalue.
18513 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18514 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18515 Likewise.
18516 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18517 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18518 (__libc_sigaction): Likewise.
18519 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18520 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18521 Likewise.
18522 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18523
cc7834d6
OB
185242013-02-13 Ondřej Bílka <neleai@seznam.cz>
18525
ffb1ec7b 18526 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
18527
18528 * string/mempcpy.c: Implement by calling memcpy.
18529
bdf02814
SP
185302013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18531
c2af38aa
SP
18532 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18533
4e92d59e
SP
18534 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18535 evaluation.
18536
909279a5
SP
18537 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18538 values in the mantissa.
18539
bdf02814
SP
18540 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18541 minimize writes to Z.
18542 (sub_magnitudes): Simplify code a bit.
18543
cd525923
RM
185442013-02-12 Roland McGrath <roland@hack.frob.com>
18545
18546 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18547 from the message. The linker prefixes all warnings with that already.
18548
7e2f0d2d
AS
185492013-02-12 Andreas Schwab <schwab@suse.de>
18550
a445af0b
AS
18551 [BZ #15078]
18552 * posix/regexec.c (extend_buffers): Add parameter min_len.
18553 (check_matching): Pass minimum needed length.
18554 (clean_state_log_if_needed): Likewise.
18555 (get_subexp): Likewise.
18556 * posix/Makefile (tests): Add bug-regex34.
18557 (bug-regex34-ENV): Define.
18558 * posix/bug-regex34.c: New file.
18559
7e2f0d2d
AS
18560 [BZ #11561]
18561 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18562 elements compare against the byte sequence of it, not its name.
18563 * posix/Makefile (tests): Add bug-regex35.
18564 (bug-regex35-ENV): Define.
18565 * posix/bug-regex35.c: New file.
18566
a175b684
TV
185672013-02-11 Tom de Vries <tom@codesourcery.com>
18568
18569 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18570 comment.
18571 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18572 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18573 (CHECK_EOL): Add undef.
18574
310998fe 185752013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
18576
18577 * bits/stdlib-bsearch.h: New file.
18578 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 18579 * stdlib/stdlib.h: Likewise.
41eda41d 18580
8ded91fb
RM
185812013-02-11 Roland McGrath <roland@hack.frob.com>
18582
18583 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18584 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18585 declaration.
18586 * manual/search.texi (Array Search Function): Add missing const in
18587 lfind prototype.
18588 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18589 declaration to use rlim_t.
18590 (Basic Scheduling Functions): Remove erroneous const from
18591 sched_getparam prototype. Remove erroneous * from
18592 sched_get_priority_max and sched_get_priority_min prototypes.
18593 (Resource Usage): Fix summary @comment on vtimes to refer to
18594 sys/vtimes.h rather than vtimes.h.
18595 Add missing *s in vtimes prototype.
18596 (Limits on Resources): Fix ulimit prototype to return long int.
18597 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18598 prototypes to use long int rather than double.
18599 (BSD Random): Fix initstate and setstate to use char *, not void *.
18600 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18601 prototype to make second argument 'struct aiocb64 *const[]'.
18602 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18603 (Status of AIO Operations): Remove erroneous const in aio_return and
18604 aio_return64 prototypes.
18605 (Synchronizing I/O): Fix sync prototype to return void.
18606 * manual/startup.texi (Suboptions): Remove an erroneous const in
18607 getsubopt prototype.
18608 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18609 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18610 use size_t rather than int.
18611 (Scanning All Users): Likewise for getpwent_r.
18612 (Setting Groups): Add missing const to setgroups prototype.
18613 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18614 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18615 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18616 'const void *' rather than 'const char *'.
18617 (Host Address Functions): Likewise for inet_ntop.
18618 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18619 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18620 ssize_t for return value.
18621 (Sending Data): Likewise for send, sendto, sendmsg.
18622 (Socket Option Functions): Add a missing const in setsockopt prototype.
18623 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18624 use wchar_t for the argument.
18625 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18626 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18627 take no arguments.
18628 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18629 double/float/long double for second argument.
18630 Fix return types of significand, significandf, significandl.
18631 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18632 argument in fchmod prototype.
18633 (File Owner): Use uid_t and gid_t in fchown prototype.
18634 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18635 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18636 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18637 use 'const struct dirent **' as argument types to CMP function pointer
18638 argument.
18639 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18640 (File Times): Fix summary magic @comment for struct utimbuf and utime
18641 to refer to utime.h, not time.h.
18642 * manual/string.texi (Argz Functions): Add missing const in
18643 argz_extract and argz_next prototypes.
18644 (Finding Tokens in a String): Likewise for basename.
18645 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18646 (Copying and Concatenation): Fix typo in wmemmove prototype.
18647 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18648 (Signal Stack): Remove erroneous const in sigstack prototype.
18649 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18650 prototype.
18651 (Simple Calendar Time): Likewise for stime.
18652 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18653 prototype.
18654 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18655 say sys/sysctl.h instead.
18656 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18657 and vsyslog prototypes.
18658
fe77fe6d
TV
186592013-02-11 Tom de Vries <tom@codesourcery.com>
18660
18661 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18662 Remove.
18663
3a09b620
RM
186642013-02-11 Roland McGrath <roland@hack.frob.com>
18665
18666 * misc/sys/mman.h: Fix typo in mremap comment.
18667
550a0b89
RM
186682013-02-08 Roland McGrath <roland@hack.frob.com>
18669
18670 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18671 the '\0' terminator.
18672
a2da1673
JM
186732013-02-08 Joseph Myers <joseph@codesourcery.com>
18674
18675 [BZ #13550]
18676 * debug/segfault.c: Don't include <bp-checks.h>.
18677 * sysdeps/generic/bp-checks.h: Remove file.
18678 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18679 (__GETDENTS): Don't use CHECK_N.
18680 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18681 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18682 (__getgroups): Don't use CHECK_N.
18683 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18684 (setgroups): Don't use CHECK_N.
18685 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18686 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18687 (__libc_msgrcv): Don't use CHECK_N.
18688 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18689 (__libc_msgsnd): Don't use CHECK_N.
18690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18691 <bp-checks.h>.
18692 (__libc_pread): Don't use CHECK_N.
18693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18694 include <bp-checks.h>.
18695 (__libc_pread64): Don't use CHECK_N.
18696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18697 include <bp-checks.h>.
18698 (__libc_pwrite): Don't use CHECK_N.
18699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18700 include <bp-checks.h>.
18701 (__libc_pwrite64): Don't use CHECK_N.
18702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18703 <bp-checks.h>.
18704 (__libc_pread): Don't use CHECK_N.
18705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18706 include <bp-checks.h>.
18707 (__libc_pread64): Don't use CHECK_N.
18708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18709 include <bp-checks.h>.
18710 (__libc_pwrite): Don't use CHECK_N.
18711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18712 include <bp-checks.h>.
18713 (__libc_pwrite64): Don't use CHECK_N.
18714 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18715 (do_pread): Don't use CHECK_N.
18716 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18717 (do_pread64): Don't use CHECK_N.
18718 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18719 (do_pwrite): Don't use CHECK_N.
18720 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18721 (do_pwrite64): Don't use CHECK_N.
18722 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18723 (__libc_readv): Don't use CHECK_N.
18724 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18725 (semop): Don't use CHECK_N.
18726 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18727 <bp-checks.h>.
18728 (semtimedop): Don't use CHECK_N.
18729 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18730 (__libc_pread): Don't use CHECK_N.
18731 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18732 <bp-checks.h>.
18733 (__libc_pread64): Don't use CHECK_N.
18734 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18735 <bp-checks.h>.
18736 (__libc_pwrite): Don't use CHECK_N.
18737 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18738 <bp-checks.h>.
18739 (__libc_pwrite64): Don't use CHECK_N.
18740 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18741 <bp-checks.h>.
18742 (__libc_msgrcv): Don't use CHECK_N.
18743 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18744 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18745 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18746 (__libc_writev): Don't use CHECK_N.
18747
b84660a8
RM
187482013-02-08 Roland McGrath <roland@hack.frob.com>
18749
7f3e75f8
RM
18750 * string/strcpy.c: Removed unused variable.
18751
b84660a8
RM
18752 * Makeconfig (+sysdep-includes): Define with := rather than =.
18753 Use an existing include/ subdir of each sysdeps dir before it.
18754
471514d3
CD
187552013-02-08 Carlos O'Donell <carlos@redhat.com>
18756
18757 * nscd/connection.c (register_traced_file): Comment function.
18758 [HAVE_INOTIFY] (union __inev): Define.
18759 [HAVE_INOTIFY] (inotify_check_files): New function.
18760 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18761 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18762 clear_db_cache.
18763 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18764
b2d3c3be
CD
187652013-02-08 Carlos O'Donell <carlos@redhat.com>
18766
18767 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18768 loaded if not already and that a failure is permanent.
18769
b39949d2
CD
187702013-02-08 Carlos O'Donell <carlos@redhat.com>
18771
ddacd1db 18772 [BZ #15006]
b39949d2
CD
18773 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18774 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18775
b2c9eff4
JM
187762013-02-08 Joseph Myers <joseph@codesourcery.com>
18777
f3aae3f3
JM
18778 [BZ #13550]
18779 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18780 (CHECK_1_NULL_OK): Likewise.
18781 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18782 (__fxstat): Do not use CHECK_1.
18783 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18784 <bp-checks.h>.
18785 (___fxstat64): Do not use CHECK_1.
18786 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18787 <bp-checks.h>.
18788 (__fxstatat): Do not use CHECK_1.
18789 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18790 <bp-checks.h>.
18791 (__fxstatat64): Do not use CHECK_1.
18792 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18793 <bp-checks.h>.
18794 (__fxstat): Do not use CHECK_1.
18795 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18796 <bp-checks.h>.
18797 (__fxstatat): Do not use CHECK_1.
18798 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18799 <bp-checks.h>.
18800 (__getresgid): Do not use CHECK_1.
18801 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18802 <bp-checks.h>.
18803 (__getresuid): Do not use CHECK_1.
18804 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18805 <bp-checks.h>.
18806 (__lxstat): Do not use CHECK_1.
18807 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18808 <bp-checks.h>.
18809 (__old_msgctl): Do not use CHECK_1.
18810 (__new_msgctl): Likewise.
18811 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18812 <bp-checks.h>.
18813 (__new_setrlimit): Do not use CHECK_1.
18814 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18815 <bp-checks.h>.
18816 (__old_shmctl): Do not use CHECK_1.
18817 (__new_shmctl): Likewise.
18818 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18819 <bp-checks.h>.
18820 (__xstat): Do not use CHECK_1.
18821 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18822 (__lxstat): Do not use CHECK_1.
18823 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18824 <bp-checks.h>.
18825 (___lxstat64): Do not use CHECK_1.
18826 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18827 (__old_msgctl): Do not use CHECK_1.
18828 (__new_msgctl): Likewise.
18829 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18830 <bp-checks.h>.
18831 (__gettimeofday): Do not use CHECK_1.
18832 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18833 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18834 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18835 <bp-checks.h>.
18836 (__gettimeofday): Do not use CHECK_1.
18837 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18838 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18839 (__new_shmctl): Do not use CHECK_1.
18840 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18841 <bp-checks.h>.
18842 (do_sigtimedwait): Do not use CHECK_1.
18843 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18844 <bp-checks.h>.
18845 (do_sigwaitinfo): Do not use CHECK_1.
18846 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18847 <bp-checks.h>.
18848 (msgctl): Do not use CHECK_1.
18849 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18850 <bp-checks.h>.
18851 (shmctl): Do not use CHECK_1.
18852 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18853 (ustat): Do not use CHECK_1.
18854 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18855 <bp-checks.h>.
18856 (__fxstat): Do not use CHECK_1.
18857 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18858 <bp-checks.h>.
18859 (__fxstatat): Do not use CHECK_1.
18860 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18861 <bp-checks.h>.
18862 (__lxstat): Do not use CHECK_1.
18863 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18864 <bp-checks.h>.
18865 (__xstat): Do not use CHECK_1.
18866 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18867 (__xstat): Do not use CHECK_1.
18868 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18869 (___xstat64): Do not use CHECK_1.
18870
b2c9eff4
JM
18871 [BZ #13550]
18872 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18873 definitions.
18874 (CHECK_BOUNDS_HIGH): Likewise.
18875 * string/strcpy.c: Do not include <bp-checks.h>.
18876 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18877
f1d70dad
RM
188782013-02-07 Roland McGrath <roland@hack.frob.com>
18879
18880 * nscd/nscd-client.h (__nscd_drop_map_ref):
18881 Add __attribute__ ((unused)).
18882 * nis/nss-nisplus.h (niserr2nss): Likewise.
18883
18884 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18885 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18886
18887 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18888 Remove inline keyword.
18889 * include/rounding-mode.h (round_away): Likewise.
18890 * libio/wfileops.c (adjust_wide_data): Likewise.
18891 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18892 (__m128i_strloadu_tolower): Likewise.
18893 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18894 (__m128i_strloadu_tolower): Likewise.
18895 * time/mktime.c (ydhms_diff): Likewise.
18896 * locale/elem-hash.h (elem_hash): Likewise.
18897 * locale/setlocale.c (setdata): Likewise.
18898 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18899 (re_string_wchar_at): Likewise.
18900 (bitset_not, bitset_merge, bitset_mask): Likewise.
18901 [!(__GNUC__ > 3)] (inline): Remove macro.
18902 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18903 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18904 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18905 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18906 * string/memcmp.c (memcmp_bytes): Likewise.
18907 * locale/programs/locarchive.c (compute_hashval): Likewise.
18908 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18909 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18910 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18911 * nss/getent.c (print_rpc, print_protocols): Likewise.
18912 (print_passwd, print_group, print_aliases): Likewise.
18913 * nis/nss-nisplus.h (niserr2nss): Likewise.
18914 * nscd/connections.c (restart_p): Likewise.
18915 Change return type to bool.
18916
eab55bfb
RM
189172013-02-05 Roland McGrath <roland@hack.frob.com>
18918
7bd642f5
RM
18919 * Makeconfig (all-Depend-files): Add existing
18920 $(sorted-subdirs:=/Depend) files.
18921 (all-subdirs): Remove nss.
18922 * sysdeps/unix/inet/Subdirs: Add it here instead.
18923 * hesiod/Depend: New file.
18924
573c29b2
RM
18925 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18926 instead of calling alloca.
18927
b2e25af0
RM
18928 * io/lseek.c (__lseek): Rename to __libc_lseek.
18929 Define __lseek as an alias.
18930
eab55bfb
RM
18931 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18932
9a0d1941
CD
189332013-02-04 Carlos O'Donell <carlos@redhat.com>
18934
18935 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18936 else clause and remove check for non-standard endianness.
18937
b83bbec4
DM
189382013-02-04 David S. Miller <davem@davemloft.net>
18939
18940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18941
6277fdab
JM
189422013-02-04 Joseph Myers <joseph@codesourcery.com>
18943
18944 [BZ #13550]
18945 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18946 (__ubp_memchr): Remove prototype.
18947 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18948 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18949 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18950 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18951 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18952 Remove alias.
18953 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18954 (__ubp_memchr): Likewise.
18955 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18956 (__ubp_memchr): Likewise.
18957 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18958 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18959 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18960 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18961 CHECK_STRING.
18962 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18963 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18964 (__getcwd): Do not use CHECK_STRING.
18965 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18966 <bp-checks.h>.
18967 (__real_chown): Do not use CHECK_STRING.
18968 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18969 <bp-checks.h>.
18970 (fchownat): Do not use CHECK_STRING.
18971 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18972 CHECK_STRING.
18973 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18974 <bp-checks.h>.
18975 (__lchown): Do not use CHECK_STRING.
18976 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18977 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18978 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18979 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18981 include <bp-checks.h>.
18982 (truncate64): Do not use CHECK_STRING.
18983 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18984 <bp-checks.h>.
18985 (__real_chown): Do not use CHECK_STRING.
18986 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18987 <bp-checks.h>.
18988 (__lchown): Do not use CHECK_STRING.
18989 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18990 <bp-checks.h>.
18991 (__chown): Do not use CHECK_STRING.
18992 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18993 <bp-checks.h>.
18994 (truncate64): Do not use CHECK_STRING.
18995 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18996 Likewise.
18997 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18998 (__xmknod): Do not use CHECK_STRING.
18999 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19000 <bp-checks.h>.
19001 (__xmknodat): Do not use CHECK_STRING.
19002 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19003 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19004
903ae060
AS
190052013-02-04 Andreas Schwab <schwab@suse.de>
19006
19007 [BZ #14142]
19008 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19009 * include/netdb.h: Likewise for h_errno.
19010 * elf/tst-stackguard1.c: Include <tls.h>.
19011
542f9466
JK
190122013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
19013
19014 * elf/link.h (struct link_map): Extend the l_addr comment.
19015 * include/link.h (struct link_map): Likewise.
19016
e782a927
JM
190172013-02-01 Joseph Myers <joseph@codesourcery.com>
19018
19019 [BZ #13550]
19020 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19021 (BOUNDED_1): Remove macro.
19022 * debug/backtrace.c: Don't include <bp-checks.h>.
19023 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19024 (__backtrace): Likewise.
19025 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19026 <bp-checks.h>.
19027 (__backtrace): Don't use BOUNDED_1.
19028 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19029 <bp-checks.h>.
19030 (__backtrace): Don't use BOUNDED_1.
19031 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19032 (__backtrace): Don't use BOUNDED_1.
19033 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19034 (shmat): Don't use BOUNDED_N.
19035
8cf28c5e
JM
190362013-01-31 Joseph Myers <joseph@codesourcery.com>
19037
3a7ac8a0
JM
19038 [BZ #13550]
19039 * sysdeps/generic/bp-start.h: Remove file.
19040 * csu/libc-start.c: Don't include <bp-start.h>.
19041 (LIBC_START_MAIN): Set up __environ directly instead of using
19042 INIT_ARGV_and_ENVIRON.
19043 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19044 <bp-start.h>.
19045
f3499f95
JM
19046 [BZ #13550]
19047 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19048 definitions.
19049 (CHECK_FCNTL): Likewise.
19050 (CHECK_N_PAGES): Likewise.
19051
32a45bea
JM
19052 [BZ #13550]
19053 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19054 definitions.
19055 (CHECK_SIGSET_NULL_OK): Likewise.
19056 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19057 <bp-checks.h>.
19058 (sigpending): Don't use CHECK_SIGSET.
19059 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19060 <bp-checks.h>.
19061 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19062 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19063 <bp-checks.h>.
19064 (do_sigsuspend): Don't use CHECK_SIGSET.
19065 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19066 use CHECK_SIGSET.
19067 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19068 (do_sigwait): Don't use CHECK_SIGSET.
19069 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19070 use CHECK_SIGSET.
19071 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19072 include <bp-checks.h>.
19073 (sigpending): Don't use CHECK_SIGSET.
19074 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19075 include <bp-checks.h>.
19076 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19077 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19078 <bp-checks.h>.
19079 (sigpending): Don't use CHECK_SIGSET.
19080 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19081 <bp-checks.h>.
19082 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19083
2e8a5c8c
JM
19084 [BZ #13550]
19085 * sysdeps/generic/bp-semctl.h: Remove file.
19086 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19087 <bp-checks.h> and <bp-semctl.h>.
19088 (__old_semctl): Don't use CHECK_SEMCTL.
19089 (__new_semctl): Likewise.
19090 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19091 and <bp-semctl.h>.
19092 (__old_semctl): Don't use CHECK_SEMCTL.
19093 (__new_semctl): Likewise.
19094 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19095 <bp-checks.h> and <bp-semctl.h>.
19096 (__old_semctl): Don't use CHECK_SEMCTL.
19097 (__new_semctl): Likewise.
19098 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19099 <bp-checks.h> and <bp-semctl.h>.
19100 (semctl): Don't use CHECK_SEMCTL.
19101
c2d54929
JM
19102 [BZ #13550]
19103 * Makerules (elide-bp-thunks): Remove variable.
19104 (elide-routines.oS): Don't use $(elide-bp-thunks).
19105 (elide-routines.os): Likewise.
19106 (elide-routines.o): Likewise.
19107 (elide-routines.op): Likewise.
19108 (elide-routines.og): Likewise.
19109 (objects): Don't use $(bp-thunks).
19110 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19111 include.
19112 (common-generated): Do not add s-proto-bp.d.
19113 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19114 (int): Likewise.
19115 (typ): Likewise.
19116 Do not generate makefile rules for bounded-pointer thunks.
19117 * sysdeps/generic/bp-thunks.h: Remove file.
19118 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19119 * sysdeps/unix/s-proto-bp.S: Likewise.
19120
8cf28c5e
JM
19121 [BZ #15062]
19122 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19123 parts of result separately when argument is not close to line from
19124 -i to i and one part of argument is small.
19125 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19126 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19127 * math/libm-test.inc (cacos_test): Add more tests.
19128 (casin_test): Likewise.
19129 (casinh_test): Likewise.
19130 * sysdeps/i386/fpu/libm-test-ulps: Update.
19131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19132
c4e33b8d
DM
191332013-01-31 David S. Miller <davem@davemloft.net>
19134
19135 * po/de.po: Update from translation team.
19136
3b60b421
MK
191372013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19138
19139 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19140
bb931195
TS
191412013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19142
b5a5da23
TS
19143 * configure.in (_AC_PROG_CC_C89): New definition.
19144 * configure: Regenerate.
19145
bb931195
TS
19146 * configure.in (AC_PROG_CPP): New definition.
19147 * configure: Regenerate.
19148
8c53a12c
JM
191492013-01-23 Joseph Myers <joseph@codesourcery.com>
19150
19151 * debug/tst-backtrace.h: New file.
19152 * debug/tst-backtrace2.c: Include tst-backtrace.h.
19153 (ret): Remove variable.
19154 (x): Likewise.
19155 (FAIL): Remove macro.
19156 (NO_INLINE): Likewise.
19157 (fn1): Use match function instead of strstr.
19158 * debug/tst-backtrace3.c: Include tst-backtrace.h.
19159 (ret): Remove variable.
19160 (x): Likewise.
19161 (FAIL): Remove macro.
19162 (NO_INLINE): Likewise.
19163 (fn): Use match function instead of strstr.
19164 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19165 (ret): Remove variable.
19166 (x): Likewise.
19167 (FAIL): Remove macro.
19168 (NO_INLINE): Likewise.
19169 (handle_signal): Use match function instead of strstr.
19170 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19171 (ret): Remove variable.
19172 (x): Likewise.
19173 (FAIL): Remove macro.
19174 (NO_INLINE): Likewise.
19175 (handle_signal): Use match function instead of strstr.
19176
4858fa2a
RM
191772013-01-23 Roland McGrath <roland@hack.frob.com>
19178
19179 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19180
bae8e7f5
DM
191812013-01-23 David S. Miller <davem@davemloft.net>
19182
19183 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19184 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19185 argument of CAS if possible.
19186 * sysdeps/sparc/sparc64/bits/atomic.h
19187 (__arch_compare_and_exchange_val_32_acq): Likewise.
19188 (__arch_compare_and_exchange_val_64_acq): Likewise.
19189
9cbbc4ae
PT
191902013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19191
19192 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19193 * sysdeps/posix/ulimit.c: ... this.
92a601b8 19194 Include <limits.h>.
67b3f58c 19195 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 19196
5655a0b5
AC
191972013-01-23 Adam Conrad <adconrad@0c3.net>
19198
19199 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19200 (LDFLAGS-tst-array5): Likewise.
19201
052aff95
JM
192022013-01-23 Joseph Myers <joseph@codesourcery.com>
19203
19204 [BZ #15036]
19205 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19206 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19207 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19208 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19209
7c1e01aa
DM
192102013-01-21 David S. Miller <davem@davemloft.net>
19211
19212 * sysdeps/sparc/backtrace.c: New file.
19213 * sysdeps/sparc/sparc32/backtrace.h: New file.
19214 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19215 * sysdeps/sparc/sparc64/backtrace.h: New file.
19216 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19217 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19218 -funwind-tables.
19219
ab087e0a
AS
192202013-01-21 Andreas Schwab <schwab@suse.de>
19221
19222 [BZ #15020]
19223 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19224 closed its stdout.
19225
ed689c2f
AS
192262013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19227
19228 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19229 "mpa2.h".
19230 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19231
31d470ac
JM
192322013-01-18 Joseph Myers <joseph@codesourcery.com>
19233 Mark Mitchell <mark@codesourcery.com>
19234 Tom de Vries <tom@codesourcery.com>
19235 Paul Pluzhnikov <ppluzhnikov@google.com>
19236
19237 * debug/tst-backtrace2.c: New file.
19238 * debug/tst-backtrace3.c: Likewise.
19239 * debug/tst-backtrace4.c: Likewise.
19240 * debug/tst-backtrace5.c: Likewise.
19241 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19242 (CFLAGS-tst-backtrace3.c): Likewise.
19243 (CFLAGS-tst-backtrace4.c): Likewise.
19244 (CFLAGS-tst-backtrace5.c): Likewise.
19245 (LDFLAGS-tst-backtrace2): Likewise.
19246 (LDFLAGS-tst-backtrace3): Likewise.
19247 (LDFLAGS-tst-backtrace4): Likewise.
19248 (LDFLAGS-tst-backtrace5): Likewise.
19249 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19250 tst-backtrace4 and tst-backtrace5.
19251
90567f30 192522013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
19253 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19254
19255 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19256 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19257 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19258 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19260 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19261 "+r" and remove output regs list as redundant. Add explicit inline
19262 asm to specify register of return val to work around compiler codegen
19263 bug. Remove (int) cast on return value. Add return type parameter to
19264 use in macro so that this macro does not truncate return value for
19265 64-bit values.
19266 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19267 pass to INTERNAL_VSYSCALL_NCS.
19268 (INLINE_VSYSCALL): Add 'long int' as return type to
19269 INTERNAL_VSYSCALL_NCS macro invocation.
19270 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19271 INTERNAL_VSYSCALL_NCS macro invocation.
19272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19273
d3b9ea61
SP
192742013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19275
0b57daeb
SP
19276 [BZ #14496]
19277 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19278 Fix application of SIMD FP exception mask.
19279
caa99d06
SP
19280 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19281 mp_no from a power of two.
19282 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19283 __mpexp_twomm1. Use __pow_mp.
19284
d3b9ea61
SP
19285 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19286 multiplication.
19287
1dbaee3c
DM
192882013-01-17 David S. Miller <davem@davemloft.net>
19289
19290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19291
728d7b43
JM
192922013-01-17 Joseph Myers <joseph@codesourcery.com>
19293
19294 [BZ #15023]
19295 * include/complex.h: Condition contents on [!_COMPLEX_H].
19296 (__kernel_casinhf): New prototype.
19297 (__kernel_casinh): Likewise.
19298 (__kernel_casinhl): Likewise.
19299 * math/Makefile (libm_calls): Add k_casinh.
19300 * math/k_casinh.c: New file.
19301 * math/k_casinhf.c: Likewise.
19302 * math/k_casinhl.c: Likewise.
19303 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19304 finite nonzero arguments.
19305 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19306 finite nonzero arguments.
19307 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19308 finite nonzero arguments.
19309 * math/s_casinh.c: Do not include <float.h>.
19310 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19311 * math/s_casinhf.c: Do not include <float.h>.
19312 (__casinhf): Move code for finite nonzero arguments to
19313 k_casinhf.c.
19314 * math/s_casinhl.c: Do not include <float.h>.
19315 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19316 redefine.
19317 (__casinhl): Move code for finite nonzero arguments to
19318 k_casinhl.c.
19319 * math/libm-test.inc (cacos_test): Add more tests.
19320 * sysdeps/i386/fpu/libm-test-ulps: Update.
19321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19322
2a26ef3a
PT
193232013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19324
19325 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19326 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19327 [!HAVE_MREMAP]: Remove [defined linux] case.
19328 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19329
a897655d
SP
193302013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19331
19332 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19333
881ebe89 193342013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
19335
19336 * elf/elf.h (R_386_SIZE32): New relocation.
19337 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19338 R_386_SIZE32.
19339 (elf_machine_rela): Likewise.
19340 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19341 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19342
59981e9b
JM
193432013-01-17 Joseph Myers <joseph@codesourcery.com>
19344
19345 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19346 (FP_FAST_FMA): Do not define.
19347 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19348 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19349 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19350 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19351 !_SOFT_FLOAT]: Likewise.
19352 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19353 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19354 value.
19355 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19356 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19357 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19358 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19359 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19360 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19361 file.
19362
cfa8054f
AS
193632013-01-16 Andreas Schwab <schwab@suse.de>
19364
19365 [BZ #14327]
19366 * include/stdlib.h (__mktemp): Add declaration.
19367 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19368 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19369
dd930cc5
SP
193702013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19371
881ebe89
SP
19372 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19373 definitions.
19374 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19375 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19376 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19377 definitions here.
19378 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19379 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19380 definitions.
19381 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19382 and ONE.
19383 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19384 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19385 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19386 definitions.
19387 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19388 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19389 definitions.
19390 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 19391
dd930cc5
SP
19392 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19393
c19a9f89
DM
193942013-01-15 David S. Miller <davem@davemloft.net>
19395
1aa61767
DM
19396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19397 trunc{,f} to libm-sysdep_routes.
19398 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19400 file.
19401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19403 file.
19404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19405 file.
19406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19408 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19409 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19410 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19411 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19412 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19413 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19414
c42d5e98
DM
19415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19416 nearbyint{,f} to libm-sysdep_routes.
19417 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19419 New file.
19420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19421 file.
19422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19423 New file.
19424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19425 file.
19426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19428 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19429 file.
19430 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19431 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19432 file.
19433 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19434 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19435 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19436
c19a9f89
DM
19437 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19438 libc_feholdexcept and libc_fesetenv.
19439
357679d2
MF
194402013-01-15 Mike Frysinger <vapier@gentoo.org>
19441
19442 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19443
65a82e3d
DM
194442013-01-14 David S. Miller <davem@davemloft.net>
19445
8b954ab9
DM
19446 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19447 (SPARC_ASM_VIS2_IFUNC): Likewise.
19448 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19450 use of 'siam' instruction.
19451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19452 Likewise.
19453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19454 Likewise.
19455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19456 Likewise.
19457 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19458 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19459 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19462 file.
19463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19464 file.
19465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19466 file.
19467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19468 file.
19469 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19470 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19471 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19472 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19474 new VIS2 routines.
19475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19478 Likewise.
19479 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19480 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19481 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19482 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19484 routines to libm-sysdep_routines.
19485 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19486
65a82e3d
DM
19487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19488 fdim/fdimf to libm-sysdep_routines.
19489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19490 file.
19491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19493 file.
19494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19497 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19498 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19499 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19500 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19501
e34ab705
SP
195022013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19503
2a91b573
SP
19504 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19505 to optimize copies.
19506
1066a534
SP
19507 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19508 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19509 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19510
e34ab705
SP
19511 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19512 local variable MPTWO.
19513 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19514 Likewise.
19515
aba5e596
MF
195162013-01-13 Mike Frysinger <vapier@gentoo.org>
19517
19518 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19519 GLOB_NOESCAPE.
19520
e557e9e5
MF
195212013-01-13 Mike Frysinger <vapier@gentoo.org>
19522
19523 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19524
0428cec9
MF
195252013-01-13 Mike Frysinger <vapier@gentoo.org>
19526
19527 * manual/pattern.texi (glob_t): Document gl_flags.
19528 (glob64_t): Likewise.
19529
8794a964
DM
195302013-01-11 David S. Miller <davem@davemloft.net>
19531
66438c3f
RM
19532 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19533 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19534 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
19535 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19536 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19537 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19538 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19539 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19540 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19541 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19542 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19543 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19544 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19545
4ae4244d
DM
19546 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19547 sparc V9 rather than using V8 code.
19548 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19549 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19550
8794a964
DM
19551 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19552 Move to...
19553 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19554 Here.
19555
6270516e
RM
195562013-01-11 Roland McGrath <roland@hack.frob.com>
19557
19558 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19559 not in the main loop.
19560 * configure: Regenerated.
19561
6a57d931
JM
195622013-01-11 Joseph Myers <joseph@codesourcery.com>
19563
19564 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19565 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19566 to just #else.
19567 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19568 [!__GLIBC_HAVE_LONG_LONG] case.
19569 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19570 condition to just #else.
19571 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19572 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19573 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19574 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19575 unconditional.
19576 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19577 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19578 #elif condition to just #else.
19579 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19580 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19581 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19582 #elif condition to just #else.
19583
0e8529e9
SE
195842013-01-11 Steve Ellcey <sellcey@mips.com>
19585
19586 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19587 (EF_MIPS_ARCH_64): Fix value.
19588 (EF_MIPS_ARCH_32R2): New.
19589 (EF_MIPS_ARCH_64R2): New.
19590
740b3dbe
L
195912013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19592
19593 * Makeconfig (+link-pie-before-libc): New.
19594 (+link-pie-after-libc): Likewise.
19595 (+link-pie-tests): Likewise.
19596 (+link-pie): Rewritten.
19597 (link-before-libc): Remove $(config-LDFLAGS).
19598 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19599 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19600 (config-LDFLAGS): Renamed to ...
19601 (rtld-LDFLAGS): This.
19602 (rtld-tests-LDFLAGS): New macro.
19603 (link-libc-rpath-link): Likewise.
19604 (link-libc-tests-rpath-link): Likewise.
19605 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19606 (link-libc): Prepand $(link-libc-rpath-link).
19607 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19608 (test-program-prefix): New macro.
19609 (test-via-rtld-prefix): Likewise.
19610 (test-program-cmd): Likewise.
19611 (host-test-program-cmd): Likewise.
19612 * Makefile ($(common-objpfx)testrun.sh): Replace
19613 $(run-program-prefix) with $(test-program-prefix).
19614 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19615 $(rtld-LDFLAGS).
19616 ($(common-objpfx)shlib.lds): Likewise.
19617 (build-module-helper): Likewise.
19618 ($(common-objpfx)format.lds): Likewise.
19619 * Rules (binaries-pie-tests): New.
19620 (binaries-pie-notests): Likewise.
19621 (binaries-pie): Rewritten.
19622 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19623 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19624 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19625 (make-test-out): Replace $(host-built-program-cmd) with
19626 $(host-test-program-cmd).
19627 * config.make.in (build-hardcoded-path-in-tests): New variable.
19628 * configure.in (--enable-hardcoded-path-in-tests): New configure
19629 option.
19630 (hardcoded_path_in_tests): New AC_SUBST.
19631 * configure: Regenerated.
19632 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19633 $(built-program-cmd) with $(test-program-cmd).
19634 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19635 (test_program_cmd): This.
19636 * elf/Makefile ($(objpfx)order.out): Run test with
19637 $(test-program-prefix).
19638 ($(objpfx)order2.out): Likewise.
19639 ($(objpfx)tst-initorder.out): Likewise.
19640 ($(objpfx)tst-initorder2.out): Likewise.
19641 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19642 $(test-program-cmd).
19643 ($(objpfx)tst-array1-static.out): Likewise.
19644 ($(objpfx)tst-array2.out): Likewise.
19645 ($(objpfx)tst-array3.out): Likewise.
19646 ($(objpfx)tst-array4.out): Likewise.
19647 ($(objpfx)tst-array5.out): Likewise.
19648 ($(objpfx)tst-array5-static.out): Likewise.
19649 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19650 $(test-program-cmd).
19651 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19652 $(run-program-prefix) with $(test-program-prefix).
19653 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19654 (test_program_prefix): This.
19655 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19656 $(run-program-prefix) with $(test-program-prefix).
19657 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19658 (test_program_prefix): This.
19659 * iconvdata/tst-tables.sh: Likewise.
19660 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19661 $(run-program-prefix) with $(test-program-prefix).
19662 ($(objpfx)tst-translit.out): Likewise.
19663 ($(objpfx)tst-gettext2.out): Likewise.
19664 ($(objpfx)tst-gettext4.out): Likewise.
19665 ($(objpfx)tst-gettext6.out): Likewise.
19666 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19667 (test_program_prefix): This.
19668 * intl/tst-gettext2.sh: Likewise.
19669 * intl/tst-gettext4.sh Likewise.
19670 * intl/tst-gettext6.sh: Likewise.
19671 * intl/tst-translit.sh: Likewise.
19672 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19673 with $(test-program-cmd).
19674 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19675 $(run-program-prefix) with $(test-program-prefix).
19676 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19677 (test_program_prefix): This.
19678 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19679 $(run-program-prefix) with $(test-program-prefix).
19680 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19681 (test_program_prefix): This.
19682 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19683 * posix/Makefile ($(objpfx)globtest.out): Replace
19684 $(run-via-rtld-prefix) and $(test-wrapper) with
19685 $(test-program-prefix) and $(test-via-rtld-prefix).
19686 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19687 $(test-program-prefix).
19688 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19689 $(host-test-program-cmd).
19690 (tst-spawn-ARGS): Likewise.
19691 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19692 $(test-program-prefix).
19693 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19694 (test_via_rtld_prefix): This.
19695 (test_wrapper): Renamed to ...
19696 (test_program_prefix): This.
19697 (run_program_prefix): Replaced by test_program_prefix.
19698 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19699 (test_program_prefix): This.
19700 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19701 with $(host-test-program-cmd).
19702 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19703 $(run-program-prefix) with $(test-program-prefix).
19704 ($(objpfx)tst-printf.out): Likewise.
19705 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19706 $(test-program-cmd).
19707 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19708 (test_program_prefix): This.
19709 * stdio-common/tst-unbputc.sh: Likewise.
19710 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19711 $(run-program-prefix) with $(test-program-prefix).
19712 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19713 (test_program_prefix): This.
19714 * string/Makefile ($(objpfx)tst-svc.out): Replace
19715 $(built-program-cmd) with $(test-program-cmd).
19716
c6fe55cf
AJ
197172013-01-11 Andreas Jaeger <aj@suse.de>
19718
19719 [BZ #15003]
19720 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19721 value. Sync with Linux 3.7.
19722
9e6919c8
DM
197232013-01-10 David S. Miller <davem@davemloft.net>
19724
19725 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19726 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19727 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19728
1c9f1a02
RM
197292013-01-10 Roland McGrath <roland@hack.frob.com>
19730
19731 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19732 never set.
19733 * configure: Regenerated.
19734
b9de2dde
DM
197352013-01-10 David S. Miller <davem@davemloft.net>
19736
19737 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19738 sparc V9 rather than using V8 code.
19739 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19740 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19741
e7f68ef4
RM
197422013-01-10 Roland McGrath <roland@hack.frob.com>
19743
19744 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19745 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19746 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19747 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19748 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19749 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19750 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19751 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19752 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19753 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19754 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19755 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19756 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19757 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19758 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19759 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19760 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19761 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19762 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19763 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19764 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19765 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19766 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19767 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19768 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19769 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19770 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19771
5a47cc9c
DM
197722013-01-10 David S. Miller <davem@davemloft.net>
19773
19774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19775
4cf8f209
L
197762013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19777
19778 * posix/Makefile (tests-static): New variable.
19779 (tests): Add $(tests-static).
19780 (tst-exec-static-ARGS): New variable.
19781 (tst-spawn-static-ARGS): Likewise.
19782 * posix/tst-exec-static.c: New file.
19783 * posix/tst-spawn-static.c: Likewise.
19784 * posix/tst-exec.c: Support run directly.
19785 * posix/tst-spawn.c: Likewise.
19786
fed0faa1
JM
197872013-01-10 Joseph Myers <joseph@codesourcery.com>
19788
828beb13
JM
19789 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19790 long.
19791 * math/bits/mathcalls.h (llrint): Likewise.
19792 (llround): Likewise.
19793 * stdlib/stdlib.h (struct drand48_data): Likewise.
19794 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19795 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19796 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19797 Likewise.
19798 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19799 Likewise.
19800 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19801 (elf_greg_t): Likewise.
19802 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19803 (__jmp_buf): Likewise.
19804 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19805 definitions.
19806 (llrint): Likewise, for all definitions.
19807 (llrintl): Likewise.
19808
fed0faa1
JM
19809 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19810 Remove [__GNUC__] condition.
19811 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19812 condition to just [__USE_ISOC99].
19813 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19814
1a20cb20
L
198152013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19816
19817 [BZ #14200]
19818 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19819 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19820 defined.
19821 (_POSIX_V6_ILP32_OFF32): Likewise.
19822 (_XBS5_ILP32_OFF32): Likewise.
19823 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19824 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19825
751b85f7
SP
198262013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19827
7490eb81
SP
19828 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19829
751b85f7
SP
19830 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19831 doubles __mpexp_twomm1. Adjust usage.
19832 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19833 Remove.
19834
988197f0
AS
198352013-01-10 Andreas Schwab <schwab@suse.de>
19836
19837 [BZ #14964]
19838 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19839 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19840
e83d7298
DM
198412013-01-09 David S. Miller <davem@davemloft.net>
19842
034ed64b 19843 [BZ #15003]
57f41c40
AS
19844 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19845 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19846 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19847 (TCP_FASTOPEN): Define.
e83d7298
DM
19848 (tcp_repair_opt): New structure.
19849 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19850 enum values.
57f41c40
AS
19851 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19852 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19853 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
19854 (tcp_cookie_transactions): New structure.
19855
d5e0b9bd
AB
198562013-01-09 Anton Blanchard <anton@samba.org>
19857
19858 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19859 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19860 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19861 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19862
0c07e3ea
JM
198632013-01-09 Joseph Myers <joseph@codesourcery.com>
19864
19865 * include/features.h (__USE_ANSI): Remove.
19866
232f7002
RM
198672013-01-09 Roland McGrath <roland@hack.frob.com>
19868
ad98e30c
RM
19869 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19870
232f7002
RM
19871 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19872
950c99ca
SP
198732013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19874
b5792741
SP
19875 * sysdeps/s390/fpu/libm-test-ulps: Update.
19876
47cf2278
SP
19877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19878
950c99ca
SP
19879 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19880 (__acr): Likewise.
19881 (__cpy): Likewise.
19882 (norm): Likewise.
19883 (denorm): Likewise.
19884 (__mp_dbl): Likewise.
19885 (__dbl_mp): Likewise.
19886 (add_magnitudes): Likewise.
19887 (sub_magnitudes): Likewise.
19888 (__add): Likewise.
19889 (__sub): Likewise.
19890 (__mul): Likewise.
19891 (__inv): Likewise.
19892 (__dvd): Likewise.
19893 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19894 (__acr): Likewise.
19895 (__cpy): Likewise.
19896 (norm): Likewise.
19897 (denorm): Likewise.
19898 (__mp_dbl): Likewise.
19899 (__dbl_mp): Likewise.
19900 (add_magnitudes): Likewise.
19901 (sub_magnitudes): Likewise.
19902 (__add): Likewise.
19903 (__sub): Likewise.
19904 (__mul): Likewise.
19905 (__inv): Likewise.
19906 (__dvd): Likewise.
19907 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19908 (__acr): Likewise.
19909 (__cpy): Likewise.
19910 (norm): Likewise.
19911 (denorm): Likewise.
19912 (__mp_dbl): Likewise.
19913 (__dbl_mp): Likewise.
19914 (add_magnitudes): Likewise.
19915 (sub_magnitudes): Likewise.
19916 (__add): Likewise.
19917 (__sub): Likewise.
19918 (__mul): Likewise.
19919 (__inv): Likewise.
19920 (__dvd): Likewise.
19921
eede9df9
JM
199222013-01-08 Joseph Myers <joseph@codesourcery.com>
19923
19924 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19925 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19926 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19927 2 && __USE_EXTERN_INLINES]: Likewise.
19928
c40ea3d9
AJ
199292013-01-08 Andreas Jaeger <aj@suse.de>
19930
19931 [BZ# 14985]
19932 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19933 Remove.
19934 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19935 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19936
2ccdea26
AB
199372013-01-07 Anton Blanchard <anton@samba.org>
19938
19939 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19940 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19941 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19942 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19943 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19944 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19945 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19946 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19947 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19948 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19949 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19950 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19951 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19952 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19953 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19954 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19955 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19956 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19957 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19958 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19959 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19960 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19961 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19962 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19963 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19964 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19965 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19966 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19967 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19968 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19969 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19970 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19971 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19972 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19973 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19974 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19975 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19976 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19977 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19978 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19979 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19980 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19981 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19982
a9708fed
JM
199832013-01-07 Joseph Myers <joseph@codesourcery.com>
19984
375607b9
JM
19985 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19986 (__MALLOC_PMT): Likewise.
19987 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19988 [__GNUC__], only on [_LIBC].
19989 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19990 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19991 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19992 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19993 forward declaration.
19994 (realloc_hook_ini): Likewise.
19995 (memalign_hook_ini): Likewise.
19996 (__libc_memalign): Do not use __MALLOC_PMT in variable
19997 declaration.
19998 (__libc_valloc): Likewise.
19999 (__libc_pvalloc): Likewise.
20000 (__libc_calloc): Likewise.
20001 (__posix_memalign): Likewise.
20002
a9708fed
JM
20003 [BZ #14996]
20004 * math/s_casinh.c: Include <float.h>.
20005 (__casinh): Do not do computation with squaring and square root
20006 for large arguments.
20007 * math/s_casinhf.c: Include <float.h>.
20008 (__casinhf): Do not do computation with squaring and square root
20009 for large arguments.
20010 * math/s_casinhl.c: Include <float.h>.
20011 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20012 (__casinhl): Do not do computation with squaring and square root
20013 for large arguments.
20014 * math/libm-test.inc (casin_test): Add more tests.
20015 (casinh_test): Likewise.
20016 * sysdeps/i386/fpu/libm-test-ulps: Update.
20017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20018
afec409a
L
200192013-01-04 H.J. Lu <hongjiu.lu@intel.com>
20020
20021 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20022 (__x86_64_raw_data_cache_size): Likewise.
20023 (__x86_64_data_cache_size_half): Likewise.
20024 (__x86_64_raw_data_cache_size_half): Likewise.
20025 (__x86_64_shared_cache_size): Likewise.
20026 (__x86_64_raw_shared_cache_size): Likewise.
20027 (__x86_64_shared_cache_size_half): Likewise.
20028 (__x86_64_raw_shared_cache_size_half): Likewise.
20029 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20030 to ...
20031 (__x86_data_cache_size): This.
20032 (__x86_64_raw_data_cache_size): Renamed to ...
20033 (__x86_raw_data_cache_size): This.
20034 (__x86_64_data_cache_size_half): Renamed to ...
20035 (__x86_data_cache_size_half): This.
20036 (__x86_64_raw_data_cache_size_half): Renamed to ...
20037 (__x86_raw_data_cache_size_half): This.
20038 (__x86_64_shared_cache_size): Renamed to ...
20039 (__x86_shared_cache_size): This.
20040 (__x86_64_raw_shared_cache_size): Renamed to ...
20041 (__x86_raw_shared_cache_size): This.
20042 (__x86_64_shared_cache_size_half): Renamed to ...
20043 (__x86_shared_cache_size_half): This.
20044 (__x86_64_raw_shared_cache_size_half): Renamed to ...
20045 (__x86_raw_shared_cache_size_half): This.
20046 * sysdeps/x86_64/memcpy.S: Updated.
20047 * sysdeps/x86_64/memset.S: Likewise.
20048 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20049 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20050 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20051
0b3986d0
DM
200522013-01-04 David S. Miller <davem@davemloft.net>
20053
20054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20055
e47686e9
AS
200562013-01-04 Andreas Schwab <schwab@linux-m68k.org>
20057
d643bac1
AS
20058 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20059 1 to avoid redefinition warning.
20060 (__USE_GNU): Don't define.
20061 (init_signaling_nan): Protoize.
20062
e47686e9
AS
20063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20064
b18decba
SP
200652013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20066
fffb407f
SP
20067 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20068 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20069 (__cpymn): Likewise.
20070 (norm): Remove commented code.
20071 (denorm): Likewise.
20072 (__mp_dbl): Likewise.
20073 (__inv): Likewise.
20074 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20075 (__cpymn): Likewise.
20076 (norm): Remove commented code.
20077 (denorm): Likewise.
20078 (__mp_dbl): Likewise.
20079 (__inv): Likewise.
20080
b18decba
SP
20081 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20082 mp_no value for 1.0 and 2.0.
20083 (norm): Use RADIXI instead of radixi.d.
20084 (denorm): Likewise.
20085 (__mul): Use 0.0 instead of zero.d.
20086 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20087 mp_no value for 1.0 and 2.0.
20088 (norm): Use RADIXI instead of radixi.d.
20089 (denorm): Likewise.
20090 (__mul): Use 0.0 instead of zero.d.
20091
cdc1c96f
JM
200922013-01-04 Joseph Myers <joseph@codesourcery.com>
20093
20094 [BZ #14994]
20095 * math/s_casinh.c (__casinh): Reduce finite argument to first
20096 quadrant then set signs of results at the end.
20097 * math/s_casinhf.c (__casinhf): Likewise.
20098 * math/s_casinhl.c (__casinhl): Likewise.
20099 * math/libm-test.inc (casin_test): Add more tests.
20100 (casinh_test): Likewise.
20101 * sysdeps/i386/fpu/libm-test-ulps: Update.
20102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20103
302913e1
SP
201042013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20105
6420d207
SP
20106 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20107
a9e48ab4
SP
20108 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20109
b7837264
SP
20110 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20111 declarations.
20112 (denorm): Likewise.
20113 (__mp_dbl): Likewise.
20114 (__inv): Likewise.
20115
f8af25d2
SP
20116 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20117 and adjust the header comment.
20118
302913e1
SP
20119 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20120 variable name from declaration.
20121
5d7dd1ca
L
201222013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20123
20124 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20125 Initialize COMMON_CPUID_INDEX_7 element.
20126 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20127 (CPUID_RTM): Likewise.
20128 (HAS_RTM): Likewise.
20129 (COMMON_CPUID_INDEX_7): New enum.
20130
2f5f40f4
AS
201312013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20132
20133 [BZ #14981]
20134 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20135 size is zero, record memory as freed.
20136
4056f4a0
AJ
201372013-01-03 Andreas Jaeger <aj@suse.de>
20138
20139 * po/ia.po: Add new Interlingua translation.
20140
ab15736f 201412012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
20142
20143 * locale/programs/localedef.c: Fix description of '--posix' flag.
20144
568035b7
JM
201452013-01-02 Joseph Myers <joseph@codesourcery.com>
20146
e6898b8d
JM
20147 * NEWS: Update dates in second copyright notice.
20148 * README: Update copyright dates in example.
20149 * manual/libc.texinfo: Update copyright dates.
20150 * scripts/test-installation.pl: Update copyright date in --version
20151 output.
20152
0e2f9562
JM
20153 * hurd/ctty-input.c: Fix copyright notice formatting.
20154 * hurd/ctty-output.c: Likewise.
20155 * hurd/dtable.c: Likewise.
20156 * hurd/hurd-raise.c: Likewise.
20157 * hurd/hurdprio.c: Likewise.
20158 * hurd/msgportdemux.c: Likewise.
20159 * misc/sys/file.h: Likewise.
20160 * misc/sys/ioctl.h: Likewise.
20161 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20162 * sysdeps/mach/hurd/chdir.c: Likewise.
20163 * sysdeps/mach/hurd/fchdir.c: Likewise.
20164 * sysdeps/mach/hurd/rename.c: Likewise.
20165 * sysdeps/mach/hurd/rmdir.c: Likewise.
20166 * sysdeps/mach/hurd/seekdir.c: Likewise.
20167 * sysdeps/mach/hurd/setsid.c: Likewise.
20168 * sysdeps/posix/wait3.c: Likewise.
20169
568035b7
JM
20170 * All files with FSF copyright notices: Update copyright dates
20171 using scripts/update-copyrights.
20172 * intl/plural.c: Regenerated.
20173 * locale/programs/charmap-kw.h: Likewise.
20174 * locale/programs/locfile-kw.h: Likewise.
20175
da08f647
SP
201762013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20177
0f5477af
SP
20178 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20179 four values.
20180
44e0d4c2
SP
20181 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20182 calculation loop and add branch prediction.
20183
4d55b4e5
SP
20184 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20185 check access beyond bounds of m1np.
20186
da08f647
SP
20187 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20188 MPTWO.
20189 (__inv): Remove local variable MPTWO to use the global
20190 constant.
20191 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20192 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20193 variable MPTWO.
20194 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20195 MP3HALFS static const.
20196
8e051029
DM
201972013-01-01 David S. Miller <davem@davemloft.net>
20198
20199 * po/ca.po: Update from translation team.
20200
f4cf5f2d
JM
202012013-01-01 Joseph Myers <joseph@codesourcery.com>
20202
20203 * scripts/update-copyrights: New file.
20204 * Makeconfig: Reformat copyright notice.
20205 * ctype/ctype.h: Likewise.
20206 * debug/swprintf_chk.c: Likewise.
20207 * elf/dl-cache.c: Likewise.
20208 * elf/dl-debug.c: Likewise.
20209 * elf/dl-object.c: Likewise.
20210 * grp/initgroups.c: Likewise.
20211 * hurd/Makefile: Likewise.
20212 * hurd/hurd/signal.h: Likewise.
20213 * hurd/hurdfault.c: Likewise.
20214 * hurd/hurdioctl.c: Likewise.
20215 * hurd/hurdlookup.c: Likewise.
20216 * hurd/intr-msg.c: Likewise.
20217 * iconv/gconv_open.c: Likewise.
20218 * libio/swprintf.c: Likewise.
20219 * locale/lc-ctype.c: Likewise.
20220 * locale/nl_langinfo.c: Likewise.
20221 * mach/Machrules: Likewise.
20222 * mach/Makefile: Likewise.
20223 * malloc/obstack.h: Likewise.
20224 * manual/Makefile: Likewise.
20225 * manual/tsort.awk: Likewise.
20226 * misc/bits/stab.def: Likewise.
20227 * nis/nis_print_group_entry.c: Likewise.
20228 * nis/nis_table.c: Likewise.
20229 * nis/nss_compat/compat-pwd.c: Likewise.
20230 * nis/nss_compat/compat-spwd.c: Likewise.
20231 * po/Makefile: Likewise.
20232 * posix/fnmatch.c: Likewise.
20233 * posix/regex.h: Likewise.
20234 * resolv/Makefile: Likewise.
20235 * resolv/nss_dns/dns-network.c: Likewise.
20236 * resolv/res_hconf.c: Likewise.
20237 * scripts/gen-sorted.awk: Likewise.
20238 * soft-fp/soft-fp.h: Likewise.
20239 * stdio-common/printf.h: Likewise.
20240 * stdlib/monetary.h: Likewise.
20241 * stdlib/random.c: Likewise.
20242 * stdlib/random_r.c: Likewise.
20243 * sysdeps/generic/Makefile: Likewise.
20244 * sysdeps/gnu/Makefile: Likewise.
20245 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20246 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20247 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20248 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20249 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20250 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20251 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20252 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20253 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20254 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20255 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20256 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20257 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20258 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20259 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20260 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20261 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20262 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20263 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20264 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20265 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20266 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20267 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20268 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20269 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20270 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20271 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20272 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20273 * sysdeps/mach/hurd/errnos.awk: Likewise.
20274 * sysdeps/mach/hurd/fork.c: Likewise.
20275 * sysdeps/mach/hurd/getcwd.c: Likewise.
20276 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20277 * sysdeps/mach/hurd/mmap.c: Likewise.
20278 * sysdeps/mach/hurd/utimes.c: Likewise.
20279 * sysdeps/mach/hurd/xmknod.c: Likewise.
20280 * sysdeps/posix/profil.c: Likewise.
20281 * sysdeps/posix/readdir_r.c: Likewise.
20282 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20283 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20284 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20285 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20286 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20287 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20288 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20289 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20290 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20291 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20292 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20293 * sysdeps/pthread/lio_listio.c: Likewise.
20294 * sysdeps/sparc/dl-procinfo.h: Likewise.
20295 * sysdeps/unix/i386/sysdep.S: Likewise.
20296 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20297 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20298 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20299 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20301 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20302 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20303 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20304 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20305 * sysdeps/wordsize-32/divdi3.c: Likewise.
20306 * time/sys/time.h: Likewise.
20307 * wcsmbs/Makefile: Likewise.
20308
0549fbba
DM
203092013-01-01 David S. Miller <davem@davemloft.net>
20310
a141f1a7
DM
20311 * po/fr.po: Update from translation team.
20312
0549fbba
DM
20313 * catgets/gencat.c: Update copyright year.
20314 * csu/version.c: Likewise.
20315 * debug/catchsegv.sh: Likewise.
20316 * debug/pcprofiledump.c: Likewise.
20317 * debug/xtrace.sh: Likewise.
20318 * elf/ldconfig.c: Likewise.
20319 * elf/ldd.bash.in: Likewise.
20320 * elf/pldd.c: Likewise.
20321 * elf/sotruss.ksh: Likewise.
20322 * elf/sprof.c: Likewise.
20323 * iconv/iconv_prog.c: Likewise.
20324 * iconv/iconvconfig.c: Likewise.
20325 * locale/programs/locale.c: Likewise.
20326 * locale/programs/localedef.c: Likewise.
20327 * login/programs/pt_chown.c: Likewise.
20328 * malloc/memusage.sh: Likewise.
20329 * malloc/memusagestat.c: Likewise.
20330 * malloc/mtrace.pl: Likewise.
20331 * nscd/nscd.c: Likewise.
20332 * nss/getent.c: Likewise.
20333 * nss/makedb.c: Likewise.
20334 * posix/getconf.c: Likewise.
20335
18ea052c
SP
203362012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20337
20338 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20339 numbers.
20340
9c89fca6
MF
203412012-12-30 Mike Frysinger <vapier@gentoo.org>
20342
20343 * math/bits/mathcalls.h (modf): Use __nonnull.
20344
085ec079
SP
203452012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20346
20347 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20348 (split): Use macro CN instead of the bare value.
20349 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20350 could be used.
20351 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20352 instead of the bare value.
20353 (power1): Likewise.
20354
6d9f97e1
SP
203552012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20356
d63f73be
SP
20357 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20358 __ATAN_TWOM.
20359 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20360
6d9f97e1
SP
20361 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20362 their values.
20363 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20364 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20365 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20366 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20367
4c4febf5
AJ
203682012-12-28 Andreas Jaeger <aj@suse.de>
20369
af5843ef
AJ
20370 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20371 values are from Linux 3.7.
20372
4c4febf5
AJ
20373 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20374 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20375
99136f82
SP
203762012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20377
2f216c3c 20378 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
20379 TRUE case.
20380
99136f82
SP
20381 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20382 (norm): Likewise.
20383 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20384 variables with preprocessor constants.
20385 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20386 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20387 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20388
7fffbdff
BH
203892012-12-27 Bruno Haible <bruno@clisp.org>
20390
20391 [BZ #14317]
20392 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20393 only if needed.
20394
b76eb5f0
SP
203952012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20396
31a7fe5c
SP
20397 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20398 and use variable directly.
20399 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20400
b76eb5f0
SP
20401 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20402 MPONE.
20403 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20404 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20405 variable MPONE.
20406 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20407 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20408 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20409 include directive. Remove local variable MPONE.
20410 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20411 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20412 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20413
2c8bfe7d
DM
204142012-12-25 David S. Miller <davem@davemloft.net>
20415
20416 * version.h (RELEASE): Set to "development".
20417 (VERSION): Set to "2.17.90".
20418 * NEWS: Add 2.18 section.
20419
147d03b0
DM
204202012-12-21 David S. Miller <davem@davemloft.net>
20421
20422 * po/hr.po: Update from translation team.
20423
a8ebb2b9
AK
204242012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20425
20426 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20427
95b4f1b6
SE
204282012-12-19 Steve Ellcey <sellcey@mips.com>
20429
b2d94007 20430 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 20431
cedb2a90
MS
204322012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20433
20434 * manual/contrib.texi (Contributors): Spelling correction.
20435
bbf527d6
DM
204362012-12-15 David S. Miller <davem@davemloft.net>
20437
20438 * po/ru.po: Update from translation team.
20439
bc38c906
DM
204402012-12-13 David S. Miller <davem@davemloft.net>
20441
85429b1a
DM
20442 * NEWS: Mention IFUNC testsuite enhancements.
20443
d283e353
DM
20444 * po/pl.po: Update from translation team.
20445 * po/bg.po: Likewise.
20446
bc38c906
DM
20447 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20448 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20449
a181b0d7
DM
204502012-12-11 David S. Miller <davem@davemloft.net>
20451
4641d57e
DM
20452 * po/sv.po: Update from translation team.
20453
f7bc6495
DM
20454 * po/vi.po: Update from translation team.
20455
6fc9048f
DM
20456 * po/cs.po: Update from translation team.
20457
a181b0d7
DM
20458 * po/de.po: Update from translation team.
20459 * po/eo.po: Likewise.
20460 * po/nl.po: Likewise.
20461
f70bfe80
SP
204622012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20463
3c8b4190
SP
20464 [BZ #14246]
20465 * manual/argp.texi (Argp Helper Functions): Move node to follow
20466 Argp Parsing State.
20467
f70bfe80
SP
20468 [BZ #14872]
20469 * manual/conf.texi (Limits on File System Capacity): Mention if
20470 terminating null is included in the max size.
20471
188f0adf
AJ
204722012-12-10 Andreas Jaeger <aj@suse.de>
20473
20474 * po/cs.po: Update from translation team.
20475
56e7d3ad
SP
204762012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20477
20478 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20479 void pointer and cast to uintptr_t.
20480 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20481 path.
20482 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20483 * sysdeps/s390/s390-64/memset.S: Likewise.
20484
76f2d2ea 204852012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
20486
20487 [BZ #14833]
20488 * menual/message.texi (Message Translation): Fix typos.
20489 (Helper programs for gettext): Likewise.
20490
67cbf9a2
AS
204912012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20492
20493 [BZ #14898]
20494 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20495 Change to -1.
20496
682d0e9a
DM
204972012-12-07 David S. Miller <davem@davemloft.net>
20498
20499 * po/libc.pot: Update.
20500
573cd484
RH
205012012-12-07 Richard Henderson <rth@redhat.com>
20502
7e9da188 20503 [BZ #10114]
573cd484
RH
20504 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20505 normal/normal case to before the switch.
20506 (_FP_DIV): Likewise.
20507
e933a943
MF
205082012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20509 Mike Frysinger <vapier@gentoo.org>
20510
20511 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20512 check for __NR_fadvise64_64.
20513
82123268
CM
205142012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20515
20516 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20517 0, not just to plain "0" as a statement.
20518 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20519 with cw.
20520
d9814526
JM
205212012-12-06 Joseph Myers <joseph@codesourcery.com>
20522
20523 * NEWS: Use sourceware.org in Bugzilla URL.
20524
7728c574
SP
205252012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20526
f16946dd
SP
20527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20528 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20529
5704bbcb
SP
20530 * stdio-common/tst-put-error.c (do_test): Add newline to the
20531 padded test to ensure flush.
20532
17aa0516
JL
205332012-12-05 Jeff Law <law@redhat.com>
20534
20535 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20536
363313b5
JM
205372012-12-05 Joseph Myers <joseph@codesourcery.com>
20538
effbd42a
JM
20539 * README: Don't refer to ports add-on as distributed separately.
20540 Mention AArch64 in list of systems supported in the ports add-on.
20541
87600365
JM
20542 * LICENSES: Add more non-FSF copyright and license notices.
20543
a0d7066a
JM
20544 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20545 ((unused)).
20546
66ca5a5b
JM
20547 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20548
363313b5
JM
20549 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20550 10000 as width of padded output.
20551
b37984ad
JM
205522012-12-04 Joseph Myers <joseph@codesourcery.com>
20553
9003570a
JM
20554 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20555
b37984ad
JM
20556 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20557 variable LX with __attribute__ ((unused)).
20558 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20559 Likewise.
20560 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20561 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20562 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20563 with __attribute__ ((unused)).
20564
c8df52ec
DM
205652012-12-04 David S. Miller <davem@abraco.davemloft.net>
20566
20567 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20568
b3b099af
JM
205692012-12-04 Joseph Myers <joseph@codesourcery.com>
20570
c33aa6e3
JM
20571 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20572 (CFLAGS-nldbl-acos.c): New variable.
20573 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20574 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20575 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20576 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20577 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20578 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20579 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20580 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20581 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20582 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20583 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20584 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20585 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20586 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20587 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20588 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20589 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20590 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20591 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20592 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20593 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20594 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20595 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20596 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20597 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20598 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20599 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20600 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20601 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20602 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20603 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20604 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20605 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20606 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20607 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20608 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20609 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20610 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20611 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20612 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20613 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20614 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20615 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20616 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20617 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20618 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20619 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20620 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20621 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20622 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20623 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20624 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20625 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20626 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20627 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20628 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20629 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20630 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20631 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20632 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20633 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20634 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20635 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20636 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20637 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20638 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20639 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20640 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20641 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20642 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20643 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20644 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20645 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20646 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20647 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20648 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20649 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20650 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20651 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20652 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20653 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20654 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20655 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20656 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20657 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20658 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20659 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20660 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20661 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20662 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20663 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20664 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20665 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20666 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20667 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20668 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20669 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20670
20f0018d
JM
20671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20672 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20673
b3b099af
JM
20674 [BZ #14914]
20675 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20676 whole low double instead of just low 47 bits when splitting values
20677 into two parts.
20678
029264d1
AM
206792012-12-03 Allan McRae <allan@archlinux.org>
20680
20681 * manual/stdio.texi (Predefined Printf Handlers): Remove
20682 @hsep and @vsep usage.
20683
c9d6789e
MF
206842012-12-03 Mike Frysinger <vapier@gentoo.org>
20685
20686 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20687 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20688
4b7634a5
JL
206892012-12-03 Jeff Law <law@redhat.com>
20690
20691 * time/sys/time.h (settimeofday): Do not mark TV argument
20692 as __nonnull.
20693
eb6cbd24
MF
206942012-12-01 Mike Frysinger <vapier@gentoo.org>
20695
20696 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20697 when currently writing and seek to current position when not.
20698 * libio/Makefile (tests): Remove bug-fclose1.
20699 * libio/bug-fclose1.c: Delete.
20700
f638872a
JM
207012012-12-01 Joseph Myers <joseph@codesourcery.com>
20702
20703 * manual/arith.texi (feenableexcept): Fix typo.
20704 (fedisableexcept): Likewise.
20705
48085d14
RM
207062012-11-30 Roland McGrath <roland@hack.frob.com>
20707
20708 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20709 second, differently-typed declaration, rather than a cast.
20710
1a538b9f
SP
207112012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20712
20713 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20714 * include/rpc/svc.h: ... here.
20715
d07f2ff1 207162012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20717
20718 [BZ #13013]
20719 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20720 depending n and resplen2 to catch cases where answer
20721 equals answerp2.
20722
c93ec1f0
CD
207232012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20724
20725 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20726 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20727
37db69de
MF
207282012-11-29 Mike Frysinger <vapier@gentoo.org>
20729
20730 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20731
e10c4e4f
RM
207322012-11-29 Roland McGrath <roland@hack.frob.com>
20733
20734 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20735
2af1b328
JL
207362012-11-28 Jeff Law <law@redhat.com>
20737
20738 [BZ #13761]
20739 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20740 dataset_temporary. Track alloca usage into alloca_used.
20741 If dataset is large allocate and release it via malloc/free.
20742
111db5b1
FW
207432012-06-04 Florian Weimer <fweimer@redhat.com>
20744
f06cc227 20745 [BZ #14197]
111db5b1
FW
20746 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20747
dd694abd
DM
207482012-11-28 David S. Miller <davem@davemloft.net>
20749
20750 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20751
9984dd01
JM
207522012-11-28 Joseph Myers <joseph@codesourcery.com>
20753
20754 [BZ #14803]
20755 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20756 of pi/2 rounded to nearest to 64 bits.
20757 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20758 nearest to 64 bits.
20759 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20760 bits.
20761
14bc93a9
JL
207622012-11-28 Jeff Law <law@redhat.com>
20763 Martin Osvald <mosvald@redhat.com>
20764
20765 [BZ #14889]
20766 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20767 * sunrpc/svc.c: Include time.h.
20768 (__svc_accept_failed): New function.
20769 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20770 any reason other than EINTR, call __svc_accept_failed.
20771 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20772 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20773
e3c6aa3a
AS
207742012-11-28 Andreas Schwab <schwab@suse.de>
20775
20776 * scripts/abilist.awk: Also handle indirect functions in .opd
20777 section.
20778
1bead169
JM
207792012-11-28 Joseph Myers <joseph@codesourcery.com>
20780
20781 [BZ #13881]
20782 * sysdeps/x86/fpu/powl_helper.c: New file.
20783 * sysdeps/x86/fpu/Makefile: Likewise.
20784 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20785 (p3): New object.
20786 (__ieee754_powl): Use __powl_helper for finite arguments except
20787 integer exponents below 8.
20788 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20789 (p3): New object.
20790 (__ieee754_powl): Use __powl_helper for finite arguments except
20791 integer exponents below 8.
20792 * math/libm-test.inc (pow_test): Add more tests and enable some
20793 previously disabled tests.
20794 * sysdeps/i386/fpu/libm-test-ulps: Update.
20795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20796
0817d63d
SP
207972012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20798 Carlos O'Donell <carlos_odonell@mentor.com>
20799
20800 * nss/makedb.c (is_prime): Assert that input is odd and greater
20801 than 4. Note that fact in a comment too.
20802 (next_prime): Add 4 to input.
20803
de2fd463
SP
208042012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20805
20806 [BZ #11741]
20807 * libio/Makefile (tests): Add test case tst-fwrite-error.
20808 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20809 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20810 * libio/tst-fwrite-error.c: New test case.
20811
c515fb51
L
208122012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20813
20814 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20815 before casting to void *.
20816 * include/libc-internal.h (__pointer_type): New macro.
20817 (__integer_if_pointer_type_sub): Likewise.
20818 (__integer_if_pointer_type): Likewise.
20819 (cast_to_integer): Likewise.
20820 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20821 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20822 before casting to atomic64_t.
20823 (atomic_exchange_acq): Likewise.
20824 (__arch_exchange_and_add_body): Likewise.
20825 (__arch_add_body): Likewise.
20826 (atomic_add_negative): Likewise.
20827 (atomic_add_zero): Likewise.
20828
4cf77aa9
JM
208292012-11-26 Joseph Myers <joseph@codesourcery.com>
20830
20831 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20832 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20833 (add_fdes): Likewise.
20834 (linear_search_fdes): Likewise.
20835 (binary_search_unencoded_fdes): Likewise.
20836
d260b3b4
AS
208372012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20838
20839 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20840
67060746
AC
208412012-11-24 Adam Conrad <adconrad@0c3.net>
20842
20843 * configure.in: Autodetect C++ header directories.
20844 * configure: Regenerated.
20845
800938a1
MF
208462012-11-23 Mike Frysinger <vapier@gentoo.org>
20847
20848 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20849
4e6e34e6
AS
208502012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20851
20852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20853
7c7feb47
JM
208542012-11-22 Joseph Myers <joseph@codesourcery.com>
20855
7184dcdf
JM
20856 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20857 LDBL_MANT_DIG == 106]: Disable some tests.
20858 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20859 Likewise.
20860 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20861 Likewise.
20862
0a42601f
JM
20863 [BZ #14871]
20864 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20865 input for small inputs. Return +/- pi/2 for large inputs.
20866 * math/libm-test.inc (atan_test): Add more tests.
20867
79c9b9fe
JM
20868 * sysdeps/generic/unwind-dw2-fde-glibc.c
20869 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20870 __attribute__ ((unused)).
20871
c60d3bf2
JM
20872 [BZ #14645]
20873 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20874 x * y if x and y are nonzero and z is zero.
20875
ef1e0867
JM
20876 [BZ #14811]
20877 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20878 nonzero exponents with absolute value below 0x1p-117 to +/-
20879 0x1p-117.
20880
1468ded3
JM
20881 [BZ #14869]
20882 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20883 up arguments below 2**-450, not just those below 2**-500.
20884 * math/libm-test.inc (hypot_test): Add another test.
20885
8e27e3cc
JM
20886 [BZ #14868]
20887 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20888 Return a+b for ratio over 2**120, not 2**60.
20889 * math/libm-test.inc (hypot_test): Add another test.
20890
c9c0279b
JM
20891 * math/libm-test.inc (clog_test): Use
20892 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20893 (clog10_test): Likewise.
20894
7c7feb47
JM
20895 [BZ #6778]
20896 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20897
fff1530e
AS
208982012-11-22 Andreas Schwab <schwab@suse.de>
20899
20900 * sysdeps/i386/fpu/libm-test-ulps: Update.
20901
94558d30
PT
209022012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20903
20904 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20905 printf output with newline.
20906
7e1be741
L
209072012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20908
6bfea974
L
20909 [BZ #14865]
20910 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20911 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20912 -z nodlopen, -z initfirst and -z execstack support.
20913 * configure: Regenerated.
20914
7e1be741
L
20915 * elf/elf.h (DF_1_NODIRECT): New macro.
20916 (DF_1_IGNMULDEF): Likewise.
20917 (DF_1_NOKSYMS): Likewise.
20918 (DF_1_NOHDR): Likewise.
20919 (DF_1_EDITED): Likewise.
20920 (DF_1_NORELOC): Likewise.
20921 (DF_1_SYMINTPOSE): Likewise.
20922 (DF_1_GLOBAUDIT): Likewise.
20923 (DF_1_SINGLETON): Likewise.
20924 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20925 DT_1_SUPPORTED_MASK bits.
20926 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20927
105ce2ce
CD
209282012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20929
20930 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20931
123be9de
TS
209322012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20933
d072f3f7
TS
20934 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20935 macro.
20936
123be9de
TS
20937 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20938 (sendmmsg): Move declarations...
20939 * socket/sys/socket.h: ... here.
20940 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20941 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20942 include it from...
20943 * socket/recvmmsg.c: ... this new file.
20944 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20945 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20946 definition of __sendmmsg hidden.
20947 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20948 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20949 Move ENOSYS stub into and include it from...
20950 * socket/sendmmsg.c: ... this new file.
20951 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20952 (sysdep_routines): Move recvmmsg and sendmmsg...
20953 * socket/Makefile (routines): ... here.
20954 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20955 (GLIBC_PRIVATE): Add __sendmmsg.
20956 * include/sys/socket.h (__sendmmsg): Add declarations.
20957 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20958 sendmmsg.
20959
cf9a5d18
JM
209602012-11-20 Joseph Myers <joseph@codesourcery.com>
20961
20962 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20963 variable I1 with __attribute__ ((unused)).
20964 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20965
ecd4caf9
JM
209662012-11-19 Joseph Myers <joseph@codesourcery.com>
20967
be14d48f
JM
20968 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20969 DUMMY variables with __attribute__ ((unused)).
20970
ecd4caf9
JM
20971 * bits/byteswap.h: Include <bits/types.h>.
20972 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20973
986cab95
PT
209742012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20975
20976 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20977 string_t. Do not manually set errno.
20978 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20979 length with __strnlen. Make sure to both set errno and return it on
20980 failure.
20981
6d33cc9d
DM
209822012-11-19 David S. Miller <davem@davemloft.net>
20983
20984 With help from Joseph Myers.
20985 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20986 very large arguments properly.
20987 * math/libm-test.inc (atan_test): New tests.
20988 (atan2_test): New tests.
20989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20990 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20991
ee663277
JM
209922012-11-19 Joseph Myers <joseph@codesourcery.com>
20993
877f2d8e
JM
20994 [BZ #14856]
20995 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20996 Define to 3.
20997
116fc08a
JM
20998 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20999 [POSIX] (EADDRNOTAVAIL): Likewise.
21000 [POSIX] (EAFNOSUPPORT): Likewise.
21001 [POSIX] (EALREADY): Likewise.
21002 [POSIX] (ECONNABORTED): Likewise.
21003 [POSIX] (ECONNREFUSED): Likewise.
21004 [POSIX] (ECONNRESET): Likewise.
21005 [POSIX] (EDESTADDRREQ): Likewise.
21006 [POSIX] (EDQUOT): Likewise.
21007 [POSIX] (EHOSTUNREACH): Likewise.
21008 [POSIX] (EIDRM): Likewise.
21009 [POSIX] (EISCONN): Likewise.
21010 [POSIX] (ELOOP): Likewise.
21011 [POSIX] (EMULTIHOP): Likewise.
21012 [POSIX] (ENETDOWN): Likewise.
21013 [POSIX] (ENETUNREACH): Likewise.
21014 [POSIX] (ENOBUFS): Likewise.
21015 [POSIX] (ENODATA): Likewise.
21016 [POSIX] (ENOLINK): Likewise.
21017 [POSIX] (ENOMSG): Likewise.
21018 [POSIX] (ENOPROTOOPT): Likewise.
21019 [POSIX] (ENOSR): Likewise.
21020 [POSIX] (ENOSTR): Likewise.
21021 [POSIX] (ENOTCONN): Likewise.
21022 [POSIX] (ENOTSOCK): Likewise.
21023 [POSIX] (EOPNOTSUPP): Likewise.
21024 [POSIX] (EOVERFLOW): Likewise.
21025 [POSIX] (EPROTO): Likewise.
21026 [POSIX] (EPROTONOSUPPORT): Likewise.
21027 [POSIX] (EPROTOTYPE): Likewise.
21028 [POSIX] (ESTALE): Likewise.
21029 [POSIX] (ETIME): Likewise.
21030 [POSIX] (ETXTBSY): Likewise.
21031 [POSIX] (EWOULDBLOCK): Likewise.
21032 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21033 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21034 [POSIX] (SEEK_CUR): Likewise.
21035 [POSIX] (SEEK_END): Likewise.
21036 [POSIX || UNIX98] (mode_t): Do not require.
21037 [POSIX] (off_t): Likewise.
21038 [POSIX] (pid_t): Likewise.
21039 [POSIX] (sys/stat.h): Do not allow header.
21040 [POSIX] (unistd.h): Likewise.
21041 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21042 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21043 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21044 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21045 require.
21046 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21047 sigevent): Specify elements.
21048 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21049 entry.
21050 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21051 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21052
a483863f
JM
21053 * conform/data/cpio.h-data [POSIX]: Disable whole file.
21054 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21055 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21056 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21057 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21058 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21059 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21060 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21061 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21062 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21063 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21064 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21065 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21066 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21067 Likewise.
21068 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21069 Likewise.
21070 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21071 Likewise.
21072 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21073 Likewise.
21074 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21075 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21076 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21077 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21078 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21079 Specify lower bound on value.
21080 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21081 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21082 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21083 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21084 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21085 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21086 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21087 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21088 value.
21089 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21090 as optional.
21091 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21092 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21093 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21094 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21095 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21096 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21097 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21098 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21099 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21100 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21101 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21102 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21103 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21104 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21105 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21106 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21107 entry.
21108 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21109 optional.
21110 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21111 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21112 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21113 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21114 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21115 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21116 Likewise.
21117 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21118 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21119 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21120 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21121 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21122 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21123 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21124 as optional.
21125 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21126 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21127 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21128 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21129 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21130 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21131 specify as optional.
21132 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21133 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21134 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21135 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21136 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21137 [XPG3] (NL_LANGMAX): Likewise.
21138 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21139 [POSIX || XPG3] (NL_NMAX): Likewise.
21140 [POSIX || XPG3] (NL_SETMAX): Likewise.
21141 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21142 [XPG3] (NZERO): Likewise.
21143 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21144 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21145 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21146 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21147 (REG_ERANGE): Expect.
21148 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21149 optional-constant.
21150 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21151 Use (void) in prototype.
21152 [POSIX] (*_t): Allow.
21153 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21154 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21155 (WRDE_BADVAL): Expect.
21156
5ba924e3
JM
21157 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21158 expect.
21159 [XPG3 || XPG4] (O_RSYNC): Likewise.
21160 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21161 Likewise.
21162 [XPG3 || XPG4] (pthread_sigmask): Likewise.
21163 [XPG3 || XPG4] (sigqueue): Likewise.
21164 [XPG3 || XPG4] (sigtimedwait): Likewise.
21165 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21166 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21167 [XPG3 || XPG4] (vsnprintf): Likewise.
21168 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21169 Likewise.
21170 [XPG3 || XPG4] (blksize_t): Likewise.
21171 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21172 Likewise.
21173 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21174 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21175 [XPG3 || XPG4] (struct itimerspec): Likewise.
21176 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21177 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21178 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21179 [XPG3 || XPG4] (clockid_t): Likewise.
21180 [XPG3 || XPG4] (timer_t): Likewise.
21181 [XPG3 || XPG4] (clock_getres): Likewise.
21182 [XPG3 || XPG4] (clock_gettime): Likewise.
21183 [XPG3 || XPG4] (clock_settime): Likewise.
21184 [XPG3 || XPG4] (nanosleep): Likewise.
21185 [XPG3 || XPG4] (timer_create): Likewise.
21186 [XPG3 || XPG4] (timer_delete): Likewise.
21187 [XPG3 || XPG4] (timer_gettime): Likewise.
21188 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21189 [XPG3 || XPG4] (timer_settime): Likewise.
21190 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21191 [XPG3 || XPG4] (getlogin_r): Likewise.
21192 [XPG3 || XPG4] (pread): Likewise.
21193 [XPG3 || XPG4] (pthread_atfork): Likewise.
21194 [XPG3 || XPG4] (pwrite): Likewise.
21195
ee663277
JM
21196 [BZ #14835]
21197 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21198 <bits/siginfo.h>.
21199
942caa16
PT
212002012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21201
e19af380
PT
21202 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21203 finalizing MALLSTREAM.
21204
942caa16
PT
21205 * sysdeps/mach/hurd/syncfs.c: New file.
21206
cfde9b46
SP
212072012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21208
21209 [BZ #14719]
21210 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21211 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21212 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21213 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21214 (_nss_dns_gethostbyname4_r): Likewise.
21215 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21216 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21217
f6da27e5
PH
212182012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21219
21220 [BZ #13763]
21221 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21222
6665d4a2
SM
212232012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21224
1f51ee92
SM
21225 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21226 * elf/cache.c (print_entry): Print ",AArch64" for
21227 FLAG_AARCH64_LIB64
21228
6665d4a2
SM
21229 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21230 * elf/cache.c (print_entry): Print ",hard-float" for
21231 FLAG_ARM_LIBHF.
21232
05b227bd
DM
212332012-11-18 David S. Miller <davem@davemloft.net>
21234
21235 With help from Joseph Myers.
21236 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21237 cutoff to 2**-13.
21238 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21239 cutoff to 2**-25.
21240 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21241 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21242 small.
21243 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21244 * math/libm-test.inc (y0_test): New tests.
21245 (y1_test): New tests.
21246 * sysdeps/i386/fpu/libm-test-ulps: Update.
21247 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21249
786b0b67
AS
212502012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21251
21252 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21253 64-bit targets.
21254 * configure: Regenerated.
21255
8e18b86d
DM
212562012-11-17 David S. Miller <davem@davemloft.net>
21257
21258 [BZ #14811]
21259 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21260 nonzero exponents with absolute value below 0x1p-128 to +/-
21261 0x1p-128.
21262
531f1ae0
JM
212632012-11-17 Joseph Myers <joseph@codesourcery.com>
21264
12df29e2
JM
21265 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21266
150dc1a0
JM
21267 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21268
531f1ae0
JM
21269 * posix/getconf-speclist.c: New file.
21270 * posix/posix-envs.def: Likewise.
21271 * posix/confstr.c (START_ENV_GROUP): New macro.
21272 (END_ENV_GROUP): Likewise.
21273 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21274 (KNOWN_PRESENT_ENV_STRING): Likewise.
21275 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21276 (UNKNOWN_ENVIRONMENT): Likewise.
21277 (confstr): Include posix-envs.def instead of handling
21278 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21279 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21280 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21281 (END_ENV_GROUP): Likewise.
21282 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21283 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21284 (UNKNOWN_ENVIRONMENT): Likewise.
21285 (__sysconf): Include posix-envs.def instead of handling associated
21286 cases directly here.
21287 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21288 preprocessing getconf-speclist.c rather than running getconf or
21289 generating empty file.
21290
a93f9cbc
PT
212912012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21292
21293 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21294
d64d9f87
AL
212952012-11-16 Andrej Lajovic <natrij@gmail.com>
21296
21297 [BZ #14672]
21298 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21299
447885eb
DM
213002012-11-16 David S. Miller <davem@davemloft.net>
21301
21302 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21303 smaller than LDBL_EPSILON/2.0L, just return xm1.
21304
bcbf9830
L
213052012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21306
21307 * elf/tst-array1.c (init): Set constructor priority to 1000.
21308 (fini): Set destructor priority to 1000.
21309 * elf/tst-array2dep.c: Likewise.
21310
2b766585
SP
213112012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21312
21313 [BZ #11741]
21314 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21315 (_IO_new_file_xsputn): Also return EOF if none of the input
21316 data was written when overflow failed.
21317 * libio/iopadn.c (_IO_padn): Likewise.
21318 * libio/iowpadn.c (_IO_wpadn): Likewise.
21319 * stdio-common/tst-put-error.c: Add copyright notice.
21320 (do_test): Add case for printing padded string.
21321 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21322 _IO_padn returned error.
21323 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21324 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21325 return EOF.
21326
b1848fde
SP
213272012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21328
21329 * libio/libioP.h: Add comment note that the references to C++
21330 bits are now obsolete.
21331
2fd89785
MS
213322012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21333
21334 * math/libm-test.inc (check_complex): Use asprintf.
21335
e3ea5409
JM
213362012-11-14 Joseph Myers <joseph@codesourcery.com>
21337
21338 * debug/pcprofiledump.c (print_version): Update copyright year.
21339 * malloc/memusagestat.c (print_version): Likewise.
21340
2e64d265
L
213412012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21342
21343 [BZ #14831]
21344 * elf/Makefile (tests): Add tst-audit8.
21345 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21346 ($(objpfx)tst-audit8.out): New target.
21347 (tst-audit8-ENV): New variable.
21348 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21349 audit if l_reloc_result is NULL.
21350 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21351 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21352 * elf/tst-audit8.c: New file.
21353
c485e4d2
MS
213542012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21355
21356 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21357 * misc/Makefile (CFLAGS-select.c): Define.
21358 * posix/Makefile (CFLAGS-pause.c): Define.
21359
3a0d900a
DM
213602012-11-13 David S. Miller <davem@davemloft.net>
21361
21362 * crypt/Makefile: Move test targets after toplevel Rules
21363 inclusion. Grab any necessary sysdep routines when linking.
21364 * crypt/md5.c (md5_process_block): Remove define, we will always
21365 name it __md5_process_block.
21366 (md5_finish_ctx): Update md5_process_block call.
21367 (md5_stream): Likewise.
21368 (md5_process_bytes): Likewise.
21369 (md5_process_block): Rename to __md5_process_block and move to ...
21370 * crypt/md5-block.c: ... here.
21371 * crypt/sha256.c (sha256_process_block): Move to ...
21372 * crypt/sha256-block.c: ... here.
21373 * crypt/sha512.c (sha512_process_block): Move to ...
21374 * crypt/sha512-block.c: ... here.
21375 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21376 path.
21377 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21378 * sysdeps/sparc/sparc64/multiarch/Makefile
21379 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21380 crypt subdir.
21381 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21382 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21383 multiarch changes.
21384 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21385 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21386 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21387 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21388 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21389 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21390 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21391 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21392 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21393 file.
21394 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21395 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21396 file.
21397 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21398
8ca89318
JM
213992012-11-13 Joseph Myers <joseph@codesourcery.com>
21400
e27d476a
JM
21401 * timezone/tzselect.ksh: Update from tzcode git revision
21402 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21403 * timezone/zdump.c: Likewise.
21404 * timezone/zic.c: Likewise.
21405 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21406 in TZVERSION setting, not $(PKGVERSION).
21407 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21408 REPORT_BUGS_TO settings.
21409
8ca89318
JM
21410 [BZ #14838]
21411 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21412 macro.
21413
47594329
MS
214142012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21415
21416 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21417 detection to immediately after _FP_ROUND().
21418 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21419 bits are 0.
21420
640ac3f1
DM
214212012-11-11 David S. Miller <davem@davemloft.net>
21422
21423 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21424 inttypes.h
21425 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21426 __close rather than their public counterparts.
21427
3d2577bb
JM
214282012-11-10 Joseph Myers <joseph@codesourcery.com>
21429
21430 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21431 file.
21432 [UNIX98] (sem_timedwait): Do not expect.
21433 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21434 [XPG4 || UNIX98] (sockatmark): Do not expect.
21435 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21436 (clock_getcpuclockid): Do not expect.
21437 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21438 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21439 Do not expect.
21440 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21441 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21442 [UNIX98] (vwscanf): Likewise.
21443 [UNIX98] (vswscanf): Likewise.
21444
fb1ae1ee
JM
214452012-11-09 Joseph Myers <joseph@codesourcery.com>
21446
9ec6f8bd
JM
21447 * timezone/version.h: Remove file.
21448 * timezone/README: Do not refer to version.h.
21449 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21450 $(objpfx)version.h.
21451 ($(objpfx)zdump.o): Likewise.
c3f81911 21452 ($(objpfx)version.h): New target.
9ec6f8bd 21453
0aa8f8a1
JM
21454 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21455 2012i.
21456 * timezone/README: Don't mention modification to tzselect.ksh.
21457 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21458 work on unmodified tzselect.ksh. Substitute version numbers in
21459 tzselect.ksh.
21460
4e87147f
JM
21461 * Makefile (format-me): Remove.
21462 (INSTALL): Adjust indentation. Use commands directly instead of
21463 using $(format-me).
21464
8b748aed
JM
21465 * aclocal.m4 (ACX_PKGVERSION): New macro.
21466 (ACX_BUGURL): Likewise.
21467 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21468 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21469 (REPORT_BUGS_TO): Likewise.
21470 * configure: Regenerated.
21471 * config.h.in (PKGVERSION): New macro.
21472 (REPORT_BUGS_TO): Likewise.
21473 * config.make.in (PKGVERSION): New variable.
21474 (PKGVERSION_TEXI): Likewise.
21475 (REPORT_BUGS_TO): Likewise.
21476 (REPORT_BUGS_TEXI): Likewise.
21477 * Makefile (format-me): Use -I$(common-objpfx)manual.
21478 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21479 ($(common-objpfx)manual/%): New target.
21480 (manual/%): Remove target.
21481 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21482 (print_version): Use PKGVERSION.
21483 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21484 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21485 and REPORT_BUGS_TO.
21486 ($(objpfx)xtrace): Likewise.
21487 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21488 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21489 (print_version): Use PKGVERSION.
21490 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21491 (do_version): Use PKGVERSION.
21492 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21493 REPORT_BUGS_TO.
21494 (common-ldd-rewrite): Likewise.
21495 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21496 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21497 (print_version): Use PKGVERSION.
21498 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21499 * elf/pldd.c (argp_program_bug_address): Remove variable.
21500 (more_help): New function.
21501 (argp): Use more_help.
21502 (print_version): Use PKGVERSION.
21503 * elf/sln.c (main): Use PKGVERSION.
21504 (usage): Use REPORT_BUGS_TO.
21505 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21506 (top level): Use PKGVERSION.
21507 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21508 (print_version): Use PKGVERSION.
21509 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21510 (print_version): Use PKGVERSION.
21511 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21512 (print_version): Use PKGVERSION.
21513 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21514 (print_version): Use PKGVERSION.
21515 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21516 (print_version): Use PKGVERSION.
21517 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21518 (print_version): Use PKGVERSION.
21519 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21520 and BUGURL.
21521 ($(objpfx)memusage): Likewise.
21522 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21523 (do_version): Use PKGVERSION.
21524 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21525 (print_version): Use PKGVERSION.
21526 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21527 ($PKGVERSION): New variable.
21528 ($REPORT_BUGS_TO): Likewise.
21529 (usage): Use $REPORT_BUGS_TO.
21530 (top level): Use $PKGVERSION.
21531 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21532 ($(objpfx)pkgvers.texi): New rule.
21533 ($(objpfx)stamp-pkgvers): Likewise.
21534 * manual/install.texi: Include pkgvers.texi.
21535 (--with-pkgversion): Document new configure option.
21536 (--with-bugurl): Likewise.
21537 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21538 than necessarily for this particular distribution. Use
21539 REPORT_BUGS_TO for where to report bugs.
21540 * INSTALL: Regenerated.
21541 * manual/libc.texinfo: Include pkgvers.texi.
21542 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21543 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21544 (print_version): Use PKGVERSION.
21545 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21546 (print_version): Use PKGVERSION.
21547 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21548 (print_version): Use PKGVERSION.
21549 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21550 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21551 macro.
21552 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21553 (print_version): Use PKGVERSION.
21554 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21555 (print_version): Use PKGVERSION.
21556 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21557 and PKGVERSION.
21558
92e4b6a9
JM
21559 * timezone/checktab.awk: Update from tzcode 2012i.
21560 * timezone/ialloc.c: Likewise.
21561 * timezone/private.h: Likewise.
21562 * timezone/scheck.c: Likewise.
21563 * timezone/tzfile.h: Likewise.
21564 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21565 (TZVERSION): Hardcode tzcode version number.
21566 * timezone/zdump.c: Update from tzcode 2012i.
21567 * timezone/zic.c: Likewise.
21568 * timezone/version.h: New file.
21569 * timezone/README: Describe version.h. Update upstream location.
21570
9bde902c
JM
21571 [BZ #14824]
21572 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21573 (mktemp): Enable declaration.
21574 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21575 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21576 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21577 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21578 Likewise.
21579 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21580 Likewise.
21581 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21582 Likewise.
21583 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21584 Likewise.
21585 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21586 Likewise.
21587 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21588 Likewise.
21589
fb1ae1ee
JM
21590 [BZ #14821]
21591 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21592 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21593 for copies of such integer values.
21594 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21595 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21596
2c1adbcb
AJ
215972012-11-09 Andreas Jaeger <aj@suse.de>
21598
21599 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21600 definitions and declarations that are provided by
21601 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21602
d0f8457e
AK
216032012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21604
3a235abb 21605 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
21606 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21607 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21608 definition.
21609
57241e26
MS
216102012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21611
21612 * elf/elf.h: Update comment before AArch64 relocations.
21613
60e8270d
DM
216142012-11-07 David S. Miller <davem@davemloft.net>
21615
21616 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21617 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21618 (__start_context): Declare.
21619 (__makecontext_ret): Delete.
21620 (__makecontext): Hook up __start_context instead of
21621 __makecontext_ret.
21622 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21623 (sysdep_routines): Add __start_context when in stdlib.
21624
0fbb0fbc
JM
216252012-11-07 Joseph Myers <joseph@codesourcery.com>
21626
21627 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21628 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21629 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21630 hardcoded "nm".
21631 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21632 (READELF): New variable. Use it instead of hardcoded "readelf".
21633
eb48db7e
L
216342012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21635
21636 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21637 * sysdeps/x86/Makefile: Here.
21638 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21639 * sysdeps/x86/tst-xmmymm.sh: This.
21640
05bcf62a
JM
216412012-11-07 Joseph Myers <joseph@codesourcery.com>
21642
c4b6cf53
JM
21643 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21644 expectations.
21645 [UNIX98] (pthread_barrier_t): Do not expect.
21646 [UNIX98] (pthread_barrierattr_t): Likewise.
21647 [UNIX98] (pthread_spinlock_t): Likewise.
21648 [UNIX98] (pthread_barrier_destroy): Likewise.
21649 [UNIX98] (pthread_barrier_init): Likewise.
21650 [UNIX98] (pthread_barrier_wait): Likewise.
21651 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21652 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21653 [UNIX98] (pthread_barrierattr_init): Likewise.
21654 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21655 [UNIX98] (pthread_getcpuclockid): Likewise.
21656 [UNIX98] (pthread_mutex_timedlock): Likewise.
21657 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21658 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21659 [UNIX98] (pthread_sigmask): Likewise.
21660 [UNIX98] (pthread_spin_destroy): Likewise.
21661 [UNIX98] (pthread_spin_init): Likewise.
21662 [UNIX98] (pthread_spin_lock): Likewise.
21663 [UNIX98] (pthread_spin_trylock): Likewise.
21664 [UNIX98] (pthread_spin_unlock): Likewise.
21665 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21666 Do not expect.
21667 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21668 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21669 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21670 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21671 [XPG3 || XPG4] (pthread_key_t): Likewise.
21672 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21673 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21674 [XPG3 || XPG4] (pthread_once_t): Likewise.
21675 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21676 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21677 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21678 [XPG3 || XPG4] (pthread_t): Likewise.
21679
cbe6e120
JM
21680 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21681 not expect.
21682 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21683
1b126443
JM
21684 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21685 Change function return type to int.
21686
b961a573
JM
21687 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21688 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21689 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21690 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21691 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21692 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21693 [!POSIX] (posix_madvise): Likewise.
21694 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21695 && !UNIX98].
21696 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21697 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21698 (mode_t): Likewise.
21699 (posix_mem_offset): Likewise.
21700 (posix_typed_mem_get_info): Likewise.
21701 (posix_typed_mem_open): Likewise.
21702
9e188909
JM
21703 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21704 Change condition to [XOPEN2K8].
21705
05bcf62a
JM
21706 * conform/conformtest.pl: Preprocess allow-header data with -x c
21707 instead of from stdin.
21708 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21709 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21710 [C99-based standards] (cerfc): Likewise.
21711 [C99-based standards] (cexp2): Likewise.
21712 [C99-based standards] (cexpm1): Likewise.
21713 [C99-based standards] (clog10): Likewise.
21714 [C99-based standards] (clog1p): Likewise.
21715 [C99-based standards] (clog2): Likewise.
21716 [C99-based standards] (clgamma): Likewise.
21717 [C99-based standards] (ctgamma): Likewise.
21718 [C99-based standards] (cerff): Likewise.
21719 [C99-based standards] (cerfcf): Likewise.
21720 [C99-based standards] (cexp2f): Likewise.
21721 [C99-based standards] (cexpm1f): Likewise.
21722 [C99-based standards] (clog10f): Likewise.
21723 [C99-based standards] (clog1pf): Likewise.
21724 [C99-based standards] (clog2f): Likewise.
21725 [C99-based standards] (clgammaf): Likewise.
21726 [C99-based standards] (ctgammaf): Likewise.
21727 [C99-based standards] (cerfl): Likewise.
21728 [C99-based standards] (cerfcl): Likewise.
21729 [C99-based standards] (cexp2l): Likewise.
21730 [C99-based standards] (cexpm1l): Likewise.
21731 [C99-based standards] (clog10l): Likewise.
21732 [C99-based standards] (clog1pl): Likewise.
21733 [C99-based standards] (clog2l): Likewise.
21734 [C99-based standards] (clgammal): Likewise.
21735 [C99-based standards] (ctgammal): Likewise.
21736 * conform/data/inttypes.h-data [C99-based standards]: Include
21737 stdint.h-data. Remove all expectations for stdint.h contents.
21738 [C99-based standards] (PRI*): Do not allow.
21739 [C99-based standards] (SCN*): Likewise.
21740 [C99-based standards] (*_t): Likewise.
21741 [C99-based-standards] (PRId8): Expect macro.
21742 [C99-based-standards] (PRIi8): Likewise.
21743 [C99-based-standards] (PRIo8): Likewise.
21744 [C99-based-standards] (PRIu8): Likewise.
21745 [C99-based-standards] (PRIx8): Likewise.
21746 [C99-based-standards] (PRIX8): Likewise.
21747 [C99-based-standards] (SCNd8): Likewise.
21748 [C99-based-standards] (SCNi8): Likewise.
21749 [C99-based-standards] (SCNo8): Likewise.
21750 [C99-based-standards] (SCNu8): Likewise.
21751 [C99-based-standards] (SCNx8): Likewise.
21752 [C99-based-standards] (PRIdLEAST8): Likewise.
21753 [C99-based-standards] (PRIiLEAST8): Likewise.
21754 [C99-based-standards] (PRIoLEAST8): Likewise.
21755 [C99-based-standards] (PRIuLEAST8): Likewise.
21756 [C99-based-standards] (PRIxLEAST8): Likewise.
21757 [C99-based-standards] (PRIXLEAST8): Likewise.
21758 [C99-based-standards] (SCNdLEAST8): Likewise.
21759 [C99-based-standards] (SCNiLEAST8): Likewise.
21760 [C99-based-standards] (SCNoLEAST8): Likewise.
21761 [C99-based-standards] (SCNuLEAST8): Likewise.
21762 [C99-based-standards] (SCNxLEAST8): Likewise.
21763 [C99-based-standards] (PRIdFAST8): Likewise.
21764 [C99-based-standards] (PRIiFAST8): Likewise.
21765 [C99-based-standards] (PRIoFAST8): Likewise.
21766 [C99-based-standards] (PRIuFAST8): Likewise.
21767 [C99-based-standards] (PRIxFAST8): Likewise.
21768 [C99-based-standards] (PRIXFAST8): Likewise.
21769 [C99-based-standards] (SCNdFAST8): Likewise.
21770 [C99-based-standards] (SCNiFAST8): Likewise.
21771 [C99-based-standards] (SCNoFAST8): Likewise.
21772 [C99-based-standards] (SCNuFAST8): Likewise.
21773 [C99-based-standards] (SCNxFAST8): Likewise.
21774 [C99-based-standards] (PRId16): Likewise.
21775 [C99-based-standards] (PRIi16): Likewise.
21776 [C99-based-standards] (PRIo16): Likewise.
21777 [C99-based-standards] (PRIu16): Likewise.
21778 [C99-based-standards] (PRIx16): Likewise.
21779 [C99-based-standards] (PRIX16): Likewise.
21780 [C99-based-standards] (SCNd16): Likewise.
21781 [C99-based-standards] (SCNi16): Likewise.
21782 [C99-based-standards] (SCNo16): Likewise.
21783 [C99-based-standards] (SCNu16): Likewise.
21784 [C99-based-standards] (SCNx16): Likewise.
21785 [C99-based-standards] (PRIdLEAST16): Likewise.
21786 [C99-based-standards] (PRIiLEAST16): Likewise.
21787 [C99-based-standards] (PRIoLEAST16): Likewise.
21788 [C99-based-standards] (PRIuLEAST16): Likewise.
21789 [C99-based-standards] (PRIxLEAST16): Likewise.
21790 [C99-based-standards] (PRIXLEAST16): Likewise.
21791 [C99-based-standards] (SCNdLEAST16): Likewise.
21792 [C99-based-standards] (SCNiLEAST16): Likewise.
21793 [C99-based-standards] (SCNoLEAST16): Likewise.
21794 [C99-based-standards] (SCNuLEAST16): Likewise.
21795 [C99-based-standards] (SCNxLEAST16): Likewise.
21796 [C99-based-standards] (PRIdFAST16): Likewise.
21797 [C99-based-standards] (PRIiFAST16): Likewise.
21798 [C99-based-standards] (PRIoFAST16): Likewise.
21799 [C99-based-standards] (PRIuFAST16): Likewise.
21800 [C99-based-standards] (PRIxFAST16): Likewise.
21801 [C99-based-standards] (PRIXFAST16): Likewise.
21802 [C99-based-standards] (SCNdFAST16): Likewise.
21803 [C99-based-standards] (SCNiFAST16): Likewise.
21804 [C99-based-standards] (SCNoFAST16): Likewise.
21805 [C99-based-standards] (SCNuFAST16): Likewise.
21806 [C99-based-standards] (SCNxFAST16): Likewise.
21807 [C99-based-standards] (PRId32): Likewise.
21808 [C99-based-standards] (PRIi32): Likewise.
21809 [C99-based-standards] (PRIo32): Likewise.
21810 [C99-based-standards] (PRIu32): Likewise.
21811 [C99-based-standards] (PRIx32): Likewise.
21812 [C99-based-standards] (PRIX32): Likewise.
21813 [C99-based-standards] (SCNd32): Likewise.
21814 [C99-based-standards] (SCNi32): Likewise.
21815 [C99-based-standards] (SCNo32): Likewise.
21816 [C99-based-standards] (SCNu32): Likewise.
21817 [C99-based-standards] (SCNx32): Likewise.
21818 [C99-based-standards] (PRIdLEAST32): Likewise.
21819 [C99-based-standards] (PRIiLEAST32): Likewise.
21820 [C99-based-standards] (PRIoLEAST32): Likewise.
21821 [C99-based-standards] (PRIuLEAST32): Likewise.
21822 [C99-based-standards] (PRIxLEAST32): Likewise.
21823 [C99-based-standards] (PRIXLEAST32): Likewise.
21824 [C99-based-standards] (SCNdLEAST32): Likewise.
21825 [C99-based-standards] (SCNiLEAST32): Likewise.
21826 [C99-based-standards] (SCNoLEAST32): Likewise.
21827 [C99-based-standards] (SCNuLEAST32): Likewise.
21828 [C99-based-standards] (SCNxLEAST32): Likewise.
21829 [C99-based-standards] (PRIdFAST32): Likewise.
21830 [C99-based-standards] (PRIiFAST32): Likewise.
21831 [C99-based-standards] (PRIoFAST32): Likewise.
21832 [C99-based-standards] (PRIuFAST32): Likewise.
21833 [C99-based-standards] (PRIxFAST32): Likewise.
21834 [C99-based-standards] (PRIXFAST32): Likewise.
21835 [C99-based-standards] (SCNdFAST32): Likewise.
21836 [C99-based-standards] (SCNiFAST32): Likewise.
21837 [C99-based-standards] (SCNoFAST32): Likewise.
21838 [C99-based-standards] (SCNuFAST32): Likewise.
21839 [C99-based-standards] (SCNxFAST32): Likewise.
21840 [C99-based-standards] (PRId64): Likewise.
21841 [C99-based-standards] (PRIi64): Likewise.
21842 [C99-based-standards] (PRIo64): Likewise.
21843 [C99-based-standards] (PRIu64): Likewise.
21844 [C99-based-standards] (PRIx64): Likewise.
21845 [C99-based-standards] (PRIX64): Likewise.
21846 [C99-based-standards] (SCNd64): Likewise.
21847 [C99-based-standards] (SCNi64): Likewise.
21848 [C99-based-standards] (SCNo64): Likewise.
21849 [C99-based-standards] (SCNu64): Likewise.
21850 [C99-based-standards] (SCNx64): Likewise.
21851 [C99-based-standards] (PRIdLEAST64): Likewise.
21852 [C99-based-standards] (PRIiLEAST64): Likewise.
21853 [C99-based-standards] (PRIoLEAST64): Likewise.
21854 [C99-based-standards] (PRIuLEAST64): Likewise.
21855 [C99-based-standards] (PRIxLEAST64): Likewise.
21856 [C99-based-standards] (PRIXLEAST64): Likewise.
21857 [C99-based-standards] (SCNdLEAST64): Likewise.
21858 [C99-based-standards] (SCNiLEAST64): Likewise.
21859 [C99-based-standards] (SCNoLEAST64): Likewise.
21860 [C99-based-standards] (SCNuLEAST64): Likewise.
21861 [C99-based-standards] (SCNxLEAST64): Likewise.
21862 [C99-based-standards] (PRIdFAST64): Likewise.
21863 [C99-based-standards] (PRIiFAST64): Likewise.
21864 [C99-based-standards] (PRIoFAST64): Likewise.
21865 [C99-based-standards] (PRIuFAST64): Likewise.
21866 [C99-based-standards] (PRIxFAST64): Likewise.
21867 [C99-based-standards] (PRIXFAST64): Likewise.
21868 [C99-based-standards] (SCNdFAST64): Likewise.
21869 [C99-based-standards] (SCNiFAST64): Likewise.
21870 [C99-based-standards] (SCNoFAST64): Likewise.
21871 [C99-based-standards] (SCNuFAST64): Likewise.
21872 [C99-based-standards] (SCNxFAST64): Likewise.
21873 [C99-based-standards] (PRIdMAX): Likewise.
21874 [C99-based-standards] (PRIiMAX): Likewise.
21875 [C99-based-standards] (PRIoMAX): Likewise.
21876 [C99-based-standards] (PRIuMAX): Likewise.
21877 [C99-based-standards] (PRIxMAX): Likewise.
21878 [C99-based-standards] (PRIXMAX): Likewise.
21879 [C99-based-standards] (SCNdMAX): Likewise.
21880 [C99-based-standards] (SCNiMAX): Likewise.
21881 [C99-based-standards] (SCNoMAX): Likewise.
21882 [C99-based-standards] (SCNuMAX): Likewise.
21883 [C99-based-standards] (SCNxMAX): Likewise.
21884 [C99-based-standards] (PRIdPTR): Likewise.
21885 [C99-based-standards] (PRIiPTR): Likewise.
21886 [C99-based-standards] (PRIoPTR): Likewise.
21887 [C99-based-standards] (PRIuPTR): Likewise.
21888 [C99-based-standards] (PRIxPTR): Likewise.
21889 [C99-based-standards] (PRIXPTR): Likewise.
21890 [C99-based-standards] (SCNdPTR): Likewise.
21891 [C99-based-standards] (SCNiPTR): Likewise.
21892 [C99-based-standards] (SCNoPTR): Likewise.
21893 [C99-based-standards] (SCNuPTR): Likewise.
21894 [C99-based-standards] (SCNxPTR): Likewise.
21895 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21896 allow.
21897 * conform/data/stdint.h-data: Update comments to clarify
21898 requirements.
21899 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21900 type.
21901 [C99-based standards] (INT8_MAX): Likewise.
21902 [C99-based standards] (INT16_MIN): Likewise.
21903 [C99-based standards] (INT16_MAX): Likewise.
21904 [C99-based standards] (INT32_MIN): Likewise.
21905 [C99-based standards] (INT32_MAX): Likewise.
21906 [C99-based standards] (INT64_MIN): Likewise.
21907 [C99-based standards] (INT64_MAX): Likewise.
21908 [C99-based standards] (UINT8_MAX): Likewise.
21909 [C99-based standards] (UINT16_MAX): Likewise.
21910 [C99-based standards] (UINT32_MAX): Likewise.
21911 [C99-based standards] (UINT64_MAX): Likewise.
21912 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21913 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21914 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21915 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21916 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21917 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21918 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21919 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21920 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21921 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21922 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21923 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21924 [C99-based standards] (INT_FAST8_MIN): Likewise.
21925 [C99-based standards] (INT_FAST8_MAX): Likewise.
21926 [C99-based standards] (INT_FAST16_MIN): Likewise.
21927 [C99-based standards] (INT_FAST16_MAX): Likewise.
21928 [C99-based standards] (INT_FAST32_MIN): Likewise.
21929 [C99-based standards] (INT_FAST32_MAX): Likewise.
21930 [C99-based standards] (INT_FAST64_MIN): Likewise.
21931 [C99-based standards] (INT_FAST64_MAX): Likewise.
21932 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21933 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21934 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21935 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21936 [C99-based standards] (INTPTR_MIN): Likewise.
21937 [C99-based standards] (INTPTR_MAX): Likewise.
21938 [C99-based standards] (UINTPTR_MAX): Likewise.
21939 [C99-based standards] (INTMAX_MIN): Likewise.
21940 [C99-based standards] (INTMAX_MAX): Likewise.
21941 [C99-based standards] (UINTMAX_MAX): Likewise.
21942 [C99-based standards] (PTRDIFF_MIN): Likewise.
21943 [C99-based standards] (PTRDIFF_MAX): Likewise.
21944 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21945 [C99-based standards] (SIZE_MAX): Likewise.
21946 [C99-based standards] (WCHAR_MAX): Likewise.
21947 [C99-based standards] (WINT_MAX): Likewise.
21948 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21949 constraint on value.
21950 [C99-based standards] (WCHAR_MIN): Likewise.
21951 [C99-based standards] (WINT_MIN): Likewise.
21952 [C99-based standards] (*_t): Allow.
21953 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21954 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21955 Include math.h-data and complex.h-data. Remove all expectations
21956 of math.h and complex.h contents.
21957 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21958 at end of line.
21959 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21960 (struct tm): Expect tag.
21961 [C99-based-standards] (wcstof): Expect function.
21962 [C99-based-standards] (wcstold): Likewise.
21963 [C99-based-standards] (wcstoll): Likewise.
21964 [C99-based-standards] (wcstoull): Likewise.
21965 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21966 macro-int-constant. Specify type.
21967 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21968 constraint on value.
21969 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21970 Specify type.
21971 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21972 Specify value.
21973 [ISO C standards]: Do not allow headers.
21974 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21975 wcs[abcdefghijklmnopqrstuvwxyz]*.
21976 [ISO C standards] (*_t): Do not allow.
21977 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21978 Expect function.
21979 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21980 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21981 Specify type.
21982 [ISO C standards]: Do not allow headers.
21983 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21984 is[abcdefghijklmnopqrstuvwxyz]*.
21985 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21986 to[abcdefghijklmnopqrstuvwxyz]*.
21987 [ISO C standards] (*_t): Do not allow.
21988 * conform/data/stdalign.h-data: New file.
21989 * conform/data/stdbool.h-data: Likewise.
21990 * conform/data/stdnoreturn.h-data: Likewise.
21991
7514feb8
RM
219922012-11-07 Roland McGrath <roland@hack.frob.com>
21993
21994 [BZ #14815]
21995 * manual/filesys.texi (Directory Entries): Typo fix.
21996 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21997
19b2ecfc
MS
219982012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21999
22000 * elf/elf.h (EM_AARCH64): New macro.
22001 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22002 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22003 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22004 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22005 (R_AARCH64_TLSDESC): Likewise.
22006 (NT_ARM_TLS): Likewise.
22007 (NT_ARM_HW_BREAK): Likewise.
22008 (NT_ARM_HW_WATCH): Likewise.
22009
60e235ee
JM
220102012-11-07 Joseph Myers <joseph@codesourcery.com>
22011
22012 [BZ #14811]
22013 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22014 (__ieee754_powl): Saturate nonzero exponents with absolute value
22015 below 0x1p-79 to +/- 0x1p-79.
22016 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22017 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22018 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22019 nonzero exponents with absolute value below 0x1p-32 to +/-
22020 0x1p-32.
22021 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22022 (__ieee754_powl): Saturate nonzero exponents with absolute value
22023 below 0x1p-79 to +/- 0x1p-79.
22024 * math/libm-test.inc (pow_test): Add more tests.
22025
0ab234b7
AK
220262012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22027
22028 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22029 _dl_s390_cap_flags with kernel. Increase string length.
22030 (_dl_s390_platforms): Add z196 and zEC12.
22031
45832f74
JM
220322012-11-07 Joseph Myers <joseph@codesourcery.com>
22033
22034 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22035 Change XOPEN21K to XOPEN2K.
22036
19218757
MK
220372012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
22038
22039 * string/memmove.c: Use memcpy when possible.
22040
c5f45721
AJ
220412012-11-06 Andreas Jaeger <aj@suse.de>
22042
22043 * po/eo.po: Update from translation team.
22044
82477c28
JM
220452012-11-06 Joseph Myers <joseph@codesourcery.com>
22046
22047 [BZ #14793]
22048 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22049 exponent and small x and y exponents, scale x or y up. Increase
22050 by 2 the exponent used in scaling up.
22051 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22052 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22053 * math/libm-test.inc (fma_test): Add more tests.
22054 (fma_test_towardzero): Likewise.
22055 (fma_test_downward): Likewise.
22056 (fma_test_upward): Likewise.
22057
99252c8c
JM
220582012-11-05 Joseph Myers <joseph@codesourcery.com>
22059
acfa885f
JM
22060 [BZ #14805]
22061 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22062 fenv_t *.
22063
99252c8c
JM
22064 [BZ #14801]
22065 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22066 namespace for names of struct fields.
22067 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22068 fenv_t fields.
22069 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22070 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22071
d6d98dea
ST
220722012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22073
22074 [BZ #3665]
22075 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22076
e10bb107
TS
220772012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22078
22079 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22080 PTR_DEMANGLE.
22081
22082 [BZ #5246]
22083 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22084 PTR_DEMANGLE.
22085
a0c2940d
JM
220862012-11-04 Joseph Myers <joseph@codesourcery.com>
22087
22088 [BZ #14797]
22089 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22090 definitely overflow as x * y not x * y + z.
22091 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22092 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22093 * math/libm-test.inc (fma_test): Add more tests.
22094 (fma_test_towardzero): Likewise.
22095 (fma_test_downward): Likewise.
22096 (fma_test_upward): Likewise.
22097
b830319d
TS
220982012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22099
22100 [BZ #157]
22101
22102 * include/stub-tag.h: Remove file.
22103 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22104 '#include' of it.
22105 * manual/maint.texi (Porting): Don't reference it.
22106 * Makerules ($(objpfx)stubs): Likewise.
22107 * dirent/closedir.c: Don't include <stub-tag.h>.
22108 * dirent/dirfd.c: Likewise.
22109 * dirent/fdopendir.c: Likewise.
22110 * dirent/getdents.c: Likewise.
22111 * dirent/getdents64.c: Likewise.
22112 * dirent/opendir.c: Likewise.
22113 * dirent/readdir.c: Likewise.
22114 * dirent/readdir64.c: Likewise.
22115 * dirent/readdir64_r.c: Likewise.
22116 * dirent/readdir_r.c: Likewise.
22117 * dirent/rewinddir.c: Likewise.
22118 * dirent/seekdir.c: Likewise.
22119 * dirent/telldir.c: Likewise.
22120 * gmon/profil.c: Likewise.
22121 * grp/setgroups.c: Likewise.
22122 * inet/if_index.c: Likewise.
22123 * io/access.c: Likewise.
22124 * io/chdir.c: Likewise.
22125 * io/chmod.c: Likewise.
22126 * io/chown.c: Likewise.
22127 * io/close.c: Likewise.
22128 * io/dup.c: Likewise.
22129 * io/dup2.c: Likewise.
22130 * io/dup3.c: Likewise.
22131 * io/euidaccess.c: Likewise.
22132 * io/faccessat.c: Likewise.
22133 * io/fchdir.c: Likewise.
22134 * io/fchmod.c: Likewise.
22135 * io/fchmodat.c: Likewise.
22136 * io/fchown.c: Likewise.
22137 * io/fchownat.c: Likewise.
22138 * io/fcntl.c: Likewise.
22139 * io/flock.c: Likewise.
22140 * io/fstatfs.c: Likewise.
22141 * io/fstatfs64.c: Likewise.
22142 * io/fstatvfs.c: Likewise.
22143 * io/fstatvfs64.c: Likewise.
22144 * io/futimens.c: Likewise.
22145 * io/fxstat.c: Likewise.
22146 * io/fxstat64.c: Likewise.
22147 * io/fxstatat.c: Likewise.
22148 * io/fxstatat64.c: Likewise.
22149 * io/getcwd.c: Likewise.
22150 * io/isatty.c: Likewise.
22151 * io/lchmod.c: Likewise.
22152 * io/lchown.c: Likewise.
22153 * io/link.c: Likewise.
22154 * io/linkat.c: Likewise.
22155 * io/lseek.c: Likewise.
22156 * io/lseek64.c: Likewise.
22157 * io/lxstat64.c: Likewise.
22158 * io/mkdir.c: Likewise.
22159 * io/mkdirat.c: Likewise.
22160 * io/mkfifo.c: Likewise.
22161 * io/mkfifoat.c: Likewise.
22162 * io/open.c: Likewise.
22163 * io/open64.c: Likewise.
22164 * io/openat.c: Likewise.
22165 * io/openat64.c: Likewise.
22166 * io/pipe.c: Likewise.
22167 * io/pipe2.c: Likewise.
22168 * io/poll.c: Likewise.
22169 * io/posix_fadvise.c: Likewise.
22170 * io/posix_fadvise64.c: Likewise.
22171 * io/posix_fallocate.c: Likewise.
22172 * io/posix_fallocate64.c: Likewise.
22173 * io/read.c: Likewise.
22174 * io/readlink.c: Likewise.
22175 * io/readlinkat.c: Likewise.
22176 * io/rmdir.c: Likewise.
22177 * io/sendfile.c: Likewise.
22178 * io/sendfile64.c: Likewise.
22179 * io/statfs.c: Likewise.
22180 * io/statfs64.c: Likewise.
22181 * io/statvfs.c: Likewise.
22182 * io/statvfs64.c: Likewise.
22183 * io/symlink.c: Likewise.
22184 * io/symlinkat.c: Likewise.
22185 * io/ttyname.c: Likewise.
22186 * io/ttyname_r.c: Likewise.
22187 * io/umask.c: Likewise.
22188 * io/unlink.c: Likewise.
22189 * io/unlinkat.c: Likewise.
22190 * io/utime.c: Likewise.
22191 * io/utimensat.c: Likewise.
22192 * io/write.c: Likewise.
22193 * io/xmknod.c: Likewise.
22194 * io/xmknodat.c: Likewise.
22195 * io/xstat.c: Likewise.
22196 * io/xstat64.c: Likewise.
22197 * login/getpt.c: Likewise.
22198 * login/grantpt.c: Likewise.
22199 * login/unlockpt.c: Likewise.
22200 * math/e_acoshl.c: Likewise.
22201 * math/e_acosl.c: Likewise.
22202 * math/e_asinl.c: Likewise.
22203 * math/e_atan2l.c: Likewise.
22204 * math/e_atanhl.c: Likewise.
22205 * math/e_coshl.c: Likewise.
22206 * math/e_expl.c: Likewise.
22207 * math/e_fmodl.c: Likewise.
22208 * math/e_gammal_r.c: Likewise.
22209 * math/e_hypotl.c: Likewise.
22210 * math/e_j0l.c: Likewise.
22211 * math/e_j1l.c: Likewise.
22212 * math/e_jnl.c: Likewise.
22213 * math/e_lgammal_r.c: Likewise.
22214 * math/e_log10l.c: Likewise.
22215 * math/e_log2l.c: Likewise.
22216 * math/e_logl.c: Likewise.
22217 * math/e_powl.c: Likewise.
22218 * math/e_rem_pio2l.c: Likewise.
22219 * math/e_sinhl.c: Likewise.
22220 * math/e_sqrtl.c: Likewise.
22221 * math/fclrexcpt.c: Likewise.
22222 * math/fedisblxcpt.c: Likewise.
22223 * math/feenablxcpt.c: Likewise.
22224 * math/fegetenv.c: Likewise.
22225 * math/fegetexcept.c: Likewise.
22226 * math/fegetround.c: Likewise.
22227 * math/feholdexcpt.c: Likewise.
22228 * math/fesetenv.c: Likewise.
22229 * math/fesetround.c: Likewise.
22230 * math/feupdateenv.c: Likewise.
22231 * math/fgetexcptflg.c: Likewise.
22232 * math/fraiseexcpt.c: Likewise.
22233 * math/fsetexcptflg.c: Likewise.
22234 * math/ftestexcept.c: Likewise.
22235 * math/k_cosl.c: Likewise.
22236 * math/k_rem_pio2l.c: Likewise.
22237 * math/k_sinl.c: Likewise.
22238 * math/k_tanl.c: Likewise.
22239 * math/s_asinhl.c: Likewise.
22240 * math/s_atanl.c: Likewise.
22241 * math/s_cbrtl.c: Likewise.
22242 * math/s_erfl.c: Likewise.
22243 * math/s_expm1l.c: Likewise.
22244 * math/s_log1pl.c: Likewise.
22245 * math/s_tanhl.c: Likewise.
22246 * misc/acct.c: Likewise.
22247 * misc/brk.c: Likewise.
22248 * misc/chflags.c: Likewise.
22249 * misc/chroot.c: Likewise.
22250 * misc/fchflags.c: Likewise.
22251 * misc/fgetxattr.c: Likewise.
22252 * misc/flistxattr.c: Likewise.
22253 * misc/fremovexattr.c: Likewise.
22254 * misc/fsetxattr.c: Likewise.
22255 * misc/fsync.c: Likewise.
22256 * misc/ftruncate.c: Likewise.
22257 * misc/futimes.c: Likewise.
22258 * misc/futimesat.c: Likewise.
22259 * misc/getdomain.c: Likewise.
22260 * misc/getdtsz.c: Likewise.
22261 * misc/gethostid.c: Likewise.
22262 * misc/gethostname.c: Likewise.
22263 * misc/getloadavg.c: Likewise.
22264 * misc/getpagesize.c: Likewise.
22265 * misc/getsysstats.c: Likewise.
22266 * misc/getxattr.c: Likewise.
22267 * misc/gtty.c: Likewise.
22268 * misc/ioctl.c: Likewise.
22269 * misc/lgetxattr.c: Likewise.
22270 * misc/listxattr.c: Likewise.
22271 * misc/llistxattr.c: Likewise.
22272 * misc/lremovexattr.c: Likewise.
22273 * misc/lsetxattr.c: Likewise.
22274 * misc/lutimes.c: Likewise.
22275 * misc/madvise.c: Likewise.
22276 * misc/mincore.c: Likewise.
22277 * misc/mlock.c: Likewise.
22278 * misc/mlockall.c: Likewise.
22279 * misc/mmap.c: Likewise.
22280 * misc/mprotect.c: Likewise.
22281 * misc/msync.c: Likewise.
22282 * misc/munlock.c: Likewise.
22283 * misc/munlockall.c: Likewise.
22284 * misc/munmap.c: Likewise.
22285 * misc/preadv.c: Likewise.
22286 * misc/preadv64.c: Likewise.
22287 * misc/ptrace.c: Likewise.
22288 * misc/pwritev.c: Likewise.
22289 * misc/pwritev64.c: Likewise.
22290 * misc/readv.c: Likewise.
22291 * misc/reboot.c: Likewise.
22292 * misc/remap_file_pages.c: Likewise.
22293 * misc/removexattr.c: Likewise.
22294 * misc/revoke.c: Likewise.
22295 * misc/select.c: Likewise.
22296 * misc/setdomain.c: Likewise.
22297 * misc/setegid.c: Likewise.
22298 * misc/seteuid.c: Likewise.
22299 * misc/sethostid.c: Likewise.
22300 * misc/sethostname.c: Likewise.
22301 * misc/setregid.c: Likewise.
22302 * misc/setreuid.c: Likewise.
22303 * misc/setxattr.c: Likewise.
22304 * misc/sstk.c: Likewise.
22305 * misc/stty.c: Likewise.
22306 * misc/swapoff.c: Likewise.
22307 * misc/swapon.c: Likewise.
22308 * misc/sync.c: Likewise.
22309 * misc/syncfs.c: Likewise.
22310 * misc/syscall.c: Likewise.
22311 * misc/truncate.c: Likewise.
22312 * misc/ualarm.c: Likewise.
22313 * misc/usleep.c: Likewise.
22314 * misc/ustat.c: Likewise.
22315 * misc/utimes.c: Likewise.
22316 * misc/vhangup.c: Likewise.
22317 * misc/writev.c: Likewise.
22318 * posix/_exit.c: Likewise.
22319 * posix/alarm.c: Likewise.
22320 * posix/execve.c: Likewise.
22321 * posix/fexecve.c: Likewise.
22322 * posix/fork.c: Likewise.
22323 * posix/fpathconf.c: Likewise.
22324 * posix/getaddrinfo.c: Likewise.
22325 * posix/getegid.c: Likewise.
22326 * posix/geteuid.c: Likewise.
22327 * posix/getgid.c: Likewise.
22328 * posix/getgroups.c: Likewise.
22329 * posix/getlogin.c: Likewise.
22330 * posix/getlogin_r.c: Likewise.
22331 * posix/getpgid.c: Likewise.
22332 * posix/getpid.c: Likewise.
22333 * posix/getppid.c: Likewise.
22334 * posix/getresgid.c: Likewise.
22335 * posix/getresuid.c: Likewise.
22336 * posix/getsid.c: Likewise.
22337 * posix/getuid.c: Likewise.
22338 * posix/glob64.c: Likewise.
22339 * posix/nanosleep.c: Likewise.
22340 * posix/pathconf.c: Likewise.
22341 * posix/pause.c: Likewise.
22342 * posix/posix_madvise.c: Likewise.
22343 * posix/pread.c: Likewise.
22344 * posix/pread64.c: Likewise.
22345 * posix/pwrite.c: Likewise.
22346 * posix/pwrite64.c: Likewise.
22347 * posix/sched_getaffinity.c: Likewise.
22348 * posix/sched_getp.c: Likewise.
22349 * posix/sched_gets.c: Likewise.
22350 * posix/sched_primax.c: Likewise.
22351 * posix/sched_primin.c: Likewise.
22352 * posix/sched_rr_gi.c: Likewise.
22353 * posix/sched_setaffinity.c: Likewise.
22354 * posix/sched_setp.c: Likewise.
22355 * posix/sched_sets.c: Likewise.
22356 * posix/sched_yield.c: Likewise.
22357 * posix/setgid.c: Likewise.
22358 * posix/setlogin.c: Likewise.
22359 * posix/setpgid.c: Likewise.
22360 * posix/setresgid.c: Likewise.
22361 * posix/setresuid.c: Likewise.
22362 * posix/setsid.c: Likewise.
22363 * posix/setuid.c: Likewise.
22364 * posix/sleep.c: Likewise.
22365 * posix/spawni.c: Likewise.
22366 * posix/sysconf.c: Likewise.
22367 * posix/times.c: Likewise.
22368 * posix/wait.c: Likewise.
22369 * posix/wait3.c: Likewise.
22370 * posix/wait4.c: Likewise.
22371 * posix/waitpid.c: Likewise.
22372 * resolv/gai_sigqueue.c: Likewise.
22373 * resource/getpriority.c: Likewise.
22374 * resource/getrlimit.c: Likewise.
22375 * resource/getrusage.c: Likewise.
22376 * resource/nice.c: Likewise.
22377 * resource/setpriority.c: Likewise.
22378 * resource/setrlimit.c: Likewise.
22379 * resource/ulimit.c: Likewise.
22380 * rt/aio_cancel.c: Likewise.
22381 * rt/aio_fsync.c: Likewise.
22382 * rt/aio_read.c: Likewise.
22383 * rt/aio_sigqueue.c: Likewise.
22384 * rt/aio_suspend.c: Likewise.
22385 * rt/aio_write.c: Likewise.
22386 * rt/clock_getres.c: Likewise.
22387 * rt/clock_gettime.c: Likewise.
22388 * rt/clock_nanosleep.c: Likewise.
22389 * rt/clock_settime.c: Likewise.
22390 * rt/lio_listio.c: Likewise.
22391 * rt/mq_close.c: Likewise.
22392 * rt/mq_getattr.c: Likewise.
22393 * rt/mq_notify.c: Likewise.
22394 * rt/mq_open.c: Likewise.
22395 * rt/mq_receive.c: Likewise.
22396 * rt/mq_send.c: Likewise.
22397 * rt/mq_setattr.c: Likewise.
22398 * rt/mq_timedreceive.c: Likewise.
22399 * rt/mq_timedsend.c: Likewise.
22400 * rt/mq_unlink.c: Likewise.
22401 * rt/shm_open.c: Likewise.
22402 * rt/shm_unlink.c: Likewise.
22403 * rt/timer_create.c: Likewise.
22404 * rt/timer_delete.c: Likewise.
22405 * rt/timer_getoverr.c: Likewise.
22406 * rt/timer_gettime.c: Likewise.
22407 * rt/timer_settime.c: Likewise.
22408 * setjmp/__longjmp.c: Likewise.
22409 * setjmp/setjmp.c: Likewise.
22410 * signal/kill.c: Likewise.
22411 * signal/killpg.c: Likewise.
22412 * signal/raise.c: Likewise.
22413 * signal/sigaction.c: Likewise.
22414 * signal/sigaltstack.c: Likewise.
22415 * signal/sigblock.c: Likewise.
22416 * signal/sigignore.c: Likewise.
22417 * signal/sigintr.c: Likewise.
22418 * signal/signal.c: Likewise.
22419 * signal/sigpause.c: Likewise.
22420 * signal/sigpending.c: Likewise.
22421 * signal/sigqueue.c: Likewise.
22422 * signal/sigreturn.c: Likewise.
22423 * signal/sigset.c: Likewise.
22424 * signal/sigsetmask.c: Likewise.
22425 * signal/sigstack.c: Likewise.
22426 * signal/sigsuspend.c: Likewise.
22427 * signal/sigtimedwait.c: Likewise.
22428 * signal/sigvec.c: Likewise.
22429 * signal/sigwait.c: Likewise.
22430 * signal/sigwaitinfo.c: Likewise.
22431 * signal/sysv_signal.c: Likewise.
22432 * socket/accept.c: Likewise.
22433 * socket/accept4.c: Likewise.
22434 * socket/bind.c: Likewise.
22435 * socket/connect.c: Likewise.
22436 * socket/getpeername.c: Likewise.
22437 * socket/getsockname.c: Likewise.
22438 * socket/getsockopt.c: Likewise.
22439 * socket/isfdtype.c: Likewise.
22440 * socket/listen.c: Likewise.
22441 * socket/recv.c: Likewise.
22442 * socket/recvfrom.c: Likewise.
22443 * socket/recvmsg.c: Likewise.
22444 * socket/send.c: Likewise.
22445 * socket/sendmsg.c: Likewise.
22446 * socket/sendto.c: Likewise.
22447 * socket/setsockopt.c: Likewise.
22448 * socket/shutdown.c: Likewise.
22449 * socket/sockatmark.c: Likewise.
22450 * socket/socket.c: Likewise.
22451 * socket/socketpair.c: Likewise.
22452 * stdio-common/ctermid.c: Likewise.
22453 * stdio-common/cuserid.c: Likewise.
22454 * stdio-common/remove.c: Likewise.
22455 * stdio-common/rename.c: Likewise.
22456 * stdio-common/renameat.c: Likewise.
22457 * stdio-common/tempname.c: Likewise.
22458 * stdlib/getcontext.c: Likewise.
22459 * stdlib/makecontext.c: Likewise.
22460 * stdlib/setcontext.c: Likewise.
22461 * stdlib/swapcontext.c: Likewise.
22462 * stdlib/system.c: Likewise.
22463 * streams/fattach.c: Likewise.
22464 * streams/fdetach.c: Likewise.
22465 * streams/getmsg.c: Likewise.
22466 * streams/getpmsg.c: Likewise.
22467 * streams/putmsg.c: Likewise.
22468 * streams/putpmsg.c: Likewise.
22469 * sysdeps/unix/bsd/getpt.c: Likewise.
22470 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22471 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22472 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22474 Likewise.
22475 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22476 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22477 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22478 * sysvipc/msgctl.c: Likewise.
22479 * sysvipc/msgget.c: Likewise.
22480 * sysvipc/msgrcv.c: Likewise.
22481 * sysvipc/msgsnd.c: Likewise.
22482 * sysvipc/semctl.c: Likewise.
22483 * sysvipc/semget.c: Likewise.
22484 * sysvipc/semop.c: Likewise.
22485 * sysvipc/semtimedop.c: Likewise.
22486 * sysvipc/shmat.c: Likewise.
22487 * sysvipc/shmctl.c: Likewise.
22488 * sysvipc/shmdt.c: Likewise.
22489 * sysvipc/shmget.c: Likewise.
22490 * termios/tcdrain.c: Likewise.
22491 * termios/tcflow.c: Likewise.
22492 * termios/tcflush.c: Likewise.
22493 * termios/tcgetattr.c: Likewise.
22494 * termios/tcgetpgrp.c: Likewise.
22495 * termios/tcsendbrk.c: Likewise.
22496 * termios/tcsetattr.c: Likewise.
22497 * termios/tcsetpgrp.c: Likewise.
22498 * time/adjtime.c: Likewise.
22499 * time/clock.c: Likewise.
22500 * time/getitimer.c: Likewise.
22501 * time/gettimeofday.c: Likewise.
22502 * time/setitimer.c: Likewise.
22503 * time/settimeofday.c: Likewise.
22504 * time/stime.c: Likewise.
22505 * time/time.c: Likewise.
22506
225072012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 22508
a20492cf
PT
22509 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22510 /usr/old/bin.
22511
72e182e3
PT
22512 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22513 instead of spaces.
22514 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22515
fbeafede
JM
225162012-11-03 Joseph Myers <joseph@codesourcery.com>
22517
5b5b04d6
JM
22518 [BZ #14796]
22519 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22520 FE_TONEAREST before applying Dekker multiplication and Knuth
22521 addition. Clear inexact exceptions and check for exact zero
22522 results afterwards.
22523 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22524 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22525 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22526 * math/libm-test.inc (fma_test): Add more tests.
22527 (fma_test_towardzero): Likewise.
22528 (fma_test_downward): Likewise.
22529 (fma_test_upward): Likewise.
22530 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22531 function.
22532 (libc_fesetround): New macro.
22533 (libc_fesetroundf): Likewise.
22534 (libc_fesetroundl): Likewise.
22535 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22536 function.
22537 (libc_fesetround_387): Likewise.
22538 (libc_fesetroundf): New macro.
22539 (libc_fesetround): Likewise.
22540 (libc_fesetroundl): Likewise.
22541 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22542 function.
22543 (libc_fesetroundf): New macro.
22544 (libc_fesetround): Likewise.
22545 (libc_fesetroundl): Likewise.
22546 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22547 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22548 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22549 libm_hidden_ver.
22550 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22551 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22552 libm_hidden_def.
22553 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22554 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22555 libm_hidden_ver.
22556 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22557 libm_hidden_def.
22558
fbeafede
JM
22559 [BZ #3439]
22560 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22561 integer constant usable in #if and use that to give value to enum
22562 constant.
22563 (FE_DIVBYZERO): Likewise.
22564 (FE_UNDERFLOW): Likewise.
22565 (FE_OVERFLOW): Likewise.
22566 (FE_INVALID): Likewise.
22567 (FE_INVALID_SNAN): Likewise.
22568 (FE_INVALID_ISI): Likewise.
22569 (FE_INVALID_IDI): Likewise.
22570 (FE_INVALID_ZDZ): Likewise.
22571 (FE_INVALID_IMZ): Likewise.
22572 (FE_INVALID_COMPARE): Likewise.
22573 (FE_INVALID_SOFTWARE): Likewise.
22574 (FE_INVALID_SQRT): Likewise.
22575 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22576 (FE_TONEAREST): Likewise.
22577 (FE_TOWARDZERO): Likewise.
22578 (FE_UPWARD): Likewise.
22579 (FE_DOWNWARD): Likewise.
22580 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22581 (FE_DIVBYZERO): Likewise.
22582 (FE_OVERFLOW): Likewise.
22583 (FE_UNDERFLOW): Likewise.
22584 (FE_INEXACT): Likewise.
22585 (FE_TONEAREST): Likewise.
22586 (FE_DOWNWARD): Likewise.
22587 (FE_UPWARD): Likewise.
22588 (FE_TOWARDZERO): Likewise.
22589 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22590 (FE_UNDERFLOW): Likewise.
22591 (FE_OVERFLOW): Likewise.
22592 (FE_DIVBYZERO): Likewise.
22593 (FE_INVALID): Likewise.
22594 (FE_TONEAREST): Likewise.
22595 (FE_TOWARDZERO): Likewise.
22596 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22597 (FE_OVERFLOW): Likewise.
22598 (FE_UNDERFLOW): Likewise.
22599 (FE_DIVBYZERO): Likewise.
22600 (FE_INEXACT): Likewise.
22601 (FE_TONEAREST): Likewise.
22602 (FE_TOWARDZERO): Likewise.
22603 (FE_UPWARD): Likewise.
22604 (FE_DOWNWARD): Likewise.
22605 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22606 (FE_DIVBYZERO): Likewise.
22607 (FE_OVERFLOW): Likewise.
22608 (FE_UNDERFLOW): Likewise.
22609 (FE_INEXACT): Likewise.
22610 (FE_TONEAREST): Likewise.
22611 (FE_DOWNWARD): Likewise.
22612 (FE_UPWARD): Likewise.
22613 (FE_TOWARDZERO): Likewise.
22614
105ca950
CM
226152012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22616
22617 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22618
a542b389
AS
226192012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22620
22621 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22622 commands. Quote $PWD.
22623 (blacklist_exports): Don't use remove_newlines. Replace "declare
22624 -x" by "export".
22625 (remove_newlines): Remove.
22626
f62c8abc
L
226272012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22628
22629 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22630 * stdlib/stdlib.h (atof): Moved to ...
22631 * include/bits/stdlib-float.h: Here. New file.
22632 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22633 * stdlib/bits/stdlib-float.h: New file.
22634 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22635 -mno-sse -mno-mmx.
22636 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22637 <xmmintrin.h>.
22638
0155d5b2
JM
226392012-11-02 Joseph Myers <joseph@codesourcery.com>
22640
a68d0680
JM
22641 * conform/conformtest.pl (@headers): Add fenv.h.
22642 * conform/data/fenv.h-data: New file.
22643 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22644 include of <math/fenv.h>.
22645
caf7f573
JM
22646 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22647 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22648 && !UNIX98]. Enables tests for XOPEN2K8.
22649 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22650 POSIX2008]: Likewise.
22651
6c073ad6
JM
22652 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22653 (struct rusage): Do not expect type or its members.
22654
0155d5b2
JM
22655 [BZ #3439]
22656 * math/math.h (FP_NAN): Define macro to integer constant usable in
22657 #if and use that to give value to enum constant.
22658 (FP_INFINITE): Likewise.
22659 (FP_ZERO): Likewise.
22660 (FP_SUBNORMAL): Likewise.
22661 (FP_NORMAL): Likewise.
22662
b5dcacb4
AS
226632012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22664
22665 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22666 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22667 arguments.
22668
f7934be8
RM
226692012-11-02 Roland McGrath <roland@hack.frob.com>
22670
22671 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22672 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22673 autoconf-time if not.
22674 * configure.in: Remove AC_PREREQ.
22675
d7d08bde
TMQMF
226762012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22677
22678 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22679 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22680 of the internal implementation.
22681
dcdae19a
JM
226822012-11-02 Joseph Myers <joseph@codesourcery.com>
22683
22684 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22685 except include of <misc/sys/syslog.h>.
22686
d6cffd3e
AS
226872012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22688
22689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22690 function returns with a NULL context exit with zero.
22691
b3563932
TMQMF
226922012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22693
22694 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22695
b288a93d
L
226962012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22697
22698 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22699 (run_program_cmd): This.
22700 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22701 (tst_langinfo): New variable. Use it.
22702
a2421a68
SAS
227032012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22704
22705 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22706 floating point opcodes.
22707
6f796e1b
TS
227082012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22709
7402596b
TS
22710 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22711 variable.
22712
d0d4f868
TS
22713 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22714
6f796e1b
TS
22715 * sysdeps/mach/hurd/powerpc: Remove directory.
22716 * sysdeps/mach/powerpc: Likewise.
22717
4da224a2
AS
227182012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22719
22720 * scripts/check-local-headers.sh: Ignore c++ headers.
22721
341dd673
TS
227222012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22723
22724 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22725 __libc_cleanup_region_start argument.
22726
473611b2
JM
227272012-11-01 Joseph Myers <joseph@codesourcery.com>
22728
22729 [BZ #14784]
22730 [BZ #14785]
22731 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22732 x * y using scaling, not as x * y + z.
22733 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22734 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22735 * math/libm-test.inc (fma_test): Add more tests.
22736 (fma_test_towardzero): Likewise.
22737 (fma_test_downward): Likewise.
22738 (fma_test_upward): Likewise.
22739
4078da3d
TS
227402012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22741
22742 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22743
903252aa
JM
227442012-10-31 Joseph Myers <joseph@codesourcery.com>
22745
22746 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22747 New variable.
22748
cbc818d0
TS
227492012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22750
22751 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22752
5a03cb1e
AS
227532012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22754
22755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22756 Fix sort order.
22757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22758 Likewise.
22759
90aff2ff
TMQMF
227602012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22761
22762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22763 Fix the order of the list for glibc 2.17.
22764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22765 Likewise.
22766
1818fcb7
AS
227672012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22768
22769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22770
ef82f4da
JM
227712012-10-31 Joseph Myers <joseph@codesourcery.com>
22772
16a0e2ec
JM
22773 [BZ #14610]
22774 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22775 for low part of x being zero before using __atanl (y).
22776 * math/libm-test.inc (atan2_test): Add another test.
22777
0eb69512
JM
22778 * manual/install.texi (Configuring and compiling): Document
22779 general use of test-wrapper and test-wrapper-env.
22780 * INSTALL: Regenerated.
22781
ef82f4da
JM
22782 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22783 (__fma): Do not extract and scale down low bits on after-rounding
22784 systems when result rounded to normal precision would have normal
22785 exponent.
22786 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22787 (__fmal): Do not extract and scale down low bits on after-rounding
22788 systems when result rounded to normal precision would have normal
22789 exponent.
22790 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22791 (__fmal): Do not extract and scale down low bits on after-rounding
22792 systems when result rounded to normal precision would have normal
22793 exponent.
22794 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22795 macro.
22796 (fma_test): Add more tests.
22797 (fma_test_towardzero): Likewise.
22798 (fma_test_downward): Likewise.
22799 (fma_test_upward): Likewise.
22800
954ef0d9
L
228012012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22802
22803 * sysdeps/i386/tininess.h: Renamed to ...
22804 * sysdeps/x86/tininess.h: This.
22805 * sysdeps/x86_64/tininess.h: Removed.
22806
df61ffb2
JM
228072012-10-30 Joseph Myers <joseph@codesourcery.com>
22808
22809 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22810 input. Use $(build-program-cmd).
22811 ($(objpfx)tst-array1-static.out): Likewise.
22812 ($(objpfx)tst-array2.out): Likewise.
22813 ($(objpfx)tst-array3.out): Likewise.
22814 ($(objpfx)tst-array4.out): Likewise.
22815 ($(objpfx)tst-array5.out): Likewise.
22816 ($(objpfx)tst-array5-static.out): Likewise.
22817
01767843
CM
228182012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22819
47cc1490
CM
22820 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22821 if defined.
22822
01767843
CM
22823 * nss/nsswitch.h (nss_interface_function): Provide new
22824 macro for use with NSS functions.
22825 * grp/initgroups.c: Use new macro.
22826 * nss/getXXbyYY.c: Likewise.
22827 * nss/getXXbyYY_r.c: Likewise.
22828 * nss/getXXent.c: Likewise.
22829 * nss/getXXent_r.c: Likewise.
22830 * sysdeps/posix/getaddrinfo.c: Likewise.
22831
8321aa97
AJ
228322012-10-30 Andreas Jaeger <aj@suse.de>
22833
22834 * po/ru.po: Update Russion translation from translation project.
22835
2a27fd6d
JM
228362012-10-30 Joseph Myers <joseph@codesourcery.com>
22837
8627a232
JM
22838 [BZ #14152]
22839 [BZ #14783]
22840 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22841 result and shift together with sticky bit instead of replicating
22842 round-to-nearest rounding.
22843 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22844 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22845 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22846 missing underflow exceptions.
22847 (fma_test_towardzero): Add more tests.
22848 (fma_test_downward): Likewise.
22849 (fma_test_upward): Likewise.
22850
2a27fd6d
JM
22851 [BZ #14047]
22852 * sysdeps/generic/tininess.h: New file.
22853 * sysdeps/i386/tininess.h: Likewise.
22854 * sysdeps/sh/tininess.h: Likewise.
22855 * sysdeps/x86_64/tininess.h: Likewise.
22856 * stdlib/tst-strtod-underflow.c: Likewise.
22857 * stdlib/tst-tininess.c: Likewise.
22858 * stdlib/strtod_l.c: Include <tininess.h>.
22859 (round_and_return): Do not set errno for exact underflow cases.
22860 Force an underflow exception when setting errno for underflow.
22861 Determine underflow based on rounding to normal precision if
22862 TININESS_AFTER_ROUNDING.
22863 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22864 ERANGE for exact underflow cases.
22865 * stdlib/Makefile (tests): Add tst-tininess and
22866 tst-strtod-underflow.
22867 ($(objpfx)tst-tininess): Use $(link-libm).
22868 ($(objpfx)tst-strtod-underflow): Likewise.
22869
e7170363
AJ
228702012-10-30 Andreas Jaeger <aj@suse.de>
22871
e5088dc6
AJ
22872 [BZ#14767]
22873 * elf/Makefile (tests): Remove conditional for have-initfini-array
22874 since this is now always required and the variable does not exist
22875 anymore.
22876 (tests-static): Likewise.
22877 (modules-names): Likewise.
22878
e7170363 22879 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22880
22881 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22882 merged with constructor/destructor.
22883 (init_array): Likewise.
22884 * elf/tst-array2dep.c (fini_array): Likewise.
22885 (init_array): Likewise.
22886
60457d8a
MF
228872012-10-29 Mike Frysinger <vapier@gentoo.org>
22888
22889 * manual/message.texi: Delete @cartouche tags.
22890
8bece752
PT
228912012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22892
94ce799f
PT
22893 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22894 EOPNOTSUPP.
22895 * sysdeps/mach/hurd/fsync.c: Likewise.
22896
8bece752
PT
22897 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22898 [_POSIX_REALTIME_SIGNALS]: Change condition to
22899 [_POSIX_REALTIME_SIGNALS > 0].
22900
86ebe6b1
AJ
229012012-10-27 Andreas Jaeger <aj@suse.de>
22902
22903 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22904 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22905 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22906 [__WORDSIZE != 64]: Likewise.
22907
54399c08
L
229082012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22909
22910 * iconvdata/tst-table.sh: Remove ${SHELL}.
22911 * iconvdata/tst-tables.sh: Likewise.
22912
e2211bed
DM
229132012-10-25 David S. Miller <davem@davemloft.net>
22914
22915 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22916 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22917 of strtoull.
22918
f303f97c
DM
22919 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22920 ifunc-impl-list.c
22921 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22922 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22923 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22924 file.
22925
1e9d84cd
RM
229262012-10-25 Roland McGrath <roland@hack.frob.com>
22927
22928 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22929 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22930 __getdirentries.
22931
df381762
JM
229322012-10-25 Joseph Myers <joseph@codesourcery.com>
22933 Jim Blandy <jimb@codesourcery.com>
22934
22935 * scripts/cross-test-ssh.sh: New file.
22936 * manual/install.texi (Configuring and compiling): Document use of
22937 cross-test-ssh.sh.
22938 * INSTALL: Regenerated.
22939
bff64913
PT
229402012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22941
22942 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22943 EOPNOTSUPP.
22944
25fe8932
JM
229452012-10-25 Joseph Myers <joseph@codesourcery.com>
22946
22947 * Makeconfig (run-program-prefix): Fix comment.
22948
cc1290d0
JM
229492012-10-24 Joseph Myers <joseph@codesourcery.com>
22950 Jim Blandy <jimb@codesourcery.com>
22951
22952 * Makeconfig (test-wrapper): New variable,
22953 (test-wrapper-env): Likewise.
22954 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22955 (run-built-tests): Define to yes.
22956 (run-program-prefix): Use $(test-wrapper).
22957 (built-program-cmd): Likewise.
22958 * Rules (make-test-out): Use $(test-wrapper-env) and
22959 $(host-built-program-cmd).
22960 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22961 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22962 tst-pathopt.sh.
22963 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22964 $(test-wrapper-env) to tst-rtld-load-self.sh.
22965 ($(objpfx)order2.out): Use $(test-wrapper).
22966 ($(objpfx)tst-initorder.out): Likewise.
22967 ($(objpfx)tst-initorder2.out): Likewise.
22968 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22969 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22970 (test_wrapper_env): New variable. Use it to run ld.so.
22971 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22972 Use it to run ld.so.
22973 (test_wrapper_env): Likewise.
22974 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22975 $(test-wrapper) to run-iconv-test.sh.
22976 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22977 (ICONV): Use $test_wrapper.
22978 * posix/Makefile ($(objpfx)globtest.out): Pass
22979 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22980 globtest.sh, not $(run-program-prefix).
22981 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22982 (test_wrapper): Likewise.
22983 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22984 set together with run_via_rtld_prefix.
22985 (run_program_prefix): Define in terms of test_wrapper and
22986 run_via_rtld_prefix.
22987
6e6249d0
RM
229882012-10-24 Roland McGrath <roland@hack.frob.com>
22989
22990 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22991 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22992 Targets removed.
22993
22994 [BZ #14743]
22995 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22996 Declare __clock_getres, __clock_gettime, __clock_settime,
22997 __clock_nanosleep, and __clock_getcpuclockid.
22998 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22999 Remove librt_hidden_def (clock_gettime).
23000 * sysdeps/unix/clock_gettime.c: Likewise.
23001 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23002 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23003 * rt/clock_getres.c: Define __clock_getres as an alias.
23004 * sysdeps/posix/clock_getres.c: Likewise.
23005 * rt/clock_settime.c: Define __clock_settime as an alias.
23006 * sysdeps/unix/clock_settime.c: Likewise.
23007 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23008 * sysdeps/unix/clock_nanosleep.c: Likewise.
23009 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23010 * rt/clock-compat.c: New file.
23011 * rt/Makefile (librt-routines): Add clock-compat and move
23012 $(clock-routines) to ...
23013 (routines): ... here, new variable.
23014 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23015 Don't add get_clockfreq here.
23016 * rt/Versions (libc: GLIBC_2.17): New version set.
23017 Add clock_* symbols here.
23018 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
23019 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23020 (GLIBC_2.17): Add clock_* symbols.
23021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23023 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23025 Likewise.
23026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23027 Likewise.
23028 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23032 * NEWS: Mention the move.
23033
23034 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23035 Use __open, __read, __close rather than their public counterparts.
23036 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23037 (__get_clockfreq_via_cpuinfo): Likewise.
23038 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23039 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23040
23041 * config.h.in (HAVE_IFUNC): New #undef.
23042 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23043 was successful.
23044 * configure: Regenerated.
23045
0cae3f4b
MF
230462012-10-24 Mike Frysinger <vapier@gentoo.org>
23047
23048 * configure.in: Move READELF check to start of file.
23049 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23050 libc_cv_asm_gnu_indirect_function in the process.
23051 * configure: Regenerated.
23052
8175a253
MF
230532012-10-24 Mike Frysinger <vapier@gentoo.org>
23054
23055 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23056 send the output to /dev/null.
23057 (libc_cv_cc_with_libunwind): Likewise.
23058 (libc_cv_as_noexecstack): Likewise.
23059 * configure: Regenerate.
23060
0708a7d1
JM
230612012-10-24 Joseph Myers <joseph@codesourcery.com>
23062
10b40d85
JM
23063 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23064
0708a7d1
JM
23065 * posix/globtest.sh (TMPDIR): Do not set.
23066 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23067 (testout): Likewise.
23068
9fddec1a
AJ
230692012-10-24 Andreas Jaeger <aj@suse.de>
23070
3a8db22f
AJ
23071 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23072 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23073 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23074 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23075 posix_fadvise64, posix_fallocate64.
23076
9fddec1a
AJ
23077 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23078 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23079 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23080 Likewise.
23081 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23082 Likewise.
23083 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23084
23085 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23086 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23087 <bits/fcntl-linux.h>.
23088 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23089
23090 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23091 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23092 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23093 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23094 [__WORDSIZE != 64]: Likewise.
23095
ebfd1bbd
JM
230962012-10-23 Joseph Myers <joseph@codesourcery.com>
23097
03ac099f
JM
23098 * Makeconfig (run-built-tests): New variable.
23099 * Rules [$(cross-compiling) = yes]: Change condition to
23100 [$(run-built-tests) = no].
23101 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23102 to [$(run-built-tests) = yes].
23103 * elf/Makefile [$(cross-compiling) = no]: Likewise
23104 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23105 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23106 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23107 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23108 * io/Makefile [$(cross-compiling) = no]: Likewise.
23109 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23110 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23111 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23112 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23113 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23114 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23115 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23116 * string/Makefile [$(cross-compiling) = no]: Likewise.
23117
ebfd1bbd
JM
23118 * posix/Makefile ($(objpfx)globtest.out): Pass
23119 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23120 $(rtld-installed-name).
23121 * posix/globtest.sh (elf_objpfx): Remove variable.
23122 (rtld_installed_name): Likewise.
23123 (library_path): Likewise.
23124 (run_program_prefix): New variable. Use for running globtest
23125 binary.
23126
166bca24
JB
231272012-10-23 Jim Blandy <jimb@codesourcery.com>
23128 Joseph Myers <joseph@codesourcery.com>
23129
23130 * Makeconfig (host-built-program-cmd): New variable.
23131 * elf/Makefile (tst-stackguard1-ARGS): Use
23132 $(host-built-program-cmd).
23133 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23134 (tst-spawn-ARGS): Likewise.
23135 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23136
88866099
JM
231372012-10-23 Joseph Myers <joseph@codesourcery.com>
23138 Jim Blandy <jimb@codesourcery.com>
23139
23140 * Makeconfig (run-via-rtld-prefix): New variable.
23141 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23142 (built-program-cmd): Likewise.
23143
b4b4c296
AJ
231442012-10-22 Andreas Jaeger <aj@suse.de>
23145
23146 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23147 __O_RSYNC if it exists, otherwise to O_SYNC.
23148
6fb54a22
JB
231492012-10-22 Jim Blandy <jimb@codesourcery.com>
23150 Joseph Myers <joseph@codesourcery.com>
23151
23152 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23153 /dev/null.
23154 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23155 from /dev/null
23156 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23157 /dev/null.
23158
481b90b9
AJ
231592012-10-22 Andreas Jaeger <aj@suse.de>
23160
2a0e2669
AJ
23161 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23162 Define always.
23163 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23164
76e38f9a
AJ
23165 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23166 bits/fcntl-linux.h.
23167
7cd37b43
AJ
23168 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23169 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23170
481b90b9
AJ
23171 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23172 to __O_LARGEFILE.
23173 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23174 to __O_LARGEFILE.
23175
aba75984
JB
231762012-10-21 Jim Blandy <jimb@codesourcery.com>
23177 Joseph Myers <joseph@codesourcery.com>
23178
23179 * config.make.in (NM): New variable.
23180
88d4247f
AJ
231812012-10-21 Andreas Jaeger <aj@suse.de>
23182
23183 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23184 definitions and declarations that are provided by
23185 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23186
f2eed205
L
231872012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23188
23189 [BZ #14683]
23190 * elf/Makefile (tests-static): Add tst-leaks1-static.
23191 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23192 ($(objpfx)tst-leaks1-static): New rule.
23193 ($(objpfx)tst-leaks1-static-mem): Likewise.
23194 (tst-leaks1-static-ENV): New macro.
23195 * elf/dl-open.c (dl_open_worker): Check the main application
23196 only if SHARED is defined.
23197 * elf/tst-leaks1-static.c: New file.
23198
335e6931
AJ
231992012-10-20 Andreas Jaeger <aj@suse.de>
23200
23201 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23202 generic values for Linux.
23203 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23204 and declarations that are provided by <bits/fcntl-linux.h> and
23205 include <bits/fcntl-linux.h>.
23206 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23207 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23208
ac5c94d3
RM
232092012-10-20 Roland McGrath <roland@hack.frob.com>
23210
23211 * io/fcntl.h: Move include of <bits/types.h> to the top and
23212 include it unconditionally.
23213
de54b33a
L
232142012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23215
228cfb01
L
23216 * wcsmbs/Makefile (tests-ifunc): New variable.
23217 (tests): Add $(tests-ifunc).
23218 * wcsmbs/test-wcschr-ifunc.c: New file.
23219 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23220 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23221 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23222 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23223 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23224
69f07e5f
L
23225 * string/Makefile (tests-ifunc): New variable.
23226 (tests): Add $(tests-ifunc).
23227 * string/test-memccpy.c (TEST_NAME): New macro.
23228 * string/test-memchr.c (TEST_NAME): Likewise.
23229 * string/test-memcmp.c (TEST_NAME): Likewise.
23230 * string/test-memcpy.c (TEST_NAME): Likewise.
23231 * string/test-memmem.c (TEST_NAME): Likewise.
23232 * string/test-memmove.c (TEST_NAME): Likewise.
23233 * string/test-memset.c (TEST_NAME): Likewise.
23234 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23235 * string/test-stpcpy.c (TEST_NAME): Likewise.
23236 * string/test-stpncpy.c (TEST_NAME): Likewise.
23237 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23238 * string/test-strcasestr.c (TEST_NAME): Likewise.
23239 * string/test-strcat.c (TEST_NAME): Likewise.
23240 * string/test-strchr.c (TEST_NAME): Likewise.
23241 * string/test-strcmp.c(TEST_NAME): Likewise.
23242 * string/test-strcpy.c (TEST_NAME): Likewise.
23243 * string/test-strcspn.c (TEST_NAME): Likewise.
23244 * string/test-strlen.c (TEST_NAME): Likewise.
23245 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23246 * string/test-strncmp.c (TEST_NAME): Likewise.
23247 * string/test-strncpy.c (TEST_NAME): Likewise.
23248 * string/test-strnlen.c (TEST_NAME): Likewise.
23249 * string/test-strpbrk.c (TEST_NAME): Likewise.
23250 * string/test-strrchr.c (TEST_NAME): Likewise.
23251 * string/test-strspn.c (TEST_NAME): Likewise.
23252 * string/test-strstr.c (TEST_NAME): Likewise.
23253 * string/test-bcopy-ifunc.c: New file.
23254 * string/test-bzero-ifunc.c: Likewise.
23255 * string/test-memccpy-ifunc.c: Likewise.
23256 * string/test-memchr-ifunc.c: Likewise.
23257 * string/test-memcmp-ifunc.c: Likewise.
23258 * string/test-memcpy-ifunc.c: Likewise.
23259 * string/test-memmem-ifunc.c: Likewise.
23260 * string/test-memmove-ifunc.c: Likewise.
23261 * string/test-mempcpy-ifunc.c: Likewise.
23262 * string/test-memset-ifunc.c: Likewise.
23263 * string/test-rawmemchr-ifunc.c: Likewise.
23264 * string/test-stpcpy-ifunc.c: Likewise.
23265 * string/test-stpncpy-ifunc.c: Likewise.
23266 * string/test-strcasecmp-ifunc.c: Likewise.
23267 * string/test-strcasestr-ifunc.c: Likewise.
23268 * string/test-strcat-ifunc.c: Likewise.
23269 * string/test-strchr-ifunc.c: Likewise.
23270 * string/test-strchrnul-ifunc.c: Likewise.
23271 * string/test-strcmp-ifunc.c: Likewise.
23272 * string/test-strcpy-ifunc.c: Likewise.
23273 * string/test-strcspn-ifunc.c: Likewise.
23274 * string/test-strlen-ifunc.c: Likewise.
23275 * string/test-strncasecmp-ifunc.c: Likewise.
23276 * string/test-strncat-ifunc.c: Likewise.
23277 * string/test-strncmp-ifunc.c: Likewise.
23278 * string/test-strncpy-ifunc.c: Likewise.
23279 * string/test-strnlen-ifunc.c: Likewise.
23280 * string/test-strpbrk-ifunc.c: Likewise.
23281 * string/test-strrchr-ifunc.c: Likewise.
23282 * string/test-strspn-ifunc.c: Likewise.
23283 * string/test-strstr-ifunc.c: Likewise.
23284
de54b33a
L
23285 * debug/Makefile (tests-ifunc): New variable.
23286 (tests): Add $(tests-ifunc).
23287 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23288 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23289 * debug/test-stpcpy_chk-ifunc.c: New file.
23290 * debug/test-strcpy_chk-ifunc.c: Likewise.
23291
88481c16
SP
232922012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23293
23294 [BZ #13601]
23295 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23296 header is not read in.
23297
135948bd
JM
232982012-10-19 Joseph Myers <joseph@codesourcery.com>
23299
89f1c388
JM
23300 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23301 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23302 directly. Pass built executable to script as
23303 $(built-program-cmd).
23304 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23305 $testprogram without using LD_LIBRARY_PATH and $ldso.
23306
e40a0d21
JM
23307 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23308 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23309 $(rtld-installed-name).
23310 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23311 (rtld_installed_name): Likewise.
23312 (library_path): Likewise.
23313 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23314 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23315 $(run-program-prefix) to tst-tables.sh.
23316 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23317 it to run tst-table-from and tst-table-to.
23318 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23319 Pass it to tst-table.sh.
23320 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23321 $(run-program-prefix) to tst-gettext.sh.
23322 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23323 tst-translit.sh.
23324 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23325 tst-gettext2.sh.
23326 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23327 to run tst-gettext.
23328 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23329 to run tst-gettext2.
23330 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23331 to run tst-translit.
23332 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23333 $(run-program-prefix) to tst-mtrace.sh.
23334 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23335 to run tst-mtrace.
23336 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23337 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23338 $(rtld-installed-name).
23339 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23340 (rtld_installed_name): Likewise.
23341 (run_program_prefix): New variable. Use it to run wordexp-test.
23342
728e272a
JM
23343 * Makeconfig (ARCH): Remove all definitions.
23344 (machine): Likewise.
23345 [ARCH]: Remove conditional code.
23346 [!objdir]: Give error.
23347 [!objdir] (objpfx): Remove.
23348 [!objdir] (common-objpfx): Likewise.
23349 [!objdir] (common-objdir): Likewise.
23350 * configure.in (config_makefile): Remove. Hardcode Makefile in
23351 AC_CONFIG_FILES call.
23352 * configure: Regenerated.
23353
d528cdcf
JM
23354 [BZ #13888]
23355 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23356 or TMPDIR.
23357 (testout): Likewise.
23358
135948bd
JM
23359 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23360 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23361 $(rtld-installed-name).
23362 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23363 (rtld_installed_name): Likwise.
23364 (runit): Remove function.
23365 (run_getconf): New variable, Use it for running getconf binary.
23366
38c78296
L
233672012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23368
23369 [BZ #14716]
23370 * string/test-memmem.c (check_result): New function.
23371 (do_one_test): Use it.
23372 (check1): New function.
23373 (test_main): Use it.
23374
d077f65f
MT
233752012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23376
23377 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23378
ced52c71
JM
233792012-10-18 Joseph Myers <joseph@codesourcery.com>
23380
23381 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23382 (_G_LSEEK64): Likewise.
23383 (_G_MMAP64): Likewise.
23384 (_G_FSTAT64): Likewise.
23385 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23386 (_G_LSEEK64): Likewise.
23387 (_G_MMAP64): Likewise.
23388 (_G_FSTAT64): Likewise.
23389 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23390 unconditional. Call __mmap64 directly.
23391 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23392 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23393 __lseek64 directly.
23394 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23395 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23396 __mmap64 directly.
23397 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23398 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23399 __lseek64 directly.
23400 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23401 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23402 __lseek64 directly.
23403 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23404 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23405 __lseek64 directly.
23406 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23407 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23408 __fxstat64 directly.
23409 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23410 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23411 unconditional.
23412 (freopen64) [!_G_OPEN64]: Remove conditional code.
23413 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23414 unconditional.
23415 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23416 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23417 unconditional.
23418 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23419 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23420 unconditional.
23421 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23422 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23423 unconditional.
23424 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23425 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23426 unconditional.
23427 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23428 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23429 unconditional.
23430 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23431 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23432 unconditional.
23433 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23434
b741de23
SP
234352012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23436
23437 [BZ #12140]
23438 * manual/memory.texi (Malloc Tunable Parameters): Add note
23439 about free list pointers overwriting some perturb bytes.
23440 Wording suggested by Roland McGrath.
23441
f9b9d9c9
JM
234422012-10-17 Joseph Myers <joseph@codesourcery.com>
23443
23444 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23445 (lgamma_test): Likewise.
23446 (tgamma_test): Likewise.
23447
172a631a
FW
234482012-10-16 Florian Weimer <fweimer@redhat.com>
23449
23450 [BZ #14700]
23451 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23452 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23453
e9f37252
MK
234542012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23455
23456 * NEWS: Mention BZ #14716.
23457 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23458 when removing AVAILABLE1_USES_J macro.
23459
d394eb74
L
234602012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23461
23462 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23463 (__bswap_64): __uint64_t for unsigned 64-bit int.
23464
ca38dc17
AS
234652012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23466
23467 * include/string.h (memmem): Declare libc hidden alias.
23468 * string/memmem.c (memmem): Define libc hidden alias.
23469 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23470 __read, __close instead of open, read, close.
23471
9a387d1f
L
234722012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23473
ac49ecaf
L
23474 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23475 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23476 global and hidden.
23477 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23478 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23479 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23480 Likewise.
23481 (__rawmemchr_sse2): Likewise.
23482 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23483 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23484 (__strchr_sse2): Likewise.
23485 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23486 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23487 (__strcasecmp_sse2): Likewise.
23488 (__strncasecmp_sse2): Likewise.
23489 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23490 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23491 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23492 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23493 (__strrchr_sse2): Likewise.
23494 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23495 ifunc-impl-list.c.
23496 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23497 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23498 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23499 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23500 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23501 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23502 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23503 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23504 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23505 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23506 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23507 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23508 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23509 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23510 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23511 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23512 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23513 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23514 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23515 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23516 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23517 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23518 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23519 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23520 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23521 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23522 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23523 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23524 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23525 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23526
b090e8ea
L
23527 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23528 global and hidden.
23529 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23530 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23531 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23532 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23533 Likewise.
23534 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23535 Likewise.
23536 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23537 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23538 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23539 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23540 ifunc-impl-list.c.
23541 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23542 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23543 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23544 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23545 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23546 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23547 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23548 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23549 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23550 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23551 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23552 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23553 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23554 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23555 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23556 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23557 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23558 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23559 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23560 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23561 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23562 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23563 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23564 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23565 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23566 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23567 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23568 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23569 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23570 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23571 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23572 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23573 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23574 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23575 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23576 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23577 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23578 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23579 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23580 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23581 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23582
11dd4af6
L
23583 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23584 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23585 * include/ifunc-impl-list.h: New file.
23586 * misc/ifunc-impl-list.c: Likewise.
23587 * misc/Makefile (routines): Add ifunc-impl-list.
23588 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23589 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
23590 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23591 TEST_NAME]: New variables.
11dd4af6
L
23592 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23593 are defined.
23594 (test_init): Call __libc_ifunc_impl_list to initialize
23595 func_list if TEST_IFUNC and TEST_NAME are defined.
23596
9a387d1f
L
23597 * string/Makefile (strop-tests): Add bcopy and bzero.
23598 * string/test-bcopy.c: New file.
23599 * string/test-bzero.c: Likewise.
23600 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23601 defined.
23602 * string/test-memset.c: Support bzero test if TEST_BZERO is
23603 defined.
23604 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23605 __libc_memmove.
23606 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23607 __libc_memset.
23608 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23609 of memset.
23610
472371b9
JM
236112012-10-10 Joseph Myers <joseph@codesourcery.com>
23612
1e4a9536
JM
23613 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23614 * configure: Regenerated.
23615
d173d12e
JM
23616 * Makeconfig (+link-static-before-libc): Don't include
23617 $(link-static-libc).
23618
472371b9
JM
23619 * libio/libio.h (_IO_pos_t): Remove.
23620
89a3ad0b
AO
236212012-10-10 Alexandre Oliva <aoliva@redhat.com>
23622
23623 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23624 McGrath.
23625
e7451425
AO
236262012-10-10 Alexandre Oliva <aoliva@redhat.com>
23627
23628 * crypt/crypt-entry.c: Include fips-private.h.
23629 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23630 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23631 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23632 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23633
4ba74a35
AO
236342012-10-10 Alexandre Oliva <aoliva@redhat.com>
23635
23636 * crypt/crypt-private.h: Include stdbool.h.
23637 (_ufc_setup_salt_r): Return bool.
23638 * crypt/crypt-entry.c: Include errno.h.
23639 (__crypt_r): Return NULL with EINVAL for bad salt.
23640 * crypt/crypt_util.c (bad_for_salt): New.
23641 (_ufc_setup_salt_r): Check that salt is long enough and within
23642 the specified alphabet.
23643 * crypt/badsalttest.c: New file.
23644 * crypt/Makefile (tests): Add it.
23645 ($(objpfx)badsalttest): New.
23646
f96f1242
MK
236472012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23648
23649 * NEWS: Add entry for BZ #14602.
23650
0e8e0c1c
JM
236512012-10-09 Joseph Myers <joseph@codesourcery.com>
23652
23653 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23654 type-generic.
23655 * math/libm-test.inc: Update comment listing what functions and
23656 macros are tested.
23657 (isgreater_test): New function.
23658 (isgreaterequal_test): Likewise.
23659 (isless_test): Likewise.
23660 (islessequal_test): Likewise.
23661 (islessgreater_test): Likewise.
23662 (isunordered_test): Likewise.
23663 (main): Call the new functions.
23664
273edc5e
RM
236652012-10-09 Roland McGrath <roland@hack.frob.com>
23666
b8493de0
RM
23667 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23668 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23669 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23670 * sysdeps/i386/configure: Regenerated.
23671 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23672 * sysdeps/mach/configure: Regenerated.
23673 * sysdeps/mach/hurd/configure: Regenerated.
23674 * sysdeps/powerpc/configure: Regenerated.
23675 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23676 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23677 * sysdeps/s390/s390-32/configure: Regenerated.
23678 * sysdeps/s390/s390-64/configure: Regenerated.
23679 * sysdeps/sh/configure: Regenerated.
23680 * sysdeps/sparc/configure: Regenerated.
23681 * sysdeps/unix/sysv/linux/configure: Regenerated.
23682 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23683 * sysdeps/x86_64/configure: Regenerated.
23684
273edc5e
RM
23685 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23686 defined. Don't check if MAP is NULL.
23687
c8450f70
JM
236882012-10-09 Joseph Myers <joseph@codesourcery.com>
23689
23690 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23691 (_G_stat64): Likewise.
23692 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23693 (_G_stat64): Likewise.
23694 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23695 instead of struct _G_stat64.
23696 * libio/fileops.c (mmap_remap_check): Likewise.
23697 (decide_maybe_mmap): Likewise.
23698 (_IO_new_file_seekoff): Likewise.
23699 (_IO_file_stat): Likewise.
23700 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23701 _G_off64_t.
23702 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23703 instead of struct _G_stat64.
23704 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23705
57e605ba
MK
237062012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23707
23708 [BZ #14602]
23709 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23710 Replace with ...
23711 (CHECK_EOL): New macro.
23712 (two_way_short_needle): Check beginning of haystack for EOL. Use
23713 CHECK_EOL.
23714 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23715 Replace with CHECK_EOL.
23716 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23717 Replace with CHECK_EOL.
23718
ef1bb361
JM
237192012-10-08 Joseph Myers <joseph@codesourcery.com>
23720
23721 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23722 type-generic.
23723 * math/libm-test.inc: Update comment listing what functions and
23724 macros are tested.
23725 (finite_test): New function.
23726 (isinf_test): Likewise.
23727 (isnan_test): Likewise.
23728 (fpclassify_test): Test subnormal input.
23729 (isfinite_test): Likewise.
23730 (isnormal_test): Likewise.
23731 (main): Call the new functions.
23732
55f11534
JN
237332012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23734
23735 [BZ #14660]
23736 * Makerules (%.dynsym): Force C locale when running
23737 $(OBJDUMP) --dynamic-syms.
23738
1ab29350
AS
237392012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23740
23741 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23742 <stdint.h>.
23743
f1ecb7ef
DM
237442012-10-06 David S. Miller <davem@davemloft.net>
23745
23746 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23747 upper 32-bits of the length value in %o2 since we use branch-on-register
23748 tests which consider the entire 64-bit register.
23749
5d41d91a
L
237502012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23751
23752 * string/test-strstr.c (check2): Add a test for page boundary.
23753
3baddb72
DM
237542012-10-05 David S. Miller <davem@davemloft.net>
23755
23756 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23757 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23758 file.
23759 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23760 sysdep_routines.
23761 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23762 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23763 and bzero when HWCAP_SPARC_CRYPTO is present.
23764
9cee5585
L
237652012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23766
d7e0dab9
L
23767 [BZ #14602]
23768 * string/test-strstr.c (check2): New function.
23769 (test_main): Call check2.
23770
03759f47
L
23771 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23772 and bug-strchr1.
23773 * string/bug-strcasestr1.c (do_test): Moved to ...
23774 * string/test-strcasestr.c (check1): Here. New function.
23775 (do_one_test): Break out result checking code into ...
23776 (check_result): This. New function.
23777 (do_one_test): Call check_result.
23778 (test_main): Call check1.
23779 * string/bug-strchr1.c (do_test): Moved to ...
23780 * string/test-strchr.c (check1): Here. New function.
23781 (do_one_test): Break out result checking code into ...
23782 (check_result): This. New function.
23783 (do_one_test): Call check_result.
23784 (test_main): Call check1.
23785 * string/bug-strstr1.c (main): Moved to ...
046f153e 23786 * string/test-strstr.c (check1): Here. New function.
03759f47
L
23787 (do_one_test): Break out result checking code into ...
23788 (check_result): This. New function.
23789 (do_one_test): Call check_result.
23790 (test_main): Call check1.
23791 * string/bug-strcasestr1.c: Removed.
23792 * string/bug-strchr1.c: Likewise.
23793 * string/bug-strstr1.c: Likewise.
23794
53cea63e
L
23795 * elf/Makefile (dl-routines): Add hwcaps.
23796 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23797 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23798 (_dl_important_hwcaps): Moved to ...
23799 * elf/dl-hwcaps.c: Here. New file.
23800 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23801
9cee5585 23802 [BZ #14557]
bb859b06
L
23803 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23804 if IS_IN_rtld isn't defined.
23805
9cee5585
L
23806 * elf/dl-support.c (_dl_sysinfo_map): New.
23807 Include "get-dynamic-info.h" and "setup-vdso.h".
23808 (_dl_non_dynamic_init): Call setup_vdso.
23809 * elf/dynamic-link.h: Don't include <assert.h>.
23810 (elf_get_dynamic_info): Moved to ...
23811 * elf/get-dynamic-info.h: Here. New file.
23812 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23813 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23814 * elf/setup-vdso.h: Here. New file.
23815 * elf/rtld.c: Include "setup-vdso.h".
23816 (dl_main): Call setup_vdso.
23817
23c31b76
JM
238182012-10-05 Joseph Myers <joseph@codesourcery.com>
23819
28234b07
JM
23820 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23821 creal in comment listing functions tested. List finite, isinf,
23822 isnan, isless, islessequal, isgreater, isgreaterequal,
23823 islessgreater, isunordered, lgamma_r and pow10 as functions and
23824 macros not tested. Mention which functions not tested are aliases
23825 for other functions. Fix typo. Note that signs of NaNs are not
23826 tested.
23827
23c31b76
JM
23828 * scripts/config.guess: Update from config.git.
23829 * scripts/config.sub: Likewise.
23830
9043e228
RM
238312012-10-04 Roland McGrath <roland@hack.frob.com>
23832
23833 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23834 * misc/madvise.c (madvise): Renamed to __madvise.
23835 Make madvise a weak alias.
23836 * include/sys/mman.h: Declare __madvise.
23837 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23838 * sysdeps/unix/syscalls.list
23839 (madvise): Make __madvise the strong name, and madvise a weak alias.
23840 * sysdeps/unix/sysv/linux/syscalls.list
23841 (madvise, mmap): Remove redundant entries.
23842 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23843 * malloc/malloc.c (mtrim): Likewise.
23844 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23845
f57f8055
RM
238462012-10-03 Roland McGrath <roland@hack.frob.com>
23847
23848 * sysdeps/mach/hurd/dl-cache.c: File removed.
23849 * config.h.in (USE_LDCONFIG): New #undef.
23850 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23851 * configure: Regenerated.
23852 * elf/Makefile (dl-routines): Add dl-cache only under
23853 [$(use-ldconfig) = yes].
23854 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23855 cache on [USE_LDCONFIG].
23856 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23857 [USE_LDCONFIG].
23858 * elf/rtld.c (dl_main): Likewise.
23859
5bb0c10a
PT
238602012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23861
23862 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23863 _SC_LEVEL4_CACHE_LINESIZE.
23864
010188c6
RM
238652012-10-03 Roland McGrath <roland@hack.frob.com>
23866
23867 * sysdeps/unix/bsd/confstr.h: File removed.
23868
b6c5ec07
AO
238692012-10-02 Alexandre Oliva <aoliva@redhat.com>
23870
23871 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23872 sys/sdt-config.h.
23873
408223d4
RM
238742012-10-02 Roland McGrath <roland@hack.frob.com>
23875
23876 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23877 Make 'mapoff' field ElfW(Off) rather than off_t.
23878
bb9510dc
DL
238792012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23880
fc997c6e
DL
23881 * nscd/Makefile: Remove nscd-cflags and all its users.
23882 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23883 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23884
bb9510dc
DL
23885 [BZ #10631]
23886 * malloc.c (malloc_printerr): Clarify error message.
23887
05699367
L
238882012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23889
23890 [BZ #14648]
23891 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23892 Set bit_FMA_Usable if FMA is supported.
23893 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23894 macro.
23895 (bit_FMA4_Usable): Updated.
23896 (index_FMA_Usable): New macro.
23897 (CPUID_FMA): Likewise
23898 (HAS_FMA): Defined with bit_FMA_Usable.
23899
51367701
RM
239002012-10-01 Roland McGrath <roland@hack.frob.com>
23901
23902 * bits/types.h (__swblk_t): Type removed.
23903 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23904 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23905 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23906 (__SWBLK_T_TYPE): Likewise.
23907 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23908 (__SWBLK_T_TYPE): Likewise.
23909 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23910 (__SWBLK_T_TYPE): Likewise.
23911 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23912 (__SWBLK_T_TYPE): Likewise.
23913
4d57bf63 239142012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23915 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23916
23917 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23918 (xdr_mapname): Use YPMAXMAP as maxsize.
23919 (xdr_peername): Use YPMAXPEER as maxsize.
23920 (xdr_keydat): Use YPAXRECORD as maxsize.
23921 (xdr_valdat): Use YPMAXRECORD as maxsize.
23922
93c65d43
RM
239232012-10-01 Roland McGrath <roland@hack.frob.com>
23924
497a03d6
RM
23925 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23926
93c65d43
RM
23927 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23928 * csu/init-first.c: ... here.
23929 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23930 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23931 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23932 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23933 * sysdeps/i386/init-first.c: File removed.
23934 * sysdeps/sh/init-first.c: File removed.
23935
bec749fd
JM
239362012-10-01 Joseph Myers <joseph@codesourcery.com>
23937
23938 [BZ #14645]
23939 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23940 if x * y might underflow to zero and z is zero.
23941 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23942 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23943 * math/libm-test.inc (min_subnorm_value): New variable.
23944 (fma_test): Add more tests.
23945 (fma_test_towardzero): Likewise.
23946 (fma_test_downward): Likewise
23947 (fma_test_upward): Likewise.
23948 (initialize): Set min_subnorm_value.
23949
8ec5b013
JM
239502012-09-29 Joseph Myers <joseph@codesourcery.com>
23951
23952 [BZ #14638]
23953 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23954 0 + 0.
23955 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23956 mode for addition resulting in exact zero.
23957 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23958 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23959 exact 0 + 0.
23960 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23961 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23962 * math/libm-test.inc (fma_test): Add more tests.
23963 (fma_test_towardzero): New function.
23964 (fma_test_downward): Likewise.
23965 (fma_test_upward): Likewise.
23966 (main): Call the new functions.
23967
b1fa802e
DM
239682012-09-28 David S. Miller <davem@davemloft.net>
23969
23970 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23971
d3b9fd9e
RM
239722012-09-28 Roland McGrath <roland@hack.frob.com>
23973
ea4d37b3
RM
23974 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23975 instead of SIGALRM.
23976
ac51c949
RM
23977 * sysdeps/gnu/_G_config.h: Moved to ...
23978 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23979 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23980 * sysdeps/generic/_G_config.h: ... here.
23981
28c195f7
RM
23982 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23983
848917f9
RM
23984 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23985
6bacf05b
RM
23986 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23987 Conditionalize target on [libnss_test1.so-version].
23988
91363dbb
RM
23989 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23990
cc87f7d8
RM
23991 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23992 (elfobjdir): Move out of conditionals.
23993
b1c608fe
RM
23994 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23995 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23996 (__nss_lookup_function): Conditionalize label remove_from_tree on
23997 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23998
1d9a6d96
DM
239992012-09-28 David S. Miller <davem@davemloft.net>
24000
24001 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24002 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24003 file.
24004 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24005 sysdep_routines.
24006 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24007 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24008 when HWCAP_SPARC_CRYPTO is present.
24009
72581615
PT
240102012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24011
24012 * io/tst-mknodat.c: Create a FIFO instead of a socket.
24013
715a900c
JL
240142012-09-28 Andreas Schwab <schwab@linux-m68k.org>
24015
24016 [BZ #6530]
24017 * stdio-common/vfprintf.c (process_string_arg): Revert
24018 2000-07-22 change.
24019
240202011-09-28 Jonathan Nieder <jrnieder@gmail.com>
24021
24022 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24023 for testcase.
24024 * stdio-common/tst-sprintf.c: Include <locale.h>
24025 (main): Test sprintf's handling of incomplete multibyte
24026 characters.
24027
9bac1d86
L
240282012-09-28 H.J. Lu <hongjiu.lu@intel.com>
24029
24030 * elf/dl-runtime.c (VERSYMIDX): Removed.
24031 * elf/dl-version.c (VERSYMIDX): Likewise.
24032 * elf/do-rel.h (VERSYMIDX): Likewise.
24033 (VALIDX): Likewise.
24034 * elf/dynamic-link.h (VERSYMIDX): Likewise.
24035 * elf/rtld.c (VALIDX): Likewise.
24036 (ADDRIDX): Likewise.
9bac1d86
L
24037 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24038 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24039 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
24040 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24041 (VALIDX): Likewise.
24042 (ADDRIDX): Likewise.
9bac1d86 24043
b31606c0
PT
240442012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24045
24046 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24047
11541177
JL
240482012-09-28 Dmitry V. Levin <ldv@altlinux.org>
24049
24050 [BZ #11438]
24051 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24052 to global scope.
24053 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24054 addresses are in the same scope as 192.0.2/24.
24055 * posix/gai.conf: Document new scope table defaults.
24056
adb26fae
SP
240572012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24058
24059 [BZ #5298]
24060 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24061 for ftell. Compute offsets from write pointers instead.
24062 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24063
4573c6b0
SP
240642012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24065
24066 [BZ #14543]
24067 * libio/Makefile (tests): New test case tst-fseek.
24068 * libio/tst-fseek.c: New test case to verify that fseek/ftell
24069 combination works in wide mode.
24070 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24071 state when the external buffer state changes.
24072
aa9bbfe6
DM
240732012-09-27 David S. Miller <davem@davemloft.net>
24074
24075 [BZ #14376]
24076 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24077 pass reloc->r_addend in as the 'high' argument to
24078 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24079
784421e7
DM
24080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24081
c39bc8b8
PT
240822012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24083
24084 * rt/tst-aio2.c: Include <pthread.h>.
24085 * rt/tst-aio3.c: Likewise.
24086
1ccc2399
SE
240872012-09-27 Steve Ellcey <sellcey@mips.com>
24088
24089 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24090
31ed4153
L
240912012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24092
25f5f885
L
24093 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24094 contents on [SHARED].
31ed4153 24095
b7bfe116
MP
240962012-09-26 Marek Polacek <polacek@redhat.com>
24097
24098 [BZ #14530]
24099 [BZ #13741]
24100 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24101 for C++ and GCC <4.3 as well as for non GCC compilers.
24102
43c4edba
MT
241032012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24104
24105 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24106
6a1bf82f
RM
241072012-09-25 Roland McGrath <roland@hack.frob.com>
24108
24109 * Makefile.in (all, install): Declare with .PHONY.
24110 Reported by Michael Hope <michael.hope@linaro.org>.
24111
8ad11b9a
TMQMF
241122012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24113
24114 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24115 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24116 system header.
24117 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24118 Likewise.
24119 (sydep_routines): Add the new and the internal functions.
24120 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24121 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24123 (GLIBC_2.17): Add the new function.
24124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24125 (GLIBC_2.17): Likewise.
24126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24127 (GLIBC_2.17): Likewise.
24128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24129 (GLIBC_2.17): Likewise.
24130 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24131
7e2fca8d
AM
241322012-09-25 Alan Modra <amodra@gmail.com>
24133
24134 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24135 Add release barrier before setting once_control to say
24136 initialisation is done. Add hints on lwarx. Use macro in
24137 place of isync.
24138 (clear_once_control): Add release barrier.
24139
b87c4b24
JM
241402012-09-25 Joseph Myers <joseph@codesourcery.com>
24141
d032e0d2
JM
24142 [BZ #13629]
24143 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24144 specially.
24145 * math/s_clog10.c (__clog10): Likewise.
24146 * math/s_clog10f.c (__clog10f): Likewise.
24147 * math/s_clog10l.c (__clog10l): Likewise.
24148 * math/s_clogf.c (__clogf): Likewise.
24149 * math/s_clogl.c (__clogl): Likewise.
24150 * math/Makefile (libm-calls): Add x2y2m1.
24151 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24152 (__x2y2m1): Likewise.
24153 (__x2y2m1l): Likewise.
24154 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24155 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24156 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24157 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24158 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24159 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24160 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24161 * sysdeps/i386/fpu/libm-test-ulps: Update.
24162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24163
b87c4b24
JM
24164 [BZ #14621]
24165 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24166 int as type of variable DEPTH.
24167 (glob): Use size_t instead of int as type of variables NEWCOUNT
24168 and OLD_PATHC.
24169
6d3bf199
LD
241702012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24171
22bf5c17
LD
24172 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24173 Add s_sincosf-sse2.
24174 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24175 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24176 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24177 macros for using routine as __sincosf_ia32.
24178 Use macro for function declaration and weak_alias.
24179 * sysdeps/i386/fpu/libm-test-ulps: Update.
24180
24181 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24183
24184 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
24185 subnormal argument.
24186 * math/s_cexpf.c (__cexpf): Likewise.
24187 * math/s_csinf.c (__csinf): Likewise.
24188 * math/s_csinhf.c (__csinhf): Likewise.
24189 * math/s_ctanf.c (__ctanf): Likewise.
24190 * math/s_ctanhf.c (__ctanhf): Likewise.
24191 * math/s_ccosh.c (__ccoshf): Likewise.
24192 * math/s_cexp.c (__cexpl): Likewise.
24193 * math/s_csin.c (__csin): Likewise.
24194 * math/s_csinh.c (__csinh): Likewise.
24195 * math/s_ctan.c (__ctan): Likewise.
24196 * math/s_ctanh.c (ctanh): Likewise.
24197 * math/s_ccoshl.c (__ccoshl): Likewise.
24198 * math/s_cexpl.c (__cexpl): Likewise.
24199 * math/s_csinl.c (__csinl): Likewise.
24200 * math/s_csinhl.c (__csinhl): Likewise.
24201 * math/s_ctanl.c (__ctanl): Likewise.
24202 * math/s_ctanhl.c (__ctanhl): Likewise.
24203
203e5603
JM
242042012-09-25 Joseph Myers <joseph@codesourcery.com>
24205
24206 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24207 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24208 (_IO_off_t): Define to __off_t, not _G_off_t.
24209 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24210 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24211 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24212 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24213 type of __dummy and __dummy2 fields.
24214 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24215 (_G_ssize_t): Likewise.
24216 (_G_off_t): Likewise.
24217 (_G_pid_t): Likewise.
24218 (_G_uid_t): Likewise.
24219 (_G_wchar_t): Likewise.
24220 (_G_wint_t): Likewise.
24221 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24222 (_G_ssize_t): Likewise.
24223 (_G_off_t): Likewise.
24224 (_G_pid_t): Likewise.
24225 (_G_uid_t): Likewise.
24226 (_G_wchar_t): Likewise.
24227 (_G_wint_t): Likewise.
24228 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24229 (_G_ssize_t): Likewise.
24230 (_G_off_t): Likewise.
24231 (_G_pid_t): Likewise.
24232 (_G_uid_t): Likewise.
24233 (_G_wchar_t): Likewise.
24234 (_G_wint_t): Likewise.
24235
9fab36eb
SP
242362012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24237
24238 * malloc/arena.c: Include malloc-sysdep.h.
24239 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24240 is sufficient to shrink the heap or an unmap is needed.
24241 * sysdeps/generic/malloc-sysdep.h: New file. Define
24242 new function check_may_shrink_heap.
24243 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24244 new function check_may_shrink_heap.
24245
2b4f00d1
SP
242462012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24247
24248 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24249 comments.
24250
9a9028b1
DL
242512012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24252
57c69bef
DL
24253 * catgets/test-gencat.sh: Add "set -e".
24254 * elf/tst-pathopt.sh: Likewise.
24255 * grp/tst_fgetgrent.sh: Likewise.
24256 * iconvdata/run-iconv-test.sh: Likewise.
24257 * intl/tst-gettext.sh: Likewise.
24258 * intl/tst-gettext2.sh: Likewise.
24259 * intl/tst-gettext4.sh: Likewise.
24260 * intl/tst-gettext6.sh: Likewise.
24261 * intl/tst-translit.sh: Likewise.
24262 * io/ftwtest-sh: Likewise.
24263 * libio/test-freopen.sh: Likewise.
24264 * malloc/tst-mtrace.sh: Likewise.
24265 * posix/globtest.sh: Likewise.
24266 * posix/tst-getconf.sh: Likewise.
24267 * posix/wordexp-tst.sh: Likewise.
24268 * stdio-common/tst-printf.sh: Likewise.
24269 * stdio-common/tst-unbputc.sh: Likewise.
24270 * stdlib/tst-fmtmsg.sh: Likewise.
24271 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24272 * catgets/Makefile: Do not specify -e option when running
24273 testsuite shell scripts.
24274 * elf/Makefile: Likewise.
24275 * grp/Makefile: Likewise.
24276 * iconvdata/Makefile: Likewise.
24277 * intl/Makefile: Likewise.
24278 * io/Makefile: Likewise.
24279 * libio/Makefile: Likewise.
24280 * malloc/Makefile: Likewise.
24281 * posix/Makefile: Likewise.
24282 * stdio-common/Makefile: Likewise.
24283 * stdlib/Makefile: Likewise.
24284 * sysdeps/x86_64/Makefile: Likewise.
24285
9a9028b1
DL
24286 * io/ftwtest-sh: Add copyright header.
24287 * posix/globtest.sh: Likewise.
24288 * posix/tst-getconf.sh: Likewise.
24289 * posix/wordexp-tst.sh: Likewise.
24290 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24291
ced6f16e
L
242922012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24293
94b32c39
L
24294 [BZ #13679]
24295 * Makeconfig (+link): Defined as $(+link-static) if
24296 $(build-shared) isn't yes.
24297 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24298 isn't yes.
24299 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24300
189e935b
L
24301 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24302
ced6f16e
L
24303 [BZ #14562]
24304 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24305 new chunk size with MALLOC_ALIGN_MASK.
24306
a9f8e53a
JM
243072012-09-24 Joseph Myers <joseph@codesourcery.com>
24308
24309 [BZ #5044]
24310 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24311 <rounding-mode.h>.
24312 (__printf_fphex): Determine rounding using get_rounding_mode and
24313 round_away.
24314 * stdio-common/tst-printf-round.c (struct hex_test): New
24315 structure.
24316 (hex_tests): New variable.
24317 (test_hex_in_one_mode): New function.
24318 (do_test): Also run tests for hex float output.
24319
43153109
JM
243202012-09-21 Joseph Myers <joseph@codesourcery.com>
24321
24322 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24323 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24324 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24325 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24326 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24327 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24328 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24329 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24330
8a26625d
JM
243312012-09-20 Joseph Myers <joseph@codesourcery.com>
24332
24333 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24334 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24335 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24336 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24337
f3fd569c
DL
243382012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24339
24340 [BZ #14579]
24341 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24342 mode only.
24343 * elf/tst-rtld-load-self.sh: New test.
24344 * elf/Makefile: Run it.
24345
63bbedd4
JM
243462012-09-18 Joseph Myers <joseph@codesourcery.com>
24347
24348 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24349 (tst-writev-ENV): Remove.
24350 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24351
626f8b6a
CM
243522012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24353
24354 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24355
b7aaa4d6
JM
243562012-09-17 Joseph Myers <joseph@codesourcery.com>
24357
24358 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24359 unconditional.
24360 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24361 Likewise.
24362 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24363 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24364 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24365 Likewise.
24366
65513990
L
243672012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24368
24369 [BZ #14587]
24370 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24371 * config.make.in (have-cpp-asm-debuginfo): Removed.
24372 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24373 * configure: Regenerated.
24374
784761be
JM
243752012-09-14 Joseph Myers <joseph@codesourcery.com>
24376
24377 [BZ #5044]
24378 * stdio-common/printf_fp.c: Include <stdbool.h> and
24379 <rounding-mode.h>.
24380 (___printf_fp): Determine rounding using get_rounding_mode and
24381 round_away.
24382 * stdio-common/tst-printf-round.c: New file.
24383 * stdio-common/Makefile (tests): Add tst-printf-round.
24384 (link-libm): New variable.
24385 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24386
9503345f
L
243872012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24388
24389 [BZ #14576]
24390 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24391 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24392 Likewise.
24393 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24394 Likewise.
24395
ad35fc00
JM
243962012-09-13 Joseph Myers <joseph@codesourcery.com>
24397
24398 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24399 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24400 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24401 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24402
6c9b0f68
JM
244032012-09-12 Joseph Myers <joseph@codesourcery.com>
24404
24405 [BZ #14518]
24406 * include/rounding-mode.h: New file.
24407 * sysdeps/generic/get-rounding-mode.h: Likewise.
24408 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24409 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24410 (MAX_VALUE): New macro.
24411 (MIN_VALUE): Likewise.
24412 (overflow_value): New function.
24413 (underflow_value): Likewise.
24414 (round_and_return): Use overflow_value and underflow_value to
24415 determine return values in overflow and underflow cases. Use
24416 round_away to determine rounding depending on rounding mode.
24417 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24418 determine return values in overflow and underflow cases.
24419 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24420 (struct test_results): New structure.
24421 (struct test): Use struct test_results to store expected results
24422 for all rounding modes.
24423 (TEST): Include expected results for all rounding modes.
24424 (test_in_one_mode): New function.
24425 (do_test): Use test_in_one_mode to compute and check results.
24426 Check results for all rounding modes.
24427 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24428 $(link-libm).
24429
19fcedd5
AM
244302012-12-09 Allan McRae <allan@archlinux.org>
24431
1e9d84cd 24432 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 24433
8bbfd2f1
JM
244342012-09-11 Joseph Myers <joseph@codesourcery.com>
24435
24436 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24437 (_G_int32_t): Likewise.
24438 (_G_uint16_t): Likewise.
24439 (_G_uint32_t): Likewise.
24440 (_G_HAVE_BOOL): Likewise.
24441 (_G_HAVE_ATEXIT): Likewise.
24442 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24443 (_G_HAVE_IO_FILE_OPEN): Likewise.
24444 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24445 (_G_int32_t): Likewise.
24446 (_G_uint16_t): Likewise.
24447 (_G_uint32_t): Likewise.
24448 (_G_HAVE_BOOL): Likewise.
24449 (_G_HAVE_ATEXIT): Likewise.
24450 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24451 (_G_HAVE_IO_FILE_OPEN): Likewise.
24452 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24453 (_G_int32_t): Likewise.
24454 (_G_uint16_t): Likewise.
24455 (_G_uint32_t): Likewise.
24456 (_G_HAVE_BOOL): Likewise.
24457 (_G_HAVE_ATEXIT): Likewise.
24458 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24459 (_G_HAVE_IO_FILE_OPEN): Likewise.
24460
b1dc5912
L
244612012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24462
24463 * csu/libc-tls.c: Update copyright years.
24464
0e886ef9
JM
244652012-09-10 Joseph Myers <joseph@codesourcery.com>
24466
28361c5e
JM
24467 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24468 [!_G_USING_THUNKS]: Remove conditional code.
24469 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24470 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24471
0e886ef9
JM
24472 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24473 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24474 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24475 (_G_VTABLE_LABEL_PREFIX): Likewise.
24476 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24477 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24478 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24479 (_G_VTABLE_LABEL_PREFIX): Likewise.
24480 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24481 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24482 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24483 (_G_VTABLE_LABEL_PREFIX): Likewise.
24484 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24485
bcba7aa2
L
244862012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24487
24488 * libio/Makefile: Include ../Makeconfig before tests.
24489 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24490 only if $(build-shared) is yes.
24491
06585ee8
L
24492 * iconv/gconv_db.c: Update copyright years.
24493
80ccd52c
LD
244942012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24495
24496 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24497 unwind info if defined PIC. Fix special cases description.
24498 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24499
24500 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24501 DP_HI_MASK entry.
24502 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24503
691bc9c1
L
245042012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24505
3d9b46b3
L
24506 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24507
de2139a9
L
24508 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24509 is NULL.
24510
5ca78dd0
L
24511 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24512 (LDLIBS-tst-chk4): This.
24513 (LDFLAGS-tst-chk5): Renamed to ...
24514 (LDLIBS-tst-chk5): This.
24515 (LDFLAGS-tst-chk6): Renamed to ...
24516 (LDLIBS-tst-chk6): This.
24517 (LDFLAGS-tst-lfschk4): Renamed to ...
24518 (LDLIBS-tst-lfschk4): This.
24519 (LDFLAGS-tst-lfschk5): Renamed to ...
24520 (LDLIBS-tst-lfschk5): This.
24521 (LDFLAGS-tst-lfschk6): Renamed to ...
24522 (LDLIBS-tst-lfschk6): This.
24523
691bc9c1
L
24524 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24525 on $(common-objpfx)soversions.mk.
24526
65cafb1c
JM
245272012-09-07 Joseph Myers <joseph@codesourcery.com>
24528
24529 [BZ #10014]
24530 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24531 example host name.
24532
c78ab094
SP
245332012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24534
24535 * malloc/arena.c (arena_get_retry): New function that gets
24536 another arena for the caller to try its request on.
24537 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24538 current arena cannot fulfill the request.
24539 (__libc_memalign): Likewise.
24540 (__libc_memalign): Likewise.
24541 (__libc_pvalloc): Likewise.
24542 (__libc_calloc): Likewise.
24543
01f49f59
JT
245442012-09-05 John Tobey <john.tobey@gmail.com>
24545
24546 [BZ #13542]
24547 * manual/arith.texi (Operations on Complex): Fix description
24548 of carg branch cut.
24549
4c23fed5
JM
245502012-09-06 Joseph Myers <joseph@codesourcery.com>
24551
1d3c8572
JM
24552 [BZ #10014]
24553 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24554 host name.
24555
4c23fed5
JM
24556 [BZ #10038]
24557 * manual/memory.texi (Memory): Make order of menu items match
24558 order of sections.
24559
04570aaa
L
245602012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24561
24562 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24563 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24564 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24565
b80af2f4
L
245662012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24567
24568 * csu/libc-tls.c (static_dtv): Renamed to ...
24569 (_dl_static_dtv): This. Make it global.
24570 (_dl_initial_dtv): Removed.
24571 (__libc_setup_tls): Updated.
24572 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24573 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24574 DL_INITIAL_DTV.
24575
2abe9f15
PM
245762012-09-06 Petr Machata <pmachata@redhat.com>
24577
24578 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24579 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24580 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24581 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24582
0948c3af
L
245832012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24584
24585 [BZ #14545]
24586 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24587 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24588 freeing dtv[-1].
24589
a5055ad1
L
245902012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24591
24592 [BZ #14544]
24593 * Makeconfig (link-static-before-libc): Replace $(+prector)
24594 with $(+prectorT).
24595 (link-static-after-libc): Replace $(+postctor) with
24596 $(+postctorT).
24597 (link-bounded): Replace $(+prector)/$(+postctor) with
24598 $(+prectorT)/$(+postctorT).
24599 (+prectorT): New macro.
24600 (+postctorT): Likewise.
24601
ed8c2ecd
JM
246022012-09-06 Joseph Myers <joseph@codesourcery.com>
24603
24604 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24605 (round_str): Handle values above the maximum for IBM long double
24606 as inexact.
24607 * stdlib/tst-strtod-round.c (tests): Regenerated.
24608
14c996c8
AK
246092012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24610
24611 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24612 assembler flag.
24613 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24614 zarch_nohighgprs around the zarch optimized routines.
24615 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24616 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24617 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24618 for zarch.
24619
430d6ce6
DM
246202012-09-05 David S. Miller <davem@davemloft.net>
24621
24622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24623
57f41c40
AS
24624 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24625 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
24626 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24627 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24628 entries.
24629
24d4e01b
AO
246302012-09-05 Alexandre Oliva <aoliva@redhat.com>
24631
24632 * malloc/arena.c: Fold copyright years.
24633 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24634
61d58174
AO
246352012-09-05 Alexandre Oliva <aoliva@redhat.com>
24636
24637 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24638
20196a5e
AO
246392012-09-05 Alexandre Oliva <aoliva@redhat.com>
24640
24641 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24642
5c447383
AO
246432012-09-05 Alexandre Oliva <aoliva@redhat.com>
24644
24645 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24646 change internal state upon failure.
24647
fad64255
AO
246482012-09-05 Alexandre Oliva <aoliva@redhat.com>
24649
24650 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24651 * malloc/memusage.c (mmap): Likewise.
24652 (mmap64, mremap): Likewise. Adjust name in comment.
24653
1ffb8c90
SP
246542012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24655
24656 * libio/fileops.c: Fix typos in comments.
24657 * libio/oldfileops.c: Likewise.
24658 * libio/wfileops.c: Likewise.
24659
6ef9cc37
SP
246602012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24661
24662 [BZ #1349]
24663 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24664 (tst-malloc-usable-ENV): Set environment for test case.
24665 * malloc/hooks.c (malloc_check_get_size): New function to get
24666 requested size.
24667 * malloc/malloc.c (musable): Use malloc_check_get_size.
24668 * malloc/tst-malloc-usable.c: New test case.
24669
4d038ae3
AS
246702012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24671
24672 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24673
c4e85184
AM
246742012-09-05 Allan McRae <allan@archlinux.org>
24675
b9dafc56 24676 [BZ #13966]
c4e85184
AM
24677 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24678 determine header location.
24679 * configure: Regenerated.
24680
e1343020
AS
246812012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24682
24683 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24684 float format.
24685 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
24686 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24687 format.
e1343020
AS
24688 (test): Regenerate.
24689
0a9f1987
DM
246902012-09-04 David S. Miller <davem@davemloft.net>
24691
24692 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24693 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24694 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24695
29237804
FW
246962012-09-04 Florian Weimer <fweimer@redhat.com>
24697
24698 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24699 failures.
24700
edb3cb88
FW
24701 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24702
60160d83
JM
247032012-09-04 Joseph Myers <joseph@codesourcery.com>
24704
24705 [BZ #9914]
24706 * libio/iogetdelim.c: Include <limits.h>.
24707 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24708 + len + 1 would overflow.
24709
bcd6c8dc
AJ
247102012-09-03 Andreas Jaeger <aj@suse.de>
24711
24712 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24713 * sysdeps/i386/fpu/libm-test-ulps: Update.
24714
4ffffbd2
LD
247152012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24716
24717 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24718 Add s_sinf-sse2, s_conf-sse2.
24719
24720 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24721 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24722 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24723 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24724
24725 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24726 for using routine as __sinf_ia32.
24727 Use macro for function declaration and weak_alias.
24728 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24729 for using routine as __cosf_ia32.
24730 Use macro for function declaration and weak_alias.
24731
24732 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24733 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24734
24735 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24736 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24737 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24738
24739 * math/libm-test.inc (cos_test): Add more test cases.
24740 (sin_test): Likewise.
24741 (sincos_test): Likewise.
24742
511fa286
AK
247432012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24744
24745 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24746 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24747 hidden.
24748 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24749
5f30cfec
L
247502012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24751
24752 [BZ #14538]
24753 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24754 first element of the GOT.
24755 (elf_machine_load_address): Return the difference between
24756 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24757
0786794f
AM
247582012-09-01 Allan McRae <allan@archlinux.org>
24759
5f30cfec
L
24760 [BZ #13412]
24761 * configure.in (AWK): Require gawk version 3.0 or later.
24762 * configure: Regenerated.
0786794f 24763
26889eac
JM
247642012-09-01 Joseph Myers <joseph@codesourcery.com>
24765
24766 * sysdeps/unix/sysv/linux/kernel-features.h
24767 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24768 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24769 [__NR_clock_getres]: Make code unconditional.
24770 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24771 (clock_getcpuclockid): Remove code left unreachable by removal of
24772 conditionals.
24773 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24774 code unconditional.
24775 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24776 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24777 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24778 Make code unconditional.
24779 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24780 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24781 * sysdeps/unix/sysv/linux/clock_settime.c
24782 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24783 conditional code.
24784 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24785 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24786
d22e28b0
L
247872012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24788
24789 [BZ #14476]
24790 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24791 scripts/test-installation.pl.
24792
24793 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24794 and $ld_so_version if it is set.
24795
050af9c4
SP
247962012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24797
24798 [BZ #14516]
24799 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24800 failure if reading from procfs failed.
24801 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24802
ad845c0b
JM
248032012-08-27 Joseph Myers <joseph@codesourcery.com>
24804
24805 * sysdeps/unix/sysv/linux/kernel-features.h
24806 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24807 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24808 Remove conditional code.
24809 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24810 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24811 Remove conditional code.
24812 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24813 * sysdeps/unix/sysv/linux/i386/fxstat.c
24814 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24815 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24816 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24817 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24818 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24819 * sysdeps/unix/sysv/linux/i386/lxstat.c
24820 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24821 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24822 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24823 Remove conditional code.
24824 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24825 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24826 Remove conditional code.
24827 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24828 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24829 <kernel-features.h>.
24830 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24831 Remove.
24832 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24833 Remove conditional code.
24834 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24835 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24836 Remove conditional.
24837
5dbf56af
MF
248382012-08-27 Mike Frysinger <vapier@gentoo.org>
24839
24840 [BZ #5400]
24841 * NEWS: Add fixed bug number.
24842
d6e70f43
JM
248432012-08-27 Joseph Myers <joseph@codesourcery.com>
24844
7efb4737
JM
24845 [BZ #14519]
24846 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24847 underflowing exponent in case of negative sign.
24848 * stdlib/tst-strtod-round-data: Add more tests.
24849 * stdlib/tst-strtod-round.c (tests): Regenerated.
24850
af92131a
JM
24851 [BZ #3479]
24852 * stdlib/strtod_l.c (NDIG): Remove.
24853 (HEXNDIG): Likewise.
24854 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24855 smallest representable value.
24856 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24857 lie within an exact representation of 1/2 ulp of the result.
24858 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24859 unconditionally.
24860 (TENS_P9_IDX): Define unconditionally.
24861 (TENS_P9_SIZE): Likewise.
24862 (TENS_P10_IDX): Likewise.
24863 (TENS_P10_SIZE): Likewise.
24864 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24865 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24866 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24867 entries for 10^2^13 and 10^2^14.
24868 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24869 (TENS_P13_IDX): Define.
24870 (TENS_P13_SIZE): Likewise.
24871 (TENS_P14_IDX): Likewise.
24872 (TENS_P14_SIZE): Likewise.
24873 (_fpioconst_pow10): Change array size to
24874 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24875 unconditional.
24876 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24877 1024]: Add entries for 10^2^13 and 10^2^14.
24878 [LAST_POW10 > _LAST_POW10]: Remove #error.
24879 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24880 (_fpioconst_pow10): Change array size to
24881 FPIOCONST_POW10_ARRAY_SIZE.
24882 * stdlib/gen-fpioconst.c: New file.
24883 * stdlib/gen-tst-strtod-round.c: Likewise.
24884 * stdlib/tst-strtod-round-data: Likewise.
24885 * stdlib/tst-strtod-round.c: Likewise.
24886 * stdlib/Makefile (tests): Add tst-strtod-round.
24887
d6e70f43
JM
24888 [BZ #14459]
24889 * stdlib/strtod_l.c: Include <stdint.h>.
24890 (NDEBUG): Do not define.
24891 (round_and_return): Change EXPONENT parameter to type intmax_t.
24892 Rearrange calculations to avoid internal overflow possibilities.
24893 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24894 Rearrange calculations to avoid internal overflow possibilities.
24895 Assert that number fits inside MPNSIZE limbs.
24896 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24897 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24898 calculations and add assertions to avoid internal overflow
24899 possibilities. Add casts to avoid signed/unsigned operations.
24900 * stdlib/tst-strtod-overflow.c: New file.
24901 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24902
1f529f7d
MP
249032012-08-25 Marek Polacek <polacek@redhat.com>
24904
24905 * time/time.h: Fix some typos in comments.
24906
59a629f1
RM
249072012-08-23 Roland McGrath <roland@hack.frob.com>
24908
24909 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24910 * posix/tst-rfc3484-2.c: Likewise.
24911 * posix/tst-rfc3484-3.c: Likewise.
24912
d3bafbc9
SM
249132012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24914
24915 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24916 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24917
4efcc022
JM
249182012-08-23 Joseph Myers <joseph@codesourcery.com>
24919
24920 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24921 #include of fxstatat64.c.
24922
3cc3ef96
RM
249232012-08-22 Roland McGrath <roland@hack.frob.com>
24924
f04e2132
RM
24925 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24926 * shadow/getspent_r.c: Likewise.
24927 * shadow/getspnam.c: Likewise.
24928 * shadow/getspnam_r.c: Likewise.
24929 * gshadow/getsgent.c: Likewise.
24930 * gshadow/getsgent_r.c: Likewise.
24931 * gshadow/getsgnam.c: Likewise.
24932 * gshadow/getsgnam_r.c: Likewise.
24933 * inet/getnetbyad.c: Likewise.
24934 * inet/getnetbyad_r.c: Likewise.
24935 * inet/getnetbynm.c: Likewise.
24936 * inet/getnetbynm_r.c: Likewise.
24937 * inet/getnetent.c: Likewise.
24938 * inet/getnetent_r.c: Likewise.
24939 * inet/getproto.c: Likewise.
24940 * inet/getproto_r.c: Likewise.
24941 * inet/getprtent.c: Likewise.
24942 * inet/getprtent_r.c: Likewise.
24943 * inet/getprtname.c: Likewise.
24944 * inet/getprtname_r.c: Likewise.
24945 * inet/getrpcbyname.c: Likewise.
24946 * inet/getrpcbyname_r.c: Likewise.
24947 * inet/getrpcbynumber.c: Likewise.
24948 * inet/getrpcbynumber_r.c: Likewise.
24949 * inet/getrpcent.c: Likewise.
24950 * inet/getrpcent_r.c: Likewise.
24951 * inet/getaliasent.c: Likewise.
24952 * inet/getaliasent_r.c: Likewise.
24953 * inet/getaliasname.c: Likewise.
24954 * inet/getaliasname_r.c: Likewise.
24955 * nscd/getgrgid_r.c: Likewise.
24956 * nscd/getgrnam_r.c: Likewise.
24957 * nscd/gethstbyad_r.c: Likewise.
24958 * nscd/gethstbynm3_r.c: Likewise.
24959 * nscd/getpwnam_r.c: Likewise.
24960 * nscd/getpwuid_r.c: Likewise.
24961 * nscd/getsrvbynm_r.c: Likewise.
24962 * nscd/getsrvbypt_r.c: Likewise.
24963 * nscd/gai.c: Likewise.
24964
c53d909c
RM
24965 * configure.in (build_nscd): New substituted variable, set
24966 by --disable-build-nscd and defaults to $use_nscd.
24967 * configure: Regenerated.
24968 * config.make.in (build-nscd): New substituted variable.
24969 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24970 Change conditional to require [$(build-nscd) = yes] as well.
24971 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24972
3cc3ef96
RM
24973 [BZ# 13696]
24974 * configure.in (use_nscd): New substituted variable, set by
24975 --disable-nscd. If enabled, define USE_NSCD.
24976 * configure: Regenerated.
24977 * config.h.in: Add USE_NSCD.
24978 * config.make.in (use-nscd): New substituted variable.
24979 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24980 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24981 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24982 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24983 (CFLAGS-getgrnam_r.c): Likewise.
24984 (CFLAGS-initgroups.c): Likewise.
24985 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24986 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24987 Variables removed.
24988 * inet/getnetgrent_r.c
24989 (nscd_setnetgrent): New function, broken out of ...
24990 (setnetgrent): ... here. Call it.
24991 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24992 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24993 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24994 * nscd/Makefile (routines, aux): Move definitions after include of
24995 Makeconfig. Conditionalize on [$(use-nscd) != no].
24996 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24997 Conditionalize on [USE_NSCD].
24998 (is_nscd, nscd_init_cb): Likewise.
24999 (nss_load_library): Conditionalize init callback on [USE_NSCD].
25000 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25001 * nss/nss_db/db-init.c: Likewise.
25002 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25003 [USE_NSCD].
25004 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25005 (make_request): Use it.
25006 (cache_valid_p): New function.
25007 (__check_pf): Use it.
25008 * NEWS: Add item for --disable-nscd.
25009
07e51550
DL
250102012-08-22 Dmitry V. Levin <ldv@altlinux.org>
25011
25012 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25013 to support sed >= 4.2.1-20-ga9bf076.
25014 * configure: Regenerated.
25015
35a5b08b
RM
250162012-08-22 Roland McGrath <roland@hack.frob.com>
25017
25018 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25019 Conditionalize whole body on [IREL].
25020
8479f23a
JL
250212012-08-22 Jeff Law <law@redhat.com>
25022
25023 [BZ #14505]
25024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25025 if the family is PF_UNSPEC.
25026
48da0b21
MF
250272012-08-22 Mike Frysinger <vapier@gentoo.org>
25028
25029 * Makerules (lib-version): Rename from V.
25030 (install-lib-nosubdir): Change V to lib-version.
25031
15d0da8c
WS
250322012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
25033
25034 [BZ #14252]
25035 * powerpc32/power6/wcschr.c: New file.
25036 * powerpc32/power6/wcscpy.c: New file.
25037 * powerpc32/power6/wcsrchr.c: New file.
25038 * powerpc64/power6/wcschr.c: New file.
25039 * powerpc64/power6/wcscpy.c: New file.
25040 * powerpc64/power6/wcsrchr.c: New file.
25041
bcca0895
MK
250422012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25043
25044 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25045 (two_way_short_needle): Use it.
5a4aaa33
RM
25046 * string/strstr.c (AVAILABLE1_USES_J): Define.
25047 * string/strcasestr.c: Likewise.
99677e57
MK
25048
25049 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25050 array references.
25051 * string/strcasestr.c (TOLOWER): Make side-effect safe.
25052
400726de
MK
25053 [BZ #11607]
25054 * NEWS: Add an entry.
25055 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25056 define their defaults.
25057 (two_way_short_needle): Detect end-of-string on-the-fly.
25058 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25059 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25060 * string/bug-strcasestr1.c: New test.
25061 * string/Makefile: Run it.
25062
20a71f2c
MK
250632012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
25064
25065 [BZ #11607]
25066 * string/str-two-way.h (two_way_short_needle): Optimize matching of
25067 the first character.
25068
21ad0558
RM
250692012-08-21 Roland McGrath <roland@hack.frob.com>
25070
25071 * csu/elf-init.c (__libc_csu_irel): Function removed.
25072 * csu/libc-start.c (apply_irel): New function.
25073 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25074
0e1d9911
JM
250752012-08-21 Joseph Myers <joseph@codesourcery.com>
25076
25077 * sysdeps/unix/sysv/linux/kernel-features.h
25078 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25079 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25080 <kernel-features.h>.
25081 [__NR_fadvise64_64]: Make code unconditional.
25082 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25083 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25084 !__NR_fadvise64_64)]: Likewise.
25085 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25086 !__NR_fadvise64_64))]: Likewise.
25087 [__NR_fadvise64]: Make code unconditional.
25088 [!__NR_fadvise64]: Remove conditional code.
25089 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25090 <kernel-features.h>.
25091 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25092 unconditional.
25093 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25094 conditional code.
25095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25096 not include <kernel-features.h>.
25097 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25098 unconditional.
25099 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25100 conditional code.
25101 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25102 include <kernel-features.h>.
25103 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25104 unconditional.
25105 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25106 conditional code.
25107
14a50c9d
WS
251082012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25109
25110 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25111 slight instruction rearrangements per scrollpipe analysis.
25112 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25113
c0f4faf0
RM
251142012-08-20 Roland McGrath <roland@hack.frob.com>
25115
696da859
RM
25116 * manual/syslog.texi (syslog; vsyslog, closelog):
25117 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25118 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25119
c0f4faf0
RM
25120 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25121 DSOCAPS to match condition on defining it.
25122
348363b2
JM
251232012-08-20 Joseph Myers <joseph@codesourcery.com>
25124
a35cbf28
JM
25125 * sysdeps/unix/sysv/linux/kernel-features.h
25126 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25128 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25129 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25131 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25132 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25134 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25135 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25136
445f7ecd
JM
25137 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25138 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25139
348363b2
JM
25140 * sysdeps/unix/sysv/linux/kernel-features.h
25141 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25142 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25143 unconditional.
25144 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25145 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25146 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25147 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25148 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25149 Make code unconditional.
25150 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25151 (__mmap64) [!__NR_mmap2]: Likewise.
25152 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25153 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25154 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25155 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25156 [__NR_mmap2]: Make code unconditional.
25157 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25158 (__mmap64) [!__NR_mmap2]: Likewise.
25159
bc5bc0e5
AK
251602012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25161
25162 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25163
88d506de
AJ
251642012-08-18 Andreas Jaeger <aj@suse.de>
25165
25166 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25167
493387d2
MF
251682012-08-18 Mike Frysinger <vapier@gentoo.org>
25169
25170 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25171 * include/unistd.h (__have_sock_cloexec): Likewise.
25172 (__have_pipe2): Likewise.
25173 (__have_dup3): Likewise.
25174
a277af22
MF
251752012-08-18 Mike Frysinger <vapier@gentoo.org>
25176
25177 [BZ #9685]
25178 * include/unistd.h (__have_pipe2): Change define into an extern int.
25179 (__have_dup3): Likewise.
25180 * socket/have_sock_cloexec.c: Include fcntl.h.
25181 (__have_pipe2): New variable.
25182 (__have_dup3): Likewise.
25183
fdab8fd3
MF
251842012-08-17 Mike Frysinger <vapier@gentoo.org>
25185
25186 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25187
31035e80
MP
251882012-08-17 Marek Polacek <polacek@redhat.com>
25189
25190 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25191 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25192
3bd9e993
RM
251932012-08-17 Roland McGrath <roland@hack.frob.com>
25194
c91c505f
RM
25195 * configure.in: Add AC_SUBST for sysheaders.
25196 * configure: Regenerated.
25197 * config.make.in (sysheaders): New substituted variable.
25198
7c6f9d53
RM
25199 * sysdeps/unix/mkfifo.c: Moved ...
25200 * sysdeps/posix/mkfifo.c: ... here.
25201 * sysdeps/unix/mkfifoat.c: Moved ...
25202 * sysdeps/posix/mkfifoat.c: ... here.
25203
25204 * sysdeps/unix/utime.c: Moved ...
25205 * sysdeps/posix/utime.c: ... here.
25206
25207 * sysdeps/unix/time.c: Moved ...
25208 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
25209 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25210 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
25211
25212 * sysdeps/unix/nice.c: Moved ...
25213 * sysdeps/posix/nice.c: ... here.
25214
25215 * sysdeps/unix/alarm.c: Moved ...
25216 * sysdeps/posix/alarm.c: ... here.
25217
3bd9e993
RM
25218 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25219
d1f09384
JL
252202012-08-17 Jeff Law <law@redhat.com>
25221
25222 * intl/Makefile (codeset_mo): New variable.
25223 ($(codeset_mo)): New target.
25224 (tst-codeset.out): Depend on that. Remove explicit rule.
25225 (tst-gettext3.out, tst-gettext5.out): Likewise.
25226 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25227 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25228 * intl/tst-codeset.sh: Remove.
25229 * intl/tst-gettext3.sh: Likewise.
25230 * intl/tst-gettext5.sh: Likewise.
25231
2ae1ae5c
RM
252322012-08-17 Roland McGrath <roland@hack.frob.com>
25233
c31fdb83
RM
25234 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25235 * sysdeps/unix/syscalls.list: ... here.
25236
a0844057
RM
25237 * sysdeps/posix/getaddrinfo.c
25238 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25239 (gaiconf_init, gaiconf_reload): Use them.
25240 [!_STATBUF_ST_NSEC]
25241 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25242 Define using time_t rather than struct timespec.
25243
750c1f2a
RM
25244 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25245 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25246 Macros removed.
25247 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25248 [!NO_THREADS].
25249 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25250 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25251 Likewise.
25252
2ae1ae5c
RM
25253 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25254 __libc_cleanup_push argument.
25255
e66a42f5
RM
25256 * bits/param.h: New file.
25257 * misc/sys/param.h: New file.
25258 * include/sys/param.h: New file.
25259 * misc/Makefile (headers): Add bits/param.h.
25260 * sysdeps/generic/sys/param.h: File removed.
25261 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25262 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25263 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 25264 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 25265
b7c08a66
RM
25266 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25267 last change.
25268
b2e1c562
RM
25269 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25270 [_IO_MTSAFE_IO].
25271 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25272 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25273 New macros.
25274
c75ccd4c
RM
25275 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25276 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25277 rather than -D_IO_MTSAFE_IO conditionally.
25278 * stdio-common/Makefile (CPPFLAGS): Likewise.
25279 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25280 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25281 Use $(libio-mtsafe).
25282 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25283 of -D_IO_MTSAFE_IO.
25284 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25285 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25286 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25287 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25288 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25289 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25290 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25291 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25292 (CFLAGS-fread_u_chk.c): Likewise.
25293 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25294 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25295 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25296 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25297 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25298 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25299 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25300 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25301 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25302
25303 * libio/Makefile: Test [$(libc-reentrant) = yes]
25304 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25305
25306 * Makeconfig
25307 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25308 * sysdeps/pthread/configure: File removed.
25309 * sysdeps/pthread/Makeconfig: New file.
25310 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25311 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25312
d9195db8
GB
253132012-08-16 Gary Benson <gbenson@redhat.com>
25314
25315 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25316 unmapping the first object in a namespace.
25317
86466cd9
RM
253182012-08-16 Roland McGrath <roland@hack.frob.com>
25319
25320 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25321 (__internal_setnetgrent): ... this. Add internal_function to
25322 definition. Add libc_hidden_def.
25323 (setnetgrent): Update caller.
25324 (internal_endnetgrent): Renamed to ...
25325 (__internal_endnetgrent): ... this. Add internal_function to
25326 definition. Add libc_hidden_def.
25327 (endnetgrent): Update caller.
25328 (internal_getnetgrent_r): Renamed to ...
25329 (__internal_getnetgrent_r): ... this. Add internal_function to
25330 definition. Add libc_hidden_def.
25331 (__getnetgrent_r): Update caller.
25332 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25333
c3c8283c
JM
253342012-08-16 Joseph Myers <joseph@codesourcery.com>
25335
25336 * stdlib/longlong.h: Update from GCC.
25337
db1ee0a8
RM
253382012-08-16 Roland McGrath <roland@hack.frob.com>
25339
25340 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25341 on _QL, which is set by umul_ppmm but never used.
25342 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25343 variables, which are set by GMP macros but never used.
25344 * stdio-common/_itowa.c (_itowa): Likewise.
25345 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25346 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25347
30f69637
CD
253482012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25349
25350 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25351 struct La_sh_regs is not constant.
25352 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25353 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25354 and struct La_sparc64_regs are not constant.
25355
93a78ac4
JM
253562012-08-16 Joseph Myers <joseph@codesourcery.com>
25357
25358 * sysdeps/unix/sysv/linux/kernel-features.h
25359 (__ASSUME_POSIX_TIMERS): Remove.
25360 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25361 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25362 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25363 Make code unconditional.
25364 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25365 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25366 Make code unconditional.
25367 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25368 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25369 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25370 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25371 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25372 Make code unconditional.
25373 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25374 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25375 (__libc_missing_posix_timers): Remove.
25376
dd924cd7
RM
253772012-08-15 Roland McGrath <roland@hack.frob.com>
25378
4b4f2771
RM
25379 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25380 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25381
601c888b
RM
25382 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25383
176790a7
RM
25384 * elf/dl-sym.c: Include <stdlib.h>.
25385
329bc018
RM
25386 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25387 constants, which avoids warnings in 32-bit builds.
25388
e04e272d
RM
25389 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25390 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25391
952bf94a
RM
25392 * misc/lseek.c: File moved to ...
25393 * io/lseek.c: ... here.
25394
7c99b50a
RM
25395 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25396
dd924cd7
RM
25397 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25398 shifting LEN more than 31 bits at once.
25399
b3f479a8
LD
254002012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25401
25402 [BZ #14195]
8c4ae0d4
RM
25403 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25404 segmentation fault for a case of two empty input strings.
b3f479a8
LD
25405 * string/test-strncasecmp.c (check1): Renamed to...
25406 (bz12205): ...this.
25407 (bz14195): Add new testcase for two empty input strings and N > 0.
25408 (test_main): Call new testcase, adapt for renamed function.
25409
9c55864e
AJ
254102012-08-15 Andreas Jaeger <aj@suse.de>
25411
25412 [BZ #14090]
25413 * crypt/md5test2.c: New test, based on test supplied by Serge
25414 Belyshev <belyshev@depni.sinp.msu.ru>.
25415 * crypt/Makefile (xtests): Add md5test-giant..
25416 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25417
02dcb6c5
PE
254182012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25419
25420 [BZ #14090]
25421 * crypt/md5.c (md5_process_block): Don't assume the buffer
25422 length is less than 2**32.
25423 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25424 length is less than 2**64.
25425
a3f95dcc
RM
254262012-08-15 Roland McGrath <roland@hack.frob.com>
25427
be75d758
RM
25428 * string/str-two-way.h: Include <sys/param.h>.
25429 (MAX): Macro removed.
25430
7312ca90
RM
25431 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25432 Move #define and #undef of memmove to just before and after
25433 including <string.h>.
25434
9a0a5486
RM
25435 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25436 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25437 and after including <string.h>. Move declarations of
25438 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25439 to before #include "string/memmove.c".
25440
67cc348d
RM
25441 * include/dirent.h: Declare __getdirentries.
25442
a3f95dcc
RM
25443 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25444 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25445
ca98e171
MF
254462012-08-14 Mike Frysinger <vapier@gentoo.org>
25447
25448 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25449 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25450 * sysdeps/i386/configure: Regenerated.
25451 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25452 STABS_CURRENT_FILE, and STABS_FUN.
25453 (END): Remove call to STABS_FUN_END.
25454 (STABS_CURRENT_FILE1): Delete.
25455 (STABS_CURRENT_FILE): Likewise.
25456 (STABS_FUN): Likewise.
25457 (STABS_FUN_END): Likewise.
25458 (STABS_FUN2): Likewise.
25459 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25460 * sysdeps/x86_64/configure: Regenerated.
25461
5908bf46
RM
254622012-08-14 Roland McGrath <roland@hack.frob.com>
25463
25464 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 25465 * elf/dl-lookup.c: Likewise.
5908bf46 25466
f2c05b9e
JM
254672012-08-14 Joseph Myers <joseph@codesourcery.com>
25468
25469 * sysdeps/unix/sysv/linux/kernel-features.h
25470 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25471 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25472 unconditionally.
25473 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25474 unconditionally.
25475 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25476 condition on __ASSUME_CLONE_THREAD_FLAGS.
25477
e11f5155
AJ
254782012-08-14 Andreas Jaeger <aj@suse.de>
25479
25480 * sysdeps/i386/fpu/libm-test-ulps: Update.
25481
51a9ba86
MK
254822012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25483
2fdd4f78
AJ
25484 * include/atomic.h (atomic_exchange_and_add): Split into ...
25485 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25486 New atomic macros.
51a9ba86 25487
ba6cba9e
MT
254882012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25489
25490 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25491
42443a47
JL
254922012-08-13 Jeff Law <law@redhat.com>
25493
25494 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25495 null byte in the output string.
25496
121dce05
JM
254972012-08-10 Joseph Myers <joseph@codesourcery.com>
25498
25499 * sysdeps/unix/sysv/linux/kernel-features.h
25500 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25501 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25502 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25503 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25504 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25505 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25506 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25507
bf51f568
JL
255082012-08-09 Jeff Law <law@redhat.com>
25509
25510 [BZ #13939]
25511 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25512 When avoid_arena is set, don't retry in the that arena. Pick the
25513 next one, whatever it might be.
25514 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25515 (arena_lock): Pass in new parameter to arena_get2.
25516 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25517 arena_get2.
25518 (__libc_malloc): Unify retrying after main arena failure with
25519 __libc_memalign version.
25520 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25521
f85fa270
L
255222012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25523
25524 [BZ #14166]
25525 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25526 to __redirect_strstr.
25527 (__strstr_sse42): Use typeof __redirect_strstr.
25528 (__strstr_ia32): Likewise.
25529 (__libc_strstr): New prototype.
25530 (strstr): Renamed to ...
25531 (__libc_strstr): This.
25532 (strstr): New strong alias of __libc_strstr.
25533 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25534 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25535 __redirect_time.
25536 Include <time.h>.
25537 (__libc_time): New prototype.
25538 (time_ifunc): Replace time with __libc_time.
25539 (time): New strong alias and hidden definition of __libc_time.
25540 (__GI_time): Remove strong alias.
25541 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25542 Include <stddef.h>.
25543 (memmove): Redefined to __redirect_memmove.
25544 (__memmove_sse2): Use typeof __redirect_memmove.
25545 (__memmove_ssse3): Likewise.
25546 (__memmove_ssse3_back): Likewise.
25547 (__libc_memmove): New prototype.
25548 (memmove): Renamed to ...
25549 (__libc_memmove): This.
25550 (memmove): New strong alias of __libc_memmove.
25551
33b4a91e
MS
255522012-08-08 Mark Salter <msalter@redhat.com>
25553
25554 * elf/elf.h
25555 (R_MN10300_TLS_GD): Define.
25556 (R_MN10300_TLS_LD): Likewise.
25557 (R_MN10300_TLS_LDO): Likewise.
25558 (R_MN10300_TLS_GOTIE): Likewise.
25559 (R_MN10300_TLS_IE): Likewise.
25560 (R_MN10300_TLS_LE): Likewise.
25561 (R_MN10300_TLS_DTPMOD): Likewise.
25562 (R_MN10300_TLS_DTPOFF): Likewise.
25563 (R_MN10300_TLS_TPOFF): Likewise.
25564 (R_MN10300_SYM_DIFF): Likewise.
25565 (R_MN10300_ALIGN): Likewise.
25566 (R_MN10300_NUM): Update.
25567
b36137f1
JM
255682012-08-08 Joseph Myers <joseph@codesourcery.com>
25569
25570 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25571 Remove.
25572
cdd915fd
RM
255732012-08-08 Roland McGrath <roland@hack.frob.com>
25574
a2433aac
RM
25575 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25576
cdd915fd
RM
25577 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25578 sysdeps/unix -> sysdeps/posix move.
25579 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25580
bf9b740a
AM
255812012-08-07 Allan McRae <allan@archlinux.org>
25582
25583 [BZ #14303]
25584 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25585 (SUNOS_CPP): Likewise.
25586 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25587 not found.
25588 (open_input): Call CPP using execvp.
25589
93df14ee
JM
255902012-08-07 Joseph Myers <joseph@codesourcery.com>
25591
25592 * sysdeps/unix/sysv/linux/kernel-features.h
25593 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25594 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25595 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25596 (__ASSUME_WAITID_SYSCALL): Likewise.
25597 * sysdeps/unix/sysv/linux/dl-execstack.c
25598 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25599 code unconditional.
25600 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25601 conditional code.
25602 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25603 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25604 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25605 code.
25606 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25607 unconditional.
25608 [__ASSUME_WAITID_SYSCALL]: Likewise.
25609 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25610
d34689de
RM
256112012-08-07 Roland McGrath <roland@hack.frob.com>
25612
a281decc
RM
25613 * sysdeps/unix/closedir.c: Renamed to ...
25614 * sysdeps/posix/closedir.c: ... here.
25615 * sysdeps/unix/dirfd.c: Renamed to ...
25616 * sysdeps/posix/dirfd.c: ... here.
25617 * sysdeps/unix/dirstream.h: Renamed to ...
25618 * sysdeps/posix/dirstream.h: ... here.
25619 * sysdeps/unix/fdopendir.c: Renamed to ...
25620 * sysdeps/posix/fdopendir.c: ... here.
25621 * sysdeps/unix/opendir.c: Renamed to ...
25622 * sysdeps/posix/opendir.c: ... here.
25623 * sysdeps/unix/readdir.c: Renamed to ...
25624 * sysdeps/posix/readdir.c: ... here.
25625 * sysdeps/unix/readdir_r.c: Renamed to ...
25626 * sysdeps/posix/readdir_r.c: ... here.
25627 * sysdeps/unix/rewinddir.c: Renamed to ...
25628 * sysdeps/posix/rewinddir.c: ... here.
25629 * sysdeps/unix/seekdir.c: Renamed to ...
25630 * sysdeps/posix/seekdir.c: ... here.
25631 * sysdeps/unix/telldir.c: Renamed to ...
25632 * sysdeps/posix/telldir.c: ... here.
25633 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25634 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25635 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25636 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25637
22895b47
RM
25638 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25639 * bits/fcntl.h: ... here.
25640
707a53b6
RM
25641 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25642 not 0.
25643 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25644 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25645 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25646 (struct flock): Move l_start, l_len to the beginning.
25647 Use __pid_t for l_pid.
25648 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25649 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25650 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25651 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25652 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25653 [__USE_LARGEFILE64] (struct flock64): New type.
25654 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25655
f0bd3e25
RM
25656 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25657 * bits/dirent.h: ... here.
25658
d34689de
RM
25659 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25660 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25661
6dad2c06
JM
256622012-08-07 Joseph Myers <joseph@codesourcery.com>
25663
25664 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25665 Change from 2.6.0 to 2.6.16.
25666 * sysdeps/unix/sysv/linux/configure: Regenerated.
25667 * sysdeps/unix/sysv/linux/kernel-features.h
25668 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25669 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25670 version.
25671 (__ASSUME_UTIMES): Likewise.
25672 (__ASSUME_CLONE_STOPPED): Remove.
25673 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25674 architectures, not kernel version.
25675 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25676 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25677 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25678 (__ASSUME_WAITID_SYSCALL): Likewise.
25679 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25680 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25681 * README: State 2.6.16 as minimum Linux kernel version. Do not
25682 refer to older versions.
25683
03af9520
RM
256842012-08-06 Roland McGrath <roland@hack.frob.com>
25685
8e49df1d
RM
25686 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25687 Define alphasort64 as an alias.
25688 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25689 Define versionsort64 as an alias.
25690 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25691 Define scandir64 as an alias.
25692 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25693 Define scandirat64 as an alias.
25694 * dirent/alphasort64.c (alphasort64):
25695 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25696 * dirent/versionsort64.c: Likewise.
25697 * dirent/scandir64.c: Likewise.
25698 * dirent/scandirat64.c: Likewise.
25699 * sysdeps/wordsize-64/alphasort.c: File removed.
25700 * sysdeps/wordsize-64/alphasort64.c: File removed.
25701 * sysdeps/wordsize-64/scandir.c: File removed.
25702 * sysdeps/wordsize-64/scandir64.c: File removed.
25703 * sysdeps/wordsize-64/scandirat.c: File removed.
25704 * sysdeps/wordsize-64/scandirat64.c: File removed.
25705 * sysdeps/wordsize-64/versionsort.c: File removed.
25706 * sysdeps/wordsize-64/versionsort64.c: File removed.
25707 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25708 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25709 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25710 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25711 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25712 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25713 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25714 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25715
25716 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25717 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25718 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25719 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25720 [defined __arch64__ || defined __sparcv9]
25721 (__INO_T_MATCHES_INO64_T): New macro.
25722 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25723 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25724 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25725 * sysdeps/unix/sysv/linux/bits/dirent.h
25726 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25727 (_DIRENT_MATCHES_DIRENT64): New macro.
25728
03af9520
RM
25729 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25730 Define lockf64 as an alias.
25731 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25732 Define fseeko64 as an alias.
25733 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25734 Define ftello64 as an alias.
25735 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25736 Define _IO_fgetpos64 and fgetpos64 as aliases.
25737 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25738 Define _IO_fsetpos64 and fsetpos64 as aliases.
25739 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25740 Conditionalize body on this.
25741 * libio/fseeko64.c: Likewise.
25742 * libio/ftello64.c: Likewise.
25743 * libio/iofgetpos64.c: Likewise.
25744 * libio/iofsetpos64.c: Likewise.
25745 * sysdeps/wordsize-64/lockf.c: File removed.
25746 * sysdeps/wordsize-64/lockf64.c: File removed.
25747 * sysdeps/wordsize-64/fseeko.c: File removed.
25748 * sysdeps/wordsize-64/fseeko64.c: File removed.
25749 * sysdeps/wordsize-64/ftello.c: File removed.
25750 * sysdeps/wordsize-64/ftello64.c: File removed.
25751 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25752 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25753 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25754 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25755 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25756 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25757 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25758 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25759 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25760 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25761 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25762 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25763 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25764 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25765
25766 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25767 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25768 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25769 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25770 [defined __arch64__ || defined __sparcv9]
25771 (__OFF_T_MATCHES_OFF64_T): New macro.
25772 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25773 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25774 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25775 (__OFF_T_MATCHES_OFF64_T): New macro.
25776
c5757acd
L
257772012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25778
25779 * stdlib/secure-getenv.c (__secure_getenv): Replace
25780 GLIBC_2_16 with GLIBC_2_17.
25781
3a31811e
L
257822012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25783
25784 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25785 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25786
faa2bccb
DM
257872012-08-03 David S. Miller <davem@davemloft.net>
25788
25789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25790
85fe1997
JM
257912012-08-03 Joseph Myers <joseph@codesourcery.com>
25792
25793 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25794 Remove.
25795 (__ASSUME_CORRECT_SI_PID): Likewise.
25796 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25797 (__ASSUME_TMPFS_NAME): Likewise.
25798 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25799 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25800 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25801 (HAVE_AUX_SECURE): Make definition unconditional.
25802 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25803 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25804
4f75b7a0
RM
258052012-08-03 Roland McGrath <roland@hack.frob.com>
25806
25807 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25808 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25809 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25810 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25811 __eloop_threshold instead of SYMLOOP_MAX.
25812
25813 * sysdeps/generic/eloop-threshold.h: New file.
25814 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25815 of MAXSYMLINKS.
25816 * elf/chroot_canon.c (chroot_canon): Likewise.
25817
7aab07e4
JM
258182012-08-03 Joseph Myers <joseph@codesourcery.com>
25819
25820 [BZ #13717]
25821 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25822 Change to 2.6.0 everywhere.
25823 * sysdeps/unix/sysv/linux/configure: Regenerated.
25824 * sysdeps/unix/sysv/linux/kernel-features.h
25825 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25826 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25827 kernel versions.
25828 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25829 (__ASSUME_FUTEX_REQUEUE): Remove.
25830 (__ASSUME_STATFS64): Define unconditionally.
25831 (__ASSUME_AT_SECURE): Likewise.
25832 (__ASSUME_CORRECT_SI_PID): Likewise.
25833 (__ASSUME_TGKILL): Define without depending on kernel version for
25834 i386.
25835 (__ASSUME_UTIMES): Likewise.
25836 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25837 kernel version.
25838 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25839 (__ASSUME_TMPFS_NAME): Likewise.
25840 * README: Update reference to Linux kernel versions.
25841
b67e9372
MP
258422012-08-02 Marek Polacek <polacek@redhat.com>
25843
1f529f7d 25844 [BZ# 14150]
b67e9372
MP
25845 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25846 libc_cv_asm_type_prefix with %.
25847 * configure: Regenerated.
d2441631
RM
25848 * include/libc-symbols.h: Remove comment about
25849 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25850 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25851 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25852 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25853 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25854 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25855 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25856 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25857 * elf/tst-unique2mod1.c: Likewise.
25858 * elf/tst-unique1mod2.c: Likewise.
25859 * elf/tst-unique1mod1.c: Likewise.
25860 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25861 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25862 Replace ASM_TYPE_DIRECTIVE with .type.
25863 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25864 * sysdeps/i386/sysdep.h: Likewise.
25865 * sysdeps/x86_64/sysdep.h: Likewise.
25866 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25868 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25869 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25870 * sysdeps/powerpc/powerpc32/sysdep.h:
25871 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25872 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25873 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25874 * sysdeps/i386/fpu/e_powf.S: Likewise.
25875 * sysdeps/i386/fpu/e_expl.S: Likewise.
25876 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25877 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25878 * sysdeps/i386/fpu/e_pow.S: Likewise.
25879 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25880 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25881 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25882 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25883 * sysdeps/i386/fpu/e_log2.S: Likewise.
25884 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25885 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25886 * sysdeps/i386/fpu/e_powl.S: Likewise.
25887 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25888 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25889 * sysdeps/i386/fpu/e_logl.S: Likewise.
25890 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25891 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25892 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25893 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25894 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25895 * sysdeps/i386/fpu/e_log.S: Likewise.
25896 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25897 * sysdeps/i386/fpu/e_logf.S: Likewise.
25898 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25899 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25900 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25901 * sysdeps/i386/fpu/e_log10.S: Likewise.
25902 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25903 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25904 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25905 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25906 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25907 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25908 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25909 * sysdeps/i386/i686/strtok.S: Likewise.
25910 * sysdeps/i386/i386-mcount.S: Likewise.
25911 * sysdeps/i386/strtok.S: Likewise.
25912 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25913 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25914 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25915 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25916 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25917 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25918 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25919 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25920 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25921 * sysdeps/x86_64/_mcount.S: Likewise.
25922 * sysdeps/x86_64/strtok.S: Likewise.
25923 * sysdeps/sh/_mcount.S: Likewise.
25924
2747bf9a
RM
259252012-08-01 Roland McGrath <roland@hack.frob.com>
25926
25927 * libio/iofopen.c: Include <fcntl.h>.
25928 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25929 (_IO_fopen64, fopen64): Define as aliases.
25930 * libio/iofopen64.c: Include <fcntl.h>.
25931 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25932 Conditionalize body on this.
25933 * sysdeps/wordsize-64/iofopen.c: File removed.
25934 * sysdeps/wordsize-64/iofopen64.c: File removed.
25935
3fb791b8
MP
259362012-08-01 Marek Polacek <polacek@redhat.com>
25937
25938 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25939 Use dlfcn directly instead of a variable.
25940 (binfmt-subdir): Do not define.
25941 (dlfcn): Likewise.
25942
a9f1039f
JM
259432012-08-01 Joseph Myers <joseph@codesourcery.com>
25944
23bddc06
JM
25945 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25946 Remove all definitions.
25947 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25948 <kernel-features.h>.
25949 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25950 (miss_F_GETOWN_EX): Remove all definitions.
25951 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25952 macro definition.
25953 [!__ASSUME_FCNTL64]: Remove conditional code.
25954 [__ASSUME_FCNTL64]: Make code unconditional.
25955 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25956 <kernel-features.h>.
25957 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25958 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25959 (lockf64) [__NR_fcntl64]: Make code unconditional.
25960 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25961
a9f1039f
JM
25962 * sysdeps/unix/sysv/linux/kernel-features.h
25963 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25964 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25965 Make code unconditional.
25966 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25967 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25969 [__NR_vfork]: Make code unconditional.
25970 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25971 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25973 [__NR_vfork]: Make code unconditional.
25974 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25975 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25976
09c0ee5f
RM
259772012-08-01 Roland McGrath <roland@hack.frob.com>
25978
48aec5b9
RM
25979 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25980 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25981
cd97c966
RM
25982 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25983 Define mkstemp64 as an alias.
3f55550c
RM
25984 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25985 Define mkstemps64 as an alias.
cd97c966
RM
25986 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25987 Define mkostemp64 as an alias.
b8625cfc
RM
25988 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25989 Define mkostemps64 as an alias.
cd97c966
RM
25990 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25991 Conditionalize body on this.
25992 * misc/mkostemp64.c: Likewise.
b8625cfc 25993 * misc/mkostemps64.c: Likewise.
3f55550c 25994 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25995 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25996 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25997 * sysdeps/wordsize-64/mkostemp.c: File removed.
25998 * sysdeps/wordsize-64/mkstemp.c: File removed.
25999 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26000 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26001 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26002 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26003
09c0ee5f
RM
26004 [BZ #14138]
26005 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26006 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26007 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26008 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26009
26010 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26011 compat_symbol macros from <shlib-compat.h> rather than the underlying
26012 default_symbol_version and symbol_version macros, so that DEFAULT
26013 lines in shlib-versions are respected.
26014 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26015
7e66ee51
FW
260162012-08-01 Florian Weimer <fweimer@redhat.com>
26017
26018 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26019 Declare with warn_unused_result.
26020 (setgid, setregid, setegid, setresgid): Likewise.
26021 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26022 Likewise.
26023 * WUR-REPORT: Remove set*id functions.
26024
d2a54255
PT
260252012-07-31 Pino Toscano <toscano.pino@tiscali.it>
26026
26027 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26028
7ecdb005
RM
260292012-07-31 Roland McGrath <roland@hack.frob.com>
26030
b4180a5e 26031 [BZ #10191]
789bd351
RM
26032 * include/sys/socket.h (__libc_accept, __libc_accept4):
26033 Add attribute_hidden.
26034 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26035
40ce302d
RM
26036 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26037 use of PTR_MANGLE.
26038 * inet/getnetgrent_r.c (setup): Likewise.
26039
7ecdb005
RM
26040 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26041
e2eabb2c
DM
260422012-07-31 David S. Miller <davem@davemloft.net>
26043
26044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26045
d0419dbf
JM
260462012-07-31 Joseph Myers <joseph@codesourcery.com>
26047
26048 [BZ #13629]
26049 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26050 value between 1.0 and 2.0 and smaller part has absolute value less
26051 than 1.0.
26052 * math/s_clog10.c (__clog10): Likewise.
26053 * math/s_clog10f.c (__clog10f): Likewise.
26054 * math/s_clog10l.c (__clog10l): Likewise.
26055 * math/s_clogf.c (__clogf): Likewise.
26056 * math/s_clogl.c (__clogl): Likewise.
26057 * math/libm-test.inc (clog_test): Add more tests.
26058 (clog10_test): Likewise.
26059 * sysdeps/i386/fpu/libm-test-ulps: Update.
26060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26061
2bc13872
FW
260622012-07-31 Florian Weimer <fweimer@redhat.com>
26063
26064 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26065 Exit with zero in case no suitable GID is found, and write a
26066 message to standard error.
26067
bea9b193
RM
260682012-07-30 Roland McGrath <roland@hack.frob.com>
26069
26070 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26071 rather than to 1.
26072 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26073 (MAXPATHLEN): Removed.
26074 (NOGROUP, NODEV): New macros.
26075 (setbit, clrbit, isset, isclr): New macros.
26076 (howmany, roundup, powerof2): New macros.
26077 (DEV_BSIZE): New macro.
26078
26079 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26080 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26081
26082 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26083 definition on [!__NO_LONG_DOUBLE_MATH].
26084
26085 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26086 PTR_MANGLE and PTR_DEMANGLE.
26087
26088 * socket/accept4.c (accept4): Rename to __libc_accept4.
26089 Define accept4 as a weak alias.
26090
26091 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26092 on [_DIRENT_HAVE_D_TYPE].
26093 * io/ftw.c (ftw_dir): Likewise.
26094
26095 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26096
26097 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26098
26099 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26100 Use the BSD numbers rather than the arbitrary ones we had.
26101 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26102 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26103 (SIGXCPU, SIGXFSZ): New macros.
26104 (_NSIG): Now 32.
26105
26106 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26107 initializer on [_LIBC_REENTRANT].
26108
26109 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26110 definitions inside [_POSIX_MAPPED_FILES].
26111
26112 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26113
26114 * dirent/opendir.c: Include <fcntl.h>.
26115
26116 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26117 (__libc_getspecific): Likewise.
26118 (__libc_key_create): Likewise.
26119
26120 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26121 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26122 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26123 (tmpfile64): Define as alias.
26124 * sysdeps/wordsize-64/tmpfile.c: File removed.
26125 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26126 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26127 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26128
26129 * stdio-common/vfscanf.c: Include <stdbool.h>.
26130 * nss/makedb.c: Likewise.
26131 * stdio-common/_i18n_number.h: Likewise.
26132 * argp/argp-help.c: Likewise.
26133 * posix/wordexp.c: Likewise.
26134 * sysdeps/posix/spawni.c: Likewise.
26135 * nss/nss_files/files-initgroups.c: Likewise.
26136 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26137 * nss/nss_files/files-initgroups.c: Likewise.
26138 * nss/nss_db/db-netgrp.c: Likewise.
26139 * nss/nss_db/db-initgroups.c: Likewise.
26140 * io/fchmodat.c: Include <sys/stat.h>.
26141
26142 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26143 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26144
26145 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26146 [HAVE_MMAP].
26147
26148 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26149 Add multiple inclusion protection.
26150
e5abc686
DM
261512012-07-27 David S. Miller <davem@davemloft.net>
26152
26153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26154
815e6fa3
GB
261552012-07-27 Gary Benson <gbenson@redhat.com>
26156
26157 [BZ #14298]
26158 * elf/rtld.c: Include <stap-probe.h>.
26159 (dl_main): Added static probes "init_start" and "init_complete".
26160 * elf/dl-load.c: Include <stap-probe.h>.
26161 (lose): Take new parameter "nsid".
26162 Added static probe "map_failed".
26163 (_dl_map_object_from_fd): Pass namespace id to lose.
26164 Added static probe "map_start".
26165 (open_verify): Pass namespace id to lose.
26166 * elf/dl-open.c: Include <stap-probe.h>.
26167 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26168 and "reloc_complete".
26169 * elf/dl-close.c: Include <stap-probe.h>.
26170 (_dl_close_worker): Added static probes "unmap_start" and
26171 "unmap_complete".
26172 * elf/rtld-debugger-interface.txt: New file documenting the above.
26173
9f98c16c
RM
261742012-07-26 Roland McGrath <roland@hack.frob.com>
26175
26176 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26177 rather than a string variable.
26178 * sunrpc/rpc_main.c (h_output): Likewise.
26179 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26180
f3c22df3
PT
261812012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26182
26183 * inet/check_native.c: New file.
26184
3129cfc6
JM
261852012-07-26 Joseph Myers <joseph@codesourcery.com>
26186
da865e95
JM
26187 [BZ #13629]
26188 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26189 if larger part has absolute value 1.0.
26190 * math/s_clog10.c (__clog10): Likewise.
26191 * math/s_clog10f.c (__clog10f): Likewise.
26192 * math/s_clog10l.c (__clog10l): Likewise.
26193 * math/s_clogf.c (__clogf): Likewise.
26194 * math/s_clogl.c (__clogl): Likewise.
26195 * math/libm-test.inc (clog_test): Add more tests.
26196 (clog10_test): Likewise.
26197 * sysdeps/i386/fpu/libm-test-ulps: Update.
26198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26199
3129cfc6
JM
26200 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26201 (pltexit): Likewise.
26202 (La_regs): Likewise.
26203 (La_retval): Likewise.
26204 (int_retval): Likewise.
26205 Update #error for removed macros to refer only to definitions in
26206 tst-audit.h.
26207 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26208 macro.
26209 (pltexit): Likewise.
26210 (La_regs): Likewise.
26211 (La_retval): Likewise.
26212 (int_retval): Likewise.
26213 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26214 macro.
26215 (pltexit): Likewise.
26216 (La_regs): Likewise.
26217 (La_retval): Likewise.
26218 (int_retval): Likewise.
26219 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26220 macro.
26221 (pltexit): Likewise.
26222 (La_regs): Likewise.
26223 (La_retval): Likewise.
26224 (int_retval): Likewise.
26225 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26226 macro.
26227 (pltexit): Likewise.
26228 (La_regs): Likewise.
26229 (La_retval): Likewise.
26230 (int_retval): Likewise.
26231 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26232 macro.
26233 (pltexit): Likewise.
26234 (La_regs): Likewise.
26235 (La_retval): Likewise.
26236 (int_retval): Likewise.
26237 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26238 macro.
26239 (pltexit): Likewise.
26240 (La_regs): Likewise.
26241 (La_retval): Likewise.
26242 (int_retval): Likewise.
26243 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26244 macro definitions in tst-audit.h.
26245 * sysdeps/i386/tst-audit.h: New file.
26246 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26247 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26248 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26249 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26250 * sysdeps/sh/tst-audit.h: Likewise.
26251 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26252 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26253 * sysdeps/x86_64/tst-audit.h: Likewise.
26254
bfc07087
AJ
262552012-07-26 Andreas Jaeger <aj@suse.de>
26256
b1b2aaf8
AJ
26257 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26258 ptrace.
26259
26260 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26261 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26262 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26263 PTRACE_O_MASK.
26264 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26265 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26266 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26267
bfc07087
AJ
26268 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26269 value.
26270
26271 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26272 _sigsys.
26273 (si_call_addr, si_syscall, si_arch): Define new macro.
26274 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26275 _sigsys.
26276 (si_call_addr, si_syscall, si_arch): Define new marcro.
26277 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26278 _sigsys.
26279 (si_call_addr, si_syscall, si_arch): Define new macro.
26280 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26281 _sigsys.
26282 (si_call_addr, si_syscall, si_arch): Define new macro.
26283
89b4b02f
JM
262842012-07-25 Joseph Myers <joseph@codesourcery.com>
26285
26286 [BZ #13717]
26287 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26288 Change to 2.4.21 where previously 2.4.1.
26289 * sysdeps/unix/sysv/linux/configure: Regenerated.
26290 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26291 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26292 Linux kernel version.
26293 (__ASSUME_STD_AUXV): Remove.
26294 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26295 kernel version.
26296 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26297 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26298 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26299 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26300 (__ASSUME_NETLINK_SUPPORT): Likewise.
26301 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26302 (__no_netlink_support): Remove conditional definition.
26303 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26304 Remove.
26305 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26306 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26307 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26308 (if_nameindex_ioctl): Remove.
26309 (if_nameindex_netlink): Do not handle __no_netlink_support.
26310 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26311 code.
26312 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26313 Remove conditional code.
26314 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26315 code.
26316 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26317 unconditional.
26318 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26319 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26320 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26321 Remove.
26322 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26323 [!__ASSUME_STD_AUXV]: Remove conditional code.
26324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26325 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26326 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26328 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26329 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26330 code.
26331 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26333 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26334 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26335 conditional code.
26336 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26338 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26339 code.
26340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26341 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26342 conditional code.
26343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26344 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26345 code unconditional.
26346 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26347 conditional code.
26348 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26349 unconditional.
26350 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26351 conditional code.
26352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26353 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26354 unconditional.
26355 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26356 conditional code.
26357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26358 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26359 code unconditional.
26360 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26361 conditional code.
26362 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26363 unconditional.
26364 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26365 conditional code.
26366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26367 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26368 code unconditional.
26369 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26370 conditional code.
26371 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26372 unconditional.
26373 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26374 conditional code.
26375
842a39cd
AS
263762012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26377
26378 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26379 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26380 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26381 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26382 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26383 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26384 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26385 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26386 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26387 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26388 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26389 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26390 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26391 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26392 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26393 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26394 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26395 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26396 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26397 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26398 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26399 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26400 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26401
84b3fd84
FW
264022012-07-25 Florian Weimer <fweimer@redhat.com>
26403
26404 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
26405 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26406 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26407 Introduce __libc_secure_getenv.
0c7936d5
FW
26408 * stdlib/Versions (2.17): Add secure_getenv
26409 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26410 * stdlib/secure-getenv.c: Rename __secure_getenv to
26411 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26412 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
26413 * stdlib/tst-secure-getenv.c: New.
26414 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
26415 * manual/startup.texi (Environment Access): Document
26416 secure_getenv.
84b3fd84
FW
26417 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26418 __libc_secure_getenv.
26419 * inet/ruserpass.c (ruserpass): Likewise.
26420 * malloc/mtrace.c (mtrace): Likewise.
26421 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 26422 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
26423 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26424 * sysdeps/posix/tempname.c: Likewise. Evaluate
26425 HAVE_SECURE_GETENV.
26426 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 26427 __secure_getenv to __libc_secure_getenv.
84b3fd84 26428 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
26429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26430 Likewise.
26431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26432 Likewise.
26433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26435 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 26440
56e49b71
JM
264412012-07-25 Joseph Myers <joseph@codesourcery.com>
26442
26443 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26444 (struct La_i86_retval): Likewise.
26445 (struct La_x86_64_regs): Likewise.
26446 (struct La_x86_64_retval): Likewise.
26447 (struct La_x32_regs): Likewise.
26448 (struct La_x32_retval): Likewise.
26449 (struct La_ppc32_regs): Likewise.
26450 (struct La_ppc32_retval): Likewise.
26451 (struct La_ppc64_regs): Likewise.
26452 (struct La_ppc64_retval): Likewise.
26453 (struct La_sh_regs): Likewise.
26454 (struct La_sh_retval): Likewise.
26455 (struct La_s390_32_regs): Likewise.
26456 (struct La_s390_32_retval): Likewise.
26457 (struct La_s390_64_regs): Likewise.
26458 (struct La_s390_64_retval): Likewise.
26459 (struct La_sparc32_regs): Likewise.
26460 (struct La_sparc32_retval): Likewise.
26461 (struct La_sparc64_regs): Likewise.
26462 (struct La_sparc64_retval): Likewise.
26463 (struct audit_ifaces): Remove architecture-specific pltenter and
26464 pltexit members.
26465 * sysdeps/i386/ldsodefs.h: New file.
26466 * sysdeps/powerpc/ldsodefs.h: Likewise.
26467 * sysdeps/s390/ldsodefs.h: Likewise.
26468 * sysdeps/sh/ldsodefs.h: Likewise.
26469 * sysdeps/sparc/ldsodefs.h: Likewise.
26470 * sysdeps/x86_64/ldsodefs.h: Likewise.
26471
354691b7
MP
264722012-07-25 Marek Polacek <polacek@redhat.com>
26473
26474 [BZ #6808]
26475 * math/libm-test.inc (yn_test): Add another test.
26476 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26477 to ERANGE when the result is +-Inf.
26478 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26479 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26480 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26481 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26482
bf9e2071
JM
264832012-07-24 Joseph Myers <joseph@codesourcery.com>
26484
26485 * conform/data/time.h-data (NULL): Use macro-constant. Require
26486 equal to 0.
26487 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26488 clock_t.
26489 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26490
57633811
TS
264912012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26492
26493 * configure.in <sysdeps resolving>: Correct printing
26494 Implies_before.
26495 * configure: Regenerate.
26496
c23c33b0
TS
264972012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26498
26499 * math/w_ilogb.c: Include <limits.h>.
26500 * math/w_ilogbl.c: Likewise.
26501
b5982523
JM
265022012-07-20 Joseph Myers <joseph@codesourcery.com>
26503
26504 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26505 va_copy. Document allowing for unavailable va_copy only as
26506 pre-C99 compatibility.
26507 * manual/string.texi (Copying and Concatenation): Use va_copy
26508 instead of __va_copy in concat example.
26509
ac4ea442
PT
265102012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26511
26512 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26513 (__sendto): Use create_address_port. Initialize APORT and deallocate
26514 it if not null.
26515
f98eafbd
PT
26516 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26517 with O_NOLINK passed to __file_name_lookup.
26518
898c7aab
PT
26519 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26520 with O_NOLINK passed to __file_name_lookup.
26521
0ced335a
PT
26522 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26523 negative N or less than NGIDS.
26524
b3404dbd
PT
26525 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26526 type to string_t. Set ERANGE as errno and return it if NAME is not big
26527 enough. Use memcpy instead of strncpy.
26528
0f48659e
JM
265292012-07-20 Joseph Myers <joseph@codesourcery.com>
26530
26531 * elf/Makefile (check-data): Remove.
26532 (localplt.data): New vpath directive.
26533 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26534 instead of $(check-data).
26535 * scripts/data/localplt-generic.data: Move to ...
26536 * sysdeps/generic/localplt.data: ... here.
26537 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26538 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26539 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26541 ... here.
26542 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26544 ... here.
26545 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26547 ... here.
26548 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26550 ... here.
26551 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26553 ... here.
26554 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26556 ... here.
26557
d37cbdaa
AZ
265582012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26559
26560 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26561 PPC32 and PPC64 files.
26562 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26563 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26564
46f85fc2
AK
265652012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26566
26567 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26568 __makecontext_ret to ...
26569 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26570 ... here and call exit if uc_link is NULL. New file.
26571 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26572 __makecontext_ret.S.
26573 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26574 __makecontext_ret to ...
26575 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26576 ... here and call exit if uc_link is NULL. New file.
26577 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26578 __makecontext_ret.S.
26579
08f43f9b
AK
265802012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26581
26582 * elf/elf.h (R_390_IRELATIVE): New definition.
26583 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26584 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26585 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26586 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26587 (elf_machine_lazy_rel): Likewise.
26588 * sysdeps/s390/dl-irel.h: New file.
26589 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26590 * sysdeps/s390/s390-64/memset.S: New asm code.
26591 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26592 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26593 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26594 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26595 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26596 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26597 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26598 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26599 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26600 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26601 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26602 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26603 * sysdeps/s390/s390-32/memset.S: New asm code.
26604 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26605
3b05db33
MP
266062012-07-17 Marek Polacek <polacek@redhat.com>
26607
26608 [BZ #14349]
26609 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26610 * sysdeps/s390/s390-64/configure.in: Likewise.
26611 * sysdeps/sparc/configure.in: Likewise.
26612 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26613 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26614 * sysdeps/i386/configure.in: Likewise.
26615 * sysdeps/x86_64/configure.in: Likewise.
26616 * sysdeps/sh/configure.in: Likewise.
26617 * sysdeps/s390/s390-32/configure: Regenerated.
26618 * sysdeps/s390/s390-64/configure: Likewise.
26619 * sysdeps/x86_64/configure: Likewise.
26620 * sysdeps/sh/configure: Likewise.
26621 * sysdeps/powerpc/powerpc64/configure: Likewise.
26622 * sysdeps/powerpc/powerpc32/configure: Likewise.
26623 * sysdeps/sparc/configure: Likwise.
26624 * sysdeps/i386/configure: Likewise.
26625
a66877c6
MP
26626 * elf/dl-open.c: Comment fixes.
26627
cfc82fd8
JM
266282012-07-17 Joseph Myers <joseph@codesourcery.com>
26629
bd29910a
JM
26630 * Makefile [CXX] (check-data): Remove.
26631 [CXX] (c++-types.data): New vpath directive.
26632 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26633 vpath. Do not allow for C++ type data being missing.
26634 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26635 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26636 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26637 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26638 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26639 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26640 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26642 ... here.
26643 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26645 ... here.
26646 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26648 ... here.
26649 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26651 ... here.
26652 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26654 ... here.
26655 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26657 ... here.
26658 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26660 ... here.
26661 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26663
cfc82fd8
JM
26664 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26665 definitions to architecture-specific files.
26666 (TLS_IE): Likewise.
26667 (TLS_LD): Likewise.
26668 (TLS_GD): Likewise.
26669 * sysdeps/i386/tls-macros.h: New file.
26670 * sysdeps/powerpc/tls-macros.h: Likewise.
26671 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26672 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26673 * sysdeps/sh/tls-macros.h: Likewise.
26674 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26675 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26676 * sysdeps/x86_64/tls-macros.h: Likewise.
26677
f7db3170
TS
266782012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26679
07cbfc23
TS
26680 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26681 zero value for regular exit case.
26682
f7db3170
TS
26683 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26684 (__start_context): Preserve zero value for regular exit case.
26685
dc97c227
TS
266862012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26687 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26688
26689 * manual/setjmp.texi (setcontext): Clarify normal process
26690 termination when uc_link is the null pointer.
26691 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26692 exit call.
26693
d0cd7d02
AS
266942012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26695
26696 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26697 preprocessor. Test for each exception mask separately.
26698
dd318934
AJ
266992012-07-16 Andreas Jaeger <aj@suse.de>
26700
26701 * po/ru.po: Update from translation team.
26702
8048311a
JM
267032012-07-15 Joseph Myers <joseph@codesourcery.com>
26704
26705 * conform/data/string.h-data (NULL): Use macro-constant. Require
26706 equal to 0.
26707 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26708 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26709 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26710 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26711 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26712
b637d46e
AJ
267132012-07-13 Andreas Jaeger <aj@suse.de>
26714
26715 * po/fr.po: Update from translation team.
26716
541428fe
MP
267172012-07-12 Marek Polacek <polacek@redhat.com>
26718
26719 [BZ #14173]
26720 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26721 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26722 loop condition.
26723
ec332e94
JM
267242012-07-12 Joseph Myers <joseph@codesourcery.com>
26725
26726 [BZ #13717]
26727 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26728 Change to 2.4.1 where previously 2.4.0.
26729 * sysdeps/unix/sysv/linux/configure: Regenerated.
26730 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26731 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26732 version.
26733 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26734 (__ASSUME_AT_CLKTCK): Remove.
26735 (__ASSUME_AT_PAGESIZE): Likewise.
26736 (__ASSUME_AT_XID): Likewise.
26737 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26738 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26739 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26740 unconditionally.
26741 (HAVE_AUX_PAGESIZE): Likewise.
26742 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26743 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26744 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26745
7b6e99be
JB
267462012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26747
26748 [BZ #14307]
26749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26750 the temporary buffer used to invoke __gethostbyname2_r,
26751 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26752 host_data / struct gaih_addrtuple.
26753 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26754 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26755 header file nss/nsswitch.h.
26756 * nss/nsswitch.h (global scope): Add definition of implementation
26757 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26758 resolv/nss_dns/dns-host.c).
26759
608404eb
AJ
267602012-07-11 Andreas Jaeger <aj@suse.de>
26761
26762 * po/fr.po: Update from translation team.
26763
71220aca
AJ
26764 * po/sv.po: Update from translation team
26765 * po/fr.po: Another update from translation team.
26766
28cfe843
AZ
267672012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26768
26769 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26770 for subnormals or multiply small sinh result by itself.
26771 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26773
6b90f981
DM
267742012-07-11 David S. Miller <davem@davemloft.net>
26775
26776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26777
c6825772
AS
267782012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26779
26780 [BZ #14347]
26781 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26782 (INTERNAL_MARK): Shift it here.
26783
7b8e0d49
MP
267842012-07-10 Marek Polacek <polacek@redhat.com>
26785
26786 [BZ #14151]
26787 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26788 libc_cv_asm_global_directive with .globl.
26789 * configure: Regenerated.
26790 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26791 with .globl.
26792 * sysdeps/i386/configure: Regenerated.
26793 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26794 with .globl.
26795 * sysdeps/x86_64/configure: Regenerated.
26796 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26797 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26798 * elf/tst-unique2mod2.c: Likewise.
26799 * elf/tst-unique2mod1.c: Likewise.
26800 * elf/tst-unique1mod2.c: Likewise.
26801 * elf/tst-unique1mod1.c: Likewise.
26802 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26803 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26804 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26805 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26806 * sysdeps/mach/sysdep.h: Likewise.
26807 * sysdeps/i386/sysdep.h: Likewise.
26808 * sysdeps/i386/i386-mcount.S: Likewise.
26809 * sysdeps/x86_64/_mcount.S: Likewise.
26810 * sysdeps/x86_64/sysdep.h: Likewise.
26811 * sysdeps/sh/_mcount.S: Likewise.
26812 * sysdeps/sh/sysdep.h: Likewise.
26813 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26814 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26815 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26816 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26817 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26818 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26819 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26820 * locale/localeinfo.h: Likewise.
26821 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26822 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26823
6c55cda3
RM
268242012-07-09 Roland McGrath <roland@hack.frob.com>
26825
26826 [BZ #14336]
26827 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26828 system".
26829 * manual/message.texi (The Uniforum approach): Likewise.
26830 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26831 (glibc iconv Implementation): Likewise.
26832
638a572e
JM
268332012-07-09 Joseph Myers <joseph@codesourcery.com>
26834
26835 [BZ #14337]
26836 * math/s_clog.c (__clog): Avoid scaling a value down where that
26837 could result in underflow.
26838 * math/s_clog10.c (__clog10): Likewise.
26839 * math/s_clog10f.c (__clog10f): Likewise.
26840 * math/s_clog10l.c (__clog10l): Likewise.
26841 * math/s_clogf.c (__clogf): Likewise.
26842 * math/s_clogl.c (__clogl): Likewise.
26843 * math/libm-test.inc (clog_test): Add more tests.
26844 (clog10_test): Likewise.
26845 * sysdeps/i386/fpu/libm-test-ulps: Update.
26846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26847
261f4859
AS
268482012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26849
0abaf3e4
AS
26850 [BZ #14283]
26851 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26852 by 7 not 8 to examine high bit of fractional part.
26853
261f4859
AS
26854 [BZ #14042]
26855 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26856 for call to __mcount_internal.
26857 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26858 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26859 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26860
f17ac40d
JM
268612012-07-06 Joseph Myers <joseph@codesourcery.com>
26862
9ad63c23
JM
26863 [BZ #14154]
26864 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26865 approximation for values within 0x1p-13f of an odd multiple of
26866 pi/4.
26867 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26868 exception. Add more tests.
26869 * sysdeps/i386/fpu/libm-test-ulps: Update.
26870
f17ac40d
JM
26871 [BZ #6778]
26872 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26873 inputs and return -1 for them. Do not check for +Inf in case not
26874 reachable for +Inf.
26875 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26876 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26877 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26878 and return -1 for them. Do not check for +Inf in case not
26879 reachable for +Inf.
26880 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26881 define.
26882 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26883 and return -1 for them. Do not check for +Inf in case not
26884 reachable for +Inf.
26885 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26886 spurious underflow.
26887 * sysdeps/i386/fpu/libm-test-ulps: Update.
26888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26889
fb21f89b
MF
268902012-07-06 Mike Frysinger <vapier@gentoo.org>
26891
26892 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26893
cdfe2c5e
JM
268942012-07-05 Joseph Myers <joseph@codesourcery.com>
26895
26896 [BZ #14157]
26897 [BZ #14331]
26898 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26899 could result in spurious underflow. Scale down values above
26900 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26901 * math/s_csqrtf.c (__csqrtf): Likewise.
26902 * math/s_csqrtl.c (__csqrtl): Likewise.
26903 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26904 spurious underflow.
26905 * sysdeps/i386/fpu/libm-test-ulps: Update.
26906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26907
70d35b67
AS
269082012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26909
704bc459
AS
26910 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26911 xopen-msg.sed.
26912 * catgets/xopen-msg.awk: New file.
26913 * catgets/xopen-msg.sed: Removed.
26914
70d35b67
AS
26915 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26916 po2text.sed.
26917 * intl/po2test.awk: New file.
26918 * intl/po2test.sed: Removed.
26919
ca61cf32
JM
269202012-07-04 Joseph Myers <joseph@codesourcery.com>
26921
26922 [BZ #14328]
26923 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26924 or multiply small sinh result by itself.
26925 * math/s_ctanf.c (__ctanf): Likewise.
26926 * math/s_ctanh.c (__ctanh): Likewise.
26927 * math/s_ctanhf.c (__ctanhf): Likewise.
26928 * math/s_ctanhl.c (__ctanhl): Likewise.
26929 * math/s_ctanl.c (__ctanl): Likewise.
26930 * math/libm-test.inc (ctan_test_tonearest): New function.
26931 (ctan_test_towardzero): Likewise.
26932 (ctan_test_downward): Likewise.
26933 (ctan_test_upward): Likewise.
26934 (ctanh_test_tonearest): Likewise.
26935 (ctanh_test_towardzero): Likewise.
26936 (ctanh_test_downward): Likewise.
26937 (ctanh_test_upward): Likewise.
26938 (main): Call these new functions.
26939 * sysdeps/i386/fpu/libm-test-ulps: Update.
26940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26941
ca48a46a
MF
269422012-07-03 Mike Frysinger <vapier@gentoo.org>
26943
26944 * .gitignore: Delete /ports entry.
26945
9d63d37d
AJ
269462012-07-03 Andreas Jaeger <aj@suse.de>
26947
26948 * po/bg.po: Update from translation team.
26949 * po/cs.po: Likewise.
26950 * po/de.po: Likewise.
26951 * po/hr.po: Likewise.
26952 * po/nl.pl: Likewise.
26953 * po/pl.po: Likewise.
26954 * po/vi.po: Likewise.
26955
370ca3d2
JM
269562012-07-03 Joseph Myers <joseph@codesourcery.com>
26957
95f5a9a8
JM
26958 * Makeconfig [!+link] (+link-before-libc): New variable.
26959 [!+link] (+link-after-libc): Likewise.
26960 [!+link] (+link-tests): Likewise.
26961 [!+link] (+link): Define in terms of $(+link-before-libc) and
26962 $(+link-after-libc).
26963 [!+link-static] (+link-static-before-libc): New variable.
26964 [!+link-static] (+link-static-after-libc): Likewise.
26965 [!+link-static] (+link-static-tests): Likewise.
26966 [!+link-static] (+link-static): Define in terms of
26967 $(+link-static-before-libc) and $(+link-static-after-libc).
26968 [build-shared] (link-libc-before-gnulib): New variable.
26969 [build-shared] (link-libc-tests): Likewise.
26970 [build-shared] (link-libc): Define in terms of
26971 $(link-libc-before-gnulib).
26972 [!build-shared] (link-libc-tests): New variable.
26973 (link-libc-static-tests): New variable.
26974 [!gnulib] (gnulib-arch): New variable.
26975 [!gnulib] (gnulib-tests): Likewise.
26976 [!gnulib] (static-gnulib-arch): Likewise.
26977 [!gnulib] (static-gnulib-tests): Likewise.
26978 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26979 Define with "=" instead of ":=".
26980 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26981 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26982 * Rules (binaries-all-notests): New variable.
26983 (binaries-all-tests): Likewise.
26984 (binaries-static-notests): Likewise.
26985 (binaries-static-tests): Likewise.
26986 (binaries-all): Define using $(binaries-all-notests) and
26987 $(binaries-all-tests).
26988 (binaries-static): Define using $(binaries-static-notests) and
26989 $(binaries-static-tests).
26990 (binaries-shared-tests): New variable.
26991 (binaries-shared-notests): Likewise.
26992 (binaries-shared): Remove variable.
26993 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26994 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26995 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26996 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26997 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26998 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26999 * elf/Makefile (sln-modules): New variable.
27000 (extra-objs): Add $(sln-modules:=.o).
27001 (ldconfig-modules): Add static-stubs.
27002 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27003 * elf/static-stubs.c: New file.
27004
7a845b2c
JM
27005 [BZ #14283]
27006 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27007 by 7 not 8 to examine high bit of fractional part. Use volatile
27008 variables when splitting into final array of floats if
27009 __FLT_EVAL_METHOD__ != 0.
27010 * math/libm-test.inc (cos_test): Add another test.
27011 (sin_test): Likewise.
27012 * sysdeps/i386/fpu/libm-test-ulps: Update.
27013
e2283f38
JM
27014 [BZ #14273]
27015 * math/libm-test.inc (cosh_test): Add more tests.
27016
370ca3d2
JM
27017 * version.h (RELEASE): Set to "development".
27018 (VERSION): Set to "2.16.90".
27019
ee9247c3
CD
270202012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
27021
27022 * NEWS: Update copyright. Remove last-updated date.
27023 Mention math library bug fixes and timezone data changes.
27024 * README: Mention GNU/Hurd, x32, and HPPA support status.
27025
4648c381
TS
270262012-06-28 Thomas Schwinge <thomas@codesourcery.com>
27027
27028 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27029
aac78a43
AJ
270302012-06-27 Andreas Jaeger <aj@suse.de>
27031
27032 * manual/contrib.texi (Contributors): Add Samuel Thibault.
27033
ed3dbfad
AJ
270342012-06-25 Andreas Jaeger <aj@suse.de>
27035
27036 * sysdeps/s390/fpu/libm-test-ulps: Update.
27037
4d0ee855
AS
270382012-06-23 Andreas Schwab <schwab@linux-m68k.org>
27039 Thomas Schwinge <thomas@codesourcery.com>
27040
27041 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27042 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27043 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27044 fanotify_mark.
27045
af1bce34
TS
270462012-06-23 Thomas Schwinge <thomas@codesourcery.com>
27047
a9fa33ba
TS
27048 * sysdeps/mach/start.c: Remove file.
27049 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27050 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27051 * sysdeps/sh/init-first.c: Likewise.
27052
58f902b8
TS
27053 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27054 registers for frame unwinding purposes, add CFI directives.
27055 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27056 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27057 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27058 Likewise.
27059
1518f58b
TS
27060 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27061 __fortify_fail returning.
27062 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27063
db9b5059
TS
27064 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27065 sysdeps/sh/____longjmp_chk.S.
27066 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27067 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27068 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27069 (gen-as-const-headers): Append sigaltstack-offsets.sym.
27070
967705fe
TS
27071 * sysdeps/sh/abort-instr.h: New file.
27072 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27073 process in case exit returns.
27074
a9def8c4
TS
27075 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27076 initialize the GOT register before use.
27077
2a649725
TS
27078 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27079 calculation of ARGC > 4.
27080
af1bce34
TS
27081 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27082 meaningful names to some local labels.
27083
d230f50a
KK
270842012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27085 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27086
27087 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27088 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27089 (__arch_compare_and_exchange_val_16_acq): Likewise.
27090 (__arch_compare_and_exchange_val_32_acq): Likewise.
27091 (atomic_exchange_and_add): Fix gUSA sequence.
27092 (atomic_add): Likewise.
27093 (atomic_add_negative): Likewise.
27094 (atomic_add_zero): Likewise.
27095 (atomic_bit_test_set): Likewise.
27096
0479b305
AS
270972012-06-22 Andreas Schwab <schwab@redhat.com>
27098
27099 [BZ #13579]
27100 * include/link.h (struct link_map): Add l_free_initfini.
27101 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27102 l_initfini.
27103 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27104 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27105 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27106 set.
27107
0e3933b9
CD
271082012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27109
27110 * configure.in: Use AC_LANG_SOURCE.
27111 * configure: Regenerate.
27112
4248b1b1
RM
271132012-06-22 Roland McGrath <roland@hack.frob.com>
27114
27115 * configure.in (libc_cv_localstatedir): New substituted variable.
27116 * configure: Regenerated.
27117 * config.make.in (localstatedir): New variable, substituted from
27118 libc_cv_localstatedir.
27119 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27120 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27121 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27122 * sysdeps/gnu/configure: Regenerated.
27123
006dd861
JL
271242012-06-21 Jeff Law <law@redhat.com>
27125
27126 [BZ #14277]
27127 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27128 free. Simplify list management for _LIBC case.
27129
79662d42
JM
271302012-06-21 Joseph Myers <joseph@codesourcery.com>
27131
b7abb4bf
JM
27132 [BZ #14273]
27133 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27134 Clear sign bit of 64-bit integer value before comparing against
27135 overflow value.
27136
79662d42
JM
27137 * sysdeps/mach/configure: Regenerated.
27138
1f150908
L
271392012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27140
27141 [BZ #14278]
27142 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27143
28363bbf
JL
271442012-06-21 Jeff Law <law@redhat.com>
27145
27146 [BZ #13882]
27147 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27148 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 27149 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
27150 * elf/dl-open.c (dl_open_worker): Likewise.
27151
09615db4
CD
271522012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
27153
27154 * scripts/list-sources.sh: Scan PORTS for translations.
27155 * po/libc.pot: Regenerated.
27156
2174c6dd
AJ
271572012-06-21 Andreas Jaeger <aj@suse.de>
27158
27159 [BZ #12194]
27160 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27161 warning.
27162 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27163 * bits/byteswap-16.h (__bswap_16): Likewise.
27164 * bits/byteswap.h (__bswap_constant_16): Likewise.
27165
3ee947b1
L
271662012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27167
27168 [BZ #14117]
a2f34833
L
27169 * sysdeps/i386/fpu_control.h: Removed.
27170 * sysdeps/x86_64/fpu_control.h: Moved to ...
27171 * sysdeps/x86/fpu_control.h: Here.
27172
3ee947b1
L
27173 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27174 (_FPU_SETCW): Likewise.
27175
ed1825f8
L
271762012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27177
25f1282a
L
27178 [BZ #14117]
27179 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27180 * sysdeps/x86/fpu/bits/mathinline.h: This.
27181 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27182
ed1825f8
L
27183 [BZ #14050]
27184 [BZ #14117]
27185 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27186 functions if __x86_64__ is defined.
27187
36d54b74
CLT
271882012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27189
27190 * string/endian.h: Add !__ASSEMBLER__ condition for including
27191 conversion interfaces.
27192
10285c21
JM
271932012-06-15 Joseph Myers <joseph@codesourcery.com>
27194
27195 [BZ #14241]
27196 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27197 of ABS(x) in calculating zero to negative powers other than odd
27198 integers.
27199 * math/libm-test.inc (pow_test): Add more tests.
27200
06c5abbd
AJ
272012012-06-15 Andreas Jaeger <aj@suse.de>
27202
27203 * manual/contrib.texi (Contributors): Update entry of Liubov
27204 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27205 Machado Filho.
27206
a3aeac40
CH
272072012-06-15 Cyril Hrubis <metan@ucw.cz>
27208
27209 * string/string.h: Add __wur to GNU version of strerror_r.
27210
49bdf4c1
L
272112012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27212
27213 [BZ #14229]
27214 * string/Makefile (tests): Add tst-strtok_r.
27215 * string/tst-strtok_r.c: New file.
27216 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27217 RAX_LP/RDX_LP on SAVE_PTR.
27218
834f9b8d
RM
272192012-06-14 Roland McGrath <roland@hack.frob.com>
27220
27221 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27222
75fa1921
JM
272232012-06-14 Joseph Myers <joseph@codesourcery.com>
27224
27225 * libm_test.inc (csqrt_test): Allow more spurious underflow
27226 exceptions.
27227 (j0_test): Likewise.
27228 (j1_test): Likewise.
27229 (y0_test): Likewise.
27230 (y1_test): Likewise.
27231
771766df
CD
272322012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27233
27234 * po/Makefile (libc.pot): Use UTF-8 charset.
27235
ceb9e56b
PP
272362012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27237
27238 [BZ #14210]
27239 Suppress sign-conversion warning from FD_SET.
27240 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27241 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27242 not unsigned long int.
27243 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27244
ddb28975
L
272452012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27246
27247 [BZ #14050]
27248 [BZ #14117]
27249 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27250 __extern_always_inline instead of __extern_inline.
27251 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27252 (__signbit): Likewise.
27253 (__signbitl): Support C++ namespace.
27254 (lrintf): New inline function.
27255 (lrint): Likewise.
27256 (llrintf): Likewise.
27257 (llrint): Likewise.
27258 (fmaxf): Likewise.
27259 (fmax): Likewise.
27260 (fminf): Likewise.
27261 (fmin): Likewise.
27262 (rint): Likewise.
27263 (rintf): Likewise.
27264 (ceil): Likewise.
27265 (ceilf): Likewise.
27266 (floor): Likewise.
27267 (floorf): Likewise.
27268 (nearbyint): Likewise.
27269 (nearbyintf): Likewise.
27270
d7b4fb26
TS
272712012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27272
27273 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27274 non-default versions.
27275
eb55f5c2
RM
272762012-06-11 Roland McGrath <roland@hack.frob.com>
27277
27278 [BZ #14218]
27279 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27280
366af02c
TS
272812012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27282
99ff6e5c
TS
27283 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27284 (FE_UPWARD, FE_DOWNWARD): Don't define.
27285 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27286 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27287
366af02c
TS
27288 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27289 reading it.
27290 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27291 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27292
793ea851
KK
272932012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27294
27295 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27296 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27297 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27298 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27299
a728a38f
L
273002012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27301
27302 [BZ #14117]
c08010c7
L
27303 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27304 * sysdeps/i386/fpu/Implies: New file.
27305 * sysdeps/x86_64/fpu/Implies: Likewise.
27306 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27307 * sysdeps/x86/fpu/bits/fenv.h: This.
27308
a728a38f
L
27309 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27310 __SSE_MATH__.
27311
6e230d11
SP
273122012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27313
27314 [BZ #14134]
27315 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27316 character 0xffff that matches the last element of the
27317 conversion table.
27318
1b671feb
AZ
273192012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27320
27321 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27322 fmodl commit.
27323
6043738b
AZ
273242012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27325
27326 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27327 values higher than 25.6283.
27328
34ae0b32
AZ
273292012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27330
27331 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27332 subnormal exponent extraction and add some __builtin_expect.
27333 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27334 Fix for subnormal mantissa calculation.
27335
1214ec8f
MF
273362012-06-04 Mike Frysinger <vapier@gentoo.org>
27337
27338 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27339 cpu2 is -1 and errno is not ENOSYS.
27340
f3d1f93c
L
273412012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27342
27343 [BZ #14117]
0e4a3cd7
L
27344 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27345 * sysdeps/x86/bits/string.h: This.
27346 * sysdeps/x86_64/bits/string.h: Removed.
27347
6704c645
L
27348 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27349 if not compiling for x86-64, but compiling for >= i486.
27350
48495318
L
27351 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27352 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27353
14adcbfc
L
27354 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27355 New macro from Linux kernel 3.4.0.
27356 (FP_XSTATE_MAGIC2): Likewise.
27357 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27358 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27359 (struct _fpx_sw_bytes): New struct.
27360 (struct _xsave_hdr): Likewise.
27361 (struct _ymmh_state): Likewise.
27362 (struct _xstate): Likewise.
27363
68e408ab
L
27364 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27365 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27366 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27367 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27368 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27369 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27370
f3d1f93c
L
27371 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27372 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27373 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27374 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27375 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27376 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27377
d9dc34cd
TMQMF
273782012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27379
27380 [BZ #13743]
27381 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27382 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27383 (sysdep_headers): Include sys/platform/ppc.h.
27384 * sysdeps/powerpc/test-gettimebase.c: Test for
27385 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27386 * manual/Makefile (appendices): Include platform.texi.
27387 * manual/contrib.texi (Contributors): Update @node pointers.
27388 * manual/maint.texi (Maintenance): Likewise.
27389 (Platform): New node.
27390 * manual/platform.texi: New file. Document the new features.
27391
4af3879c
SP
273922012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27393 Jakub Jelinek <jakub@redhat.com>
27394
27395 [BZ #14188]
27396 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27397 where __builtin_expect is unavailable.
27398
2fd6ff13
DM
273992012-06-03 David S. Miller <davem@davemloft.net>
27400
27401 * stdlib/longlong.h: Updated from GCC.
27402
173f7220
AS
274032012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27404
27405 [BZ #14042]
27406 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27407 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27408 __mcount_internal.
27409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27410 (GLIBC_2.16): Likewise.
27411
f34a1c6f
L
274122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27413
27414 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27415
88a4576f
JM
274162012-06-01 Joseph Myers <joseph@codesourcery.com>
27417
ea32bcdd
JM
27418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27419 (default-abi): New variable.
27420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27421 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27422 variable.
27423 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27424 Likewise.
27425 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27426 Likewise.
27427 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27428 Likewise.
27429
88a4576f
JM
27430 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27431 definition. Document in comment.
27432
402fe938
DM
274332012-06-01 David S. Miller <davem@davemloft.net>
27434
27435 * stdlib/longlong.h: Updated from GCC.
27436
3553723f
L
274372012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27438
27439 [BZ #14117]
3bd872c4
L
27440 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27441 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27442 sys/debugreg.h sys/io.h here.
27443 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27444 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27445 sys/io.h.
27446 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27447 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27448 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27449 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27450 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27451 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27452
3553723f
L
27453 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27454 Define only if __x86_64__ is defined.
27455
4842e4fe
JM
274562012-06-01 Joseph Myers <joseph@codesourcery.com>
27457
c5bfe3d5
JM
27458 [BZ #14048]
27459 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27460 Use int64_t for variable i.
27461 * math/libm-test.inc (fmod_test): Add more tests.
27462
4842e4fe
JM
27463 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27464 z computation is not scheduled after fetestexcept.
27465 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27466 Use math_force_eval instead of asm to ensure calculation scheduled
27467 before exception test.
27468 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27469 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27470
efb73488
AJ
274712012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27472
27473 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27474 computation is not scheduled after fetestexcept.
27475
29bcce7c
L
274762012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27477
27478 [BZ #14117]
27479 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27480 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27481
73a68f94
AZ
274822012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27483
27484 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27485 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27486
67b6df78
L
274872012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27488
edf2933a 27489 [BZ #14117]
ebc64a18
L
27490 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27491 <bits/wordsize.h>.
27492 (__WCHAR_MIN): Support __WORDSIZE == 64.
27493 (__WCHAR_MAX): Likewise.
27494
edf2933a
L
27495 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27496 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27497
57c6cf40
L
27498 [BZ #14183]
27499 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27500 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27501
67b6df78 27502 [BZ #14117]
8eb6281e
L
27503 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27504 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27505
aac639f4
L
27506 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27507 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27508
67b6df78
L
27509 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27510 Defined to 1 if __x86_64__ isn't defined.
27511 (_STAT_VER_LINUX_OLD): New.
27512 (st_atime): Remove duplicate.
27513 (st_mtime): Likewise.
27514 (st_ctime): Likewise.
27515
1c2cfe81
DM
275162012-05-31 David S. Miller <davem@davemloft.net>
27517
27518 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27519 entries.
27520
5be8418c
AS
275212012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27522
e7725326
AS
27523 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27524 gen-libm-test.pl.
27525
5be8418c
AS
27526 [BZ #14132]
27527 * elf/dl-reloc.c: Include <_itoa.h>.
27528 (_dl_reloc_bad_type): Remove use of INTUSE.
27529 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27530 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27531 * stdio-common/psiginfo.c (psiginfo): Likewise.
27532 * stdio-common/psignal.c (psignal): Likewise.
27533 * string/strsignal.c (strsignal): Likewise.
27534 * include/signal.h (_sys_siglist): Declare hidden proto.
27535 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27536 INTVARDEF with libc_hidden_data_def.
27537 * stdio-common/itoa-udigits.c: Likewise.
27538 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27539 (_itoa_lower_digits_internal): Remove declaration.
27540 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27541 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27542 (_sys_sigabbrev_internal): Remove aliases.
27543 (_sys_siglist): Define hidden alias.
27544
507352f1
MT
275452012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27546
27547 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27548 bits/sysctl.h.
27549
42bbb1c3
L
275502012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27551
27552 [BZ #14117]
6bd784b6
L
27553 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27554 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27555
8bca20f0
L
27556 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27557 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27558 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27559 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27560 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27561 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27562
f9e890a9
L
27563 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27564 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27565 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27566
471101a1
L
27567 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27568 with __addr.
27569 (insw): Likewise.
27570 (insl): Likewise.
27571 (outsb): Likewise.
27572 (outsw): Likewise.
27573 (outsl): Likewise.
27574
6451c862
L
27575 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27576 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27577 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27578
a254b8c9
L
27579 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27580 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27581 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27582 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27583 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27584 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27585
b8dfdd92
L
27586 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27587 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27588
578cd270
L
27589 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27590 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27591
de662f5f
L
27592 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27593 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27594 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27595
25653439
L
27596 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27597 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27598 to ...
27599 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27600
6bad24a0
L
27601 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27602 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27603 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27604
42bbb1c3
L
27605 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27606 for x86-64.
27607 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27608
2d10d547
JM
276092012-05-31 Joseph Myers <joseph@codesourcery.com>
27610
27611 * math/math.h (M_El): Use two more decimal places.
27612 (M_LOG2El): Likewise.
27613 (M_LOG10El): Likewise.
27614 (M_LN2l): Likewise.
27615 (M_LN10l): Likewise.
27616 (M_PIl): Likewise.
27617 (M_PI_2l): Likewise.
27618 (M_PI_4l): Likewise.
27619 (M_1_PIl): Likewise.
27620 (M_2_PIl): Likewise.
27621 (M_2_SQRTPIl): Likewise.
27622 (M_SQRT2l): Likewise.
27623 (M_SQRT1_2l): Likewise.
27624
f230c29b
DM
276252012-05-31 David S. Miller <davem@davemloft.net>
27626
27627 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27628 values between float registers.
27629 * sysdeps/sparc/sparc64/memset.S: Likewise.
27630 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27631
fed806c3
MF
276322012-05-31 Mike Frysinger <vapier@gentoo.org>
27633
27634 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27635 -D_FORTIFY_SOURCE=1.
27636 (CPPFLAGS-tst-longjmp_chk.c): Define.
27637 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27638 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27639 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27640 CFLAGS-tst-wchar-h.c.
27641
30917259
MP
276422012-05-31 Marek Polacek <polacek@redhat.com>
27643
27644 [BZ #14132]
27645 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27646 __endmntent_internal): Remove declaration.
27647 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27648 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27649 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27650
1c58d5dc
DM
276512012-05-30 David S. Miller <davem@davemloft.net>
27652
27653 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27654 (___Q_simulate_exceptions): Use real FP ops rather than writing
27655 into the %fsr.
27656 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27657 Likewise.
27658
7dc00e0d
L
276592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27660
27661 [BZ #14117]
0bd53985
L
27662 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27663 * sysdeps/x86/bits/xtitypes.h: This.
27664
3a257e66
L
27665 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27666 * sysdeps/x86/bits/wordsize.h: This.
27667
62f62904
L
27668 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27669 * sysdeps/x86/bits/huge_vall.h: This.
27670
404fe9d9
L
27671 * sysdeps/i386/bits/select.h: Removed.
27672 * sysdeps/x86_64/bits/select.h: Renamed to ...
27673 * sysdeps/x86/bits/select.h: This.
27674
d48d0446
L
27675 * sysdeps/i386/bits/setjmp.h: Removed.
27676 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27677 * sysdeps/x86/bits/setjmp.h: This.
27678
7dc00e0d
L
27679 * sysdeps/i386/bits/mathdef.h: Removed.
27680 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27681 * sysdeps/x86/bits/mathdef.h: This.
27682
03277f8f
AS
276832012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27684
27685 [BZ #14132]
27686 * include/sys/socket.h (__connect_internal)
27687 (__libc_sa_len_internal): Remove declaration.
27688 (__connect, __libc_sa_len): Declare hidden_proto.
27689 (SA_LEN): Remove use of INTUSE.
27690 * socket/connect.c: Add libc_hidden_def.
27691 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27692 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27693 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27694 alias.
27695 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27696 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27697 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27698 of adding _internal alias.
27699
13764867
L
277002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27701
27702 [BZ #14117]
6bd97696
L
27703 * sysdeps/i386/bits/link.h: Removed.
27704 * sysdeps/i386/bits/linkmap.h: Likewise.
27705 * sysdeps/x86_64/bits/link.h: Renamed to ...
27706 * sysdeps/x86/bits/link.h: This.
27707 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27708 * sysdeps/x86/bits/linkmap.h: This.
27709
f726f0bb
L
27710 * sysdeps/i386/bits/endian.h: Removed.
27711 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27712 * sysdeps/x86/bits/endian.h: This.
27713
13764867
L
27714 * sysdeps/i386/bits/byteswap.h: Removed.
27715 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27716 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27717 * sysdeps/x86/bits/byteswap.h: This.
27718 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27719 * sysdeps/x86/bits/byteswap-16.h: This.
27720 * sysdeps/i386/Implies: Add x86.
27721 * sysdeps/x86_64/Implies: Likewise.
27722
ae251b0b
DM
277232012-05-30 David S. Miller <davem@davemloft.net>
27724
27725 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27726 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27727 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27728 (FP_TRAPPING_EXCEPTIONS): Define.
27729 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27730 (FP_TRAPPING_EXCEPTIONS): Define.
27731 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27732 subnormals only when inexact has been signalled or underflow
27733 exceptions are enabled.
27734 (_FP_PACK_CANONICAL): Likewise.
27735
d5c90867
L
277362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27737
27738 [BZ #14183]
27739 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27740 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27741
63f1549e
RH
277422012-05-30 Richard Henderson <rth@twiddle.net>
27743
8d8f2279
RH
27744 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27745 with #ifndef NOT_IN_libc.
27746
63f1549e
RH
27747 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27748 marked to avoid plt entry.
27749
0ab0291b
L
277502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27751
27752 [BZ #14112]
27753 * Makeconfig (default-abi): New macro.
27754 (abi-includes): Likewise.
27755 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27756 $(abi-$(default-abi)-lib-soname) for soname if defined.
27757 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27758 abi-variants.
27759 * Makefile (installed-stubs): Likewise.
27760 * include/stubs-biarch.h: Removed.
27761 * scripts/lib-names.awk: Only handle one library at a time.
27762 * scripts/soversions.awk: Remove WORDSIZE support.
27763 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27764 entries.
27765 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27766 Removed.
27767 (syscall-list-default-condition): Likewise.
27768 (syscall-list-default-condition): Likewise.
27769 (syscall-list-includes): Likewise.
27770 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27771 syscall-list-* with abi-*. Handle undefined abi-variants.
27772 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27773 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27774 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27775 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27776 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27777 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27778 Removed.
27779 (syscall-list-32-options): Likewise.
27780 (syscall-list-32-condition): Likewise.
27781 (syscall-list-64-options): Likewise.
27782 (syscall-list-64-condition): Likewise.
27783 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27784 macro.
27785 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27786 Renamed to ...
27787 (abi-*): This.
27788 (abi-64-ld-soname): New macro.
27789 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27790 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27791 Renamed to ...
27792 (abi-*): This.
27793 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27794 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27795
4da0431d
JM
277962012-05-30 Joseph Myers <joseph@codesourcery.com>
27797
3a85279c
JM
27798 * sysdeps/unix/sysv/linux/kernel-features.h
27799 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27800 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27801 include <kernel-features.h>.
27802 [!__NR_ftruncate64]: Remove conditional code.
27803 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27804 [__NR_ftruncate64]: Make code unconditional.
27805 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27806 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27807 include <kernel-features.h>.
27808 [!__NR_ftruncate64]: Remove conditional code.
27809 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27810 [__NR_ftruncate64]: Make code unconditional.
27811 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27813 include <kernel-features.h>.
27814 [!__NR_ftruncate64]: Remove conditional code.
27815 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27816 [__NR_ftruncate64]: Make code unconditional.
27817 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27819 include <kernel-features.h>.
27820 [!__NR_ftruncate64]: Remove conditional code.
27821 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27822 [__NR_ftruncate64]: Make code unconditional.
27823 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27824
4da0431d
JM
27825 * configure.in (libc_cv_fpie): Weaken to a compile test using
27826 LIBC_TRY_CC_OPTION.
27827 * configure: Regenerated.
27828
11ef492c
AK
278292012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27830
27831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27835 Refreshed.
27836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27842 Refreshed.
27843
d66ef399
DM
278442012-05-27 David S. Miller <davem@davemloft.net>
27845
27846 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27847 (___Q_zero): New.
27848 (__Q_simulate_exceptions): Return void. Change to simulate
27849 exceptions by writing into the %fsr.
27850 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27851 (__Qp_handle_exceptions): Likewise.
27852 (numbers): Delete.
27853 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27854 __Qp_handle_exceptions.
27855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27856 __Qp_handle_exceptions.
27857 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27858 as unused and give dummy FP_RND_NEAREST initializer.
27859 (FP_INHIBIT_RESULTS): Define.
27860 (___Q_simulate_exceptions): Update declaration.
27861 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27862 formatting.
27863 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27864 as unused and give dummy FP_RND_NEAREST initializer.
27865 (__Qp_handle_exceptions): Update declaration.
27866 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27867 formatting.
27868
04fb54b5
TS
278692012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27870
27871 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27872 the temporary FPU control word.
27873 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27874 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27875 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27876 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27877 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27878 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27879 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27880 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27881 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27882 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27883 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27884
3f99608f
KK
278852012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27886
27887 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27888 fields.
27889
65a4de4e
CLT
278902012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27891
27892 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27893 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27894 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27895 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27896 Likewise.
27897 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27898 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27899 Likewise.
27900
15749d40
UD
279012012-05-27 Ulrich Drepper <drepper@gmail.com>
27902
27903 * po/h.po: Update from translation team.
27904
25dbcb27
AS
279052012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27906
3d3f8e55
AS
27907 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27908
25dbcb27
AS
27909 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27910 handling of denormals.
27911 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27912 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27913 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27914 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27915 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27916 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27917 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27918 Likewise.
27919
7ad47a80 279202012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27921
27922 [BZ #14152]
27923 * math/libm-test.inc (fma_test): Don't always expect underflow
27924 exception.
27925
9c6ea9fa
SP
279262012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27927
27928 [BZ #12416]
27929 * elf/tst-execstack.c: Include stackinfo.h.
27930 (do_test): Adjust test case to ensure that pthread_getattr_np
27931 behaviour remains the same after marking stack executable.
27932
a8239222
JM
279332012-05-25 Joseph Myers <joseph@codesourcery.com>
27934
27935 * sysdeps/unix/sysv/linux/kernel-features.h
27936 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27937 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27938 kernel-features.h.
27939 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27940 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27941 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27942 kernel-features.h.
27943 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27944 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27945
918b5606
L
279462012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27947
27948 * configure.in: Define the default includes to being none.
27949 * configure: Regenerated.
27950
3a097cc7
RM
279512012-05-25 Roland McGrath <roland@hack.frob.com>
27952
8422c9a5
RM
27953 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27954 * sysdeps/x86_64/setjmp.S: Likewise.
27955 * sysdeps/i386/bsd-setjmp.S: Likewise.
27956 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27957 * sysdeps/i386/setjmp.S: Likewise.
27958 * sysdeps/i386/__longjmp.S: Likewise.
27959 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27960 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27961
3a097cc7
RM
27962 * include/stap-probe.h: New file.
27963 * configure.in: Handle --enable-systemtap.
27964 * configure: Regenerated.
27965 * config.h.in (USE_STAP_PROBE): New #undef.
27966 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27967 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27968 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27969
21708942
JM
279702012-05-25 Joseph Myers <joseph@codesourcery.com>
27971
27972 [BZ #13717]
27973 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27974 to 2.4.0 where earlier.
27975 * sysdeps/unix/sysv/linux/configure: Regenerated.
27976 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27977 <kernel-features.h>.
27978 [__ASSUME_32BITUIDS]: Make code unconditional.
27979 [!__ASSUME_32BITUIDS]: Remove conditional code.
27980 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27981 <kernel-features.h>.
27982 [__ASSUME_32BITUIDS]: Make code unconditional.
27983 [!__ASSUME_32BITUIDS]: Remove conditional code.
27984 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27985 [__ASSUME_32BITUIDS]: Make code unconditional.
27986 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27987 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/i386/getresgid.c: Do not include
28004 <kernel-features.h>.
28005 [__ASSUME_32BITUIDS]: Make code unconditional.
28006 [!__ASSUME_32BITUIDS]: Remove conditional code.
28007 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28008 <kernel-features.h>.
28009 [__ASSUME_32BITUIDS]: Make code unconditional.
28010 [!__ASSUME_32BITUIDS]: Remove conditional code.
28011 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28012 <kernel-features.h>.
28013 [__ASSUME_32BITUIDS]: Make code unconditional.
28014 [!__ASSUME_32BITUIDS]: Remove conditional code.
28015 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28016 <kernel-features.h>.
28017 [__ASSUME_32BITUIDS]: Make code unconditional.
28018 [!__ASSUME_32BITUIDS]: Remove conditional code.
28019 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28020 <kernel-features.h>.
28021 [__ASSUME_32BITUIDS]: Make code unconditional.
28022 [!__ASSUME_32BITUIDS]: Remove conditional code.
28023 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28024 <kernel-features.h>.
28025 [__ASSUME_32BITUIDS]: Make code unconditional.
28026 [!__ASSUME_32BITUIDS]: Remove conditional code.
28027 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28028 <kernel-features.h>.
28029 [__NR_setresgid] (__setresgid): Do not declare.
28030 [__ASSUME_32BITUIDS]: Make code unconditional.
28031 [!__ASSUME_32BITUIDS]: Remove conditional code.
28032 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28033 <kernel-features.h>.
28034 [__NR_setresuid] (__setresuid): Do not declare.
28035 [__ASSUME_32BITUIDS]: Make code unconditional.
28036 [!__ASSUME_32BITUIDS]: Remove conditional code.
28037 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28038 <kernel-features.h>.
28039 [__ASSUME_32BITUIDS]: Make code unconditional.
28040 [!__ASSUME_32BITUIDS]: Remove conditional code.
28041 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28042 <kernel-features.h>.
28043 [__ASSUME_32BITUIDS]: Make code unconditional.
28044 [!__ASSUME_32BITUIDS]: Remove conditional code.
28045 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28046 <kernel-features.h>.
28047 [__ASSUME_32BITUIDS]: Make code unconditional.
28048 [!__ASSUME_32BITUIDS]: Remove conditional code.
28049 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28050 <kernel-features.h>.
28051 [__ASSUME_32BITUIDS]: Make code unconditional.
28052 [!__ASSUME_32BITUIDS]: Remove conditional code.
28053 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28054 <kernel-features.h>.
28055 [__ASSUME_32BITUIDS]: Make code unconditional.
28056 [!__ASSUME_32BITUIDS]: Remove conditional code.
28057 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28058 <kernel-features.h>.
28059 [__ASSUME_32BITUIDS]: Make code unconditional.
28060 [!__ASSUME_32BITUIDS]: Remove conditional code.
28061 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28062 <kernel-features.h>.
28063 [__ASSUME_32BITUIDS]: Make code unconditional.
28064 [!__ASSUME_32BITUIDS]: Remove conditional code.
28065 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28066 <kernel-features.h>.
28067 [__ASSUME_32BITUIDS]: Make code unconditional.
28068 [!__ASSUME_32BITUIDS]: Remove conditional code.
28069 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28070 <kernel-features.h>.
28071 [__ASSUME_32BITUIDS]: Make code unconditional.
28072 [!__ASSUME_32BITUIDS]: Remove conditional code.
28073 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28074 <kernel-features.h>.
28075 [__ASSUME_32BITUIDS]: Make code unconditional.
28076 [!__ASSUME_32BITUIDS]: Remove conditional code.
28077 * sysdeps/unix/sysv/linux/kernel-features.h
28078 (__ASSUME_SETRESUID_SYSCALL): Remove.
28079 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28080 (__ASSUME_32BITUIDS): Likewise.
28081 (__ASSUME_LDT_WORKS): Likewise.
28082 (__ASSUME_O_DIRECTORY): Likewise.
28083 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28084 architecture but not kernel version.
28085 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28086 (__ASSUME_MMAP2_SYSCALL): Likewise.
28087 (__ASSUME_STAT64_SYSCALL): Likewise.
28088 (__ASSUME_IPC64): Likewise.
28089 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28090 <kernel-features.h>.
28091 [__ASSUME_32BITUIDS]: Make code unconditional.
28092 [!__ASSUME_32BITUIDS]: Remove conditional code.
28093 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28094 <kernel-features.h>.
28095 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28096 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28097 132096]: Remove conditional code.
28098 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28099 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28100 <kernel-features.h>.
28101 [__ASSUME_32BITUIDS]: Make code unconditional.
28102 [!__ASSUME_32BITUIDS]: Remove conditional code.
28103 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28104 <kernel-features.h>.
28105 [__ASSUME_32BITUIDS]: Make code unconditional.
28106 [!__ASSUME_32BITUIDS]: Remove conditional code.
28107 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28108 <kernel-features.h>.
28109 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28110 unconditional.
28111 (__setresgid): Do not declare.
28112 [__ASSUME_32BITUIDS]: Make code unconditional.
28113 [!__ASSUME_32BITUIDS]: Remove conditional code.
28114 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28115 <kernel-features.h>.
28116 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28117 unconditional.
28118 (__setresuid): Do not declare.
28119 [__ASSUME_32BITUIDS]: Make code unconditional.
28120 [!__ASSUME_32BITUIDS]: Remove conditional code.
28121 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28122 <kernel-features.h>.
28123 [__ASSUME_32BITUIDS]: Make code unconditional.
28124 [!__ASSUME_32BITUIDS]: Remove conditional code.
28125 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28126 <kernel-features.h>.
28127 [__ASSUME_32BITUIDS]: Make code unconditional.
28128 [!__ASSUME_32BITUIDS]: Remove conditional code.
28129
a386f1cc
RH
281302012-05-25 Richard Henderson <rth@twiddle.net>
28131
28132 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28133 dl_hwcap to ifunc resolver.
28134 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28135 elf_ifunc_invoke.
28136 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28137 dl_hwcap to ifunc resolver.
28138 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28139
b6550497
JM
281402012-05-24 Joseph Myers <joseph@codesourcery.com>
28141
28142 [BZ #14153]
28143 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28144 for |x| <= 2**-26, not 2**-57.
28145 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28146 exception.
28147
b0bc23a1
JL
281482012-05-24 Jeff Law <law@redhat.com>
28149
28150 * stdio-common/Makefile (tests): Add bug25.
28151 * stdio-common/bug25.c: New test.
28152
347c92e9
L
281532012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28154
28155 [BZ #13576]
28156 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28157 multiple of MALLOC_ALIGNMENT in size.
28158 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28159
6bcc8b3f
JM
281602012-05-24 Joseph Myers <joseph@codesourcery.com>
28161
28162 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28163 Require >= 256.
28164 (FILENAME_MAX): Use macro-int-constant.
28165 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28166 (_IOFBF): Use macro-int-constant.
28167 (_IOLBF): Likewise.
28168 (_IONBF): Likewise.
28169 (SEEK_CUR): Likewise.
28170 (SEEK_END): Likewise.
28171 (SEEK_SET): Likewise.
28172 (TMP_MAX): Likewise.
28173 (EOF): Use macro-int-constant. Require < 0.
28174 (NULL): Use macro-constant. Require == 0.
28175 (stdin): Require type to be FILE *.
28176 (stdout): Likewise.
28177 (stderr): Likewise.
28178 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28179 macro-int-constant.
28180 (EXIT_SUCCESS): Likewise.
28181 (NULL): Use macro-constant. Require == 0.
28182 (RAND_MAX): Use macro-int-constant.
28183 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28184 [C99-based standards] (strtof): Require function.
28185 [C99-based standards] (strtold): Likewise.
28186 [C99-based standards] (strtoll): Likewise.
28187 [C99-based standards] (strtoull): Likewise.
28188 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28189 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28190 [ISO || ISO99 || ISO11] (math.h): Likewise.
28191 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28192 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28193 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28194
d18ea0c5
AS
281952012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28196
28197 [BZ #14132]
56d25bb8
AS
28198 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28199 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28200 * intl/dgettext.c (DCGETTEXT): Likewise.
28201 * intl/gettext.c (DCGETTEXT): Likewise.
28202 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28203 * posix/regex_internal.h (gettext): Likewise.
28204 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28205 Remove declaration.
28206 * include/argz.h (__argz_count_internal)
28207 (__argz_stringify_internal): Remove declaration.
28208 (__argz_count, __argz_stringify): Declare hidden proto.
28209 * intl/dcgettext.c: Remove use of INTDEF.
28210 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28211 * string/argz-stringify.c: Likewise.
28212 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28213 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28214 Declare hidden proto.
d18ea0c5
AS
28215 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28216 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28217 Declare hidden proto.
28218 * include/stdio.h (__asprintf_internal): Don't declare.
28219 (__asprintf): Don't define as macro. Declare hidden proto.
28220 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28221 (__fsetlocking): Declare hidden proto.
28222 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28223 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28224 hidden proto.
28225 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28226 (_IO_setlinebuf): Remove use of INTUSE.
28227 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28228 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28229 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28230 Remove declaration.
28231 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28232 (_IO_do_flush): Remove use of INTUSE.
28233 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28234 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28235 (_IO_adjust_column, _IO_least_wmarker)
28236 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28237 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28238 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28239 (_IO_default_doallocate, _IO_wdefault_doallocate)
28240 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28241 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28242 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28243 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28244 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28245 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28246 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28247 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28248 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28249 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28250 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28251 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28252 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28253 proto.
28254 (_IO_flush_all_internal, _IO_adjust_column_internal)
28255 (_IO_default_uflow_internal, _IO_default_finish_internal)
28256 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28257 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28258 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28259 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28260 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28261 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28262 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28263 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28264 (_IO_file_close_internal, _IO_file_close_it_internal)
28265 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28266 (_IO_file_init_internal, _IO_file_attach_internal)
28267 (_IO_file_fopen_internal, _IO_file_read_internal)
28268 (_IO_file_sync_internal, _IO_file_seek_internal)
28269 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28270 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28271 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28272 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28273 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28274 (_IO_list_all_internal, _IO_link_in_internal)
28275 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28276 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28277 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28278 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28279 (_IO_do_write_internal, _IO_padn_internal)
28280 (_IO_getline_info_internal, _IO_getline_internal)
28281 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28282 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28283 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28284 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28285 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28286 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28287 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28288 with libc_hidden_ver, remove use of INTUSE.
28289 * libio/genops.c: Likewise.
28290 * libio/freopen.c: Likewise.
28291 * libio/freopen64.c: Likewise.
28292 * libio/iofclose.c: Likewise.
28293 * libio/iofdopen.c: Likewise.
28294 * libio/iofflush.c: Likewise.
28295 * libio/iofflush_u.c: Likewise.
28296 * libio/iofgets.c: Likewise.
28297 * libio/iofgets_u.c: Likewise.
28298 * libio/iofopen.c: Likewise.
28299 * libio/iofopncook.c: Likewise.
28300 * libio/iofread.c: Likewise.
28301 * libio/iofread_u.c: Likewise.
28302 * libio/ioftell.c: Likewise.
28303 * libio/iofwrite.c: Likewise.
28304 * libio/iogetline.c: Likewise.
28305 * libio/iogets.c: Likewise.
28306 * libio/iogetwline.c: Likewise.
28307 * libio/iopadn.c: Likewise.
28308 * libio/iopopen.c: Likewise.
28309 * libio/ioseekoff.c: Likewise.
28310 * libio/ioseekpos.c: Likewise.
28311 * libio/iosetbuffer.c: Likewise.
28312 * libio/iosetvbuf.c: Likewise.
28313 * libio/ioungetc.c: Likewise.
28314 * libio/ioungetwc.c: Likewise.
28315 * libio/iovdprintf.c: Likewise.
28316 * libio/iovsprintf.c: Likewise.
28317 * libio/iovsscanf.c: Likewise.
28318 * libio/memstream.c: Likewise.
28319 * libio/obprintf.c: Likewise.
28320 * libio/oldfileops.c: Likewise.
28321 * libio/oldiofclose.c: Likewise.
28322 * libio/oldiofdopen.c: Likewise.
28323 * libio/oldiofopen.c: Likewise.
28324 * libio/oldiopopen.c: Likewise.
28325 * libio/oldstdfiles.c: Likewise.
28326 * libio/putc.c: Likewise.
28327 * libio/setbuf.c: Likewise.
28328 * libio/setlinebuf.c: Likewise.
28329 * libio/stdfiles.c: Likewise.
28330 * libio/strops.c: Likewise.
28331 * libio/vasprintf.c: Likewise.
28332 * libio/vscanf.c: Likewise.
28333 * libio/vsnprintf.c: Likewise.
28334 * libio/vswprintf.c: Likewise.
28335 * libio/wfiledoalloc.c: Likewise.
28336 * libio/wfileops.c: Likewise.
28337 * libio/wgenops.c: Likewise.
28338 * libio/wmemstream.c: Likewise.
28339 * libio/wstrops.c: Likewise.
28340 * libio/__fpurge.c: Likewise.
28341 * libio/__fsetlocking.c: Likewise.
28342 * assert/assert.c: Likewise.
28343 * debug/fgets_chk.c: Likewise.
28344 * debug/fgets_u_chk.c: Likewise.
28345 * debug/fread_chk.c: Likewise.
28346 * debug/fread_u_chk.c: Likewise.
28347 * debug/gets_chk.c: Likewise.
28348 * debug/obprintf_chk.c: Likewise.
28349 * debug/vasprintf_chk.c: Likewise.
28350 * debug/vdprintf_chk.c: Likewise.
28351 * debug/vsnprintf_chk.c: Likewise.
28352 * debug/vsprintf_chk.c: Likewise.
28353 * malloc/mtrace.c: Likewise.
28354 * misc/error.c: Likewise.
28355 * misc/syslog.c: Likewise.
28356 * stdio-common/asprintf.c: Likewise.
28357 * stdio-common/fxprintf.c: Likewise.
28358 * stdio-common/getw.c: Likewise.
28359 * stdio-common/isoc99_fscanf.c: Likewise.
28360 * stdio-common/isoc99_scanf.c: Likewise.
28361 * stdio-common/isoc99_vfscanf.c: Likewise.
28362 * stdio-common/isoc99_vscanf.c: Likewise.
28363 * stdio-common/isoc99_vsscanf.c: Likewise.
28364 * stdio-common/printf-prs.c: Likewise.
28365 * stdio-common/printf_fp.c: Likewise.
28366 * stdio-common/printf_fphex.c: Likewise.
28367 * stdio-common/printf_size.c: Likewise.
28368 * stdio-common/putw.c: Likewise.
28369 * stdio-common/scanf.c: Likewise.
28370 * stdio-common/sprintf.c: Likewise.
28371 * stdio-common/tmpfile.c: Likewise.
28372 * stdio-common/vfprintf.c: Likewise.
28373 * stdio-common/vfscanf.c: Likewise.
28374 * stdlib/strfmon_l.c: Likewise.
28375 * sunrpc/openchild.c: Likewise.
28376 * sunrpc/xdr_stdio.c: Likewise.
28377 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28378 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28379
d6c33fda
RM
283802012-05-24 Roland McGrath <roland@hack.frob.com>
28381
c1487492
RM
28382 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28383
28384 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28385 in the third column, to generate for the shared library an IFUNC
28386 that uses _dl_vdso_vsym.
28387 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28388 * Makeconfig (object-suffixes-noshared): New variable.
28389
28390 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28391 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28392 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28393 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28394
d6c33fda
RM
28395 [BZ #14132]
28396 * include/sys/time.h (__gettimeofday): Remove macro.
28397 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28398 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28399 Remove INTDEF.
28400 (__gettimeofday): Add libc_hidden_def.
28401 (gettimeofday): Add libc_hidden_weak.
28402 * sysdeps/mach/gettimeofday.c: Likewise.
28403 * sysdeps/posix/gettimeofday.c: Likewise.
28404 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28405 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28406 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28407 (__gettimeofday_internal): Remove strong_alias.
28408 (__gettimeofday): Add libc_hidden_def.
28409 (gettimeofday): Add libc_hidden_weak.
28410 * sysdeps/unix/syscalls.list (gettimeofday):
28411 Remove __gettimeofday_internal alias.
28412
b5a2bbe6
L
284132012-05-24 Daniel Jacobowitz <drow@false.org>
28414 H.J. Lu <hongjiu.lu@intel.com>
28415
28416 [BZ #12495]
28417 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28418 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28419 (largebin_index_32_big): New.
28420 (largebin_index): Use it for 16-byte alignment.
28421 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28422 correction with front_misalign.
28423
cfba4fda
L
284242012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28425
7f907421
L
28426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28428 Likewise.
28429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28430 Likewise.
28431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28432 Likewise.
28433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28434 Likewise.
28435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28436 Likewise.
28437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28438 Likewise.
28439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28440 Likewise.
28441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28442 Likewise.
28443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28444 Likewise.
28445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28446 Likewise.
28447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28448 Likewise.
28449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28450 Likewise.
28451
cfba4fda
L
28452 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28453 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28454
80bad0cc
JM
284552012-05-24 Joseph Myers <joseph@codesourcery.com>
28456
7a25eb06
JM
28457 [BZ #10846]
28458 [BZ #14036]
28459 * math/libm-test.inc (exp_test): Add test from bug 14036.
28460 (pow_test): Add test from bug 10846.
28461
795405f9
JM
28462 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28463 and other flags.
28464 (special_function): Do not include flags in test name.
28465 (parse_args): Likewise.
28466 * sysdeps/i386/fpu/libm-test-ulps: Update.
28467 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28468 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28469 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28471
80bad0cc
JM
28472 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28473 exceptions.
28474 * math/libm-test.inc ("Philosophy"): Update comment about
28475 exception testing.
28476 (UNDERFLOW_EXCEPTION): New macro.
28477 (UNDERFLOW_EXCEPTION_OK): Likewise.
28478 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28479 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28480 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28481 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28482 (INVALID_EXCEPTION_OK): Update value.
28483 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28484 (OVERFLOW_EXCEPTION_OK): Likewise.
28485 (IGNORE_ZERO_INF_SIGN): Likewise.
28486 (test_exceptions): Handle underflow exceptions.
28487 (acos_test): Update for underflow exception expectations.
28488 (cexp_test): Likewise.
28489 (clog_test): Likewise.
28490 (clog10_test): Likewise.
28491 (csqrt_test): Likewise.
28492 (ctan_test): Likewise.
28493 (ctanh_test): Likewise.
28494 (exp_test): Likewise.
28495 (exp10_test): Likewise.
28496 (exp2_test): Likewise.
28497 (expm1_test): Likewise.
28498 (fma_test): Likewise.
28499 (j0_test): Likewise.
28500 (jn_test): Likewise.
28501 (nexttoward_test): Likewise.
28502 (pow_test): Likewise.
28503 (scalbn_test): Likewise.
28504 (scalbln_test): Likewise.
28505 (tan_test): Likewise.
28506 (y1_test): Likewise.
28507 * sysdeps/i386/fpu/libm-test-ulps: Update.
28508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28509
9e0e3d0b
DM
285102012-05-23 David S. Miller <davem@davemloft.net>
28511
28512 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28513 (__libc_sigaction): Remove unused local variables.
28514
ccd0a08f
L
285152012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28516
28517 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28518
62bdf9a6
PE
285192012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28520
f8591f80
PE
28521 mktime: avoid signed integer overflow
28522 * time/mktime.c (__mktime_internal): Do not mishandle the case
28523 where diff == INT_MIN.
28524
94c7d826
PE
28525 mktime: simplify computation of average
28526 * time/mktime.c (ranged_convert): Use new time_t_avg function
28527 instead of rolling our own (probably-slower) code.
28528
ce73d683
PE
28529 mktime: do not assume signed right shift propagates sign bit
28530 * time/mktime.c (isdst_differ): New static function.
28531 (__mktime_internal): No need to normalize tm_isdst now.
28532 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28533 tm_isdst values.
28534
72a22e59
PE
28535 mktime: merge another wrapv change from gnulib
28536 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28537 from some compilers.
28538
68605433
PE
28539 mktime: remove incorrect attempt at unusual arithmetics
28540 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28541 The code didn't really work on such machines anyway.
28542 (TYPE_MINIMUM): Assume two's complement.
28543 (twos_complement_arithmetic): Verify that long_int and time_t
28544 are two's complement (or unsigned, in the latter case).
28545
03cf7fe3
PE
28546 mktime: check signed shifts on long_int and time_t, too
28547 * time/mktime.c (SHR): Check that shifts work as desired
28548 on the types long_int and time_t too, as SHR is used on
28549 such types.
28550
f04dfbc2
PE
28551 mktime: do not assume 'long' is wide enough
28552 * time/mktime.c (verify): Move decl up.
28553 (long_int): New type.
28554 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28555 to remove assumption in the code that 'long' is wide enough to
28556 store year values. This assumption is not true on x32 and on
28557 some non-glibc platforms.
28558
62bdf9a6
PE
28559 mktime: merge wrapv change from gnulib
28560 * time/mktime.c (WRAPV): New macro.
28561 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28562 (guess_time_tm, __mktime_internal): Do not assume that signed
28563 integer overflow wraps around; modern compilers generate code
28564 where this assumption is no longer valid.
28565
5e292e4f
L
285662012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28567
28568 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28569 Replace "jmp L(pseudo_end)" with "ret".
28570 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28571 Likewise.
28572
8caf8c87
AJ
285732012-05-23 Andreas Jaeger <aj@suse.de>
28574
28575 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28576 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28577
1a09dc56
AJ
285782012-05-23 Andreas Jaeger <aj@suse.de>
28579 Maximilian Attems <max@stro.at>
28580
28581 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28582 New macros.
28583
1c87aba0
L
285842012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28585
28586 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28587 code so that pseudo_end is just ret and the stack pointer is
28588 correct also for static library in error case.
28589
40e45bd5
JM
285902012-05-23 Joseph Myers <joseph@codesourcery.com>
28591
c2670533
JM
28592 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28593 move to syscalls.list.
28594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28598
40e45bd5
JM
28599 * manual/install.texi (Running make install): Do not mention Linux
28600 kernel version for which pt_chown is not needed.
28601 (Linux): Do not mention problems with nscd with 2.0 kernels.
28602 * INSTALL: Regenerated.
28603
be08eda5
AJ
286042012-05-23 Andreas Jaeger <aj@suse.de>
28605
28606 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28607 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28608 macro.
28609 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28610 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28611 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28612 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28613 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28614 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28615 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28616 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28617 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28618 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28619 * sysdeps/unix/sysv/linux/bits/in.h
28620 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28621
a6a056bb
RM
286222012-05-22 Roland McGrath <roland@hack.frob.com>
28623
28624 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28625 (PREPARE_VERSION): Just use assert instead, it will be elided
28626 under [NDEBUG] anyway.
28627
c9009328
L
286282012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28629
28630 * sysdeps/unix/sysv/linux/Makefile: Include
28631 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 28632 (sysdep_routines): Remove sysctl.
c9009328
L
28633 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28634 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28635 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28636 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28637 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28638
73338355
AJ
286392012-05-22 Andreas Jaeger <aj@suse.de>
28640
28641 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28642 that pseudo_end is just ret and the stack pointer is correct also
28643 for static library in error case.
28644
d44638b0
PP
286452012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28646
28647 [BZ #14122]
28648 * nss/nsswitch.c (defconfig_entries): New variable.
28649 (__nss_database_lookup): Don't leak defconfig entries.
28650 (nss_parse_service_list): Don't leak on error paths.
28651 (free_database_entries): New function.
28652 (free_defconfig): New function.
28653 (free_mem): Move common code to free_database_entries.
28654
31a39bd8
L
286552012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28656
da0331a8
L
28657 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28658 Add arch_prctl.
28659 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28660
31a39bd8
L
28661 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28662 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28663 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28664 New macro.
28665 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28666 (INTERNAL_SYSCALL_TYPES): Likewise.
28667 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28668 (LOAD_REGS_TYPES_[1-6]): Likewise.
28669 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28670 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28671
45470df3
AZ
286722012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28673
28674 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28675 copysignl for GLIBC_2_0.
28676 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28677 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28678 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28679 logbl for GLIBC_2_0.
28680 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28681 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28682
98a61bcb
L
286832012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28684
a4f6e481
L
28685 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28686 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28687
f63d5db6
L
28688 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28689 Use "neg %eax".
28690
98a61bcb
L
28691 * time/mktime.c: Update copyright years.
28692
95770f14
PE
286932012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28694
6226efbd
PE
28695 mktime: merge comment-quoting-style change from gnulib
28696 * time/mktime.c: Quote 'like this' in comments.
28697 The GNU coding standards suggest that we no longer quote `like this',
28698 as "`" and "'" are typically rendered asymmetrically nowadays.
28699 The typical gnulib style is to quote 'like this' when quoting
28700 code, and "like this" when quoting English.
28701
b99e4f78
PE
28702 * time/mktime.c (compile-command): Add "-I.".
28703
643e01e6
PE
28704 mktime: merge mktime-internal.h change from gnulib
28705 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28706
2554247d
PE
28707 mktime: merge time_r change from gnulib
28708 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28709
826dd0ab
PE
28710 mktime: merge DEBUG change from gnulib
28711 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28712 case system <time.h> has a #define.
28713
bd83aabe
PE
28714 mktime: merge <sys/types.h> change from gnulib
28715 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28716 since <time.t> is now guaranteed to define time_t.
28717
95770f14
PE
28718 mktime: merge HAVE_CONFIG_H change from gnulib
28719 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28720
5e1a27a9
L
287212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28722
0e44a77e
L
28723 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28724 Use "neg %eax".
28725
5e1a27a9
L
28726 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28727 __rlim_t cast.
28728 (struct rusage): Use anonymous union to pad each field to
28729 __syscall_slong_t.
28730
46259bec
DM
287312012-05-21 David S. Miller <davem@davemloft.net>
28732
28733 * Makefules (o-iterator): Remove .s cases.
28734 (compile-command.s): Delete.
28735 (COMPILE.s): Delete.
28736 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28737
59f0c22e
JM
287382012-05-21 Joseph Myers <joseph@codesourcery.com>
28739
28740 * configure.in (libc_cv_predef_stack_protector): Only consider
28741 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28742 * configure: Regenerated.
28743
20c07380
L
287442012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28745
bbb3154b
L
28746 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28747 New macro. Use R*LP on int and pointer.
28748 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28749 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28750 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28751 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28752
20c07380
L
28753 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28754 [__WORDSIZE_TIME64_COMPAT32] instead of
28755 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28756 (struct utmp): Likewise.
28757 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28758 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28759 Renamed to ...
28760 (__WORDSIZE_TIME64_COMPAT32): This.
28761 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28762 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28763 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28764 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28765 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28766 (__WORDSIZE_TIME64_COMPAT32): New macro.
28767
d8d1017e
AJ
287682012-05-21 Andreas Jaeger <aj@suse.de>
28769
28770 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28771 only if [SHARED]. Add prototype for __wcschr_ia32.
28772
6c7fb145
RM
287732012-05-21 Roland McGrath <roland@hack.frob.com>
28774
28775 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28776 of %rbp unmolested in the jmp_buf while mangling the low bits.
28777 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28778 unmolested high bits of %rbp while demangling the low bits.
28779 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28780
66274218
AJ
287812012-05-21 Andreas Jaeger <aj@suse.de>
28782
07c58f8f
AJ
28783 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28784 * sunrpc/svc_simple.c: Use it for registerrpc.
28785 * sunrpc/xcrypt.c: Use it for passwd2des.
28786
66274218
AJ
28787 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28788
61f65140
L
287892012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28790
28791 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28792 Don't define if [__SYSCALL_WORDSIZE != 32].
28793 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28794 New macro.
28795
5fefb436
AJ
287962012-05-21 Bruno Haible <bruno@clisp.org>
28797 Andreas Jaeger <aj@suse.de>
28798
28799 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28800 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28801 inptr and inend for must_buffer_ch.
28802 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28803 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28804 * stdio-common/Makefile (tests): Remove bug15.
28805 (bug15-ENV): Remove macro.
28806 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28807 anymore.
28808
d8e272ab
AJ
288092012-05-19 Andreas Jaeger <aj@suse.de>
28810 Roland McGrath <roland@hack.frob.com>
28811
28812 * manual/contrib.texi: Completely rewritten. It contains now an
28813 alphabetical list of contributors and their contributions.
28814
4a56a162
RH
288152012-05-21 Richard Henderson <rth@twiddle.net>
28816
28817 * misc/getauxval.c (__getauxval): Use unsigned long int.
28818 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28819 (getauxval): Use unsigned long int.
28820
d024d23c
L
288212012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28822
28823 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28824
cbc00a03
RM
288252012-05-21 Roland McGrath <roland@hack.frob.com>
28826
28827 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28828 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28829 __alignof__ (long double).
28830
478143fa
AZ
288312012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28832
28833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28834
c7683a6d
RH
288352012-05-20 Richard Henderson <rth@twiddle.net>
28836
28837 * misc/getauxval.c: New file.
28838 * misc/sys/auxv.h: New file.
28839 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28840 (routines): Add getauxval.
28841 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28842 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28843 * elf/dl-sysdep.c (_dl_auxv): Remove.
28844 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28845 * elf/dl-support.c (_dl_auxv): New variable.
28846 (_dl_aux_init): Initialize it.
28847 * manual/startup.texi (Auxiliary Vector): New node.
28848 * sysdeps/generic/bits/hwcap.h: New file.
28849 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28850 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28851 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28852 * sysdeps/sparc/sysdep.h: ... here. Include it.
28853 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28854 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28856 Update.
c7683a6d
RH
28857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28859 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28860 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28861 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28862 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28865
a6f1845d
AZ
288662012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28867
28868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28869
cbcbe830
DM
288702012-05-19 David S. Miller <davem@davemloft.net>
28871
28872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28873
e0b16cc2
JM
288742012-05-19 Joseph Myers <joseph@codesourcery.com>
28875
28876 [BZ #14123]
28877 * math/s_ccosh.c: Include <float.h>
28878 (__ccosh): Avoid internal overflow calculating sinh and cosh
28879 values before multiplying by sin and cos values.
28880 * math/s_ccoshf.c: Likewise.
28881 * math/s_ccoshl.c: Likewise.
28882 * math/s_csin.c: Likewise.
28883 * math/s_csinf.c: Likewise.
28884 * math/s_csinl.c: Likewise.
28885 * math/s_csinh.c: Likewise.
28886 * math/s_csinhf.c: Likewise.
28887 * math/s_csinhl.c: Likewise.
28888 * math/libm-test.inc (ccos_test): Add more tests.
28889 (ccosh_test): Likewise.
28890 (csin_test): Likewise.
28891 (csinh_test): Likewise.
28892 * sysdeps/i386/fpu/libm-test-ulps: Update.
28893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28894
6ad13e08
L
288952012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28896
f66f0ce8
L
28897 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28898 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28899
6ad13e08
L
28900 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28901
b1d072a7
JM
289022012-05-19 Joseph Myers <joseph@codesourcery.com>
28903
28904 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28905 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28906 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28907 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28908 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28909 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28910 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28911 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28912 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28913 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28914 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28915 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28916 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28917 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28918 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28919 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28920 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28921 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28922 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28923 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28924 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28925 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28926 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28927 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28928 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28929 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28930 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28931 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28932 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28933 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28934 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28935
9eae47cb
AJ
289362012-05-18 Andreas Jaeger <aj@suse.de>
28937
28938 * csu/.gitignore: Delete.
28939
bb07f69f
L
289402012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28941
28942 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28943 (timex): Use __syscall_slong_t.
28944
e6bdb741
AJ
289452012-05-18 Andreas Jaeger <aj@suse.de>
28946 Carlos O'Donell <carlos_odonell@mentor.com>
28947
28948 * manual/install.texi (Configuring and compiling): Update
28949 description about files modified in the source directory.
d6c33fda 28950 * INSTALL: Regenerated.
e6bdb741 28951
1b74487e
L
289522012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28953
28954 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28955 value. Use "or" to set return value to -1.
28956 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28957 negate return value.
28958
a88b64b9
TMQMF
289592012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28960
57f41c40
AS
28961 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28962 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
28963 failure if the compiler has Graphite support disabled.
28964 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28965 Likewise.
57f41c40
AS
28966 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28967 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
28968 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28969 Likewise.
28970
3707636e
L
289712012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28972
610b8622
L
28973 * sysdeps/x86_64/x32/_itoa.h: New file.
28974
7cd195df
L
28975 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28976 getdents system call only if kernel and user dirents have the
28977 same d_ino and d_off.
28978
94b07d20
L
28979 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28980 LLONG_MAX != LONG_MAX.
28981 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28982 (_fitoa_word): Likewise.
28983
18298070
L
28984 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28985 years.
28986 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28987 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28988 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28989
553c7ea4
L
28990 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28991 include <bits/wordsize.h>. Check __x86_64__ instead of
28992 __WORDSIZE.
28993 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28994 if __x86_64__ is defined. Use anonymous union on fpstate.
28995
3707636e
L
28996 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28997 anonymous union.
28998
b53ef01a
AS
289992012-05-18 Andreas Schwab <schwab@linux-m68k.org>
29000
37fb1dc0
AS
29001 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29002 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29003 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29004 Refer to _rtld_local_ro instead of _rtld_global_ro.
29005 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29006 Likewise.
29007 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29008 Likewise.
29009 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29010 Likewise.
29011 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29012 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29013 of _rtld_global, and rtld_progname instead of _dl_argv[0].
29014
b53ef01a
AS
29015 * sysdeps/powerpc/powerpc32/dl-machine.c
29016 (__elf_machine_runtime_setup) [PROF]: Don't reference
29017 _dl_prof_resolve.
29018
7a185db2
AJ
290192012-05-18 Andreas Jaeger <aj@suse.de>
29020
29021 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29022 function only available for GCCs before 3.4 since GCC 3.4
29023 introduced a builtin.
29024 (lrint): Likewise.
29025 (llrintf): Likewise.
29026 (llrint): Likewise.
29027 (fmaxf): Likewise.
29028 (fmax): Likewise.
29029 (fminf): Likewise.
29030 (fmin): Likewise.
29031 (rint): Likewise.
29032 (rintf): Likewise.
29033 (nearbyint): Likewise.
29034 (nearbyintf): Likewise.
29035 (ceil): Likewise.
29036 (ceilf): Likewise.
29037 (floor): Likewise.
29038 (floorf): Likewise.
29039
3e5aef87
L
290402012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29041
428bd707
L
29042 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29043 on both fields and cast pointer to __syscall_ulong_t.
29044
3e5aef87
L
29045 * bits/types.h (__fsword_t): New type.
29046 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29047 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29048 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29049 (__FSWORD_T_TYPE): Likewise.
29050 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29051 (__FSWORD_T_TYPE): Likewise.
29052 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29053 (__FSWORD_T_TYPE): Likewise.
29054 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29055 (__FSWORD_T_TYPE): Likewise.
29056 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29057 __SWORD_TYPE with __fsword_t.
29058 (statfs64): Likewise.
29059
1ba7c3dc
DM
290602012-05-17 David S. Miller <davem@davemloft.net>
29061
29062 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29063
59910343
AJ
290642012-05-17 Andreas Jaeger <aj@suse.de>
29065
29066 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29067 warning.
29068
2e4c1e9e
L
290692012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29070
29071 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29072
de7f5ce7
AJ
290732012-05-17 Andreas Jaeger <aj@suse.de>
29074
29075 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29076 when it is used.
29077
286abc3d
CM
290782012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29079
29080 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29081
477cc68e
L
290822012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29083
29084 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29085 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29086
1a0994f5
CD
290872012-05-17 Andreas Jaeger <aj@suse.de>
29088 Carlos O'Donell <carlos_odonell@mentor.com>
29089
29090 [BZ #14059]
29091 * sysdeps/x86_64/multiarch/init-arch.h
29092 (bit_YMM_Usable): Rename to...
29093 (bit_AVX_Usable): ... this.
29094 (bit_FMA4_Usable): New macro.
29095 (bit_XMM_state): New macro.
29096 (bit_YMM_state): New macro.
29097 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29098 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29099 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29100 (CPUID_OSXSAVE): New macro.
29101 (CPUID_AVX): New macro.
29102 (CPUID_FMA4): New macro.
29103 (index_YMM_Usable): Rename to...
29104 (index_AVX_Usable): ... this.
29105 (HAS_AVX): Use HAS_ARCH_FEATURE.
29106 (HAS_FMA4): Likewise.
29107 (HAS_YMM_USABLE): Remove.
29108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29109 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29110 are present.
29111 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29112 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29113 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29114 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29115 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29116
0af797de
CM
291172012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29118
29119 * math/libm-test.c: Support platforms without multiple rounding modes.
29120 * math/bug-nextafter.c: Support platforms without FP exceptions.
29121 * math/bug-nexttoward.c: Likewise.
29122 * math/test-fenv.c: Likewise.
29123 * math/test-misc.c: Likewise.
29124 * stdlib/bug-getcontext.c: Likewise.
29125
e39745ff
AJ
291262012-05-17 Andreas Jaeger <aj@suse.de>
29127
29128 * manual/examples/search.c (critter_cmp): Change signature to
29129 avoid warnings.
29130 * manual/string.texi (Collation Functions): Likewise.
29131
48970aba
L
291322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29133
29134 * bits/types.h: Fold copyright years.
29135 * bits/typesizes.h: Likewise.
29136 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29137 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29138 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29139 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29140 * time/time.h: Likewise.
29141
bedee953
PP
291422012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29143
29144 [BZ #208]
29145 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29146 in instead of returning them. Return void.
29147 (__libc_mallinfo): Accumulate over all arenas.
29148 (__malloc_stats): Adjust for change in int_mallinfo interface.
29149
61653dfb
RM
291502012-05-16 Roland McGrath <roland@hack.frob.com>
29151
30b99d79
RM
29152 [BZ #10375]
29153 * configure.in (NM): Add AC_CHECK_TOOL for it.
29154 (libc_extra_cflags): New substituted variable.
29155 Check for -fstack-protector being used implicitly.
29156 * configure: Regenerated.
29157 * config.make.in (config-extra-cflags): New variable,
29158 gets @libc_extra_cflags@.
29159 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29160
61653dfb
RM
29161 [BZ #10375]
29162 * configure.in: Check for _FORTIFY_SOURCE being predefined.
29163 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29164 * configure: Regenerated.
29165 * config.make.in (CPPUNDEFS): New substituted variable.
29166 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29167 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29168 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29169
661768bb
L
291702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29171
29172 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29173 (mq_attr): Use __syscall_slong_t.
29174
d4261567
L
291752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29176
29177 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29178 Check __x86_64__ instead of __WORDSIZE.
29179 (_STAT_VER_LINUX): Likewise.
29180 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29181 __syscall_ulong_t and __syscall_slong_t.
29182 (stat64): Likewise.
29183
cf3ff365
L
291842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29185
29186 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29187
76cf3e4d
L
291882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29189
29190 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29191
a637753a
L
291922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29193
29194 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29195 __syscall_ulong_t.
29196
d5e05119
L
29197 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29198 include <bits/wordsize.h>. Check __x86_64__ instead of
29199 __WORDSIZE.
29200 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29201 defined.
29202 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29203
f62ee380
L
29204 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29205 include <bits/wordsize.h>. Check __x86_64__ instead of
29206 __WORDSIZE.
29207 (user_regs_struct): Use "__extension__ unsigned long long"
29208 instead of "unsigned long" if __x86_64__ is defined.
29209 (user): Likewise. Pad after pointer field if __ILP32__ is
29210 defined.
29211
4e124ced
JM
292122012-05-16 Joseph Myers <joseph@codesourcery.com>
29213
6a3951a0
JM
29214 * configure.in (makeinfo): Require version 4.5 or later. Allow
29215 versions 5 to 9.
29216 * configure: Regenerated.
29217 * manual/install.texi (texinfo): Increase version requirement to
29218 4.5 or later.
29219 * INSTALL: Regenerated.
29220
4e124ced
JM
29221 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29222
953ca31a
L
292232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29224
29225 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29226
617aca05
L
29227 * sysdeps/x86_64/x32/ffs.c: New file.
29228
5762f7ae
L
29229 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29230 __syscall_ulong_t.
29231 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29232 defined. Use __syscall_ulong_t.
29233 (shminfo): Use __syscall_ulong_t.
29234 (shm_info): Likewise.
29235
a26b6856
L
29236 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29237 __syscall_ulong_t.
29238
cb2b9ef7
L
29239 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29240 <bits/wordsize.h>.
29241 (msgqnum_t): Use __syscall_ulong_t.
29242 (msglen_t): Likewise.
29243 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29244 __syscall_ulong_t.
29245
34683bb0
L
29246 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29247 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29248
84a68786
L
29249 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29250
48baa5f1
L
29251 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29252 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29253
180be88b
L
29254 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29255 __syscall_slong_t.
29256
5e90c8ad
L
29257 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29258 include <bits/wordsize.h>. Check __x86_64__ instead of
29259 __WORDSIZE.
29260
23dfb58b
L
29261 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29262 "unsigned long long int" if __x86_64__ is defined.
29263 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29264
ce5d54b0
L
29265 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29266 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29267 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29268
13dc9eac
L
29269 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29270 <stdint.h>.
29271 (GET_PC): Cast to uintptr_t first.
29272 (GET_FRAME): Likewise.
29273 (GET_STACK): Likewise.
29274
a7895d15
L
29275 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29276 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29277 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29278 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29279 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29280 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29281 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29282 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29283 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29284 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29285 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29286 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29287 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29288 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29289 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29290 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29291 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29292 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29293 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29294 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29295 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29296 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29297 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29298 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29299 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29300 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29301 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29302 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29303 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29304
656416c9
AS
293052012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29306
5bd66283
AS
29307 * Makerules (+depfiles): Also collect depfiles from .oS in
29308 $(extra-objs).
29309 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29310 .oS, $(libnldbl-routines)).
29311
656416c9
AS
29312 * Makerules (native-compile-mkdep-flags): Define.
29313 * sunrpc/Makefile (extra-objs): Add $(addprefix
29314 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29315 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29316 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29317 calling $(make-target-directory).
29318
a46f2169
L
293192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29320
29321 * bits/types.h (__snseconds_t): Removed.
29322 * time/time.h (struct timespec): Replace __snseconds_t with
29323 __syscall_slong_t.
29324 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29325 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29326 Likewise.
29327 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29328 (__SNSECONDS_T_TYPE): Likewise.
29329 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29330 (__SNSECONDS_T_TYPE): Likewise.
29331 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29332 (__SNSECONDS_T_TYPE): Likewise.
29333
6af6528b
L
293342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29335
29336 * sysdeps/mach/hurd/bits/typesizes.h
29337 (__SYSCALL_SLONG_TYPE): New macro.
29338 (__SYSCALL_ULONG_TYPE): Likewise.
29339
de986b56
L
293402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29341
29342 * bits/types.h (__syscall_slong_t): New type.
29343 (__syscall_ulong_t): Likewise.
29344
29345 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29346 (__SYSCALL_ULONG_TYPE): Likewise.
29347 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29348 (__SYSCALL_SLONG_TYPE): Likewise.
29349 (__SYSCALL_ULONG_TYPE): Likewise.
29350 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29351 (__SYSCALL_SLONG_TYPE): Likewise.
29352 (__SYSCALL_ULONG_TYPE): Likewise.
29353 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29354 (__SYSCALL_SLONG_TYPE): Likewise.
29355 (__SYSCALL_ULONG_TYPE): Likewise.
29356
85736dc7
L
293572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29358
29359 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29360 Add sigaltstack-offsets.sym.
29361 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29362 <sigaltstack-offsets.h>.
29363 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29364 longjmp_msg pointer.
29365 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29366 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29367 signal stack.
29368 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29369
cc03b296
JM
293702012-05-15 Joseph Myers <joseph@codesourcery.com>
29371
a9538892
JM
29372 * elf/stackguard-macros.h: Remove file.
29373 * sysdeps/generic/stackguard-macros.h: New file.
29374 * sysdeps/i386/stackguard-macros.h: Likewise.
29375 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29376 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29377 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29378 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29379 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29380 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29381 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29382 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29383 <elf/stackguard-macros.h>.
29384
cc03b296
JM
29385 [BZ #14109]
29386 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29387 __aligned__ in attribute.
29388 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29389 (gregset_t): Likewise.
29390
93171016
L
293912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29392
29393 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29394 * sysdeps/x86_64/64/Implies-after: Here. New file.
29395 * sysdeps/x86_64/x32/Implies-after: New file.
29396
d86813a0
L
293972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29398
29399 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29400 and access return value for _dl_profile_fixup. Use R10_LP to
29401 load frame size.
29402
2953ec75
L
294032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29404
29405 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29406
3b550e9e
L
294072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29408
29409 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29410 * sysdeps/x86_64/x32/sysdep.h: New file.
29411
eda41706
L
294122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29413
29414 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29415 * sysdeps/x86_64/setjmp.S: Likewise.
29416
9ea01d93
AZ
294172012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29418
29419 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29420 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29421 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29422 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29423 remove unused global constant.
29424
02a91938
CM
294252012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29426
29427 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29428 include of <not-cancel.h>.
29429
6540185f
RM
294302012-05-15 Roland McGrath <roland@hack.frob.com>
29431
29432 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29433
509072a0
AJ
294342012-05-15 Jeff Law <law@redhat.com>
29435 Andreas Jaeger <aj@suse.de>
29436
29437 [BZ #13594]
29438 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29439 out from...
29440 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29441 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29442 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29443 code changing __hst_map_handle.map.
29444
ba75122d
RM
294452012-05-15 Roland McGrath <roland@hack.frob.com>
29446
29447 * configure.in (sysnames): Look for Implies-before and Implies-after
29448 files.
29449 * configure: Regenerated.
29450
890d8bd8
L
294512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29452
29453 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29454 8-byte data alignment with LP_SIZE alignment.
29455
f6ee6623
L
294562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29457
29458 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29459 into R10_LP.
29460
ea2626f6
L
294612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29462
29463 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29464
085f715e
L
294652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29466
29467 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29468 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29469 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29470 Likewise.
29471 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29472
be8498fc
L
294732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29474
29475 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29476 (stackinfo_sub_sp): Likewise.
29477
70bc83b9
L
294782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29479
29480 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29481 RAX_LP.
29482
9bc0b730
L
294832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29484
29485 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29486 into R*_LP.
29487
6d2850e7
L
294882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29489
29490 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29491 sizes into R*_LP.
29492
3cb84561
L
294932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29494
29495 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29496
54e2ed81
L
294972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29498
29499 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29500 into R11_LP and load __x86_64_shared_cache_size_half into
29501 R8_LP.
29502
8a17f349
L
295032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29504
29505 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29506 R8_LP.
29507
777b1eea
AZ
295082012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29509
29510 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29511 logb for POWER7.
29512 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29513 logbf for POWER7.
29514 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29515 logbl for POWER7.
29516 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29517 powerpc32/power7/fpu/s_logb.c via #include.
29518 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29519 powerpc32/power7/fpu/s_logbf.c via #include.
29520 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29521 powerpc32/power7/fpu/s_logbl.c via #include.
29522
d20d4ac2
JM
295232012-05-15 Joseph Myers <joseph@codesourcery.com>
29524
29525 * README.libm: Remove file.
29526
6cdef1ab
L
295272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29528
29529 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29530 count for x32. Use R*_LP and omit operand-size suffix.
29531
0b254d8f
L
295322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29533
29534 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29535 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29536 * sysdeps/x86_64/x32/shlib-versions: New file.
29537
ceb809dc
RM
295382012-05-14 Roland McGrath <roland@hack.frob.com>
29539
29540 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29541 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29542 Use _dl_fatal_printf instead.
29543
37f1abd4
JM
295442012-05-14 Joseph Myers <joseph@codesourcery.com>
29545
29546 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29547 set if not set by the user. Do not allow for being unset.
29548 * sysdeps/unix/sysv/linux/configure: Regenerated.
29549
11de3a33
L
295502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29551
29552 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29553 the `q' suffix from lea and replace .quad with ASM_ADDR.
29554
e02f153a
L
295552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29556
29557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29558 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29559 instead of $17.
29560 (PTR_DEMANGLE): Likewise.
29561
520ae0fd
L
295622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29563
29564 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29565 (LP_OP): Likewise.
29566 (ASM_ADDR): Likewise.
29567 (RAX_LP): Likewise.
29568 (RBP_LP): Likewise.
29569 (RBX_LP): Likewise.
29570 (RCX_LP): Likewise.
29571 (RDI_LP): Likewise.
29572 (RSI_LP): Likewise.
29573 (RSP_LP): Likewise.
29574 (R8_LP): Likewise.
29575 (R9_LP): Likewise.
29576 (R10_LP): Likewise.
29577 (R10_LP): Likewise.
29578 (R11_LP): Likewise.
29579 (R12_LP): Likewise.
29580 (R13_LP): Likewise.
29581 (R14_LP): Likewise.
29582 (R15_LP): Likewise.
29583
b985be81
L
295842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29585
29586 * sysdeps/x86_64/x32/dl-machine.h: New file.
29587
6a4888ff
AJ
295882012-05-14 Andreas Jaeger <aj@suse.de>
29589
29590 * manual/Makefile (subdir): Remove export of subdir.
29591 (all): Remove target.
29592 (.PHONY): Remove all from list.
29593 (mkinstalldirs): Remove.
29594 (.PHONY): Remove installdirs from list.
29595 ($(inst_infodir)/libc.info): Use make-target-directory.
29596 (installdirs): Remove.
29597 (subdir_%): Remove.
29598 (glibc-targets): Remove.
29599 (lib): Remove.
29600 (stubs): Remove.
29601 ($(objpfx)stubs ../po/manual.pot): Remove.
29602 ($(objpfx)stamp%): Remove.
29603 (make-target-directory): Remove.
29604 (subdir_install): Remove.
29605 (routines): Remove.
29606 (aux): Remove.
29607 (sources): Remove.
29608 (objects): Remove.
29609 (headers): Remove.
29610
29611 [BZ #13750]
29612 * manual/.gitignore: Remove, it's not needed anymore.
29613 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29614 all files in it.
29615 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29616 directory.
29617 (texis): Renamed to $(objpfx)texis.
29618 (texis-path): New, contains path to generated files.
29619 (chapters.%): Use texis-path for complete path, add extra argument
29620 libc-texinfo.sh.
29621 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29622 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29623 (summary,texi, stamp-summary): Use complete path of
29624 files. Generate files in build dir.
29625 (dir-add.texi): Build in build dir.
29626 (libm-err.texi,stamp-libm-err): Likewise.
29627 (version.texi, stamp-version): Likewise.
29628 (.%c.texi): Likewise.
29629 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29630 (mostlyclean): Remove target.
29631 (realclean): Remove target.
29632 (generated): Add new variable with contents from mostlyclean and
29633 realclean, remove entries duplicated in common-mostlyclean, add
29634 stamp-libm-err and stamp-version.
29635 (generated-dirs): Add libc directory.
29636 ($(inst_infodir)/libc.info): Install files from build dir.
29637
29638 * manual/install.texi (Configuring and compiling): Adjust since
29639 the info files are not part of the tar ball anymore.
29640
7ac77294
AJ
296412012-05-14 Andreas Jaeger <aj@suse.de>
29642
29643 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29644 variable.
29645
ffb7875d
JM
296462012-05-14 Joseph Myers <joseph@codesourcery.com>
29647
29648 [BZ #13717]
29649 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29650 to 2.2.0 where earlier.
29651 * sysdeps/unix/sysv/linux/configure: Regenerated.
29652 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29653 Remove conditional code.
29654 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29655 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29656 Remove conditional code.
29657 [!__NR_lchown]: Likewise.
29658 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29659 [__NR_lchown]: Likewise.
29660 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29661 comment referencing __ASSUME_LCHOWN_SYSCALL.
29662 * sysdeps/unix/sysv/linux/i386/sigaction.c
29663 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29664 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29665 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29666 Remove conditional code.
29667 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29668 (__protocol_available): Remove #if 0 code.
29669 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29670 conditional code.
29671 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29672 * sysdeps/unix/sysv/linux/kernel-features.h
29673 (__ASSUME_GETCWD_SYSCALL): Don't define.
29674 (__ASSUME_REALTIME_SIGNALS): Likewise.
29675 (__ASSUME_PREAD_SYSCALL): Likewise.
29676 (__ASSUME_PWRITE_SYSCALL): Likewise.
29677 (__ASSUME_POLL_SYSCALL): Likewise.
29678 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29679 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29680 non-SPARC.
29681 (__ASSUME_SIOCGIFNAME): Don't define.
29682 (__ASSUME_MSG_NOSIGNAL): Likewise.
29683 (__ASSUME_SENDFILE): Define unconditionally.
29684 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29685 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29686 conditional code.
29687 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29688 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29689 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29690 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29691 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29692 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29693 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29695 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29696 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29698 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29699 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29701 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29702 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29704 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29705 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29707 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29708 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29710 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29711 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29713 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29714 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29716 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29717 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29718 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29719 Remove conditional code.
29720 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29721 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29722 Remove conditional code.
29723 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29724 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29725 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29726 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29727 Remove conditional code.
29728 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29729 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29730 Remove conditional code.
29731 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29732 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29733 Remove conditional code.
29734 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29735 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29736 Remove conditional code.
29737 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29738 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29739 Remove conditional code.
29740 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29741 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29742 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29743 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29744 * sysdeps/unix/sysv/linux/sigaction.c
29745 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29746 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29747 * sysdeps/unix/sysv/linux/sigpending.c
29748 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29749 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29750 * sysdeps/unix/sysv/linux/sigprocmask.c
29751 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29752 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29753 * sysdeps/unix/sysv/linux/sigsuspend.c
29754 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29755 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29756 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29757 (__libc_missing_rt_sigs): Remove.
29758 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29759 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29760 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29761 Remove conditional code.
29762 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29763 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29764 return 1.
29765 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29766 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29767 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29768 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29769
1bfb7291
AJ
297702012-05-14 Andreas Jaeger <aj@suse.de>
29771
caae5a81
AJ
29772 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29773 it's not used in glibc.
29774 (__coshm1): Likewise.
29775 (__acosh1p): Likewise.
29776 (__sgn): Likewise.
29777
1bfb7291
AJ
29778 * manual/string.texi (Copying and Concatenation): Add missing
29779 variable in concat example.
29780 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29781
c044d724
L
297822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29783
144c5467 29784 [BZ #14103]
c044d724
L
29785 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29786 __builtin_clzl with __builtin_clzll.
29787
2523c62b
L
297882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29789
29790 [BZ #14104]
29791 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29792 libc_freeres_ptr.
29793
d7bb4c42
LD
297942012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29795
29796 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29797 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29798 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29799 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29800
9dc4e1fb
MF
298012012-05-14 Mike Frysinger <vapier@gentoo.org>
29802
29803 * NEWS: Update ia64 info.
29804
c7df0112
AS
298052012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29806
29807 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29808 used as bcopy.
29809
dc70356c
TS
298102012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29811
29812 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29813 * sysdeps/unix/syscalls.list (dup3): Likewise.
29814 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29815 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29816
9fb1a21f
L
298172012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29818
29819 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29820 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29821
4822a2a5
L
298222012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29823
29824 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29825 thread pointer.
29826 (TLS_IE): Use mov/add instead of movq/addq to load thread
29827 pointer.
29828 (TLS_GD_PREFIX): New.
29829 (TLS_GD): Use it.
29830
842b81d6
DM
298312012-05-11 David S. Miller <davem@davemloft.net>
29832
29833 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29834 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29835 (_FPU_SETCW): Likewise.
29836
1cf463cd
L
298372012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29838
29839 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29840 is 32-byte aligned.
29841
60cc4a18
AS
298422012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29843
29844 [BZ #11837]
29845 * iconvdata/gb18030.c: Update tables.
29846 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29847 characters specially.
29848 (BODY for TO_LOOP): Add encoding of missing ranges.
29849
febb44a4
TS
298502012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29851
29852 [BZ #13673]
29853 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29854 * sysdeps/mach/hurd/dup3.c: Likewise.
29855 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29856 * sysdeps/powerpc/memmove.c:: Likewise.
29857
0a10fb9e
L
298582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29859
29860 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29861 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29862
df8a552f
L
298632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29864
29865 * elf/elf.h (R_X86_64_RELATIVE64): New.
29866 (R_X86_64_NUM): Updated.
29867 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29868 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29869 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29870 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29871 tst-quad1pie tst-quad2pie
29872 (modules-names): Add tst-quadmod1 tst-quadmod2.
29873 ($(objpfx)tst-quad1): New dependency.
29874 ($(objpfx)tst-quad2): Likewise.
29875 ($(objpfx)tst-quad1pie): Likewise.
29876 ($(objpfx)tst-quad2pie): Likewise.
29877 * sysdeps/x86_64/tst-quad1.c: New file.
29878 * sysdeps/x86_64/tst-quad1pie.c: New file.
29879 * sysdeps/x86_64/tst-quad2.c: Likewise.
29880 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29881 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29882 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29883 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29884 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29885
f34d6f84
ST
298862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29887
f42d41d1
ST
29888 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29889 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29890 * streams/stropts.h (t_scalar_t): Define type.
29891
3c3571fc
ST
29892 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29893 (_PATH_PRESERVE): Set to "/var/lib".
29894 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29895
61f06bd3
ST
29896 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29897 instead of int.
29898
918d4d71
ST
29899 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29900 if __dir_mkfile succeeded.
29901
f34d6f84
ST
29902 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29903 checking for _hurd_dtablesize. Unlock it right after having
29904 finished _hurd_dtable allocation.
29905
10589b4a
TS
299062012-05-10 Thomas Schwinge <thomas@schwinge.name>
29907
674cdbc7
TS
29908 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29909 * sysdeps/mach/hurd/configure: Regenerated.
29910 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29911 special-casing to...
29912 * sysdeps/gnu/configure.in: ... this new file.
29913 * sysdeps/unix/sysv/linux/configure: Regenerated.
29914 * sysdeps/gnu/configure: New generated file.
29915
8e41b99f
TS
29916 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29917 for Linux: use nsec instead of usec, as well as:
29918 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29919 members of type struct timespec.
29920 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29921 New macros.
29922 (struct stat64): Likewise.
29923 (_STATBUF_ST_NSEC): New macro.
29924 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29925
10589b4a
TS
29926 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29927 __strtoul_internal rather than strtoul.
29928
63643c85
PT
299292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29930
29931 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29932 and reject them.
29933
3faebe6a
ST
299342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29935
29936 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29937 which preserves existing values.
29938 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29939
c6474b07
PT
299402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29941
29942 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29943 TIMEOUT values. Return EINVAL for NFDS values either negative or
29944 greater than FD_SETSIZE.
29945
1043890b
ST
299462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29947
29948 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29949 allocated, call __vm_protect to finish enabling the existing space, and
29950 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29951 allocate the remainder.
29952
37ed8b9b
PT
299532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29954
29955 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29956 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29957
db653660
ST
299582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29959
37ed8b9b
PT
29960 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29961 sysdeps/mach/hurd/readlink.c.
b29d4053 29962
db653660
ST
29963 * posix/tst-sysconf.c (posix_options): Only use
29964 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29965 _POSIX_SYNCHRONIZED_IO when they are defined
29966 * sysdeps/mach/hurd/bits/posix_opt.h:
29967 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29968 (_XOPEN_REALTIME): Undefine macro.
29969 (_XOPEN_REALTIME_THREADS): Undefine macro.
29970 (_XOPEN_SHM): Undefine macro.
29971 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29972 macro to -1.
29973 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29974 macro to -1.
29975 (_POSIX_ASYNC_IO): Undefine macro.
29976 (_POSIX_PRIORITIZED_IO): Undefine macro.
29977 (_POSIX_SPIN_LOCKS): Define macro to -1.
29978
ee16e894
ST
29979 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29980 SA_NODEFER, SA_RESETHAND.
29981 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29982 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29983 F_DUPFD_CLOEXEC.
29984
6103ae3b
TS
299852012-05-10 Thomas Schwinge <thomas@schwinge.name>
29986
29987 * elf/Makefile (pldd-modules): Define unconditionally.
29988
80b4e5f3
TS
299892012-05-10 Thomas Schwinge <thomas@schwinge.name>
29990
29991 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29992
edadcbd6
ST
299932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29994
29995 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29996 Return ENOENT when name is empty.
29997 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29998
80694780
TS
299992012-05-10 Thomas Schwinge <thomas@schwinge.name>
30000
1792c087
TS
30001 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30002
80694780
TS
30003 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30004
6b645f0d
ST
300052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30006
80694780
TS
30007 Fix mlock in all cases except non-readable pages.
30008 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30009 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 30010
6b645f0d
ST
30011 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30012 (__mkdir): When path is `/', just fail with EEXIST.
30013 * sysdeps/mach/hurd/mkdirat.c: Likewise.
30014
e468f8a3
TS
300152012-05-10 Thomas Schwinge <thomas@schwinge.name>
30016
30017 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30018 <sys/uio.h> (for writev).
30019 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30020 and <sys/param.h> (for MIN).
30021
a4186cff
PT
300222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
30023
30024 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30025 REQUESTED_TIME. Properly set the remaining time and return EINTR
30026 if interrupted.
30027
510bbf14
TS
300282012-05-10 Thomas Schwinge <thomas@schwinge.name>
30029
30030 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30031 Depend on against $(link-rpcuserlibs).
30032
5d5722e8
ST
300332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30034
a4186cff
PT
30035 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30036 (__libc_stack_end): Do not use attribute_relro.
30037 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30038 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 30039 to libthread-provided value.
a4186cff
PT
30040 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30041 attribute_relro.
5d5722e8 30042
37233df9
TS
300432012-05-10 Thomas Schwinge <thomas@schwinge.name>
30044
be971a2b
TS
30045 [BZ #3748]
30046 * bits/libc-lock.h (__libc_once_get): New macro.
30047 * sysdeps/mach/bits/libc-lock.h: Likewise.
30048 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30049 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30050 instead of using implementation details.
30051
37233df9
TS
30052 * libio/fileops.c: Unconditionally include <kernel-features.h>.
30053 * libio/freopen.c: Likewise.
30054 * libio/freopen64.c: Likewise.
30055 * misc/syslog.c: Likewise.
30056 * nscd/connections.c: Likewise.
30057 * nscd/netgroupcache.c: Likewise.
30058 * sysdeps/posix/getcwd.c: Likewise.
30059
38de94a5
RM
300602012-05-10 Roland McGrath <roland@hack.frob.com>
30061
30062 * math/w_ilogbf.c: Add #include <limits.h>.
30063
67530489
ST
300642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30065
a4186cff 30066 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
30067 path instead of returning without unlocking.
30068
67530489
ST
30069 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30070 immediate-write ioctls.
30071 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30072
5aa3a74a
TS
300732012-05-10 Thomas Schwinge <thomas@schwinge.name>
30074
18bad2ae
TS
30075 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30076 __builtin_frame_address instead of making assumptions about the
30077 location of the return address relative to DATA. Force early load of
30078 the return address.
30079 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30080 __builtin_frame_address.
30081
5aa3a74a
TS
30082 dup3 for GNU Hurd.
30083 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30084 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30085 implement dup3 and do some further code clean-ups.
30086 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30087 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30088
ecd0de9a
ST
300892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30090
cd9fa985
ST
30091 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30092
a4186cff
PT
30093 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30094 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30095 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30096 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30097 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30098 d->port.lock.
802ca5a5 30099
a4186cff
PT
30100 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30101 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30102 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 30103
bcf55240
TS
301042012-05-10 Thomas Schwinge <thomas@schwinge.name>
30105
6960eb42
TS
30106 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30107 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30108 definitions.
30109
eb43375f
TS
30110 accept4 for GNU Hurd.
30111 * include/sys/socket.h (__libc_accept4): New prototype.
30112 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30113 to implement __libc_accept4.
30114 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30115 __libc_accept4.
30116 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30117
bcf55240
TS
30118 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30119 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30120 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30121 signal-defines.sym.
30122
6178c55b
ST
301232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30124
a4186cff 30125 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 30126
6f080c2f
TS
301272012-05-10 Thomas Schwinge <thomas@schwinge.name>
30128
30129 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30130 assertion on O_CLOEXEC flag.
30131 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30132 * hurd/intern-fd.c: Likewise.
30133 * hurd/port2fd.c: Likewise.
30134
bcfe3a54
ST
301352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30136
30137 [BZ #3906]
30138 * bits/in.h (IPV6_PKTINFO): Define new macro.
30139 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30140
89c9aa49
AZ
301412012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30142
30143 [BZ #13954]
30144 [BZ #13955]
30145 [BZ #13956]
30146 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30147 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30148 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30149 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30150 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30151 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30152 * math/libm-test.inc (logb_test) : Additional logb tests.
30153
021db4be
AJ
301542012-05-09 Andreas Schwab <schwab@linux-m68k.org>
30155 Andreas Jaeger <aj@suse.de>
30156
30157 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30158 * configure: Regenerated.
30159 * config.h.in (LINK_OBSOLETE_RPC): New macro.
30160 * config.make.in (link-obsolete-rpc): New substituted variable.
30161 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30162 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30163 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30164 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30165 so that libc.a contains the symbols.
30166 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30167 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30168 * sunrpc/auth_none.c: Likewise.
30169 * sunrpc/auth_unix.c: Likewise.
30170 * sunrpc/authdes_prot.c: Likewise.
30171 * sunrpc/authuxprot.c: Likewise.
30172 * sunrpc/clnt_gen.c: Likewise.
30173 * sunrpc/clnt_perr.c: Likewise.
30174 * sunrpc/clnt_raw.c: Likewise.
30175 * sunrpc/clnt_simp.c: Likewise.
30176 * sunrpc/clnt_tcp.c: Likewise.
30177 * sunrpc/clnt_udp.c: Likewise.
30178 * sunrpc/clnt_unix.c: Likewise.
30179 * sunrpc/des_crypt.c: Likewise.
30180 * sunrpc/des_soft.c: Likewise.
30181 * sunrpc/get_myaddr.c: Likewise.
30182 * sunrpc/key_call.c: Likewise.
30183 * sunrpc/key_prot.c: Likewise.
30184 * sunrpc/netname.c: Likewise.
30185 * sunrpc/pm_getmaps.c: Likewise.
30186 * sunrpc/pm_getport.c: Likewise.
30187 * sunrpc/pmap_clnt.c: Likewise.
30188 * sunrpc/pmap_prot.c: Likewise.
30189 * sunrpc/pmap_prot2.c: Likewise.
30190 * sunrpc/pmap_rmt.c: Likewise.
30191 * sunrpc/publickey.c: Likewise.
30192 * sunrpc/rpc_cmsg.c: Likewise.
30193 * sunrpc/rpc_common.c: Likewise.
30194 * sunrpc/rpc_dtable.c: Likewise.
30195 * sunrpc/rpc_prot.c: Likewise.
30196 * sunrpc/rpc_thread.c: Likewise.
30197 * sunrpc/rtime.c: Likewise.
30198 * sunrpc/svc.c: Likewise.
30199 * sunrpc/svc_auth.c: Likewise.
30200 * sunrpc/svc_raw.c: Likewise.
30201 * sunrpc/svc_run.c: Likewise.
30202 * sunrpc/svc_tcp.c: Likewise.
30203 * sunrpc/svc_udp.c: Likewise.
30204 * sunrpc/svc_unix.c: Likewise.
30205 * sunrpc/svcauth_des.c: Likewise.
30206 * sunrpc/xcrypt.c: Likewise.
30207 * sunrpc/xdr.c: Likewise.
30208 * sunrpc/xdr_array.c: Likewise.
30209 * sunrpc/xdr_float.c: Likewise.
30210 * sunrpc/xdr_intXX_t.c: Likewise.
30211 * sunrpc/xdr_mem.c: Likewise.
30212 * sunrpc/xdr_rec.c: Likewise.
30213 * sunrpc/xdr_ref.c: Likewise.
30214 * sunrpc/xdr_sizeof.c: Likewise.
30215 * sunrpc/xdr_stdio.c: Likewise.
30216
b5c086a2
RM
302172012-05-10 Roland McGrath <roland@hack.frob.com>
30218
30219 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30220 change. Update copyright years.
30221
6d74dd09
JM
302222012-05-10 Joseph Myers <joseph@codesourcery.com>
30223
30224 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30225
28e72501
MK
302262012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30227 Joseph Myers <joseph@codesourcery.com>
30228 Paul Pluzhnikov <ppluzhnikov@google.com>
30229
30230 [BZ #14012]
30231 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30232 requiring rpcgen.
30233 [cross-compiling] (extra-libs): Likewise.
30234 [cross-compiling] (extra-libs-others): Likewise.
30235 [cross-compiling] (librpcsvc-routines): Likewise.
30236 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30237 [cross-compiling] (omit-deps): Likewise.
30238 (sunrpc-CPPFLAGS): New variable.
30239 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30240 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30241 (cross-rpcgen-objs): New variable.
30242 (extra-objs): Append $(cross-rpcgen-objs).
30243 ($(cross-rpcgen-objs)): New rule.
30244 ($(objpfx)cross-rpcgen): Likewise.
30245 (rpcgen-cmd): Define to use $(built-program-file). Expand
30246 comment.
30247 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30248 ($(objpfx)x%.stmp): Likewise.
30249 * sunrpc/proto.h [IS_IN_build] (_): Define.
30250 [IS_IN_build] (_libc_intl_domainname): Likewise.
30251
c8c59454
L
302522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30253
30254 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30255 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30256 and R_X86_64_TPOFF64.
30257
6f27cd16
JM
302582012-05-10 Joseph Myers <joseph@codesourcery.com>
30259
30260 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30261 sysdeps/unix/sysv/syscalls.list.
30262 (stime): Likewise.
30263 (utime): Likewise.
30264 * sysdeps/unix/sysv/syscalls.list: Remove file.
30265
02467e1c
PE
302662012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30267
30268 [BZ #3440]
30269 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30270 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30271 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30272 (__LC_IDENTIFICATION): Make these macros useful in #if
30273 expressions, as required by C99.
30274
da392631
AS
302752012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30276
30277 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30278 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30279 after this.
30280
8115f29b
L
302812012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30282
30283 * stdlib/longlong.h: Updated from GCC.
30284
bdd74070
AJ
302852012-05-09 Andreas Jaeger <aj@suse.de>
30286
edfe0dbe
AJ
30287 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30288 default is first entry.
30289 (run_mode): Set type.
30290 (main): Remove informal message about syslog.
30291 (options): Fix typo.
30292
bcfe3a54
ST
30293 [BZ #14053]
30294 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 30295 to asm.
bcfe3a54
ST
30296 (lrint): Likewise.
30297 (llrintf): Likewise.
30298 (llrint): Likewise.
30299 (rint): Likewise.
30300 (rintf): Likewise.
30301 (nearbyint): Likewise.
30302 (nearbyintf): Likewise.
bdd74070 30303
91d8d69e
AJ
303042012-05-09 Andreas Jaeger <aj@suse.de>
30305 Pedro Alves <palves@redhat.com>
30306
30307 * nscd/nscd.c (run_mode): Use enum.
30308 (main): Cleanup coding style issue.
30309
bb90b80b
AJ
303102012-05-09 Alexandre Oliva <aoliva@redhat.com>
30311 Andreas Jaeger <aj@suse.de>
30312
bcfe3a54
ST
30313 * nscd/nscd.c (go_background): Replaced with...
30314 (run_mode): ... this.
bb90b80b 30315 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
30316 (options): Add -F --foreground.
30317 (main): Implement it.
30318 (parse_opt): Parse it.
bb90b80b 30319
1a4b75a1
AJ
303202012-05-09 Andreas Jaeger <aj@suse.de>
30321
30322 [BZ #14083]
30323 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30324 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30325 -Wconversion warning.
30326 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30327 Likewise.
30328
b1cc2472
JM
303292012-05-09 Joseph Myers <joseph@codesourcery.com>
30330
30331 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30332 == 0.
30333 (LC_ALL): Use macro-int-constant.
30334 (LC_COLLATE): Likewise.
30335 (LC_CTYPE): Likewise.
30336 (LC_MESSAGES): Likewise.
30337 (LC_MONETARY): Likewise.
30338 (LC_NUMERIC): Likewise.
30339 (LC_TIME): Likewise.
30340 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30341 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30342 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30343 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30344 Specify type.
30345 [C99-based standards] (float_t): Expect type.
30346 [C99-based standards] (double_t): Expect type.
30347 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30348 type.
30349 [C99-based standards] (HUGE_VALL): Likewise.
30350 [C99-based standards] (INFINITY): Likewise.
30351 [C99-based standards] (NAN): Likewise.
30352 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30353 [C99-based standards] (FP_NAN): Likewise.
30354 [C99-based standards] (FP_NORMAL): Likewise.
30355 [C99-based standards] (FP_SUBNORMAL): Likewise.
30356 [C99-based standards] (FP_ZERO): Likewise.
30357 [C99-based standards] (FP_FAST_FMA): Use
30358 optional-macro-int-constant. Specify type. Require == 1.
30359 [C99-based standards] (FP_FAST_FMAF): Likewise.
30360 [C99-based standards] (FP_FAST_FMAL): Likewise.
30361 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30362 [C99-based standards] (FP_ILOGBNAN): Likewise.
30363 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30364 Specify type.
30365 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30366 [C99-based standards] (math_errhandling): Specify type.
30367 [ISO99 || ISO11] (signgam): Do not allow.
30368 [non-C99-based standards] (copysignf): Do not allow.
30369 [non-C99-based standards] (exp2f): Likewise.
30370 [non-C99-based standards] (log2f): Likewise.
30371 [non-C99-based standards] (modff): Allow.
30372 [non-C99-based standards] (erff): Do not allow.
30373 [non-C99-based standards] (erfcf): Likewise.
30374 [non-C99-based standards] (gammaf): Likewise.
30375 [non-C99-based standards] (hypotf): Likewise.
30376 [non-C99-based standards] (j0f): Likewise.
30377 [non-C99-based standards] (j1f): Likewise.
30378 [non-C99-based standards] (jnf): Likewise.
30379 [non-C99-based standards] (lgammaf): Likewise.
30380 [non-C99-based standards] (tgammaf): Likewise.
30381 [non-C99-based standards] (y0f): Likewise.
30382 [non-C99-based standards] (y1f): Likewise.
30383 [non-C99-based standards] (ynf): Likewise.
30384 [non-C99-based standards] (isnanf): Likewise.
30385 [non-C99-based standards] (acoshf): Likewise.
30386 [non-C99-based standards] (asinhf): Likewise.
30387 [non-C99-based standards] (atanhf): Likewise.
30388 [non-C99-based standards] (cbrtf): Likewise.
30389 [non-C99-based standards] (expm1f): Likewise.
30390 [non-C99-based standards] (ilogbf): Likewise.
30391 [non-C99-based standards] (log1pf): Likewise.
30392 [non-C99-based standards] (logbf): Likewise.
30393 [non-C99-based standards] (nextafterf): Likewise.
30394 [non-C99-based standards] (remainderf): Likewise.
30395 [non-C99-based standards] (rintf): Likewise.
30396 [non-C99-based standards] (scalbf): Likewise.
30397 [non-C99-based standards] (copysignl): Likewise.
30398 [non-C99-based standards] (exp2l): Likewise.
30399 [non-C99-based standards] (log2l): Likewise.
30400 [non-C99-based standards] (modfl): Allow.
30401 [non-C99-based standards] (erfl): Do not allow.
30402 [non-C99-based standards] (erfcl): Likewise.
30403 [non-C99-based standards] (gammal): Likewise.
30404 [non-C99-based standards] (hypotl): Likewise.
30405 [non-C99-based standards] (j0l): Likewise.
30406 [non-C99-based standards] (j1l): Likewise.
30407 [non-C99-based standards] (jnl): Likewise.
30408 [non-C99-based standards] (lgammal): Likewise.
30409 [non-C99-based standards] (tgammal): Likewise.
30410 [non-C99-based standards] (y0l): Likewise.
30411 [non-C99-based standards] (y1l): Likewise.
30412 [non-C99-based standards] (ynl): Likewise.
30413 [non-C99-based standards] (isnanl): Likewise.
30414 [non-C99-based standards] (acoshl): Likewise.
30415 [non-C99-based standards] (asinhl): Likewise.
30416 [non-C99-based standards] (atanhl): Likewise.
30417 [non-C99-based standards] (cbrtl): Likewise.
30418 [non-C99-based standards] (expm1l): Likewise.
30419 [non-C99-based standards] (ilogbl): Likewise.
30420 [non-C99-based standards] (log1pl): Likewise.
30421 [non-C99-based standards] (logbl): Likewise.
30422 [non-C99-based standards] (nextafterl): Likewise.
30423 [non-C99-based standards] (remainderl): Likewise.
30424 [non-C99-based standards] (rintl): Likewise.
30425 [non-C99-based standards] (scalbl): Likewise.
30426 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30427 [non-C99-based standards] (FP_*): Do not allow.
30428 [C99-based standards] (FP_*): Change to
30429 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30430 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30431 allow.
30432 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30433 (SIG_ERR): Likewise.
30434 [X/Open-based standards] (SIG_HOLD): Likewise.
30435 (SIG_IGN): Likewise.
30436 (SIGABRT): Use macro-int-constant. Specify type. Require
30437 positive value.
30438 (SIGFPE): Likewise.
30439 (SIGILL): Likewise.
30440 (SIGINT): Likewise.
30441 (SIGSEGV): Likewise.
30442 (SIGTER): Likewise.
30443 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30444 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30445 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30446 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30447 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30448 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30449 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30450 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30451 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30452 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30453 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30454 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30455 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30456 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30457 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30458 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30459 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30460 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30461 [X/Open-based standards] (SIGTRAP): Likewise.
30462 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30463 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30464 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30465 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30466 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30467 allow.
30468
b9f1922d
IW
304692012-05-08 Ian Wienand <ianw@vmware.com>
30470
30471 [BZ #14080]
30472 * time/tzset.c (__tzset_parse_tz): Update default rules for
30473 daylight time changes in the Energy Policy Act of 2005.
30474
1db86e88
AJ
304752012-05-09 Andreas Jaeger <aj@suse.de>
30476
30477 [BZ #13983]
30478 * elf/ldconfig.c (parse_conf): Change string to make clear that
30479 ldconfig only issued a warning if ld.so.conf does not exist.
30480
dee4a4e3
DM
304812012-05-08 David S. Miller <davem@davemloft.net>
30482
ee0db190
DM
30483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30484 movxtod instead of popping the value on the stack.
30485
dee4a4e3
DM
30486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30487
6a43ec98
CD
304882012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30489
30490 * config.h.in: Add HAVE_ARM_PCS_VFP.
30491
05c2c961
RMG
304922012-05-08 Roland Mc Grath <roland@hack.frob.com>
30493
bcfe3a54
ST
30494 [BZ #13979]
30495 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30496 checking but the checks are disabled for any reason.
05c2c961 30497
4b30f61a
L
304982012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30499
30500 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30501 and ELF64_R_TYPE with ELFW(R_TYPE).
30502
eee2bc67
JM
305032012-05-08 Joseph Myers <joseph@codesourcery.com>
30504
7ea5391a
JM
30505 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30506 (ulimit): Likewise.
30507
eee2bc67
JM
30508 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30509 (settimeofday): Likewise.
30510
abb66a67
MF
305112012-05-08 Mike Frysinger <vapier@gentoo.org>
30512
30513 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30514 a struct th_u2 inside the union, and move tu_block/tu_code into
30515 a new th_u3 union of tu_block/tu_code inside of that. Move
30516 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30517 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30518 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30519 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30520 (th_stuff): Change to th_u1.tu_stuff.
30521 (th_data): Define.
30522 (th_msg): Change to th_u1.th_u2.tu_data.
30523
7f18b530
DM
305242012-05-07 David S. Miller <davem@davemloft.net>
30525
05760585
DM
30526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30527
7f18b530
DM
30528 [BZ #14074]
30529 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30530 (SETUP_PIC_REG): Use it.
30531 (SETUP_PIC_REG_LEAF): Use it.
30532
495fd99f
JM
305332012-05-07 Joseph Myers <joseph@codesourcery.com>
30534
30535 [BZ #13885]
30536 [BZ #13923]
30537 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30538 USE_AS_EXPM1L.
30539 (EXPL_FINITE): Likewise.
30540 (FLDLOG): Likewise.
30541 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30542 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30543 e_expl.S.
30544 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30545 USE_AS_EXPM1L.
30546 (EXPL_FINITE): Likewise.
30547 (FLDLOG): Likewise.
30548 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30549 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30550 e_expl.S.
30551 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30552 test of -max_value argument for long double.
30553 * sysdeps/i386/fpu/libm-test-ulps: Update.
30554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30555
6693d694
DM
305562012-05-06 David S. Miller <davem@davemloft.net>
30557
30558 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30559 quad soft-float symbols whose references which are compiler
30560 generated.
30561 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30562
6c23e11c
JM
305632012-05-06 Joseph Myers <joseph@codesourcery.com>
30564
d8b82cad
JM
30565 [BZ #13884]
30566 [BZ #13914]
30567 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30568 USE_AS_EXP10L.
30569 (EXPL_FINITE): Likewise.
30570 (FLDLOG): Likewise.
30571 (c0): Likewise.
30572 (c1): Likewise.
30573 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30574 Adjust comments for base varying.
30575 (__expl_finite): Change alias to EXPL_FINITE.
30576 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30577 e_expl.S.
30578 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30579 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30580 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30581 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30582 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30583 USE_AS_EXP10L.
30584 (EXPL_FINITE): Likewise.
30585 (FLDLOG): Likewise.
30586 (c0): Likewise.
30587 (c1): Likewise.
30588 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30589 Adjust comments for base varying.
30590 (__expl_finite): Change alias to EXPL_FINITE.
30591 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30592 tests for bugs.
30593 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30594
6c23e11c
JM
30595 [BZ #14064]
30596 * math/libm-test.inc (check_float_internal): Correct ulp
30597 calculation for subnormal expected results.
30598
29ba805c
AJ
305992012-05-06 Andreas Jaeger <aj@suse.de>
30600
30601 * Makeconfig (+math-flags): New, set to -frounding-math.
30602 (+cflags): Add +math-flags so that all of glibc gets compiled with
30603 it.
30604
30605 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30606
7b17aeda
JM
306072012-05-05 Joseph Myers <joseph@codesourcery.com>
30608
5779f134
JM
30609 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30610 Disable one test.
30611
41498f4d
JM
30612 [BZ #13787]
30613 [BZ #13922]
30614 [BZ #14036]
30615 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30616 (__ieee754_expl): Allow for and saturate large arguments.
30617 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30618 (u_threshold): Likewise.
30619 (__exp): Call __ieee754_exp before checking for overflow and
30620 underflow.
30621 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30622 (u_threshold): Likewise.
30623 (__expf): Call __ieee754_expf before checking for overflow and
30624 underflow.
30625 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30626 (u_threshold): Likewise.
30627 (__expl): Call __ieee754_expl before checking for overflow and
30628 underflow.
30629 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30630 (__ieee754_expl): Allow for and saturate large arguments.
30631 * math/libm-test.inc (exp_test): Add another test. Do not allow
30632 missing overflow exception on overflow.
30633 (expm1_test): Do not allow missing overflow exception on overflow.
30634
6698b8bf
JM
30635 * sysdeps/i386/fpu/e_expl.c: Move to ...
30636 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30637 rather than using inline asm.
30638 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30639 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30640 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30641
7b17aeda
JM
30642 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30643 (nice): Likewise.
30644 (poll): Likewise.
30645 (signal): Likewise.
30646 (time): Likewise.
30647 (times): Likewise.
30648
f7c85819
JM
306492012-05-04 Joseph Myers <joseph@codesourcery.com>
30650
30651 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30652 sysdeps/unix/common/syscalls.list.
30653 (fchmod): Likewise.
30654 (fchown): Likewise.
30655 (ftruncate): Likewise.
30656 (getrusage): Likewise.
30657 (gettimeofday): Likewise.
30658 (setpgid): Likewise.
30659 (setregid): Likewise.
30660 (setreuid): Likewise.
30661 (sigaction): Likewise.
30662 (truncate): Likewise.
30663 (vhangup): Likewise.
30664 * sysdeps/unix/common/syscalls.list: Remove file.
30665 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30666 * sysdeps/unix/sysv/linux/Implies: Likewise.
30667
336270d0
L
306682012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30669
30670 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30672 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30673 Moved to ...
30674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30675 Here.
30676 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30677 to ...
30678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30679 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30680 to ...
30681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30682 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30683 to ...
30684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30685 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30686 to ...
30687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30688 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30689 to ...
30690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30691 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30692 to ...
30693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30694 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30695 to ...
30696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30697 Here.
30698 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30699 to ...
30700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30701 Here.
30702 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30703 to ...
30704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30705 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30706 Moved to ...
30707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30708 Here.
30709 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30710 to ...
30711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30712
d128e450
JM
307132012-05-04 Joseph Myers <joseph@codesourcery.com>
30714
fa8ee516
JM
30715 * sysdeps/unix/common/bits/dirent.h: Remove file.
30716 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30717
d128e450
JM
30718 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30719 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30720 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30721 * sysdeps/unix/bsd/isatty.c: Likewise.
30722 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30723 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30724 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30725
ff8faaf0 307262012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30727
62881be4 30728 [BZ #13563]
31dc8730
AZ
30729 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30730 long double comparison inaccuracies.
30731 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30733
6fef930c
AS
307342012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30735
30736 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30737 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30738
8f203e6c
JM
307392012-05-04 Joseph Myers <joseph@codesourcery.com>
30740
30741 [BZ #14049]
30742 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30743 nonzero digits before rounding a hex value.
30744 * stdlib/tst-strtod.c (tests): Add another test.
30745
5197d9c2
AK
307462012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30747
30748 * sysdeps/s390/fpu/libm-test-ulps: Update.
30749
f0c1dedf
AJ
307502012-05-03 Andreas Jaeger <aj@suse.de>
30751
30752 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30753 does not get optimized out.
30754 (malloc_opt_barrier): New.
30755
a65ef2ae 307562012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30757 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30758
2b942cb7 30759 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30760 intermediate file deletion.
2b942cb7 30761 (generated): Add .symlist files.
a65ef2ae 30762
54b71e02
JM
307632012-05-03 Joseph Myers <joseph@codesourcery.com>
30764
30765 [BZ #13775]
30766 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30767 Redirect under this condition.
30768 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30769 [__USE_GNU] (__dprintf_chk): Not under this condition.
30770 [__USE_GNU] (__vdprintf_chk): Likewise.
30771 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30772 under this condition.
30773 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30774 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30775 [__USE_XOPEN2K8] (vdprintf): Likewise.
30776 [__USE_GNU] (__dprintf_chk): Not under this condition.
30777 [__USE_GNU] (__vdprintf_chk): Likewise.
30778 [__USE_GNU] (dprintf): Likewise.
30779 [__USE_GNU] (vdprintf): Likewise.
30780
d3dfcc41
RM
307812012-05-03 Roland McGrath <roland@hack.frob.com>
30782
30783 * elf/Makefile (common-generated): Set this instead of generated for
30784 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30785 $(all-built-dso)-derived lists.
30786
7ac30cc5
AJ
307872012-05-03 Andreas Jaeger <aj@suse.de>
30788
0c51e550
AJ
30789 * sysdeps/i386/fpu/libm-test-ulps: Update.
30790
7ac30cc5
AJ
30791 * FAQ: Removed.
30792 * FAQ.in: Likewise.
30793 * scripts/gen-FAQ.pl: Likewise.
30794 * manual/install.texi (Installation): Point to online location of
30795 FAQ.
30796 * Makefile (files-for-dist): Remove FAQ.
30797 (FAQ): Remove.
30798
d4c2917f
AM
307992012-05-02 Allan McRae <allan@archlinux.org>
30800
30801 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30802 (LDFLAGS-reldepmod5.so): Likewise.
30803 (LDFLAGS-reldep6mod1.so): Likewise.
30804 (LDFLAGS-reldep6mod4.so): Likewise.
30805 (LDFLAGS-reldep8mod3.so): Likewise.
30806 (LDFLAGS-unload4mod1.so): Likewise.
30807 (LDFLAGS-unload4mod2.so): Likewise.
30808 (LDFLAGS-tst-initorder): Likewise.
30809 (LDFLAGS-tst-initordera2.so): Likewise.
30810 (LDFLAGS-tst-initordera3.so): Likewise.
30811 (LDFLAGS-tst-initordera4.so): Likewise.
30812 (LDFLAGS-tst-initorderb2.so): Likewise.
30813 (LDFLAGS-noload): Likewise.
30814 (LDFLAGS-next): Likewise.
30815 (LDFLAGS-order2mod1.so): Likewise.
30816 (LDFLAGS-order2mod2.so): Likewise.
30817 (LDFLAGS-tst-initorder2): Likewise.
30818 (LDFLAGS-tst-initorder2a.so): Likewise.
30819 (LDFLAGS-tst-initorder2b.so): Likewise.
30820 (LDFLAGS-tst-initorder2c.so): Likewise.
30821 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30822
d77f993f
DM
308232012-05-02 David S. Miller <davem@davemloft.net>
30824
30825 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30826
171a70b4
PP
308272012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30828
30829 [BZ #14055]
30830 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30831
0be196ad
AJ
308322012-05-02 Andreas Jaeger <aj@suse.de>
30833
30834 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30835 since we manipulate rounding mode.
30836 (CPPFLAGS-test-idouble.c): Likewise.
30837 (CPPFLAGS-test-ifloat.c): Likewise.
30838 (CFLAGS-test-ldouble.c): Likewise.
30839 (CFLAGS-test-double.c): Likewise.
30840 (CFLAGS-test-float.c): Likewise.
30841 (CFLAGS-test-misc.c): Likewise.
30842 (CFLAGS-test-test-fenv.c): Likewise.
30843
4f9d04aa
AZ
308442012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30845
2b942cb7
RM
30846 [BZ #2550]
30847 [BZ #2570]
30848 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30849 comparisons to determine direction to adjust input.
4f9d04aa 30850
82a79e7d
RM
308512012-05-01 Roland McGrath <roland@hack.frob.com>
30852
f5a01ca9
RM
30853 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30854 output to the target.
30855
90fe4186
RM
30856 * scripts/localplt.awk: New file.
30857 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30858 (check-localplt-CFLAGS): Variable removed.
30859 ($(all-built-dso:=.jmprel)): New static pattern rule.
30860 (generated): Add those targets.
30861 (localplt-built-dso): New variable.
30862 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30863
30864 * elf/check-localplt.c: File removed.
30865
82397ed6
RM
30866 * scripts/check-execstack.awk: New file.
30867 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30868 (check-execstack-CFLAGS): Variable removed.
30869 ($(objpfx)check-execstack.h): Target removed.
30870 ($(objpfx)execstack-default): New target.
30871 (generated): Add that instead of check-execstack.h.
30872 ($(all-built-dso:=.phdr)): New static pattern rule.
30873 (generated): Add those targets.
30874 * elf/check-execstack.c: File removed.
30875
82a79e7d
RM
30876 * scripts/check-textrel.awk: New file.
30877 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30878 (check-textrel-CFLAGS): Variable removed.
30879 (all-built-dso): Use := to define.o
30880 ($(all-built-dso:=.dyn)): New static pattern rule.
30881 (generated): Add those targets.
30882 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30883 * config.make.in (READELF): New substituted variable.
30884 * elf/check-textrel.c: File removed.
30885
62fde54f 308862012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30887
615605c9
JM
30888 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30889 allow.
30890 * conform/data/ctype.h-data [C99-based standards] (isblank):
30891 Expect function.
30892 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30893 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30894 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30895 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30896 Specify type. Require positive value.
30897 (EILSEQ): Likewise.
30898 (ERANGE): Likewise.
30899 [ISO || POSIX] (EILSEQ): Do not expect.
30900 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30901 Specify type. Require positive value.
30902 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30903 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30904 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30905 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30906 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30907 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30908 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30909 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30910 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30911 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30912 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30913 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30914 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30915 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30916 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30917 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30918 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30919 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30920 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30921 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30922 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30923 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30924 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30925 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30926 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30927 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30928 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30929 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30930 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30931 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30932 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30933 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30934 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30935 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30936 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30937 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30938 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30939 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30940 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30941 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30942 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30943 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30944 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30945 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30946 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30947 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30948 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30949 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30950 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30951 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30952 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30953 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30954 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30955 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30956 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30957 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30958 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30959 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30960 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30961 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30962 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30963 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30964 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30965 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30966 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30967 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30968 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30969 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30970 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30971 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30972 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30973 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30974 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30975 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30976 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30977 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30978 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30979 Require >= 2.
30980 (FLT_ROUNDS): Expect as macro, not constant.
30981 (FLT_MANT_DIG): Use macro-int-constant.
30982 (DBL_MANT_DIG): Likewise.
30983 (LDBL_MANT_DIG): Likewise.
30984 (FLT_DIG): Likewise.
30985 (DBL_DIG): Likewise.
30986 (LDBL_DIG): Likewise.
30987 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30988 (DBL_MIN_EXP): Likewise.
30989 (LDBL_MIN_EXP): Likewise.
30990 (FLT_MAX_EXP): Use macro-int-constant.
30991 (DBL_MAX_EXP): Likewise.
30992 (LDBL_MAX_EXP): Likewise.
30993 (FLT_MAX_10_EXP): Likewise.
30994 (DBL_MAX_10_EXP): Likewise.
30995 (LDBL_MAX_10_EXP): Likewise.
30996 (FLT_MAX): Use macro-constant.
30997 (DBL_MAX): Likewise.
30998 (LDBL_MAX): Likewise.
30999 (FLT_EPSILON): Use macro-constant. Give upper bound.
31000 (DBL_EPSILON): Likewise.
31001 (LDBL_EPSILON): Likewise.
31002 (FLT_MIN): Likewise.
31003 (DBL_MIN): Likewise.
31004 (LDBL_MIN): Likewise.
31005 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31006 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31007 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31008 [ISO11] (FLT_HAS_SUBNORM): Likewise.
31009 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31010 [ISO11] (DBL_DECIMAL_DIG): Likewise.
31011 [ISO11] (FLT_DECIMAL_DIG): Likewise.
31012 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31013 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31014 [ISO11] (FLT_TRUE_MIN): Likewise.
31015 [ISO11] (LDBL_TRUE_MIN): Likewise.
31016 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31017 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31018 (SCHAR_MIN): Use macro-int-constant. Specify type.
31019 (SCHAR_MAX): Likewise.
31020 (UCHAR_MAX): Likewise.
31021 (CHAR_MIN): Likewise.
31022 (CHAR_MAX): Likewise.
31023 (MB_LEN_MAX): Use macro-int-constant.
31024 (SHRT_MIN): Use macro-int-constant. Specify type.
31025 (SHRT_MAX): Likewise.
31026 (USHRT_MAX): Likewise.
31027 (INT_MAX): Likewise.
31028 (INT_MIN): Use macro-int-constant. Specify type. Make upper
31029 bound negative.
31030 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
31031 bound with "U".
31032 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31033 bound with "L".
31034 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
31035 bound negative. Suffix upper bound with "L".
31036 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
31037 bound with "UL".
31038 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31039 Specify type.
31040 [C99-based standards] (LLONG_MAX): Likewise.
31041 [C99-based standards] (ULLONG_MAX): Likewise.
31042 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
31043 == 0.
31044 [ISO11] (max_align_t): Require type.
31045 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31046
c9140a62
JM
31047 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31048 from $CFLAGS, without defining away __attribute__ calls.
31049 (checknamespace): Use $CFLAGS_namespace.
31050
9af0bf29
JM
31051 * conform/conformtest.pl (@keywords): Only include C99 keywords
31052 for standards based on C99 or C11.
31053
343222a2
JM
31054 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31055 Disable tests.
31056 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31057 UNIX98]: Likewise.
31058
661f8cf0
JM
31059 * conform/conformtest.pl: Handle "macro-int-constant" and test for
31060 usability of symbols in #if.
31061
ee74b9cb
JM
31062 * conform/conformtest.pl: If macro or constant types start
31063 "promoted:", expect the symbol to be of the following type
31064 promoted by the integer promotions.
62fde54f 31065
aafc49b3
JM
31066 * conform/conformtest.pl: Parse all "constant" and "macro" lines
31067 in one place. Also handle "macro-constant".
31068
fefdf574
JM
31069 * conform/conformtest.pl: Only accept expected macro values with
31070 "==". Parse all "macro" lines in one place.
31071 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31072
f2d922fe
JM
31073 * conform/conformtest.pl: Handle braced types on "constant" lines
31074 instead of handling "typed-constant".
31075 * conform/data/signal.h-data: Use "constant" instead of
31076 "typed-constant".
31077
d22956c9
JM
31078 * conform/conformtest.pl: Handle "optional-" at start of lines in
31079 one place rather than duplicating several cases. Handle each
31080 format of "macro" line with initial "optional-".
31081
028e2e38
JM
31082 * conform/conformtest.pl: Only accept expected constant or
31083 optional-constant values with "==". Parse all "constant" lines in
31084 one place. Parse all "optional-constant" lines in one place.
31085 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31086 * conform/data/fmtmsg.h-data: Likewise.
31087 * conform/data/netinet/in.h-data: Likewise.
31088 * conform/data/tar.h-data: Likewise.
31089 * conform/data/limits.h-data: Use "==" form on "constant" and
31090 "optional-constant" lines.
31091
1b8f2850
JM
31092 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31093 Use -std=c99 for XOPEN2K.
31094 (@knownproblems): Remove.
31095 (newtoken): Don't check %isknown.
31096
a05a144b
JM
31097 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31098 Do not expect macro.
31099 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31100 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31101 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31102 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31103 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31104 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31105 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31106 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31107 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31108 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31109 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31110 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31111 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31112 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31113 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31114 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31115 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31116 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31117 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31118 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31119 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31120 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31121 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31122 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31123 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31124 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31125 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31126 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31127 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31128 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31129 [XPG3] (acosh): Likewise.
31130 [XPG3] (asinh): Likewise.
31131 [XPG3] (atanh): Likewise.
31132 [XPG3] (cbrt): Likewise.
31133 [XPG3] (expm1): Likewise.
31134 [XPG3] (ilogb): Likewise.
31135 [XPG3] (log1p): Likewise.
31136 [XPG3] (logb): Likewise.
31137 [XPG3] (nextafter): Likewise.
31138 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31139 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31140 [XPG3] (remainder): Likewise.
31141 [XPG3] (rint): Likewise.
31142 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31143 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31144 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31145 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31146 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31147 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31148 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31149 [UNIX98 || XOPEN2K] (scalb): Expect.
31150 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31151 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31152 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31153 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31154 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31155 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31156 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31157 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31158 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31159 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31160 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31161 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31162 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31163 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31164 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31165 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31166 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31167 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31168 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31169 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31170 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31171 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31172 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31173 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31174 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31175 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31176 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31177 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31178 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31179 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31180 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31181 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31182 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31183 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31184 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31185 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31186 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31187 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31188 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31189 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31190 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31191 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31192 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31193 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31194 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31195 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31196 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31197 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31198 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31199 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31200 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31201 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31202 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31203 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31204 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31205 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31206 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31207 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31208 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31209 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31210 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31211 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31212 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31213 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31214 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31215 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31216 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31217 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31218 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31219 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31220 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31221 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31222 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31223 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31224 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31225 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31226 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31227 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31228 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31229 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31230 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31231 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31232 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31233 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31234 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31235 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31236 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31237 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31238 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31239 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31240 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31241 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31242 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31243 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31244 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31245 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31246 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31247 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31248 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31249 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31250 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31251 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31252 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31253 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31254 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31255 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31256 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31257 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31258 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31259 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31260 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31261 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31262 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31263 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31264 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31265 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31266 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31267 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31268 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31269 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31270 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31271 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31272 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31273 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31274 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31275 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31276 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31277 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31278 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31279 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31280 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31281 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31282 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31283 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31284 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31285 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31286 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31287
73c5ebe3
JM
31288 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31289 _XOPEN_SOURCE_EXTENDED for XPG4.
31290
39c33b6c
JM
31291 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31292
62fde54f
JM
31293 * Makeconfig (localtime): Remove variable.
31294 (inst_localtime-file): Likewise.
31295
0741d64c
AS
312962012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31297
31298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31299 Update.
31300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31301 Update.
31302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31303 Update.
31304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31305 Update.
31306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31307 Update.
31308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31309 Update.
31310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31311 Update.
31312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31313 Update.
31314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31315 Update.
31316
7cb029ee
JM
313172012-05-01 Joseph Myers <joseph@codesourcery.com>
31318
31319 [BZ #2550]
31320 [BZ #2570]
31321 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31322 comparisons to determine direction to adjust input.
31323 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31324 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31325 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31326 Likewise.
31327 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31328 Likewise.
31329 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31330 Likewise.
31331 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31332 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31333 Likewise.
31334 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31335 Likewise.
31336 * math/libm-test.inc (nexttoward_test): Add more tests.
31337
412bd966
AS
313382012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31339
31340 [BZ #14040]
31341 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31342 in version GLIBC_2.1, not GLIBC_2.0.
31343 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31344 Likewise.
31345
9568c0c2
JM
313462012-04-30 Joseph Myers <joseph@codesourcery.com>
31347
adfbc8ac
JM
31348 [BZ #13942]
31349 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31350 (1 - x) * (1 + x).
31351 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31352 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31353 * math/libm-test.inc (acos_test): Add more tests.
31354 (asin_test): Likewise.
31355 * sysdeps/i386/fpu/libm-test-ulps: Update.
31356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31357
5ba3cc69
JM
31358 [BZ #14034]
31359 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31360 of square root.
31361 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31362 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31363 * math/libm-test.inc (acos_test_tonearest): New function.
31364 (acos_test_towardzero): Likewise.
31365 (acos_test_downward): Likewise.
31366 (acos_test_upward): Likewise.
31367 (asin_test_tonearest): Likewise.
31368 (asin_test_towardzero): Likewise.
31369 (asin_test_downward): Likewise.
31370 (asin_test_upward): Likewise.
31371 (main): Call the new functions.
31372 * sysdeps/i386/fpu/libm-test-ulps: Update.
31373 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31374
9568c0c2
JM
31375 [BZ #13884]
31376 [BZ #13924]
31377 * math/e_exp10.c: Include <float.h>.
31378 (__ieee754_exp10): Handle underflow here rather than multiplying
31379 large negative argument by M_LN10.
31380 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31381 of __ieee754_expf.
31382 * math/e_exp10l.c: Include <float.h>.
31383 (__ieee754_exp10l): Handle underflow here rather than multiplying
31384 large negative argument by M_LN10l.
31385 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31386 spurious overflow exception on underflow.
31387
5ac3ea17
MP
313882012-04-29 Marek Polacek <polacek@redhat.com>
31389
31390 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31391 (__fortify_function): New macro.
31392 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31393 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31394 __extern_always_inline.
31395 * libio/bits/stdio2.h: Likewise.
31396 * libio/bits/stdio.h: Likewise.
31397 * string/string.h: Likewise.
31398 * string/bits/string3.h: Likewise.
31399 * include/stdio.h: Likewise.
31400 * stdlib/bits/stdlib.h: Likewise.
31401 * stdlib/stdlib.h: Likewise.
31402 * rt/bits/mqueue2.h: Likewise.
31403 * rt/mqueue.h: Likewise.
31404 * posix/bits/unistd.h: Likewise.
31405 * posix/unistd.h: Likewise.
31406 * io/bits/poll2.h: Likewise.
31407 * io/bits/fcntl2.h: Likewise.
31408 * io/fcntl.h: Likewise.
31409 * io/sys/poll.h: Likewise.
31410 * misc/bits/syslog.h: Likewise.
31411 * misc/bits/syslog-ldbl.h: Likewise.
31412 * misc/sys/syslog.h: Likewise.
31413 * socket/bits/socket2.h: Likewise.
31414 * socket/sys/socket.h: Likewise.
31415 * debug/tst-chk1.c: Likewise.
31416 * wcsmbs/bits/wchar2.h: Likewise.
31417 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31418 * wcsmbs/wchar.h: Likewise.
31419
ecf0ebfb
AJ
314202012-04-29 Andreas Jaeger <aj@suse.de>
31421
31422 * Makerules (tests): Remove enable-check-abi protection.
31423 (check-abi-warn): Remove.
31424 (check-abi-%): Remove check-abi-warn usage.
31425
31426 * configure.in: Remove check-abi configure option.
31427 * configure: Regenerated.
31428 * config.make.in (enable-check-abi): Remove.
31429
6d5c57fa
AS
314302012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31431
24c5d07e 31432 [BZ #14033]
ded5180a
AS
31433 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31434 double functions to double *_finite functions.
31435
7e0d315d
AS
31436 [BZ #13941]
31437 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31438 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31439 LDBL_MIN_EXP.
31440 * stdio-common/Makefile (tests): Add tst-sprintf3.
31441 * stdio-common/tst-sprintf3.c: New file.
31442
6d5c57fa
AS
31443 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31444 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31445
0749ff8b
JM
314462012-04-28 Joseph Myers <joseph@codesourcery.com>
31447
31448 * conform/conformtest.pl: Remove duplicate typed-constant
31449 handling.
31450
8dbd5d7b
DM
314512012-04-28 David S. Miller <davem@davemloft.net>
31452
31453 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31454 (check-abi-%): Remove AWK script prerequisite and explicit
31455 abilist directory.
31456 (check-abi): Rewrite to just diff the symlist with the abilist.
31457 (config-tls, config-abi-config): Delete, no longer used.
31458 (update-abi-%): Remove AWK script and explicit abilist directory.
31459 (update-abi): Rewrite to simply compare and conditionally copy the
31460 symlist and the sysdep abilist file. Remove update-abi-config
31461 checks.
31462 * abilist/ld.abilist: Remove.
31463 * abilist/libBrokenLocale.abilist: Remove.
31464 * abilist/libanl.abilist: Remove.
31465 * abilist/libcrypt.abilist: Remove.
31466 * abilist/libdl.abilist: Remove.
31467 * abilist/librt.abilist: Remove.
31468 * abilist/libthread_db.abilist: Remove.
31469 * abilist/libutil.abilist: Remove.
31470 * scripts/extract-abilist.awk: Remove.
31471 * scripts/merge-abilist.awk: Remove.
31472 * sysdeps/generic/libcidn.abilist: New file.
31473 * sysdeps/generic/libnss_compat.abilist: New file.
31474 * sysdeps/generic/libnss_db.abilist: New file.
31475 * sysdeps/generic/libnss_dns.abilist: New file.
31476 * sysdeps/generic/libnss_files.abilist: New file.
31477 * sysdeps/generic/libnss_hesiod.abilist: New file.
31478 * sysdeps/generic/libnss_nis.abilist: New file.
31479 * sysdeps/generic/libnss_nisplus.abilist: New file.
31480 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31481 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31482 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31483 file.
31484 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31485 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31486 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31487 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31488 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31489 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31490 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31491 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31492 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31493 file.
31494 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31495 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31496 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31497 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31498 file.
31499 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31500 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31501 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31502 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31503 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31504 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31505 file.
31506 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31507 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31508 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31509 file.
31510 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31512 New file.
31513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31514 New file.
31515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31516 New file.
31517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31518 New file.
31519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31520 New file.
31521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31522 New file.
31523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31524 New file.
31525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31526 New file.
31527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31528 New file.
31529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31530 New file.
31531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31532 New file.
31533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31534 New file.
31535 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31536 New file.
31537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31538 file.
31539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31540 New file.
31541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31542 New file.
31543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31544 file.
31545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31546 New file.
31547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31548 New file.
31549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31550 file.
31551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31552 New file.
31553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31554 New file.
31555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31556 New file.
31557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31558 New file.
31559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31560 New file.
31561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31562 New file.
31563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31565 file.
31566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31567 New file.
31568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31569 file.
31570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31571 file.
31572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31573 file.
31574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31575 file.
31576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31577 file.
31578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31579 New file.
31580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31581 file.
31582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31583 file.
31584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31585 New file.
31586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31587 file.
31588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31590 file.
31591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31592 New file.
31593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31594 file.
31595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31596 file.
31597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31598 file.
31599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31600 file.
31601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31602 file.
31603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31604 New file.
31605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31606 file.
31607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31608 file.
31609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31610 New file.
31611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31612 file.
31613 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31614 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31615 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31616 file.
31617 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31618 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31619 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31620 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31621 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31622 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31623 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31624 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31625 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31626 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31629 file.
31630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31631 New file.
31632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31633 file.
31634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31635 file.
31636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31637 file.
31638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31639 file.
31640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31641 file.
31642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31643 New file.
31644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31645 New file.
31646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31647 file.
31648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31649 New file.
31650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31651 file.
31652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31654 file.
31655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31656 New file.
31657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31658 file.
31659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31660 file.
31661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31662 file.
31663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31664 file.
31665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31666 file.
31667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31668 New file.
31669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31670 New file.
31671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31672 file.
31673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31674 New file.
31675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31676 file.
31677
41d73a1b
JM
316782012-04-28 Joseph Myers <joseph@codesourcery.com>
31679
31680 * conform/conformtest.pl: Fix typo in handling typed-constant from
31681 allow-header.
31682
28aeeda4
JM
316832012-04-27 Joseph Myers <joseph@codesourcery.com>
31684
adae8f5e
JM
31685 * README: Cut down references to pre-2.6 Linux kernels and
31686 Linuxthreads. Update lists of configurations in libc and ports
31687 and sort alphabetically. Say "or newer" with Linux kernel version
31688 requirements.
31689
28aeeda4
JM
31690 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31691
a462cb63
RA
316922012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31693
31694 [BZ #887]
31695 * math/libm-test.inc (logb_test_downward): New test to expose
31696 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31697 rounding mode.
31698
6ad3493e
JM
316992012-04-27 Joseph Myers <joseph@codesourcery.com>
31700
31701 [BZ #14027]
31702 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31703 to be done.
31704 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31705 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31706
2ce4f015
JM
317072012-04-26 Joseph Myers <joseph@codesourcery.com>
31708
5aeb141a
JM
31709 * sysdeps/unix/i386/brk.S: Remove file.
31710 * sysdeps/unix/i386/dl-brk.S: Likewise.
31711 * sysdeps/unix/i386/pipe.S: Likewise.
31712 * sysdeps/unix/i386/sigreturn.S: Likewise.
31713 * sysdeps/unix/i386/syscall.S: Likewise.
31714 * sysdeps/unix/i386/vfork.S: Likewise.
31715 * sysdeps/unix/i386/wait.S: Likewise.
31716
7143acae
JM
31717 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31718 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31719
2ce4f015
JM
31720 * configure.in (arm*-none*): Do not allow without
31721 --enable-hacker-mode.
31722 (netbsd*): Remove case setting base_os.
31723 (386bsd*): Likewise.
31724 (freebsd*): Likewise.
31725 (bsdi*): Likewise.
31726 (osf*): Likewise.
31727 (sunos*): Likewise.
31728 (ultrix*): Likewise.
31729 (newsos*): Likewise.
31730 (dynix*): Likewise.
31731 (*bsd*): Likewise.
31732 (sysv*): Likewise.
31733 (isc*): Likewise.
31734 (esix*): Likewise.
31735 (sco*): Likewise.
31736 (minix*): Likewise.
31737 (irix4*): Likewise.
31738 (irix6*): Likewise.
31739 (solaris[2-9]*): Likewise.
31740 (none): Likewise.
31741 * configure: Regenerated.
31742
0ac229c8
AZ
317432012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31744
31745 [BZ #11521]
31746 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31747 overflow or cancellation in calculating denominator.
31748 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31749 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31750 down expression to avoid unexpected rounding in newer GCCs.
31751 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31752
33f244f4
DM
317532012-04-26 David S. Miller <davem@davemloft.net>
31754
31755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31756 long-double compat symbols.
31757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31768 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31770
cfa1f3e8
DM
317712012-04-25 David S. Miller <davem@davemloft.net>
31772
31773 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31774 HWCAP_* values only after the memory barriers have been defined.
31775 (atomic_full_barrier): Define.
31776 (atomic_read_barrier): Define.
31777 (atomic_write_barrier): Define.
31778
6e236b92
SP
317792012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31780
31781 * shlib-versions: Add libgcc_s version information.
31782 * sysdeps/generic/libgcc_s.h: Remove.
31783 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31784 libgcc_s.h.
31785 * sysdeps/gnu/unwind-resume.c: Likewise.
31786 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31787
aab39a09
DM
317882012-04-25 David S. Miller <davem@davemloft.net>
31789
31790 * sysdeps/unix/sparc/brk.S: Delete.
31791 * sysdeps/unix/sparc/dl-brk.S: Delete.
31792 * sysdeps/unix/sparc/pipe.S: Delete.
31793 * sysdeps/unix/sparc/sysdep.S: Delete.
31794 * sysdeps/unix/sparc/sysdep.h: Delete.
31795 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
31796 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31797 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31798 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31799 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
31800 (JUMPTARGET): Remove.
31801 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31802 sysdeps/unix/sparc/sysdep.h
31803 (ENTRY, END): Remove.
31804 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31805
a3cc4f48
JM
318062012-04-25 Joseph Myers <joseph@codesourcery.com>
31807
2ed8cda2
JM
31808 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31809 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31810 -DIS_IN_build.
31811
35d76d59
JM
31812 * timezone/README: Update upstream location and email address for
31813 tzcode and tzdata.
31814 * timezone/zdump.c: Update from tzcode 2012b.
31815 * timezone/zic.c: Likewise.
31816
a3cc4f48
JM
31817 * configure.in (libc_cv_as_needed): Remove test.
31818 * configure: Regenerated.
31819 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31820 conditional definition.
31821 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31822 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31823 * config.make.in (have-as-needed): Remove variable.
31824
ceab42c3
SP
318252012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31826 Paul Pluzhnikov <ppluzhnikov@google.com>
31827
31828 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31829 strings correctly.
31830
3ce2865f
CLT
318312012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31832
31833 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31834 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31835 * sysdeps/sh/strlen.S: Likewise.
31836
f37e0d68
JM
318372012-04-24 Joseph Myers <joseph@codesourcery.com>
31838
ae186e9a
JM
31839 * sysdeps/unix/fork.S: Remove file.
31840 * sysdeps/unix/i386/fork.S: Likewise.
31841 * sysdeps/unix/sparc/fork.S: Likewise.
31842
b96914af
JM
31843 * sysdeps/unix/system.c: Remove file.
31844 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31845
f37e0d68
JM
31846 * sysdeps/unix/getegid.S: Remove file.
31847 * sysdeps/unix/geteuid.S: Likewise.
31848
87ef29ca
RM
318492012-04-24 Roland McGrath <roland@hack.frob.com>
31850
83bcd236
RM
31851 * scripts/check-localplt.awk: New file.
31852 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31853 of diff.
31854 * scripts/data/localplt-generic.data: Add a comment.
31855
87ef29ca
RM
31856 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31857 NODE when __dir_mkfile failed.
31858 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31859 Reported by Ludovic Courtès <ludo@gnu.org>.
31860
e5a6e567
AJ
318612012-04-24 Andreas Jaeger <aj@suse.de>
31862
31863 * Makerules (common-clean): Also remove gen-as-const-headers
31864 files.
31865
c1820385
JM
318662012-04-24 Joseph Myers <joseph@codesourcery.com>
31867
31868 * Makerules (native-compile): Do not change working directory for
31869 build. Use $(OUTPUT_OPTION) in command.
31870 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31871
94e02fc4
AZ
318722012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31873
31874 [BZ #13886]
31875 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31876 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31877 * math/libm-test.inc (floor_test): Add more tests.
31878 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31879
3a533ca3
JM
318802012-04-24 Joseph Myers <joseph@codesourcery.com>
31881
940ab4b3
JM
31882 * sysdeps/unix/getdents.c: Remove file.
31883 * sysdeps/unix/sysv/getdents.c: Likewise.
31884 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31885
90e037bd
JM
31886 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31887 sysdeps/unix/mman/syscalls.list.
31888 (mmap): Likewise.
31889 (mprotect): Likewise.
31890 (msync): Likewise.
31891 (munmap): Likewise.
31892 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31893 * sysdeps/unix/mman/syscalls.list: Remove.
31894 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31895
3a533ca3
JM
31896 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31897 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31898 * configure: Regenerated.
31899 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31900 $(libgcc_s_suffix).
31901 * config.make.in (libgcc_s_suffix): Remove variable.
31902
1ad743de
JM
319032012-04-23 Joseph Myers <joseph@codesourcery.com>
31904
4ad451e2
JM
31905 * sysdeps/unix/sysv/gethostname.c: Move to ...
31906 * sysdeps/posix/gethostname.c: ... here.
31907
5e37ce39
JM
31908 * sysdeps/unix/execve.S: Remove file.
31909
1ad743de
JM
31910 * sysdeps/unix/_exit.S: Remove file.
31911
4e681b5b
AJ
319122012-04-23 Andreas Jaeger <aj@suse.de>
31913
31914 [BZ #13739]
31915 * manual/Makefile: Remove make dist support, there's no
31916 need for a stand-alone documentation tar ball.
31917 (TEXI2DVI): Define always, it's not in Makeconfig.
31918 (dist): Removed.
31919 (tar-it): Removed.
31920 (edition): Removed.
31921 (glibc-doc-$(edition).tar): Removed
31922 (%.Z): Removed.
31923 (%.gz): Removed.
31924 (%.uu): Removed.
31925 (ETAGS): Remove, it's in Makeconfig.
31926 (move-if-change): Remove, it's in Makeconfig.
31927
38686a03 319282012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31929
31930 [BZ #13970]
31931 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31932 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31933 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31934 (strtod_l, strtof_l, strtold_l): Remove __wur.
31935 It is not necessarily an error to ignore strtol's return value.
31936 One can reliably look at the stored endptr to decide whether
31937 the number had valid syntax.
31938
7c0616fa
AJ
319392012-04-21 Andreas Jaeger <aj@suse.de>
31940
803cb6b7 31941 [BZ #13739]
7c0616fa
AJ
31942 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31943
b0fe253f
JM
319442012-04-21 Joseph Myers <joseph@codesourcery.com>
31945
31946 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31947 * sysdeps/unix/sysv/Versions: Remove file.
31948
8280f22d
MT
319492012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31950
31951 [BZ #13927]
31952 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31953
75ce411f 319542012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31955
31956 [BZ #7064]
31957 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31958 version from __vm86.
31959
097d59fa
JM
319602012-04-20 Joseph Myers <joseph@codesourcery.com>
31961
a90f3bcb
JM
31962 * sysdeps/unix/common/lxstat.c: Remove file.
31963 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31964
edc7ea78
JM
31965 * sysdeps/unix/sysv/Makefile: Remove file.
31966
cb78c221
JM
31967 * sysdeps/unix/sysv/direct.h: Remove file.
31968
efa6a45f
JM
31969 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31970 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31971 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31972 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31973 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31974 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31975 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31976
9c9f2d0c
JM
31977 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31978
4541c83b
JM
31979 * sysdeps/unix/xmknod.c: Remove file.
31980 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31981
f5d153a0
JM
31982 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31983
aa746595
JM
31984 * sysdeps/unix/sysv/i386/time.S: Remove file.
31985
cce5905e
JM
31986 * sysdeps/unix/fxstat.c: Remove file.
31987 * sysdeps/unix/xstat.c: Likewise.
31988 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31989
37fa3841
JM
31990 * sysdeps/unix/sysv/sigaction.c: Remove file.
31991
ff1962a3
JM
31992 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31993 (sysdep_headers): Remove variable.
31994 [termio.h not in sysdep_headers] (generated): Likewise.
31995 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31996 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31997 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31998 * sysdeps/unix/sysv/tcflow.c: Likewise.
31999 * sysdeps/unix/sysv/tcflush.c: Likewise.
32000 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32001 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32002 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32003 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32004 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32005
e7740d31
JM
32006 * sysdeps/unix/siglist.c: Remove file.
32007
ee06f18b
JM
32008 * sysdeps/unix/getppid.S: Remove file.
32009
097d59fa
JM
32010 * sysdeps/unix/mkdir.c: Remove file.
32011 * sysdeps/unix/rmdir.c: Likewise.
32012
ff3d51ec
AS
320132012-04-19 Andreas Schwab <schwab@linux-m68k.org>
32014
32015 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32016 ERR_MAX value.
32017 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32018 errlist-compat value.
32019
50f81fd7
DM
320202012-04-18 David S. Miller <davem@davemloft.net>
32021
32022 * sysdeps/generic/memcopy.h (reg_char): Delete.
32023 * debug/strcat_chk.c: Use char, not reg_char.
32024 * debug/strcpy_chk.c: Likewise.
32025 * debug/strncat_chk.c: Likewise.
32026 * debug/strncpy_chk.c: Likewise.
32027 * string/memchr.c: Likewise.
32028 * string/memrchr.c: Likewise.
32029 * string/rawmemchr.c: Likewise.
32030 * string/strcat.c: Likewise.
32031 * string/strchr.c: Likewise.
32032 * string/strchrnul.c: Likewise.
32033 * string/strcmp.c: Likewise.
32034 * string/strcpy.c: Likewise.
32035 * string/strncat.c: Likewise.
32036 * string/strncmp.c: Likewise.
32037 * string/strncpy.c: Likewise.
32038
8ff41c46
WS
320392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32040
32041 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32042 __builtin_memcopy is called when src and dest ranges are known to not
32043 overlap.
32044
6b652f46
WS
320452012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32046
32047 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32048 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32049 fwd_align_merge macro call.
32050 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32051 bwd_align_merge macro call.
32052 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32053
b282631e
WS
320542012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
32055
32056 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32057 bwd_align_merge macros.
32058 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32059 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32060 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32061
95aa737c
DM
320622012-04-18 David S. Miller <davem@davemloft.net>
32063
32064 * sysdeps/sparc/sparc64/memcopy.h: Delete.
32065
7a99a614
AJ
320662012-04-18 Andreas Jaeger <aj@suse.de>
32067
32068 [BZ# 6794]
32069 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32070 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32071 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32072
32073 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32074 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32075 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32076
32077 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32078 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32079 Adjust for changed ldbl-128 files.
32080
32081 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32082 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32083 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32084
e5270c23
DM
320852012-04-17 David S. Miller <davem@davemloft.net>
32086
32087 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32088
fb5e92c9
AS
320892012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32090
32091 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32092 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32093 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32094 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32095 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32096 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32097
76da7265
AZ
320982012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32099
32100 [BZ #6794]
32101 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32102 * math/libm-test.inc: Add ilogb errno and exception tests.
32103 * math/w_ilogb.c: New file: ilogb wrapper.
32104 * math/w_ilogbf.c: New file: ilogbf wrapper.
32105 * math/w_ilogbl.c: New file: ilogbl wrapper.
32106 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32107 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32108 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32109 exception being thrown with 0.0 as argument.
32110 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32111 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32112 exception being thrown with 0.0 as argument.
32113 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32114 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32115 exception being thrown with 0.0 as argument.
32116 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32117 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32118 exception being thrown with 0.0 as argument.
32119 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32120 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 32121 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
32122 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32123 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32124 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32125 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32126 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32127 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32128
0396e69d
PB
321292012-04-17 Petr Baudis <pasky@ucw.cz>
32130
32131 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32132 with altivec.
32133
750b5926
MP
321342012-04-16 Marek Polacek <polacek@redhat.com>
32135
32136 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32137
751728a1
MP
321382012-04-16 Marek Polacek <polacek@redhat.com>
32139
32140 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32141 operands of fdivp instruction.
32142
34a27407
L
321432012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32144
32145 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32146 * elf/tst-auditmod3b.c: Likewise.
32147 * elf/tst-auditmod4b.c: Likewise.
32148 * elf/tst-auditmod5b.c: Likewise.
32149 * elf/tst-auditmod6b.c: Likewise.
32150 * elf/tst-auditmod6c.c: Likewise.
32151 * elf/tst-auditmod7b.c: Likewise.
32152 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32153 * sysdeps/x86_64/preconfigure.in: Likewise.
32154 * sysdeps/x86_64/preconfigure: Regenerated.
32155
7e73e17d
L
321562012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32157
32158 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32159 __ILP32__.
32160
c7a6ab72
AB
321612012-04-13 Antoine Balestrat <merkil33@gmail.com>
32162
32163 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32164 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32165
a9e8e0e0
CL
321662012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32167
32168 [BZ #13973]
32169 * locale/iso-639.def: Fix gl language name. Spotted by
32170 Yaron Shahrabani.
32171
ec98af7d
RM
321722012-04-12 Roland McGrath <roland@hack.frob.com>
32173
32174 [BZ #2074]
32175 * libio/libio.h (__io_write_fn): Update comment.
32176
247c3ede
PB
321772012-04-12 Petr Baudis <pasky@ucw.cz>
32178
32179 [BZ #2074]
32180 * stdio.texi (Hook Functions): The user provided writer function
32181 is not allowed to return -1.
32182
55939d6d
DM
321832012-04-11 David S. Miller <davem@davemloft.net>
32184
32185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32186
90020f5a
MF
321872012-04-11 Mike Frysinger <vapier@gentoo.org>
32188
32189 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32190 Add a leading slash to rtkaio.
32191
288f9098
JM
321922012-04-11 Jim Meyering <meyering@redhat.com>
32193
90020f5a
MF
32194 [BZ #11959]
32195 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32196 It is not necessarily an error to ignore fwrite's return
32197 value. One can reliably use ferror to test for errors after
32198 the fact.
288f9098 32199
4be2b570
L
322002012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32201
32202 * bits/types.h (__snseconds_t): New type.
32203 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32204
32205 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32206 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32207 (__SNSECONDS_T_TYPE): Likewise.
32208 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32209 (__SNSECONDS_T_TYPE): Likewise.
32210 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32211 (__SNSECONDS_T_TYPE): Likewise.
32212
288f9098 322132012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
32214
32215 [BZ #2636]
32216 * manual/time.texi (Processor Time): Return type of times is
32217 elapsed real time since an arbitrary point in the past.
32218 (CPU Time): Move CLK_TCK from here...
32219 (Processor Time): ...to here. Correct description.
32220 * manual/conf.texi (Constants for Sysconf): Correct description of
32221 _SC_CLK_TCK.
32222
d7dd4413
DM
322232012-04-10 David S. Miller <davem@davemloft.net>
32224
32225 [BZ #13967]
32226 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32227 where the is a gap between DT_REL(A) and DT_JMPREL.
32228
b46068fc
L
322292012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32230
32231 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32232 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32233 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32234
73d65cc3
SP
322352012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32236
32237 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32238 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32239 (dl_main): Handle --inhibit-cache.
32240 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32241 _dl_inhibit_cache.
32242 * elf/dl-load.c (_dl_map_object): Use it.
32243 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32244
bcc8d661
JM
322452012-04-09 Joseph Myers <joseph@codesourcery.com>
32246
8f9a2fae
JM
32247 [BZ #13872]
32248 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32249 (__ieee754_powl): Saturate large exponents rather than testing for
32250 overflow of y*log2(x).
32251 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32252 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32253 exceptions.
32254
bcc8d661
JM
32255 [BZ #11521]
32256 * math/s_ctan.c: Include <float.h>.
32257 (__ctan): Avoid internal overflow or cancellation in calculating
32258 denominator.
32259 * math/s_ctanf.c: Likewise.
32260 * math/s_ctanl.c: Likewise.
32261 * math/s_ctanh.c: Likewise.
32262 * math/s_ctanhf.c: Likewise.
32263 * math/s_ctanhl.c: Likewise.
32264 * math/libm-test.inc (ctan_test): Add more tests.
32265 (ctanh_test): Likewise.
32266 * sysdeps/i386/fpu/libm-test-ulps: Update.
32267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32268
823fbbb4
AJ
322692012-04-09 Andreas Jaeger <aj@suse.de>
32270
03879793
AJ
32271 [BZ #6894]
32272 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32273 is an optional BSD extension.
32274
823fbbb4
AJ
32275 [BZ #10254]
32276 * manual/stdio.texi (Opening Streams): Document additional fopen
32277 parameters.
32278
8de131cb
RM
322792012-04-09 Roland McGrath <roland@hack.frob.com>
32280
32281 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32282 %eax without telling the compiler.
32283
c0ed9d7d
CD
322842012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32285
32286 [BZ # 13963]
32287 * manual/install.texi: Use sourceware.org.
32288
c483f6b4
JM
322892012-04-09 Joseph Myers <joseph@codesourcery.com>
32290
d7dd9453
JM
32291 [BZ #13873]
32292 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32293 (__ieee754_pow): Generate overflow and underflow using huge*huge
32294 and tiny*tiny rather than just returning constant infinity or zero
32295 for large exponents.
32296 * math/libm-test.inc (pow_test): Require overflow exceptions for
32297 applicable cases of large exponents.
32298
c483f6b4
JM
32299 [BZ #706]
32300 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32301 (__ieee754_pow): Use iterative multiplication algorithm only for
32302 integer exponents with absolute value below 1024. Check for odd
32303 integer exponents when using algorithm for real exponents.
32304 * math/libm-test.inc (pow_test): Add more tests.
32305 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32306
d2de7579
JM
323072012-04-08 Joseph Myers <joseph@codesourcery.com>
32308
32309 [BZ #13705]
32310 * math/libm-test.inc (exp_test): Do not allow overflow exception
32311 on underflow test.
32312
f77f1232
AJ
323132012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32314
32315 [BZ #13705]
32316 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32317 instead of __kernel_standard_f.
32318
3884932b
MF
323192012-04-08 Mike Frysinger <vapier@gentoo.org>
32320
32321 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32322 * sysdeps/x86_64/memset_chk.S: Likewise.
32323
54472e9c
AJ
323242012-04-08 Andreas Jaeger <aj@suse.de>
32325
6ab0fbfc
AJ
32326 [BZ #10153]
32327 * manual/startup.texi (Environment Access): Describe return value
32328 for putenv and setenv.
32329
61efba8c
AJ
32330 [BZ #6895]
32331 * manual/filesys.texi (Directory Entries): Add description for
32332 DT_LNK.
32333
95c3f29a
AJ
32334 [BZ #6890]
32335 * manual/filesys.texi (Directory Entries): Clarify that it's file
32336 system not operating system in the description of DT_UNKNOWN.
32337
54472e9c
AJ
32338 [BZ #6578]
32339 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32340
624254b1
SC
323412012-04-08 Stephen Compall <s11@member.fsf.org>
32342
32343 [BZ #6649]
32344 * manual/llio.texi (Opening and Closing Files): Add cross
32345 reference to explain mode argument.
32346
1e4920e0
MF
323472012-04-07 Mike Frysinger <vapier@gentoo.org>
32348
32349 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32350 * sysdeps/x86_64/memset_chk.S: Likewise.
32351
5ed848f3
DM
323522012-04-07 David S. Miller <davem@davemloft.net>
32353
32354 * elf/elf.h (R_SPARC_WDISP10): Define.
32355 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32356 R_SPARC_SIZE32.
32357 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32358 R_SPARC_SIZE64 and R_SPARC_H34.
32359
96154cd8
CD
323602012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32361
32362 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32363 conditions and remove no longer applicable assertion.
32364
9904dc47
L
323652012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32366
32367 * bits/byteswap.h: Include <features.h>.
32368 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32369 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32370
f8887d0a
L
323712012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32372
32373 * bits/byteswap.h (__bswap_16): Removed.
32374 Include <bits/byteswap-16.h> to get __bswap_16.
32375 * sysdeps/i386/bits/byteswap.h: Likewise.
32376 * sysdeps/s390/bits/byteswap.h: Likewise.
32377 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32378 * bits/byteswap-16.h: New file.
32379 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32380 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32381 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32382 * string/Makefile (headers): Add bits/byteswap-16.h.
32383
62470f60
PP
323842012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32385
32386 [BZ #13895]
32387 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32388 extra indirection.
32389 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32390 * nss/tst-nss-static.c: New.
32391
4dad7bab
RM
323922012-04-06 Robert Millan <rmh@gnu.org>
32393
32394 [BZ #6486]
32395 * manual/llio.texi (File Position Primitive): lseek
32396 refers to WHENCE when it really means OFFSET.
32397
e9142a17
AJ
323982012-04-06 Andreas Jaeger <aj@suse.de>
32399
2c040eff
AJ
32400 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32401 strncmp declarations.
32402
e9142a17
AJ
32403 * abilist/libc.abilist: Add __poll and __ppoll.
32404
ff9f1c5f
DM
324052012-04-05 David S. Miller <davem@davemloft.net>
32406
dcd2ae90
DM
32407 * scripts/check-local-headers.sh: Accept a host triplet in the
32408 path matched by the exclude regexp.
32409
993eb054
DM
32410 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32411 definition.
32412 * sysdeps/powerpc/powerpc32/dl-machine.h
32413 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32414 * sysdeps/s390/s390-32/dl-machine.h
32415 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32416 * sysdeps/sparc/sparc32/dl-machine.h
32417 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32418 * sysdeps/sparc/sparc64/dl-machine.h
32419 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32420
ff9f1c5f
DM
32421 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32422 lazy binding.
48e2e132 32423 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
32424 undefined symbol errors.
32425
48e2e132 32426 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
32427 DT_NEEDED entries.
32428
e80d6f94
MM
324292012-04-05 Michael Matz <matz@suse.de>
32430
32431 [BZ #13592]
32432 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32433
349fa79f
AJ
324342012-04-05 Andreas Jaeger <aj@suse.de>
32435
32436 [BZ #13908]
32437 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32438 comment.
32439
f402708f
KK
324402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32441
32442 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32443 which ROUND is no valid rounding mode.
32444
2ecccfc9
KK
324452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32446
32447 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32448 read again.
32449 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32450
8a53f50f
KK
324512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32452
32453 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32454 an exception using FPU order intentionally.
32455
324562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32457
32458 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32459 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32460 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32461 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32462
d653abb7
SJ
324632012-04-05 Simon Josefsson <simon@josefsson.org>
32464
32465 [BZ #12340]
32466 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32467 EINVAL when BUFLEN is too smal.
32468
c3b1bf7d
TS
324692012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32470
32471 [BZ #13553]
32472 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32473 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32474
b1aa60f3
AJ
324752012-04-03 Andreas Jaeger <aj@suse.de>
32476
c3b1bf7d 32477 [BZ #13938]
67f60a26
AJ
32478 * manual/setjmp.texi (System V contexts): Fix sentence.
32479
b1aa60f3
AJ
32480 [BZ #13926]
32481 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32482 New macro for this case.
32483 [!__GNUC__] (__bswap_64): New inline function for this case.
32484 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32485 * bits/byteswap.h: Likewise.
32486 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32487 ull, guard with __GLIBC_HAVE_LONG_LONG.
32488
32489 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32490 __GLIBC_HAVE_LONG_LONG.
32491
32492 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32493 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32494
39c59c35
TMQMF
324952012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32496
32497 [BZ #13691]
32498 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32499 inptr and inend, rather than using last_ch.
32500
135ffda8
DM
325012012-04-02 David S. Miller <davem@davemloft.net>
32502
32503 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32504 * stdio-common/printf-parse.h (read_int): Change return type to
32505 'int', return -1 on INT_MAX overflow.
32506 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32507 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32508 overflows INT_MAX. Check for overflow of in-format-string precision
32509 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32510 SIZE_MAX not INT_MAX for integer overflow test.
32511 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32512 skip the construct in the format string but do not record anything.
32513 * stdio-common/bug22.c: Adjust to test both width/prevision
32514 INT_MAX overflow as well as total length INT_MAX overflow. Check
32515 explicitly for proper errno values.
32516
228c019e
TS
325172012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32518
302cadd3
TS
32519 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32520 CHAR_MAX.
32521 * string/test-strcmp.c [! WIDE]: Likewise.
32522 * time/tst-mktime2.c: Likewise for INT_MAX.
32523 * string/test-string.h: #include <sys/param.h> for MIN.
32524
228c019e
TS
32525 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32526 * sysdeps/i386/init-first.c (init): Likewise.
32527 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32528 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32529 * sysdeps/sh/init-first.c (init): Likewise.
32530
cfa633f5
UD
325312012-04-01 Ulrich Drepper <drepper@gmail.com>
32532
32533 * po/ru.po: Update from translation team.
d1635ef8 32534 * po/vi.po: Likewise.
cfa633f5 32535
6cd0a5ea
SP
325362012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32537
32538 * resolv/nss_dns/dns-host.c: Merge copyright years.
32539
4b43400f
LD
325402012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32541
32542 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32543 Optimize memcpy with prefetch if
32544 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32545 src, dst pointers have unequal 16 byte alignments.
32546
48c41d04
SP
325472012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32548
32549 [BZ #13928]
32550 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32551 from a CNAME entry and return the minimum ttl for the query.
32552 (gaih_getanswer_slice): Likewise.
32553
b8dc394d
JL
325542012-03-30 Jeff Law <law@redhat.com>
32555
32556 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32557 due to long keys.
32558 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32559 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32560
2f5a5ed0
JL
32561 * resolv/nss_dns/dns-host.c: Update copyright year.
32562
1d39e359
UD
325632012-03-30 Ulrich Drepper <drepper@gmail.com>
32564
c030f70c 32565 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 32566 requests to save a system call. Fix check that all bytes are sent.
c030f70c 32567
1d39e359
UD
32568 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32569 comments for sendmmsg.
32570
325712012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
32572
32573 [BZ #13691]
32574 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32575 with only 1 character between 0x0041 and 0x01b0.
32576 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32577 * wcsmbs/tst-mbsnrtowcs.c: New file.
32578
20fde227
DM
325792012-03-29 David S. Miller <davem@davemloft.net>
32580
32581 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32582 small copies by hand.
32583
984a4237
JL
325842012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32585
32586 [BZ #13761]
57f41c40
AS
32587 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32588 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32589 group memberships.
984a4237 32590
18c9d62b
DM
325912012-03-28 David S. Miller <davem@davemloft.net>
32592
88d85d4f
DM
32593 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32594 that branches into memcpy.
32595 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32596 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32597 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32598 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32599 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32600 bits.
32601 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32602 implementation too.
32603 * sysdeps/sparc/mempcpy.S: New file.
32604
e5aa83e1
DM
32605 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32606 the IFUNC routine in the libc case.
32607 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32608
88570753
DM
32609 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32610 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32611 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32612 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32613 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32614 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32615 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32616 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32617
249d7567
DM
32618 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32619 loop to 256 bytes instead of 64 bytes and fix test signedness.
32620
18c9d62b
DM
32621 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32622 * sysdeps/sparc/sparc32/Makefile: rather than here...
32623 * sysdeps/sparc/sparc64/Makefile: and here.
32624
05f3d1f6
UD
326252012-03-28 Ulrich Drepper <drepper@gmail.com>
32626
32627 * malloc/mallocbug.c: Avoid warnings about unused variables.
32628
86ae07a8
JL
326292012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32630
32631 [BZ #13760]
32632 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32633 in the right place. Discard and retry query if response is
32634 larger than input buffer size.
32635
41bf21a1
JM
326362012-03-28 Joseph Myers <joseph@codesourcery.com>
32637
d6270972
JM
32638 [BZ #369]
32639 [BZ #2678]
32640 [BZ #3866]
32641 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32642 x for large integer exponent.
32643 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32644 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32645 sign of result as needed afterwards.
32646 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32647 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32648 result for underflowing pow the same as for overflow.
32649 (__kernel_standard_l): Handle powl overflow and underflow here
32650 rather than calling __kernel_standard.
32651 * math/libm-test.inc (pow_test): Add more tests.
32652
414fca03 32653 [BZ #3868]
41bf21a1
JM
32654 [BZ #13879]
32655 [BZ #13910]
32656 [BZ #13911]
32657 [BZ #13912]
32658 [BZ #13913]
32659 [BZ #13915]
32660 [BZ #13916]
32661 [BZ #13917]
32662 [BZ #13918]
32663 [BZ #13919]
32664 [BZ #13920]
32665 [BZ #13921]
32666 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32667 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32668 (__kernel_standard_l): New function.
32669 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32670 __kernel_standard.
32671 * math/w_acosl.c (__acosl): Likewise.
32672 * math/w_asinl.c (__asinl): Likewise.
32673 * math/w_atan2l.c (__atan2l): Likewise.
32674 * math/w_atanhl.c (__atanhl): Likewise.
32675 * math/w_coshl.c (__coshl): Likewise.
32676 * math/w_exp10l.c (__exp10l): Likewise.
32677 * math/w_exp2l.c (__exp2l): Likewise.
32678 * math/w_fmodl.c (__fmodl): Likewise.
32679 * math/w_hypotl.c (__hypotl): Likewise.
32680 * math/w_j0l.c (__j0l, __y0l): Likewise.
32681 * math/w_j1l.c (__j1l, __y1l): Likewise.
32682 * math/w_jnl.c (__jnl, __ynl): Likewise.
32683 * math/w_lgammal.c (__lgammal): Likewise.
32684 * math/w_log10l.c (__log10l): Likewise.
32685 * math/w_log2l.c (__log2l): Likewise.
32686 * math/w_logl.c (__logl): Likewise.
32687 * math/w_powl.c (__powl): Likewise.
32688 * math/w_remainderl.c (__remainderl): Likewise.
32689 * math/w_scalbl.c (sysv_scalbl): Likewise.
32690 * math/w_sinhl.c (__sinhl): Likewise.
32691 * math/w_sqrtl.c (__sqrtl): Likewise.
32692 * math/w_tgammal.c (__tgammal): Likewise.
32693 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32694 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32695 * math/libm-test.inc (acos_test): Add more tests.
32696 (acosh_test): Likewise.
32697 (asin_test): Likewise.
32698 (atanh_test): Likewise.
32699 (exp_test): Likewise.
32700 (exp10_test): Likewise.
32701 (exp2_test): Likewise.
32702 (expm1_test): Likewise.
32703 (lgamma_test): Likewise.
32704 (log_test): Likewise.
32705 (log10_test): Likewise.
32706 (log1p_test): Likewise.
32707 (log2_test): Likewise.
32708 (pow_test): Do not allow some spurious overflow exceptions.
32709 (sqrt_test): Add more tests.
32710 (tgamma_test): Likewise.
32711 (y0_test): Likewise.
32712 (y1_test): Likewise.
32713 (yn_test): Likewise.
32714
dd62fda6
AB
327152012-03-27 Anton Blanchard <anton@samba.org>
32716
32717 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32718 MAP_HUGETLB.
32719 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32720 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32721 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32722
1e3cdfda
AJ
327232012-03-27 David S. Miller <davem@davemloft.net>
32724
b855ab85
DM
32725 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32726
1e3cdfda
AJ
32727 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32728 have-as-vis3 check.
32729
327302012-03-27 Andreas Jaeger <aj@suse.de>
32731
32732 * sysdeps/x86_64/elf/configure.in: Moved to ...
32733 * sysdeps/x86_64/configure.in: ... here.
32734 * sysdeps/x86_64/elf/start.S: Moved to ...
32735 * sysdeps/x86_64/start.S: ... here.
32736 * sysdeps/x86_64/elf/configure: Delete.
32737
32738 * sysdeps/x86_64/configure.in: Merge contents from
32739 sysdeps/i386/configure.in (without i686 check).
32740
32741 * sysdeps/i386/elf/Versions: Merge into ...
32742 * sysdeps/i386/Versions: ... this.
32743 * sysdeps/i386/elf/Versions: Delete file.
32744 * sysdeps/i386/elf/start.S: Moved to ...
32745 * sysdeps/i386/start.S: ...here.
32746 * sysdeps/i386/elf/configure.in: Merge into...
32747 * sysdeps/i386/configure.in: ...here.
32748 * sysdeps/i386/elf/configure.in: Delete file.
32749 * sysdeps/i386/elf/configure: Delete file.
32750
32751 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32752 * debug/backtracesyms.c: ... here.
32753 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32754 * debug/backtracesymsfd.c: ... here.
32755 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32756 * sysdeps/generic/ifunc-sel.h: ... here.
32757
32758 * sysdeps/unix/i386/start.c: Delete file.
32759 * sysdeps/unix/sparc/start.c: Delete file.
32760 * sysdeps/unix/start.c: Delete file.
32761
32762 * sysdeps/sh/elf/configure.in: Moved to ...
32763 * sysdeps/sh/configure.in: ... here.
32764 * sysdeps/sh/elf/start.S: Moved to ...
32765 * sysdeps/sh/start.S: ... here.
32766 * sysdeps/sh/elf/configure: Delete file.
32767
32768 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32769 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32770 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32771 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32772 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32773 * sysdeps/powerpc/powerpc64/start.S: here.
32774 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32775 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32776 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32777 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32778 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32779
32780 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32781 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32782 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32783 * sysdeps/powerpc/powerpc32/start.S: ... here.
32784 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32785 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32786 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32787
32788 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32789 * sysdeps/powerpc/ifunc-sel.h: ... here.
32790 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32791 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32792
32793 * sysdeps/sparc/elf/configure.in: Moved to ...
32794 * sysdeps/sparc/configure.in: ... here.
32795 * sysdeps/sparc/elf/configure: Delete file.
32796 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32797 * sysdeps/sparc/sparc32/start.S: ... here.
32798 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32799 * sysdeps/sparc/sparc64/start.S: ... here.
32800 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32801 * sysdeps/sparc/sparc32/Makefile: ... this.
32802 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32803 * sysdeps/sparc/sparc64/Makefile: ... this.
32804
32805 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32806 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32807 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32808 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32809 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32810 * sysdeps/s390/s390-32/setjmp.S: ... here.
32811 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32812 * sysdeps/s390/s390-32/configure.in: ... here.
32813 * sysdeps/s390/s390-32/elf/configure: Delete file.
32814 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32815 * sysdeps/s390/s390-32/start.S: ... here.
32816
32817 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32818 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32819 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32820 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32821 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32822 * sysdeps/s390/s390-64/setjmp.S: ... here.
32823 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32824 * sysdeps/s390/s390-64/configure.in: ... here
32825 * sysdeps/s390/s390-64/elf/configure: Delete file.
32826 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32827 * sysdeps/s390/s390-64/start.S: ... here.
32828 * sysdeps/s390/s390-64/elf/configure: Delete.
32829
32830 * configure.in: Remove support for elf directories in sysdeps.
32831
32832 * configure: Regenerated.
32833 * sysdeps/i386/configure: Regenerated.
32834 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32835 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32836 * sysdeps/s390/s390-32/configure: Regenerated.
32837 * sysdeps/s390/s390-64/configure: Regenerated.
32838 * sysdeps/sh/configure: Regenerated.
32839 * sysdeps/sparc/configure: Regenerated.
32840 * sysdeps/x86_64/configure: Regenerated.
32841
a3f61311
AS
328422012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32843
c876e002
AS
32844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32845
a3f61311
AS
32846 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32847 denormal result into account.
32848
ac4c54f0
RM
328492012-03-25 Roland McGrath <roland@hack.frob.com>
32850
32851 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32852 Reported by Allan McRae <allan@archlinux.org>.
32853
6a9b9c02
JL
328542012-03-23 Jeff Law <law@redhat.com>
32855
32856 * nss/getnssent.c (__nss_getent): Fix typo.
32857
4c42a0c1
DM
328582012-03-23 David S. Miller <davem@davemloft.net>
32859
32860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32861
1532c7ac
L
328622012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32863
32864 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32865 to pad to uint64_t for each field.
32866 (dl_tls_index): Replace unsigned long with uint64_t.
32867
3ff42526
PP
328682012-03-23 Daniel Jacobowitz <dmj@google.com>
32869 Paul Pluzhnikov <ppluzhnikov@google.com>
32870
32871 [BZ #6528]
32872 * grp/Makefile (otherlibs): Don't set it.
32873 * inet/Makefile (otherlibs): Likewise.
32874 * login/Makefile (otherlibs): Likewise.
32875 * nscd/Makefile (otherlibs): Likewise.
32876 * posix/Makefile (otherlibs): Likewise.
32877 * pwd/Makefile (otherlibs): Likewise.
32878 * rt/Makefile (otherlibs): Likewise.
32879 * sunrpc/Makefile (otherlibs): Likewise.
32880 * nss/Makefile (otherlibs): Likewise.
32881 Add libnss_files to routines and static-only-routines.
32882 ($(objpfx)getent): Remove rule.
32883 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32884 static-only-routines.
32885
7c69cd14
JM
328862012-03-22 Joseph Myers <joseph@codesourcery.com>
32887
32888 [BZ #13892]
32889 * math/s_cexp.c: Include <float.h>.
32890 (__cexp): Handle exp result overflowing not necessarily
32891 overflowing both real and imaginary parts of result.
32892 * math/s_cexpf.c: Likewise.
32893 * math/s_cexpl.c: Likewise.
32894 * math/libm-test.inc (cexp_test): Add more tests.
32895 * sysdeps/i386/fpu/libm-test-ulps: Update.
32896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32897
81b035fe
L
328982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32899
32900 * include/link.h (ELFW): New macro.
32901 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32902 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32903
1da7940c
L
329042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32905
32906 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32907 with uint64_t.
32908
b749dbb9
L
329092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32910
32911 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32912 declaration.
32913 (struct La_x32_retval): Likewise.
32914
2ff87f3f
L
329152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32916
32917 * sysdeps/x86_64/preconfigure.in: New file.
32918 * sysdeps/x86_64/preconfigure: New generated file.
32919
c0df8e69
JM
329202012-03-22 Joseph Myers <joseph@codesourcery.com>
32921
48e44791
JM
32922 [BZ #13824]
32923 * math/e_exp2l.c: Include <float.h>.
32924 (__ieee754_exp2l): Handle overflow and underflow cases
32925 separately. Only pass fractional part of argument to
32926 __ieee754_expl.
32927 * math/libm-test.inc (exp2_test): Add more tests.
32928
c0df8e69
JM
32929 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32930 negating x to take absolute value.
32931 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32932 Likewise.
32933 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32934 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32935 Likewise.
32936 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32937 computing low part if x was negated.
32938 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32939
c8e43ba7
L
329402012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32941
32942 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32943 la_x32_gnu_pltexit.
32944 (pltexit): Cast int_retval to ptrdiff_t.
32945 * elf/tst-auditmod3b.c: Likewise.
32946 * elf/tst-auditmod4b.c: Likewise.
32947 * elf/tst-auditmod5b.c: Likewise.
32948 * elf/tst-auditmod6b.c: Likewise.
32949 * elf/tst-auditmod6c.c: Likewise.
32950 * elf/tst-auditmod7b.c: Likewise.
32951
32952 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32953 and x32_gnu_pltexit.
32954
32955 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32956 __ELF_NATIVE_CLASS.
32957 (La_x32_regs): New macro.
32958 (La_x32_retval): Likewise.
32959 (la_x32_gnu_pltenter): New function prototype.
32960 (la_x32_gnu_pltexit): Likewise.
32961
7998fa78
AS
329622012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32963
dcb33988
AS
32964 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32965 exponent.
32966
233fc563
AS
32967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32968
7998fa78
AS
32969 * configure.in (libc_cv_cc_nofma): Check for option to disable
32970 generation of FMA instructions.
32971 * configure: Regenerate.
32972 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32973 * sysdeps/ieee754/dbl-64/Makefile: New file.
32974 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32975 Remove brandred-fma4.
32976 (CFLAGS-brandred-fma4.c): Remove.
32977 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32978 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32979 define.
32980 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32981 define.
32982
8e95c99a
L
329832012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32984
32985 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32986 LLONG_MAX != LONG_MAX.
32987 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32988 (_fitoa_word): Likewise.
32989 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32990 LLONG_MAX != LONG_MAX.
32991 * stdio-common/_itowa.h: Include <_itoa.h>.
32992 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32993 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32994 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32995 only if not defined.
32996 (_ITOA_WORD_TYPE): Likewise.
32997 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32998 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32999
6f4db457
DM
330002012-03-21 David S. Miller <davem@davemloft.net>
33001
33002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33003
7785fe5a
L
330042012-03-21 H.J. Lu <hongjiu.lu@intel.com>
33005
33006 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33007 of x86_64 when setting libc_cv_slibdir, libdir and
33008 libc_cv_localedir.
33009 * sysdeps/unix/sysv/linux/configure: Regenerated.
33010
4535cd55
JM
330112012-03-21 Joseph Myers <joseph@codesourcery.com>
33012
33013 * manual/lang.texi (Old Varargs): Remove section.
33014 (How Variadic): Update menu.
33015 (va_start): Do not mention varargs.h.
33016
17228132
TS
330172012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33018 Joseph Myers <joseph@codesourcery.com>
33019
33020 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33021 link test.
33022 * configure: Regenerated.
33023
8149f976
TS
330242012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33025
05f3d1f6
UD
33026 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33027 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33028 conformtest.pl
8149f976 33029
1a4ac776
JM
330302012-03-21 Joseph Myers <joseph@codesourcery.com>
33031
be22ce65
JM
33032 * NOTES: Remove.
33033 * Makefile (files-for-dist): Remove NOTES.
33034 (NOTES): Remove rule.
33035 * README: Don't refer to NOTES.
33036 * manual/creature.texi: Don't include macros.texi.
33037 * manual/intro.texi (creature.texi): Remove comment referring to
33038 NOTES.
33039
40b601fb
JM
33040 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33041 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33042 * configure: Regenerated.
33043 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33044 LIBC_TRY_CC_OPTION.
33045 (libc_cv_as_i686): Likewise.
33046 (libc_cv_cc_avx): Likewise.
33047 (libc_cv_cc_sse2avx): Likewise.
33048 (libc_cv_cc_fma4): Likewise.
33049 (libc_cv_cc_novzeroupper): Likewise.
33050 * sysdeps/i386/configure: Regenerated.
33051
1a4ac776
JM
33052 [BZ #13883]
33053 * sysdeps/i386/fpu/s_cexp.S: Remove.
33054 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33055 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33056 * math/libm-test.inc (cexp_test): Add more tests.
33057 * sysdeps/i386/fpu/libm-test-ulps: Update.
33058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33059
a458e7fe
AM
330602012-03-21 Allan McRae <allan@archlinux.org>
33061
33062 * timezone/Makefile: Do not install iso3166.tab and zone.tab
33063
0cb7efc5
JM
330642012-03-21 Joseph Myers <joseph@codesourcery.com>
33065
33066 [BZ #13871]
33067 * math/w_exp2.c: Do not include <float.h>.
33068 (o_threshold, u_threshold): Remove.
33069 (__exp2): Calculate result before checking finiteness and calling
33070 __kernel_standard.
33071 * math/w_exp2f.c: Likewise.
33072 * math/w_exp2l.c: Likewise.
33073 * math/libm-test.inc (exp2_test): Require overflow exception for
33074 1e6 input.
2460d3aa
JM
33075
33076 [BZ #3866]
33077 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33078 range of signed 64-bit integers before using fistpll. Remove
33079 checks for whether integers fit in mantissa bits.
33080 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33081 the range of signed 32-bit integers before using fistpl. Remove
33082 checks for whether integers fit in mantissa bits.
33083 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33084 (__ieee754_powl): Test for y outside the range of signed 64-bit
33085 integers before using fistpll. Reduce 64-bit values to 63-bit
33086 ones as needed.
33087 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33088 divide-by-zero is raised for zero to large negative powers.
33089 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33090 (__ieee754_powl): Test for y outside the range of signed 64-bit
33091 integers before using fistpll. Reduce 64-bit values to 63-bit
33092 ones as needed.
33093 * math/libm-test.inc (pow_test): Add more tests.
33094
eb96ffb0
L
330952012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33096
33097 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33098 <stdio-common/_itoa.h>.
33099 * debug/segfault.c: Likewise.
33100 * elf/dl-cache.c: Likewise.
33101 * elf/dl-minimal.c: Likewise.
33102 * elf/dl-misc.c: Likewise.
33103 * elf/dl-sysdep.c: Likewise.
33104 * elf/dl-version.c: Likewise.
33105 * elf/rtld.c: Likewise.
33106 * hurd/hurdsock.c: Likewise.
33107 * hurd/lookup-retry.c: Likewise.
33108 * malloc/malloc.c: Likewise.
33109 * malloc/mtrace.c: Likewise.
33110 * nscd/nscd_getgr_r.c: Likewise.
33111 * nscd/nscd_getpw_r.c: Likewise.
33112 * nscd/nscd_getserv_r.c: Likewise.
33113 * posix/getopt_init.c: Likewise.
33114 * posix/wordexp.c: Likewise.
33115 * stdio-common/_itoa.c: Likewise.
33116 * stdio-common/printf_fphex.c: Likewise.
33117 * stdio-common/vfprintf.c: Likewise.
33118 * string/_strerror.c: Likewise.
33119 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33120 * sysdeps/i386/i686/hp-timing.h: Likewise.
33121 * sysdeps/mach/_strerror.c: Likewise.
33122 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33123 * sysdeps/mach/hurd/sethostid.c: Likewise.
33124 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33125 * sysdeps/mach/xpg-strerror.c: Likewise.
33126 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33127 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33128 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33129 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33130 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33131 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33132 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33133 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33134 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33135 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33136 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33137 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33138 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33139 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33140 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33141 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33142 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33143 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33144 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33145 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33146 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33147
33148 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33149
33150 * stdio-common/_itoa.h: Moved to ...
33151 * sysdeps/generic/_itoa.h: Here.
33152
33153 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33154
33155 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33156 instead of "_itoa.h" and "_itowa.h".
33157 * stdio-common/vfprintf.: Likewise.
33158
d1af992d
L
331592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33160
33161 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33162 <bits/wordsize.h>.
33163 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33164 (__signbit): Likwise.
33165 (llrintf): Likwise.
33166 (llrint): Likwise.
33167
114883e0
L
331682012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33169
33170 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33171 __WORDSIZE != 64.
33172
c135cc1b
JM
331732012-03-20 Joseph Myers <joseph@codesourcery.com>
33174
33175 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33176 OVERFLOW_EXCEPTION_OK.
33177 * math/libm-test.inc ("Philosophy"): Update comment about
33178 exception testing.
33179 (OVERFLOW_EXCEPTION): Define.
33180 (OVERFLOW_EXCEPTION_OK): Likewise.
33181 (INVALID_EXCEPTION_OK): Renumber.
33182 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33183 (IGNORE_ZERO_INF_SIGN): Likewise.
33184 (test_exceptions): Handle FE_OVERFLOW.
33185 (exp10_test): Expect overflow exceptions.
33186 (exp2_test): Likewise.
33187 (expm1_test): Likewise.
33188 (nextafter_test): Likewise.
33189 (pow_test): Likewise.
33190 (scalbn_test): Likewise.
33191 (scalbln_test): Likewise.
33192
95443d88
L
331932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33194
33195 * sysdeps/x86_64/bits/atomic.h
33196 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33197 64bit integer.
33198 (atomic_exchange_acq): Likewise.
33199 (__arch_exchange_and_add_body): Likewise.
33200 (__arch_add_body): Likewise.
33201 (atomic_add_negative): Likewise.
33202 (atomic_add_zero): Likewise.
33203
490df6c4
L
332042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33205
c2722551 33206 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
33207 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33208
5e52b189
L
332092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33210
33211 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33212 Check __x86_64__ instead of __WORDSIZE.
33213
a9879d4c
L
332142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33215
33216 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33217
5df98260
DM
332182012-03-19 David S. Miller <davem@davemloft.net>
33219
e1497744
DM
33220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33221
5df98260
DM
33222 * sysdeps/sparc/fpu/fenv_private.h: New file.
33223 * sysdeps/sparc/fpu/math_private.h: Use it.
33224 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33225 Remove.
57f41c40 33226 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
33227 (libc_feholdexcept_setroundl): Remove.
33228 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33229 Remove.
33230 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33231 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33232
b4c35121
L
332332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33234
33235 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33236 int64_t instead of long int.
33237 (INSERT_WORDS64): Likwise.
33238
56965fd7
L
332392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33240
33241 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33242 _Unwind_GetCFA return to _Unwind_Ptr first.
33243
83d1aec8
JM
332442012-03-19 Joseph Myers <joseph@codesourcery.com>
33245
1897ad44
JM
33246 [BZ #13629]
33247 * math/s_clog.c: Include <float.h>.
33248 (__clog): Scale large or subnormal inputs.
33249 * math/s_clogf.c: Likewise.
33250 * math/s_clogl.c: Likewise.
33251 * math/s_clog10.c: Include <float.h>.
33252 (M_LOG10_2): Define.
33253 (__clog10): Scale large or subnormal inputs.
33254 * math/s_clog10f.c: Likewise.
33255 * math/s_clog10l.c: Likewise.
33256 * math/libm-test.inc (clog_test): Add more tests.
33257 (clog10_test): Likewise.
33258 * sysdeps/i386/fpu/libm-test-ulps: Update.
33259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33260
7726d6a9
JM
33261 [BZ #11451]
33262 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33263 x and y.
33264 * math/libm-test.inc (atan2_test): Add another test.
33265
83d1aec8
JM
33266 * Makerules (common-objdir-compile): Remove.
33267 * sysdeps/unix/Makefile (config-generated): Do not add
33268 $(unix-generated) to variable.
33269 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33270 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33271 Remove rule.
33272 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33273 Likewise.
33274 [generic bits/local_lim.h] (before-compile): Do not append to
33275 variable.
33276 [generic bits/local_lim.h] (common-generated): Likewise.
33277 [generic sys/param.h] (before-compile): Do not append to variable.
33278 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33279 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33280 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33281 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33282 include.
33283 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33284 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33285 [generic sys/param.h] ($(addprefix
33286 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33287 [generic sys/param.h] (common-generated): Do not append to
33288 variable.
33289 [generic sys/param.h] (sysdep_headers): Likewise.
33290 [generic bits/errno.h] (before-compile): Do not append to
33291 variable.
33292 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33293 rule.
33294 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33295 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33296 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33297 [generic bits/errno.h] (common-generated): Do not append to
33298 variable.
33299 [generic bits/ioctls.h] (before-compile): Do not append to
33300 variable.
33301 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33302 rule.
33303 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33304 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33305 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33306 rule.
33307 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33308 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33309 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33310 [generic bits/ioctls.h] (common-generated): Do not append to
33311 variable.
33312 [generic sys/syscall.h] (syscall.h): Remove variable.
33313 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33314 rule.
33315 [generic sys/syscall.h] (before-compile): Do not append to
33316 variable.
33317 [generic sys/syscall.h] (common-generated): Likewise.
33318 * sysdeps/unix/errnos-tmpl.c: Remove file.
33319 * sysdeps/unix/errnos.awk: Likewise.
33320 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33321 * sysdeps/unix/ioctls.awk: Likewise.
33322 * sysdeps/unix/mk-local_lim.c: Likewise.
33323 * sysdeps/unix/snarf-ioctls: Likewise.
33324
4851a949
RH
333252012-03-19 Richard Henderson <rth@twiddle.net>
33326
bd37f2ee
RH
33327 * sysdeps/i386/fpu/fenv_private.h: New file.
33328 * sysdeps/i386/fpu/math_private.h: Use it.
33329 (math_opt_barrier, math_force_eval): Remove.
33330 (libc_feholdexcept_setround_53bit): Remove.
33331 (libc_feupdateenv_53bit): Remove.
33332 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33333 (math_opt_barrier, math_force_eval): Remove.
33334 (libc_feholdexcept): Remove.
33335 (libc_feholdexcept_setround): Remove.
33336 (libc_fetestexcept, libc_fesetenv): Remove.
33337 (libc_feupdateenv_test): Remove.
33338 (libc_feupdateenv, libc_feholdsetround): Remove.
33339 (libc_feresetround): Remove.
33340
d0adc922
RH
33341 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33342 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33343
0fe0f1f8
RH
33344 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33345 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33346 (libc_feupdateenv_testl): New.
33347 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33348 (libc_feupdateenv_testf): New.
33349 (libc_feupdateenv): Use libc_feupdateenv_test.
33350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33351 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33352
eb92c487
RH
33353 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33354 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33355 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33356 (libc_feresetround_noex): New.
33357 (libc_feresetround_noexf): New.
33358 (libc_feresetround_noexl): New.
33359 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33360 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33361 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33362 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33363 SET_RESTORE_ROUND.
33364 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33365 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33366 (__cos): Likewise.
33367 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33368 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33369 SET_RESTORE_ROUND_NOEX.
33370 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33371 SET_RESTORE_ROUND_NOEXF.
33372 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33373 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33374 (libc_feholdsetroundf): New.
33375 (libc_feresetround, libc_feresetroundf): New.
33376
7d2e8012
RH
33377 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33378 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33379 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33380
b4dabbb4
RH
33381 * sysdeps/generic/math_private.h: Include <fenv.h>.
33382 (default_libc_feholdexcept): New.
33383 (default_libc_feholdexcept_setround): New.
33384 (default_libc_fesetenv, default_libc_feupdateenv): New.
33385 (libc_feholdexcept): Only define if undefined.
33386 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33387 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33388 (libc_feholdexcept_setroundl): Likewise.
33389 (libc_feholdexcept_setround_53bit): Likewise.
33390 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33391 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33392 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33393 (libc_feupdateenv_53bit): Likewise.
33394 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33395 (libc_feholdexcept): Convert from macro to inline function.
33396 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33397 (libc_fesetenv, libc_feupdateenv): Likewise.
33398
4851a949
RH
33399 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33400 not previously defined.
33401 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33402 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33403 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33404 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33405 * sysdeps/ieee754/flt-32/math_private.h: New file.
33406 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33407 math_private.h below SET_FLOAT_WORD.
33408 (__isnan, __isinf_ns, __finite): Remove.
33409 (__isnanf, __isinf_nsf, __finitef): Remove.
33410
e79d442e
AS
334112012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33412
33413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33414
90b80344
DM
334152012-03-17 David S. Miller <davem@davemloft.net>
33416
33417 [BZ #6471]
33418 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33419 for 2.16.
33420
edc21804
DM
334212012-03-16 David S. Miller <davem@davemloft.net>
33422
77e927af
DM
33423 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33424 warnings.
33425
374976dd
DM
33426 [BZ #6471]
33427 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33428 properly.
33429 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33430 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33431 sysdep_routines when subdir is sysvipc.
33432 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33433 __getshmlba helper.
33434
edc21804
DM
33435 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33436
473c3ef3
L
334372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33438
33439 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33440 [__LP64__].
33441
eb0f39b6
L
334422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33443
33444 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33445 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33446 (__lround): Renamed to ...
33447 (__llround): This. Replace long int with long long int.
33448 Define lround functions as aliases of llround functions.
33449 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33450
6b6cd74b
L
334512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33452
33453 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33454 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33455 adresses to uintptr_t. Replace "long int" and "unsigned long
33456 int" with "greg_t" on va_arg.
33457
f1a77b01
L
334582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33459
33460 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33461 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33462
33463 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33464 Move e_machine check before EI_CLASS check. Handle x32
33465 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33466 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33467 SKIP_EM_IA_64 and include
33468 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33469
33470 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33471 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33472 (add_system_dir): New macro.
33473
33474 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33475 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33476
11b90b9f
JM
334772012-03-16 Joseph Myers <joseph@codesourcery.com>
33478
c36e1d23
JM
33479 [BZ #2551]
33480 [BZ #2552]
33481 [BZ #2553]
33482 [BZ #2554]
33483 [BZ #2562]
33484 [BZ #2563]
33485 [BZ #2565]
33486 [BZ #2566]
33487 [BZ #2576]
33488 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33489 (y0): Likewise.
33490 * math/w_j0f.c (j0f): Likewise.
33491 (y0f): Likewise.
33492 * math/w_j0l.c (__j0l): Likewise.
33493 (__y0l): Likewise.
33494 * math/w_j1.c (j1): Likewise.
33495 (y1): Likewise.
33496 * math/w_j1f.c (j1f): Likewise.
33497 (y1f): Likewise.
33498 * math/w_j1l.c (__j1l): Likewise.
33499 (__y1l): Likewise.
33500 * math/w_jn.c (jn): Likewise.
33501 (yn): Likewise.
33502 * math/w_jnf.c (jnf): Likewise.
33503 (ynf): Likewise.
33504 * math/w_jnl.c (__jnl): Likewise.
33505 (__ynl): Likewise.
33506 * math/libm-test.inc (j0_test): Add more tests.
33507 (j1_test): Likewise.
33508 (jn_test): Likewise. Add trailing semicolon to existing test.
33509 (y0_test): Likewise.
33510 (y1_test): Likewise.
33511 * sysdeps/i386/fpu/libm-test-ulps: Update.
33512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33513
11b90b9f
JM
33514 [BZ #13851]
33515 [BZ #13854]
33516 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33517 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33518 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33519 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33520 (__tanl): Set errno for infinite argument.
33521 * sysdeps/i386/fpu/mptan.c: Remove.
33522 * sysdeps/i386/fpu/s_tan.S: Likewise.
33523 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33524 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33525 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33526 * math/libm-test.inc (tan_test): Add more tests and enable more
33527 tests for double and long double.
33528 * sysdeps/i386/fpu/libm-test-ulps: Update.
33529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33530
6a1bd2a1
JK
335312012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33532
33533 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33534 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33535
10a803e0
RM
335362012-03-16 Roland McGrath <roland@hack.frob.com>
33537
33538 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33539 * configure.in: Use it for both main tree and add-ons.
33540 * configure: Regenerated.
33541
f196c7f7
L
335422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33543
33544 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33545
8848d99d
JM
335462012-03-16 Joseph Myers <joseph@codesourcery.com>
33547
96cbe7f4
JM
33548 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33549 in comment.
33550
8848d99d
JM
33551 [BZ #13851]
33552 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33553 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33554 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33555 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33556 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33557 infinite argument.
33558 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33559 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33560 != 0 for prec == 2.
33561 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33562 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33563 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33564 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33565 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33566 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33567 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33568 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33569 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33570 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33571 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33572 * math/libm-test.inc (cos_test): Add more tests and enable more
33573 tests for long double.
33574 (sin_test): Likewise.
33575 (sincos_test): Likewise.
33576 * sysdeps/i386/fpu/libm-test-ulps: Update.
33577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33578
dd7f4703
DM
335792012-03-16 David S. Miller <davem@davemloft.net>
33580
33581 * sysdeps/sparc/fpu/math_private.h: New file.
33582
006f1daa
DM
335832012-03-15 David S. Miller <davem@davemloft.net>
33584
c0c83bc8
DM
33585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33586 file.
e6a62e18 33587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
33588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33589 file.
e6a62e18
DM
33590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33593 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33594 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33595 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33596 sysdep routines.
33597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33598
88cb87d9
DM
33599 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33600 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33601
006f1daa 33602 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
33603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33604 sparc-ifunc.h
006f1daa 33605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
33606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33607 Likewise.
33608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33609 Likewise.
006f1daa
DM
33610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
33613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33614 Likewise.
006f1daa
DM
33615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
33619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33620 Likewise.
33621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33622 Likewise.
006f1daa
DM
33623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33627 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33628 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33629 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33630 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33631 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33632 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33633 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33635 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33636 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33637 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33638 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33639 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33640 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33641 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33642 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33643 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33644 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33645 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33646 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33647
11e0098e
AS
336482012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33649
33650 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33651 scaling.
33652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33653
e85b09d0
AJ
336542012-03-15 Andreas Jaeger <aj@suse.de>
33655
33656 [BZ #13852]
33657 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33658 ieee754/flt-32 implementation for sin, cos and sincos.
33659 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33660 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33661 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33662 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33663 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33664 ieee754/flt-32 implementation for tan.
33665
33666 * math/libm-test.inc (cos_test): Enable some large input tests for
33667 float as well
33668 (sin_test): Likewise.
33669 (sincos_test): Likewise.
33670 (tan_test): Add tests for large input.
33671
33672 * sysdeps/i386/fpu/libm-test-ulps: Update.
33673
81c64153
AJ
336742012-03-15 Andreas Jaeger <aj@suse.de>
33675
33676 [BZ #13658]
33677 * math/libm-test.inc (cos_test): Add more test cases.
33678 (sin_test): Likewise.
33679 (sincos_test): Likewise.
33680
7bbfa5c6
AJ
336812012-03-15 Andreas Jaeger <aj@suse.de>
33682
33683 [BZ #13837]
33684 * math/libm-test.inc (cos_test): Add a test case for large input
33685 value.
33686 (sin_test): Likewise.
33687 (sincos_test): Likewise.
33688
57f41c40
AS
336892012-03-15 Andreas Jaeger <aj@suse.de>
33690 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
33691
33692 [BZ #13658]
0671f479 33693 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
33694 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33695 * sysdeps/i386/fpu/branred.c: Likewise.
33696 * sysdeps/i386/fpu/dosincos.c: Likewise.
33697 * sysdeps/i386/fpu/mpa.c: Likewise.
33698 * sysdeps/i386/fpu/s_cos.S: Likewise.
33699 * sysdeps/i386/fpu/s_sin.S: Likewise.
33700 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33701 * sysdeps/i386/fpu/sincos32.c: Likewise.
33702
33703 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33704 Define.
33705 (libc_feupdateenv_53bit): Define.
33706 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33707 Define.
33708 (libc_feupdateenv_53bit): Define.
33709
33710 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33711 53 bit (without extend i386 double precision).
33712
33713 * math/libm-test.inc (sincos_test): Add tests for large input.
33714 (sin): Likewise.
33715 (cos): Likewise.
33716
33717 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33718
9cad04ea
AS
337192012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33720
33721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33722
f7062b9a
DM
337232012-03-15 David S. Miller <davem@davemloft.net>
33724
33725 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33726 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33727 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33728 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33733 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33734 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33736 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33737 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33738 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33739 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33741 file.
f7062b9a 33742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33744 file.
f7062b9a 33745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33747 file.
f7062b9a 33748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33750 file.
f7062b9a
DM
33751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33752 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33753 fmin/fmax sysdep routines.
33754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33755
7bd951ff
DM
337562012-03-14 David S. Miller <davem@davemloft.net>
33757
559398ab
DM
33758 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33759 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33760 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33761 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33762 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33763 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33764 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33765 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33766 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33767 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33768 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33769 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33773 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33774 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33775 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33776 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33777 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33778 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33779 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33780 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33781 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33782 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33783 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33784 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33785 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33786 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33787 routines.
33788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33789 file.
559398ab 33790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33792 file.
559398ab 33793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33795 file.
559398ab 33796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33798 file.
559398ab 33799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33801 file.
559398ab 33802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33804 file.
33805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33806 file.
33807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33808 file.
33809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33810 file.
33811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33812 New file.
33813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33814 file.
33815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33816 file.
559398ab 33817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33819 file.
559398ab 33820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33822 file.
559398ab 33823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33825 file.
559398ab 33826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33828 VIS3 routines.
559398ab
DM
33829
33830 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33831 New file.
33832
5a1c1e32
DM
33833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33834
eae47a36
DM
33835 * sysdeps/sparc/configure.in: New file.
33836 * sysdeps/sparc/configure: Generate.
33837 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33838 * configure: Regenerate.
33839 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33840 * config.make.in (have-as-vis3): New.
33841 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33842 available use -Av9d instead of -Av9a.
33843 * sysdeps/sparc/sparc64/Makefile: Likewise.
33844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33846 New file.
33847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33848 file.
33849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33850 New file.
33851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33852 file.
eae47a36
DM
33853 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33854 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33855 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33856 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33857 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33858
c0c83bc8
DM
33859 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33860 fzeros/fnegs to load 0x80000000 into a float register instead of
33861 using the stack.
7bd951ff
DM
33862 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33863
bd951ccb
JM
338642012-03-14 Joseph Myers <joseph@codesourcery.com>
33865
33866 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33867 bits/syscall.h.
33868 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33869 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33870 ($(inst_includedir)/bits/syscall.h): Remove rule.
33871 ($(objpfx)bits/syscall.d): Include instead of
33872 $(objpfx)syscall-list.d.
33873 (generated): Change syscall-list.h and syscall-list.d to
33874 bits/syscall.h and bits/syscall.d.
33875
bb4e6db2
RM
338762012-03-14 Roland McGrath <roland@hack.frob.com>
33877
33878 [BZ #13846]
33879 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33880
aa4a2ae1
JM
338812012-03-14 Joseph Myers <joseph@codesourcery.com>
33882
e456826d
JM
33883 [BZ #13841]
33884 * math/s_csqrt.c: Include <float.h>.
33885 (__csqrt): Scale large or subnormal inputs.
33886 * math/s_csqrtf.c: Likewise.
33887 * math/s_csqrtl.c: Likewise.
33888 * math/libm-test.inc (csqrt_test): Add more tests.
33889 * sysdeps/i386/fpu/libm-test-ulps: Update.
33890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33891
aa4a2ae1
JM
33892 [BZ #13840]
33893 * math/libm-test.inc (hypot_test): Add more tests.
33894
7c10fd35
DM
338952012-03-13 David S. Miller <davem@davemloft.net>
33896
33897 [BZ #13840]
33898 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33899 double-precision for the calculation instead of scaling.
33900
f453b98b
JM
339012012-03-13 Joseph Myers <joseph@codesourcery.com>
33902
33903 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33904 manipulate bits before adding and subtracting TWO52[sx].
33905 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33906 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33907 Likewise.
33908 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33909
09a3453f
DM
339102012-03-13 David S. Miller <davem@davemloft.net>
33911
8e59da90
DM
33912 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33913 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33914 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33915 rtld-global-offsets.h
33916 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33917
2a8ab7f2
DM
33918 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33919 large parameters.
33920
10f62770
DM
33921 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33922
5f0bdb18
DM
33923 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33924 'err' in the ifdef scope in which it is actually used.
33925
09a3453f
DM
33926 * nss/nss_db/db-init.c: Include string.h
33927
b4b2eb5e
DM
339282012-03-12 David S. Miller <davem@davemloft.net>
33929
98bb2f1c
DM
33930 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33931 masking out of the most significant byte of random value used.
33932 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33933 Fix coding style in previous change.
33934
b4b2eb5e
DM
33935 * sysdeps/unix/sysv/linux/kernel-features.h
33936 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33937 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33938 expression.
33939 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33940 later.
33941
6e226b09
DM
339422012-03-11 David S. Miller <davem@davemloft.net>
33943
a1bcbd40
DM
33944 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33945 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33946 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33947 for 'resultvar' otherwise things get truncated on 64-bit.
33948
cb9d6174
DM
33949 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33950 Fix masking out of the most significant byte of random value used.
33951
6e226b09
DM
33952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33953
058c132d
AS
339542012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33955
33956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33957
2d2cd515
DM
339582012-03-09 David S. Miller <davem@davemloft.net>
33959
33960 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33961 variables with appropriate CPP guards.
57f41c40
AS
33962 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33963 from the frame pointer, not the stack pointer. Correct layout
33964 comments. Fix test on resulting framesize and the management of
33965 the outregs buffer for pltexit. Preserve floating point return
33966 values across _dl_call_pltexit call.
2d2cd515
DM
33967 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33968 framesize and the management of the outregs buffer for pltexit.
33969 Preserve floating point return values across _dl_call_pltexit
33970 call.
57f41c40
AS
33971 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33972 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33973 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
33974 (print_exit): Fix format string for return register value.
33975
9a07f9d0
JM
339762012-03-10 Joseph Myers <joseph@codesourcery.com>
33977
33978 * sunrpc/Makefile (others): Add rpcgen.
33979 ($(objpfx)rpcgen): Remove special build rule and dependency on
33980 libc.
33981 * sunrpc/rpcgen.c: New file.
33982
547b5e30
PE
339832012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33984
c524201a
PE
33985 [BZ #13673]
33986 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33987 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33988 * sysdeps/i386/crti.S: Likewise.
33989 * sysdeps/i386/crtn.S: Likewise.
33990 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33991 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33992 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33993 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33994 * sysdeps/sh/crti.S: Likewise.
33995 * sysdeps/sh/crtn.S: Likewise.
33996 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33997
7b6235f2
PE
33998 [BZ #13673]
33999 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34000 with URL.
34001 * locale/programs/locfile-kw.gperf: Likewise.
34002 * locale/programs/charmap-kw.h: Regenerated.
34003 * locale/programs/locfile-kw.h: Likewise.
34004
547b5e30
PE
34005 [BZ #13673]
34006 * intl/plural.y: Replace FSF snail mail address with URL.
34007 * intl/plural.c: Regenerated.
34008
5f0a5dae
RH
340092012-03-09 Richard Henderson <rth@twiddle.net>
34010
34011 * include/math_private.h: Remove file.
34012 * math/math_private.h: Move file ...
34013 * sysdeps/generic/math_private.h: ... here.
34014
b8c03620
RH
34015 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34016 * sysdeps/powerpc/fpu/math_private.h: Likewise.
34017 * sysdeps/x86_64/fpu/math_private.h: Likewise.
34018
4e234f5d 34019 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
34020 and <math_private.h>.
34021 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34022 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34023 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34024 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34025 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34026 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34027 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34028 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34029 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34030 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34031 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34032 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34033 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34034 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34035 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34036 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34037 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34038 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34039 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34040 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34041 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34042 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34043 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34044 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34045 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34046 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34047 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34048 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34049 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34050 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34051 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34052 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34053 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34054 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34055 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34056 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34057 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34058 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34059 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34060 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34061 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34062 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34063 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34064 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34065 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34066 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34067 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34068 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34069 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34070 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34071 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34072 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34073 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34074 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34075 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34076 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34077 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34078 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34079 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34080 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34081 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34082 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34083 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34084 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34085 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34086 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34087 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34088 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34089 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34090 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34091 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34092 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34093 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34094 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34095 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34096 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34097 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34098 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34099 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34100 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34101 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34102 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34103 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34104 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34105 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34106 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34107 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34108 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34109 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34110 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34111 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34112 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34113 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34114 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34115 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34116 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34117 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34118 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34119 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34120 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34121 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34122 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34123 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34124 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34125 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34126 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34127 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34128 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34129 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34130 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34131 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34132 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34133 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34134 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34135 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34136 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34137 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34138 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34139 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34140 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34141 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34142 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34143 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34144 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34145 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34146 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34147 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34148 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34149 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34150 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34151 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34152 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34153 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34154 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34155 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34156 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34157 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34158 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34159 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34160 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34161 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34162 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34163 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34164 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34165 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34166 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34167 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34168 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34169 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34170 * sysdeps/ieee754/k_standard.c: Likewise.
34171 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34172 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34173 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34174 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34175 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34176 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34177 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34178 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34179 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34180 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34181 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34182 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34183 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34184 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34185 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34186 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34187 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34188 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34189 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34190 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34191 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34192 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34193 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34194 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34195 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34196 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34197 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34198 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34199 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34200 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34201 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34202 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34203 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34204 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34205 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34206 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34207 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34208 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34209 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34210 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34211 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34212 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34213 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34214 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34215 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34216 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34217 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34218 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34219 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34220 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34221 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34222 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34223 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34224 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34225 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34226 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34227 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34228 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34229 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34230 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34231 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34232 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34233 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34234 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34235 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34236 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34237 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34238 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34239 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34240 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34241 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34242 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34243 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34244 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34245 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34246 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34247 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34248 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34249 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34250 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34251 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34252 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34253 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34254 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34255 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34256 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34257 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34258 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34259 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34260 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34261 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34262 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34263 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34264 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34265 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34266 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34267 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34268 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34269 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34270 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34271 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34272 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34273 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34274 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34275 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34276 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34277 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34278 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34279 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34280 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34281 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34282 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34283 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34284 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34285 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34286 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34287 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34288 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34289 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34290 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34291 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34292 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34293 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34294 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34295 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34296 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34297 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34298 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34299 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34300 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34301 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34302 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34303 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34304 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34305 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34306 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34307 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34308 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34309 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34310 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34311 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34312 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34313 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34314 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34315 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34316 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34317 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34318 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34319 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34320 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34321 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34322 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34323 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34324 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34325 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34326 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34327 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34328 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34329 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34330 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34331 * sysdeps/ieee754/s_lib_version.c: Likewise.
34332 * sysdeps/ieee754/s_matherr.c: Likewise.
34333 * sysdeps/ieee754/s_signgam.c: Likewise.
34334 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34335 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34336 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34337 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34338 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34339 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34340 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34341 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34342 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34343 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34344 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34345 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34346 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34347 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34348 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34349 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34350 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34351 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34352 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34353 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34354 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 34355
1991fa03
JM
343562012-03-09 Joseph Myers <joseph@codesourcery.com>
34357
34358 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34359 * sunrpc/rpc_main.c: Likewise.
34360 * sunrpc/rpc_svcout.c: Likewise.
34361
60d6f5a6
DM
343622012-03-09 David S. Miller <davem@davemloft.net>
34363
34364 * include/math_private.h: New file.
34365
4962050e
JM
343662012-03-09 Joseph Myers <joseph@codesourcery.com>
34367
02a6f887
JM
34368 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34369 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34370 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34371 from <bits/socket_type.h>.
34372 (enum __socket_type): Don't define here.
34373 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34374 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34375 bits/socket_type.h.
34376
c6e013c1
JM
34377 [BZ #13566]
34378 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34379 checking __USE_GNU.
34380
4962050e
JM
34381 * Makerules ($(inst_includedir)/%.h): New rule.
34382 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34383 (install-others): Remove variable setting.
34384 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34385
38842f45
RH
343862012-03-08 Richard Henderson <rth@twiddle.net>
34387
67bb6da6
RH
34388 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34389 from macro to inline function; merge with the
34390 !__LIBC_INTERNAL_MATH_INLINES version.
34391 (__ieee754_sqrtf): Likewise.
34392
15194b4b
RH
34393 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34394 to inline function.
34395 (__rintf, __floor, __floorf): Likewise.
34396
64e21ede
RH
34397 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34398 macro to inline function.
34399 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34400
38842f45
RH
34401 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34402 not <math/math_private.h>.
34403
c64bf5fe
DM
344042012-03-08 David S. Miller <davem@davemloft.net>
34405
34406 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34407 copyright year.
34408 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34409
82d86f28
TS
344102012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34411
34412 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34413 normalization.
34414 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34415 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34416
aea5d727
UD
344172012-03-08 Ulrich Drepper <drepper@gmail.com>
34418
34419 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34420 be defined individually, they must be defined as a block. Define
34421 S for printing a string instead of hidint the different by using a
34422 macro for adding the 'l'.
34423 * stdio-common/tst-fphex-wide.c: Adjust.
34424
70bca0a3
MP
344252012-03-07 Marek Polacek <polacek@redhat.com>
34426
34427 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34428
65b81130
MP
344292012-03-08 Marek Polacek <polacek@redhat.com>
34430
34431 [BZ #13806]
34432 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34433 * stdio-common/tst-fphex.c: Define a few macros to make the
34434 test reusable. Use them.
34435 * stdio-common/tst-fphex-wide.c: New file.
34436
07037eeb
JM
344372012-03-08 Joseph Myers <joseph@codesourcery.com>
34438
a7a93d50
JM
34439 [BZ #6911]
34440 * manual/macros.texi (gnusystems): New macro.
34441 (nongnusystems): Likewise.
34442 (gnulinuxhurdsystems): Likewise.
34443 (gnuhurdsystems): Likewise..
34444 (gnulinuxsystems): Likewise.
34445 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34446 variants of the GNU system, not "GNU system".
34447 * manual/conf.texi: Likewise.
34448 * manual/errno.texi: Likewise. Update example of errno macro
34449 expansion.
34450 * manual/filesys.texi: Likewise.
34451 (getumask): Document as specific to GNU/Hurd.
34452 * manual/install.texi: Likewise. Reword some references to
34453 GNU/Linux.
34454 * manual/intro.texi: Likewise.
34455 * manual/io.texi: Likewise.
34456 (File Name Portability): Detail which constraints are inapplicable
34457 to all GNU systems and which are only inapplicable to GNU/Hurd.
34458 * manual/job.texi: Likewise.
34459 * manual/llio.texi: Likewise.
34460 (O_NOCTTY): Document as present on GNU/Linux.
34461 * manual/maint.texi: Likewise.
34462 * manual/memory.texi: Likewise.
34463 * manual/pattern.texi: Likewise.
34464 * manual/pipe.texi: Likewise.
34465 * manual/process.texi: Likewise.
34466 * manual/resource.texi: Likewise.
34467 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34468 child on GNU/Hurd.
34469 * manual/setjmp.texi: Likewise.
34470 * manual/signal.texi: Likewise.
34471 * manual/startup.texi: Likewise.
34472 * manual/stdio.texi: Likewise.
34473 * manual/terminal.texi: Likewise.
34474 (ONLCR): Document as POSIX.
34475 (OXTABS): Document availability on GNU/Linux as XTABS.
34476 (ONOEOT): Document availability separately from other bits.
34477 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34478 * manual/time.texi: Likewise.
34479 * manual/users.texi: Likewise.
34480 * INSTALL: Regenerated.
34481 * sysdeps/gnu/errlist.c: Regenerated.
34482
07037eeb
JM
34483 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34484 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34485 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34486 puts.
34487 * configure: Regenerated.
34488
d1d3431a
JM
344892012-03-07 Joseph Myers <joseph@codesourcery.com>
34490
af6a1e37
JM
34491 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34492 default includes instead of AC_HEADER_CHECK.
34493 * sysdeps/i386/configure: Regenerated.
34494
d1d3431a
JM
34495 [BZ #10716]
34496 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34497 * math/s_cacoshf.c (__cacoshf): Likewise.
34498 * math/s_cacoshl.c (__cacoshl): Likewise.
34499 * math/s_casinh.c (__casinh): Set signs of result from argument.
34500 * math/s_casinhf.c (__casinhf): Likewise.
34501 * math/s_casinhl.c (__casinhl): Likewise.
34502 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34503 (casinh_test): Add more tests.
34504 * sysdeps/i386/fpu/libm-test-ulps: Update.
34505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34506
482ff4da
UD
345072012-03-07 Ulrich Drepper <drepper@gmail.com>
34508
872fda05
UD
34509 * po/zh_TW.po: Update from translation team.
34510
a4300c7a
UD
34511 * login/Makefile (distribute): Remove variable.
34512 * catgets/Makefile: Likewise.
34513 * mach/Makefile: Likewise.
34514 * malloc/Makefile: Likewise.
34515 * misc/Makefile: Likewise.
34516 * iconv/Makefile: Likewise.
34517 * nscd/Makefile: Likewise.
34518 * hurd/Makefile: Likewise.
34519 * manual/Makefile: Likewise.
34520 * locale/Makefile: Likewise.
34521 * intl/Makefile: Likewise.
34522 * conform/Makefile: Likewise.
34523 * nss/Makefile: Likewise.
34524 * time/Makefile: Likewise.
34525 * soft-fp/Makefile: Likewise.
34526 * dirent/Makefile: Likewise.
34527 * gmon/Makefile: Likewise.
34528 * po/Makefile: Likewise.
34529 * rt/Makefile: Likewise.
34530 * socket/Makefile: Likewise.
34531 * math/Makefile: Likewise.
34532 * signal/Makefile: Likewise.
34533 * debug/Makefile: Likewise.
34534 * elf/Makefile: Likewise.
34535 * timezone/Makefile: Likewise.
34536 * stdlib/Makefile: Likewise.
34537 * iconvdata/Makefile: Likewise.
34538 * sunrpc/Makefile: Likewise.
34539 * io/Makefile: Likewise.
34540 * argp/Makefile: Likewise.
34541 * inet/Makefile: Likewise.
34542 * hesiod/Makefile: Likewise.
34543 * grp/Makefile: Likewise.
34544 * csu/Makefile: Likewise.
34545 * wctype/Makefile: Likewise.
34546 * crypt/Makefile: Likewise.
34547 * libio/Makefile: Likewise.
34548 * string/Makefile: Likewise.
34549 * nis/Makefile: Likewise.
34550 * resolv/Makefile: Likewise.
34551 * stdio-common/Makefile: Likewise.
34552 * wcsmbs/Makefile: Likewise.
34553 * dlfcn/Makefile: Likewise.
34554 * posix/Makefile: Likewise.
34555
3b7c4e74 34556 [BZ #6959]
482ff4da
UD
34557 * timezone/Makefile: Don't install timezone files, just the programs
34558 and scripts.
34559
f72ed77d
UD
345602012-03-06 Ulrich Drepper <drepper@gmail.com>
34561
a000466f
UD
34562 * nss/databases.def: Add missing gshadow entry.
34563
f72ed77d
UD
34564 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34565
a53b7a4e
MP
345662012-03-06 Marek Polacek <polacek@redhat.com>
34567
34568 [BZ #13726]
34569 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34570 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34571 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34572 * stdio-common/tst-long-dbl-fphex.c: New file.
34573
e9258400
DM
345742012-03-06 David S. Miller <davem@davemloft.net>
34575
34576 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34577 (set_obp_int): New function.
34578 (get_obp_int): New function.
34579 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
34580 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34581 Avoid unused variable warnings on 'val' and use builtin_expect.
34582 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34583 __builtin_expect.
e9258400
DM
34584 (INLINE_CLONE_SYSCALL): Likewise.
34585
3bd2c723
DM
345862012-03-05 David S. Miller <davem@davemloft.net>
34587
34588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34589
bbb78d03
AS
345902012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34591
884c5db4
AS
34592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34593
bbb78d03
AS
34594 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34595 only for |x| >= 40.
34596 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34597
1c9f702a 345982012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
34599
34600 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34601 Replace gettimeofday with __vdso_gettimeofday.
34602
7be16f82
RM
34603 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34604 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34605 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
34606
34607 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34608 time with __vdso_time.
34609
ed58a00f
JM
346102012-03-05 Joseph Myers <joseph@codesourcery.com>
34611
34612 * manual/lang.texi (size_t): Note types to which size_t may be
34613 equivalent with the GNU C Library, but do not describe when
34614 differences between them are significant.
34615
30ee4ced
AJ
346162012-03-05 Andreas Jaeger <aj@suse.de>
34617
34618 * sysdeps/i386/fpu/libm-test-ulps: Update.
34619
b7cd39e8
JM
346202012-03-05 Joseph Myers <joseph@codesourcery.com>
34621
34622 [BZ #3976]
34623 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34624 (__ieee754_pow): Save and restore rounding mode and use
34625 round-to-nearest for main computations.
34626 * math/libm-test.inc (pow_test_tonearest): New function.
34627 (pow_test_towardzero): Likewise.
34628 (pow_test_downward): Likewise.
34629 (pow_test_upward): Likewise.
34630 (main): Call the new functions.
34631 * sysdeps/i386/fpu/libm-test-ulps: Update.
34632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
34633
34634 [BZ #3976]
34635 * math/libm-test.inc (cosh_test_tonearest): New function.
34636 (cosh_test_towardzero): Likewise.
34637 (cosh_test_downward): Likewise.
34638 (cosh_test_upward): Likewise.
34639 (sinh_test_tonearest): Likewise.
34640 (sinh_test_towardzero): Likewise.
34641 (sinh_test_downward): Likewise.
34642 (sinh_test_upward): Likewise.
34643 (main): Call the new functions.
34644 * sysdeps/i386/fpu/libm-test-ulps: Update.
34645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34646
6c6a98c9
TV
346472012-03-05 Tom de Vries <tom@codesourcery.com>
34648
34649 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34650 default stack guard is set in last bytes.
34651 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34652
21bb2d2e 346532012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 34654
21bb2d2e 34655 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 34656
21bb2d2e
AJ
34657 [BZ #13656]
34658 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34659 possibly allocate from heap instead of stack.
34660 * stdio-common/bug-vfprintf-nargs.c: New file.
34661 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 34662
c6922934
AS
346632012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34664
34665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34666
bc957d53
MP
346672012-03-03 Marek Polacek <polacek@redhat.com>
34668
34669 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34670 * math/math_private.h: Likewise.
34671 * stdlib/tst-strtod.c: Likewise.
34672 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34673 * sysdeps/x86_64/bits/atomic.h: Likewise.
34674
6358490d
DM
346752012-03-02 David S. Miller <davem@davemloft.net>
34676
34677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34681 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34682 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34683 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34684 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34685
01ae168d
RM
346862012-03-02 Roland McGrath <roland@hack.frob.com>
34687
d9a17c07
RM
34688 [BZ #13792]
34689 * manual/examples/README: New file, says the example source files
34690 can be used under GPL>=2.
34691 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34692 line containing just "*/".
34693 * manual/examples/add.c: Add copyright header (GPL>=2).
34694 * manual/examples/argp-ex1.c: Likewise.
34695 * manual/examples/argp-ex2.c: Likewise.
34696 * manual/examples/argp-ex3.c: Likewise.
34697 * manual/examples/argp-ex4.c: Likewise.
34698 * manual/examples/atexit.c: Likewise.
34699 * manual/examples/db.c: Likewise.
34700 * manual/examples/dir.c: Likewise.
34701 * manual/examples/dir2.c: Likewise.
34702 * manual/examples/execinfo.c: Likewise.
34703 * manual/examples/filecli.c: Likewise.
34704 * manual/examples/filesrv.c: Likewise.
34705 * manual/examples/fmtmsgexpl.c: Likewise.
34706 * manual/examples/genpass.c: Likewise.
34707 * manual/examples/inetcli.c: Likewise.
34708 * manual/examples/inetsrv.c: Likewise.
34709 * manual/examples/isockad.c: Likewise.
34710 * manual/examples/longopt.c: Likewise.
34711 * manual/examples/memopen.c: Likewise.
34712 * manual/examples/memstrm.c: Likewise.
34713 * manual/examples/mkfsock.c: Likewise.
34714 * manual/examples/mkisock.c: Likewise.
34715 * manual/examples/mygetpass.c: Likewise.
34716 * manual/examples/pipe.c: Likewise.
34717 * manual/examples/popen.c: Likewise.
34718 * manual/examples/rprintf.c: Likewise.
34719 * manual/examples/search.c: Likewise.
34720 * manual/examples/select.c: Likewise.
34721 * manual/examples/setjmp.c: Likewise.
34722 * manual/examples/sigh1.c: Likewise.
34723 * manual/examples/sigusr.c: Likewise.
34724 * manual/examples/stpcpy.c: Likewise.
34725 * manual/examples/strdupa.c: Likewise.
34726 * manual/examples/strftim.c: Likewise.
34727 * manual/examples/strncat.c: Likewise.
34728 * manual/examples/subopt.c: Likewise.
34729 * manual/examples/swapcontext.c: Likewise.
34730 * manual/examples/termios.c: Likewise.
34731 * manual/examples/testopt.c: Likewise.
34732 * manual/examples/testpass.c: Likewise.
34733 * manual/examples/timeval_subtract.c: Likewise.
34734
01ae168d
RM
34735 [BZ #13792]
34736 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34737 function to ...
34738 * manual/timeval_subtract.c.texi: ... here, new file.
34739
49efa33d
DM
347402012-03-02 David S. Miller <davem@davemloft.net>
34741
34742 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34743
28afd92d
JM
347442012-03-02 Joseph Myers <joseph@codesourcery.com>
34745
804360ed
JM
34746 [BZ #3976]
34747 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34748 (__sin): Save and restore rounding mode and use round-to-nearest
34749 for all computations.
34750 (__cos): Save and restore rounding mode and use round-to-nearest
34751 for all computations.
34752 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34753 <fenv.h>.
34754 (tan): Save and restore rounding mode and use round-to-nearest for
34755 all computations.
34756 * math/libm-test.inc (cos_test_tonearest): New function.
34757 (cos_test_towardzero): Likewise.
34758 (cos_test_downward): Likewise.
34759 (cos_test_upward): Likewise.
34760 (sin_test_tonearest): Likewise.
34761 (sin_test_towardzero): Likewise.
34762 (sin_test_downward): Likewise.
34763 (sin_test_upward): Likewise.
34764 (tan_test_tonearest): Likewise.
34765 (tan_test_towardzero): Likewise.
34766 (tan_test_downward): Likewise.
34767 (tan_test_upward): Likewise.
34768 (main): Call the new functions.
34769 * sysdeps/i386/fpu/libm-test-ulps: Update.
34770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34771
a6d06d7b
JM
34772 [BZ #10135]
34773 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34774 small n, then large n, before computing and testing k+n.
34775 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34776 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34777 Likewise.
34778 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34779 Likewise.
34780 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34781 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34782 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34783 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34784 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34785 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34786 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34787 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34788 * math/libm-test.inc (scalbn_test): Add more tests.
34789 (scalbln_test): Likewise.
34790
07e12bb3
JM
34791 * manual/filesys.texi (mode_t): Describe constraints on size and
34792 signedness, not exact equivalence to a particular type.
34793 (ino_t): Likewise.
34794 (ino64_t): Likewise.
34795 (dev_t): Likewise.
34796 (nlink_t): Likewise.
34797 (blkcnt_t): Likewise.
34798 (blkcnt64_t): Likewise.
34799 * manual/llio.texi (off_t): Likewise.
34800
28afd92d
JM
34801 [BZ #3976]
34802 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34803 (__ieee754_exp): Save and restore rounding mode and use
34804 round-to-nearest for all computations.
34805 * math/libm-test.inc (exp_test_tonearest): New function.
34806 (exp_test_towardzero): Likewise.
34807 (exp_test_downward): Likewise.
34808 (exp_test_upward): Likewise.
34809 (main): Call the new functions.
34810 * sysdeps/i386/fpu/libm-test-ulps: Update.
34811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34812
b1eeb65d
CD
348132012-03-01 Chris Demetriou <cgd@google.com>
34814
34815 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34816 have predictable order.
34817
53362a4b
DM
348182012-03-01 David S. Miller <davem@davemloft.net>
34819
3c969083
DM
34820 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34821
759707de
DM
34822 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34823 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34824 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34825 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34826
dfdb8ff2
DM
34827 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34828 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34829 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34831 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34832 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34833 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34834 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34835 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34836
ead89f96
DM
34837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34838
7f66bd07
DM
34839 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34840 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34841 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34842
53362a4b
DM
34843 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34844 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34845 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34846 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34847 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34848 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34849 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34850 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34851 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34852 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34853 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34854 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34855 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34856 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34857 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34858 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34859 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34860 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34861 * sysdeps/sparc/elf/configure: Regenerated.
34862
7b1902cb
JM
348632012-03-01 Joseph Myers <joseph@codesourcery.com>
34864
bec039bc
JM
34865 * configure.in (AS, LD): Require binutils 2.20 or later.
34866 * configure: Regenerated.
34867 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34868 as required minimum version.
34869 * INSTALL: Regenerated.
34870
7b1902cb
JM
34871 [BZ #2541]
34872 [BZ #4108]
34873 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34874 before squaring exponent.
34875 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34876 bottom long double and 27 bits of top long double before squaring
34877 exponent.
34878 * math/libm-test.inc (erfc_test): Add more tests.
34879 * sysdeps/i386/fpu/libm-test-ulps: Update.
34880 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34882
f775c276
KT
348832012-03-01 Kai Tietz <ktietz@redhat.com>
34884
34885 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34886 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34887 containing bit-fields.
34888 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34889 * soft-fp/single.h (_FP_UNION_S): Likewise.
34890 * soft-fp/double.h (_FP_UNION_D): Likewise.
34891
5b8a4d4a
JM
348922012-02-29 Joseph Myers <joseph@codesourcery.com>
34893
0bab47b6
JM
34894 [BZ #13786]
34895 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34896 not include ../strcmp.S.
34897 [USE_AS_STRNCASECMP_L]: Likewise.
34898 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34899 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34900 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34901 (__strncasecmp_l_ia32): Define as alias to
34902 __strncasecmp_l_nonascii.
34903
0fcad3e2
JM
34904 [BZ #5794]
34905 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34906 * sysdeps/i386/fpu/libm-test-ulps: Update.
34907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34908
5b8a4d4a
JM
34909 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34911
8fdceb2e
JL
349122012-02-29 Jeff Law <law@redhat.com>
34913
34914 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34915 out of bounds read.
34916
1f393a11
MP
349172012-02-29 Marek Polacek <polacek@redhat.com>
34918
34919 [BZ #13706]
34920 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34921 * elf/Makefile: Add rules to run tst-unused-dep.out.
34922
8847f037
DM
349232012-02-28 David S. Miller <davem@davemloft.net>
34924
34925 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34926 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34927 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34928 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34929 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34930 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34931
169d7f11
JM
349322012-02-29 Joseph Myers <joseph@codesourcery.com>
34933
34934 * math/libm-test.inc (llround_test): Move one test from
34935 lround_test. Use TEST_f_L in moved test.
34936 (lround_test): Move misplaced test to llround_test. Add testcase
34937 from bug 2561.
34938
39adf059
UD
349392012-02-28 Ulrich Drepper <drepper@gmail.com>
34940
34941 * sysdeps/x86_64/fpu/e_expf.S: New file.
34942 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34943
71b5d1c5
SB
349442012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34945
34946 [BZ #13637]
34947 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34948 of remain_len that may cause incomplete multi-byte character and
34949 false match.
34950 * posix/bug-regex33.c: New file.
34951 * posix/Makefile (tests): Add bug-regex33.
34952
1f77f049
JM
349532012-02-28 Joseph Myers <joseph@codesourcery.com>
34954
34955 * manual/macros.texi: New file.
34956 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34957 * manual/libc.texinfo: Include macros.texi.
34958 * manual/creatute.texi: Likewise.
34959 * manual/install.texi: Likewise.
34960 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34961 @glibcadj{} in references to the GNU C Library.
34962 * manual/charset.texi: Likewise.
34963 * manual/conf.texi: Likewise.
34964 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34965 when not using those macros.
34966 * manual/creature.texi: Likewise.
34967 * manual/crypt.texi: Likewise.
34968 * manual/errno.texi: Likewise.
34969 * manual/filesys.texi: Likewise.
34970 * manual/header.texi: Likewise.
34971 * manual/install.texi: Likewise.
34972 * manual/intro.texi: Likewise.
34973 * manual/io.texi: Likewise.
34974 * manual/job.texi: Likewise.
34975 * manual/lang.texi: Likewise.
34976 * manual/libc.texiinfo: Likewise.
34977 * manual/llio.texi: Likewise.
34978 * manual/locale.texi: Likewise.
34979 * manual/maint.texi: Likewise.
34980 * manual/math.texi: Likewise.
34981 * manual/memory.texi: Likewise.
34982 * manual/message.texi: Likewise.
34983 * manual/nss.texi: Likewise.
34984 * manual/pattern.texi: Likewise.
34985 * manual/process.texi: Likewise.
34986 * manual/resource.texi: Likewise.
34987 * manual/search.texi: Likewise.
34988 * manual/setjmp.texi: Likewise.
34989 * manual/signal.texi: Likewise.
34990 * manual/socket.texi: Likewise.
34991 * manual/startup.texi: Likewise.
34992 * manual/stdio.texi: Likewise.
34993 * manual/string.texi: Likewise.
34994 * manual/sysinfo.texi: Likewise.
34995 * manual/syslog.texi: Likewise.
34996 * manual/terminal.texi: Likewise.
34997 * manual/time.texi: Likewise.
34998 * manual/users.texi: Likewise.
34999 * INSTALL: Regenerated.
35000 * NOTES: Regenerated.
d40c5d54 35001 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 35002
450bf206
AS
350032012-02-28 Andreas Schwab <schwab@linux-m68k.org>
35004
35005 * include/dirent.h: Include <dirstream.h> before
35006 <dirent/dirent.h>.
35007
741a235b
DM
350082012-02-28 David S. Miller <davem@davemloft.net>
35009
35010 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35011 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35012 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35013 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35014
d6b5aa58
DM
350152012-02-27 David S. Miller <davem@davemloft.net>
35016
1aff59a3
DM
35017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35019 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35020 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35021
d6b5aa58
DM
35022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35023 frame pointer instead of stack pointer relative arg slot.
35024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35025 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35026 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35027
433f48bf
CD
350282012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
35029
35030 [BZ #3992]
35031 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35032
d674b76d
DM
350332012-02-27 David S. Miller <davem@davemloft.net>
35034
35035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35039 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35040 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35041 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35042 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35043
0e7727f7
JM
350442012-02-27 Joseph Myers <joseph@codesourcery.com>
35045
35046 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35047 later. Allow versions 5-9.
43be4ca2 35048 * configure: Regenerated.
0e7727f7
JM
35049 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35050 required minimum version and 4.6 as recommended version. Do not
35051 mention bugs in GCC 2.7 and 2.8.
43be4ca2 35052 * INSTALL: Regenerated.
0e7727f7 35053
a78bc654
DM
350542012-02-27 David S. Miller <davem@davemloft.net>
35055
428d5830
DM
35056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35060 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35061 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35062 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35063 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35064
a78bc654
DM
35065 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35066 manipulate bits before adding and subtracting TWO112[sx].
35067 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35068
4579f81c
RM
350692012-02-27 Roland McGrath <roland@hack.frob.com>
35070
36c8acb4
RM
35071 [BZ #13775]
35072 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35073 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35074 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35075 being in POSIX, because they are in 1003.1-2008.
35076
84ad622b
RM
35077 * rt/tst-aio.c: Include <fcntl.h>.
35078 * rt/tst-aio7.c: Likewise.
35079 * rt/tst-aio64.c: Likewise.
35080
4579f81c
RM
35081 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35082
abd923db
JM
350832012-02-27 Joseph Myers <joseph@codesourcery.com>
35084
35085 * manual/install.texi (--with-headers): Describe headers as
35086 interface headers, not private headers.
35087 (Specific advice for GNU/Linux systems): Describe use of headers
35088 from "make headers_install", not private headers from older
35089 kernels.
43be4ca2 35090 * INSTALL: Regenerated.
abd923db
JM
35091 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35092 Change to 2.6.19.
35093 * sysdeps/unix/sysv/linux/configure: Regenerated.
35094
6664049b
JM
35095 * manual/llio.texi (fclean): Remove documentation.
35096
bb8b6697
JM
35097 * manual/Makefile (libc-texi-generated): New variable. Include
35098 version.texi.
35099 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35100 $(libc-texi-generated), not duplicated list of files.
35101 (version.texi, stamp-version): New rules.
35102 (realclean): Remove $(libc-texi-generated), not individual files
35103 from that list. Do not remove dir-add.texinfo.
35104 * manual/libc.texinfo: Comment out uses of edition numbers and
35105 references to printed manual. Remove last-updated dates.
35106 (EDITION): Comment out.
35107 (ISBN): Likewise.
35108 (VERSION, UPDATED): Remove.
35109 (version.texi): Include.
35110
12e5c3b9
AS
351112012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35112
35113 * sysdeps/posix/spawni.c: Include <signal.h>.
35114 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35115 * sysdeps/pthread/aio_fsync.c: Likewise.
35116
4efeffc1 351172012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 35118
ba63ba08
UD
35119 * conform/Makefile (tests): Run only when not cross-compiling and
35120 when fast-check is not defined.
35121
d94a4670
UD
35122 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35123 * conform/data/limits.h-data: Fixes for POSIX2008.
35124 * conform/run-conformtest.sh: Run all tests.
35125 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35126 headers.
35127 * include/bits/dlfcn.h: Likewise.
35128 * include/langinfo.h: Likewise.
35129 * include/monetary.h: Likewise.
35130 * include/sys/poll.h: Likewise.
35131
35132 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35133 for __USE_GNU.
35134 * posix/spawn.h: Define __need_sigset_t.
35135 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35136 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35137 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35138 to get sigevent_t only.
35139 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35140 only for __USE_GNU.
35141 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35142 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35143 process_vm_writev only for __USE_GNU.
35144 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
35145
35146 * conform/Makefile: For now ignore errors from run-conformtest.
35147 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35148 POSIX to avoid namespace pollution. Don't prepend headers.
35149 * conform/data/aio.h-data: Fixes for POSIX testing.
35150 * conform/data/fcntl.h-data: Likewise.
35151 * conform/data/glob.h-data: Likewise.
35152 * conform/data/grp.h-data: Likewise.
35153 * conform/data/pthread.h-data: Likewise.
35154 * conform/data/pwd.h-data: Likewise.
35155 * conform/data/signal.h-data: Likewise.
35156 * conform/data/spawn.h-data: Likewise.
35157 * conform/data/stdio.h-data: Likewise.
35158 * conform/data/stdlib.h-data: Likewise.
35159 * conform/data/stropts.h-data: Likewise.
35160 * conform/data/sys/mman.h-data: Likewise.
35161 * conform/data/sys/stat.h-data: Likewise.
35162 * conform/data/sys/types.h-data: Likewise.
35163 * conform/data/sys/wait.h-data: Likewise.
35164 * conform/data/time.h-data: Likewise.
35165 * conform/data/unistd.h-data: Likewise.
35166 * conform/data/utime.h-data: Likewise.
35167
35168 * io/sys/stat.h: fchmod was always in POSIX.
35169 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35170 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35171 * rt/aio.h: Define __need_timespec before including <time.h>.
35172 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35173 struct. Add forward declaration of pthread_attr_t and use it in
35174 sigevent.
35175 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35176 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35177 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35178 always remove CLK_TCK definition.
35179
c20105c3
AS
351802012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35181
35182 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35183
7a270350
UD
351842012-02-25 Ulrich Drepper <drepper@gmail.com>
35185
31341567
UD
35186 * conform/run-conformtest.sh: New file.
35187 * conform/Makefile: Run run-conformtest for tests.
35188 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35189 support.
35190
35191 * conform/data/uchar.h-data: New file.
35192 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35193 * conform/data/arpa/inet.h-data: Likewise.
35194 * conform/data/assert.h-data: Likewise.
35195 * conform/data/complex.h-data: Likewise.
35196 * conform/data/cpio.h-data: Likewise.
35197 * conform/data/ctype.h-data: Likewise.
35198 * conform/data/dirent.h-data: Likewise.
35199 * conform/data/dlfcn.h-data: Likewise.
35200 * conform/data/errno.h-data: Likewise.
35201 * conform/data/fcntl.h-data: Likewise.
35202 * conform/data/float.h-data: Likewise.
35203 * conform/data/fmtmsg.h-data: Likewise.
35204 * conform/data/fnmatch.h-data: Likewise.
35205 * conform/data/ftw.h-data: Likewise.
35206 * conform/data/glob.h-data: Likewise.
35207 * conform/data/grp.h-data: Likewise.
35208 * conform/data/iconv.h-data: Likewise.
35209 * conform/data/inttypes.h-data: Likewise.
35210 * conform/data/langinfo.h-data: Likewise.
35211 * conform/data/libgen.h-data: Likewise.
35212 * conform/data/limits.h-data: Likewise.
35213 * conform/data/locale.h-data: Likewise.
35214 * conform/data/math.h-data: Likewise.
35215 * conform/data/monetary.h-data: Likewise.
35216 * conform/data/mqueue.h-data: Likewise.
35217 * conform/data/ndbm.h-data: Likewise.
35218 * conform/data/net/if.h-data: Likewise.
35219 * conform/data/netdb.h-data: Likewise.
35220 * conform/data/netinet/in.h-data: Likewise.
35221 * conform/data/nl_types.h-data: Likewise.
35222 * conform/data/poll.h-data: Likewise.
35223 * conform/data/pthread.h-data: Likewise.
35224 * conform/data/pwd.h-data: Likewise.
35225 * conform/data/regex.h-data: Likewise.
35226 * conform/data/sched.h-data: Likewise.
35227 * conform/data/search.h-data: Likewise.
35228 * conform/data/semaphore.h-data: Likewise.
35229 * conform/data/setjmp.h-data: Likewise.
35230 * conform/data/signal.h-data: Likewise.
35231 * conform/data/spawn.h-data: Likewise.
35232 * conform/data/stdarg.h-data: Likewise.
35233 * conform/data/stdio.h-data: Likewise.
35234 * conform/data/stdlib.h-data: Likewise.
35235 * conform/data/string.h-data: Likewise.
35236 * conform/data/strings.h-data: Likewise.
35237 * conform/data/stropts.h-data: Likewise.
35238 * conform/data/sys/ipc.h-data: Likewise.
35239 * conform/data/sys/mman.h-data: Likewise.
35240 * conform/data/sys/msg.h-data: Likewise.
35241 * conform/data/sys/resource.h-data: Likewise.
35242 * conform/data/sys/select.h-data: Likewise.
35243 * conform/data/sys/sem.h-data: Likewise.
35244 * conform/data/sys/shm.h-data: Likewise.
35245 * conform/data/sys/socket.h-data: Likewise.
35246 * conform/data/sys/stat.h-data: Likewise.
35247 * conform/data/sys/statvfs.h-data: Likewise.
35248 * conform/data/sys/time.h-data: Likewise.
35249 * conform/data/sys/timeb.h-data: Likewise.
35250 * conform/data/sys/times.h-data: Likewise.
35251 * conform/data/sys/types.h-data: Likewise.
35252 * conform/data/sys/uio.h-data: Likewise.
35253 * conform/data/sys/un.h-data: Likewise.
35254 * conform/data/sys/utsname.h-data: Likewise.
35255 * conform/data/sys/wait.h-data: Likewise.
35256 * conform/data/syslog.h-data: Likewise.
35257 * conform/data/tar.h-data: Likewise.
35258 * conform/data/termios.h-data: Likewise.
35259 * conform/data/utime.h-data: Likewise.
35260 * conform/data/utmpx.h-data: Likewise.
35261 * conform/data/varargs.h-data: Likewise.
35262 * conform/data/wchar.h-data: Likewise.
35263 * conform/data/wctype.h-data: Likewise.
35264 * conform/data/wordexp.h-data: Likewise.
35265
35266 * include/stropts.h: New file.
35267 * include/uchar.h: New file.
35268 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35269 * include/assert.h: Likewise.
35270 * include/ctype.h: Likewise.
35271 * include/dirent.h: Likewise.
35272 * include/dlfcn.h: Likewise.
35273 * include/fcntl.h: Likewise.
35274 * include/fnmatch.h: Likewise.
35275 * include/glob.h: Likewise.
35276 * include/grp.h: Likewise.
35277 * include/libio.h: Likewise.
35278 * include/locale.h: Likewise.
35279 * include/math.h: Likewise.
35280 * include/net/if.h: Likewise.
35281 * include/netdb.h: Likewise.
35282 * include/netinet/in.h: Likewise.
35283 * include/pthread.h: Likewise.
35284 * include/pwd.h: Likewise.
35285 * include/regex.h: Likewise.
35286 * include/sched.h: Likewise.
35287 * include/search.h: Likewise.
35288 * include/setjmp.h: Likewise.
35289 * include/signal.h: Likewise.
35290 * include/stdio.h: Likewise.
35291 * include/stdlib.h: Likewise.
35292 * include/string.h: Likewise.
35293 * include/sys/cdefs.h: Likewise.
35294 * include/sys/mman.h: Likewise.
35295 * include/sys/msg.h: Likewise.
35296 * include/sys/resource.h: Likewise.
35297 * include/sys/select.h: Likewise.
35298 * include/sys/socket.h: Likewise.
35299 * include/sys/stat.h: Likewise.
35300 * include/sys/statvfs.h: Likewise.
35301 * include/sys/time.h: Likewise.
35302 * include/sys/times.h: Likewise.
35303 * include/sys/uio.h: Likewise.
35304 * include/sys/utsname.h: Likewise.
35305 * include/sys/wait.h: Likewise.
35306 * include/termios.h: Likewise.
35307 * include/time.h: Likewise.
35308 * include/ulimit.h: Likewise.
35309 * include/unistd.h: Likewise.
35310 * include/utime.h: Likewise.
35311 * include/wchar.h: Likewise.
35312 * include/wctype.h: Likewise.
35313 * include/wordexp.h: Likewise.
35314
35315 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35316
7a270350
UD
35317 * time/time.h: TIME_UTC must be a macro.
35318 Make timespec_get available for ISO C11 only as well.
35319
7724defc
UD
353202012-02-24 Ulrich Drepper <drepper@gmail.com>
35321
35322 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35323 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35324
6b1d1d46
JM
353252012-02-24 Joseph Myers <joseph@codesourcery.com>
35326
35327 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 35328
0f8bbd69
JM
353292012-02-24 Joseph Myers <joseph@codesourcery.com>
35330
35331 * manual/texinfo.tex: Update to version 2012-01-19.16.
35332
66ab80bc
JM
353332012-02-24 Joseph Myers <joseph@codesourcery.com>
35334
35335 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35336
74981cc5
RM
353372012-02-24 Roland McGrath <roland@hack.frob.com>
35338
ee968201
RM
35339 [BZ #13738]
35340 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35341 * manual/fdl-1.3.texi: New file.
35342 * manual/fdl-1.1.texi: File removed.
35343
74981cc5
RM
35344 [BZ #13738]
35345 * manual/libc.texinfo (FDL_VERSION): New @set.
35346 Use it for mention of FDL in cover text.
35347 (Documentation License): Use it in @include file name.
35348
7bb764bc
JM
353492012-02-22 Joseph Myers <joseph@codesourcery.com>
35350 Roland McGrath <roland@hack.frob.com>
35351
35352 [BZ #5461]
57f41c40
AS
35353 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35354 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
35355 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35356 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35357 name.
35358 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35359
6cbeae47
JM
353602012-02-22 Joseph Myers <joseph@codesourcery.com>
35361
35362 [BZ #2547]
35363 [BZ #11365]
35364 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35365 manipulate bits before adding and subtracting TWO23[sx].
35366 * math/libm-test.inc (nearbyint_test): Add more tests.
35367
fe45ce09
JM
353682012-02-22 Joseph Myers <joseph@codesourcery.com>
35369
35370 [BZ #2548]
35371 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35372 bits before adding and subtracting TWO23[sx].
35373 * math/libm-test.inc (rint_test): Add more tests.
35374 (rint_test_tonearest): Likewise.
35375 (rint_test_towardzero): Likewise.
35376 (rint_test_downward): Likewise.
35377 (rint_test_upward: Likewise.
35378
ff3b3d82
JM
353792012-02-22 Joseph Myers <joseph@codesourcery.com>
35380
35381 [BZ #10110]
35382 * include/stdc-predef.h: New file. Extracted from features.h.
35383 * include/features.h: Include stdc-predef.h.
35384 * Makefile (headers): Add stdc-predef.h.
35385 * CONFORMANCE (Compiler limitations): Update.
35386
ef0aab35
JM
353872012-02-22 Joseph Myers <joseph@codesourcery.com>
35388
35389 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35390
58639409
DM
353912012-02-21 David S. Miller <davem@davemloft.net>
35392
35393 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35394 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35395
c0e70b25
DM
353962012-02-20 David S. Miller <davem@davemloft.net>
35397
35398 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35399 using a normal save/restore sequence, rather than allocating a
35400 dummy stack frame just to store a frame pointer and restore.
35401 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35402
fb06851d
JM
354032012-02-21 Joseph Myers <joseph@codesourcery.com>
35404
35405 * manual/install.texi: Fix stray word in line-wrapped comment.
35406
7a8b71c3
DM
354072012-02-20 David S. Miller <davem@davemloft.net>
35408
d510c123
DM
35409 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35410 both binutils and gcc support GOTDATA.
35411
0722d7c2
DM
35412 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35413 "rd %pc" in the PIC register setup sequences.
35414
3d2b3019
DM
35415 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35416 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35417 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35418 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35419 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35420 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35421 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35422 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35423 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35424 (SYSCALL_ERROR_HANDLER): Likewise.
35425 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35426 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35427 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35428 (SYSCALL_ERROR_HANDLER): Likewise.
35429
c80098a9
DM
35430 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35431 (HAVE_GCC_GOTDATA): New.
35432 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35433 relocation support in both binutils and gcc.
35434 * sysdeps/sparc/elf/configure: Regenerate.
35435
3a2545a0
DM
35436 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35437 * sysdeps/sparc/sparc32/elf/configure: Delete.
35438 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35439 * sysdeps/sparc/sparc64/elf/configure: Delete.
35440 * sysdeps/sparc/elf/configure.in: New file.
35441 * sysdeps/sparc/elf/configure: Generate.
35442
7a8b71c3
DM
35443 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35444 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35445 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35446 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35447 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35448
f1e86fca
JM
354492012-02-21 Joseph Myers <joseph@codesourcery.com>
35450
35451 * manual/install.texi: Do not mention specific glibc version
35452 numbers.
35453 * manual/libc.texinfo (VERSION, UPDATED): Update.
35454 (@copying): Use @copyright{} and range of years.
35455
0e7dfaef
JM
354562012-02-21 Joseph Myers <joseph@codesourcery.com>
35457
35458 [BZ #13695]
35459 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35460 [crti.S not in sysdirs] (generated): Do not append.
35461 [crti.S not in sysdirs] (omit-deps): Likewise.
35462 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35463 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35464 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35465 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35466 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35467 Likewise.
35468 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35469 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35470 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35471 * csu/defs.awk: Remove file.
35472 * sysdeps/generic/initfini.c: Likewise.
35473 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35474 variable.
35475 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35476 Likewise.
35477
599af3ca
JM
354782012-02-20 Joseph Myers <joseph@codesourcery.com>
35479
35480 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35481 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35482 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35483 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35484 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35485 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35486 <bits/epoll.h>.
35487 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35488 (__EPOLL_PACKED): Define to empty if not defined by
35489 <bits/epoll.h>.
35490 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35491 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35492 bits/epoll.h.
35493
0e499750
JM
354942012-02-20 Joseph Myers <joseph@codesourcery.com>
35495
35496 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35497 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35498 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35499 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35500 <bits/timerfd.h>.
35501 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35502 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35503 bits/timerfd.h.
35504
5ad91f6e
JM
355052012-02-20 Joseph Myers <joseph@codesourcery.com>
35506
35507 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35508 in C locale.
35509 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35510 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35511 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35513
06b99b02
AJ
355142012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35515
35516 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35517 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35518
7638c0fd
AS
355192012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35520
35521 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35522 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35523 defined.
35524 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35525 Likewise.
35526 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35527 entry for 2.16.
35528
92221550
AJ
355292012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35530
35531 * math/w_acos.c: Use non-signaling floating-point comparisons.
35532 * math/w_acosf.c: Likewise.
35533 * math/w_acosh.c: Likewise.
35534 * math/w_acoshf.c: Likewise.
35535 * math/w_acoshl.c: Likewise.
35536 * math/w_acosl.c: Likewise.
35537 * math/w_asin.c: Likewise.
35538 * math/w_asinf.c: Likewise.
35539 * math/w_asinl.c: Likewise.
35540 * math/w_atanh.c: Likewise.
35541 * math/w_atanhf.c: Likewise.
35542 * math/w_atanhl.c: Likewise.
35543 * math/w_exp2.c: Likewise.
35544 * math/w_exp2f.c: Likewise.
35545 * math/w_exp2l.c: Likewise.
35546 * math/w_j0.c: Likewise.
35547 * math/w_j0f.c: Likewise.
35548 * math/w_j0l.c: Likewise.
35549 * math/w_j1.c: Likewise.
35550 * math/w_j1f.c: Likewise.
35551 * math/w_j1l.c: Likewise.
35552 * math/w_jn.c: Likewise.
35553 * math/w_jnf.c: Likewise.
35554 * math/w_log.c: Likewise.
35555 * math/w_log10.c: Likewise.
35556 * math/w_log10f.c: Likewise.
35557 * math/w_log10l.c: Likewise.
35558 * math/w_log2.c: Likewise.
35559 * math/w_log2f.c: Likewise.
35560 * math/w_log2l.c: Likewise.
35561 * math/w_logf.c: Likewise.
35562 * math/w_logl.c: Likewise.
35563 * math/w_sqrt.c: Likewise.
35564 * math/w_sqrtf.c: Likewise.
35565 * math/w_sqrtl.c: Likewise.
35566 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35567 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35568 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35569 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35570 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35571
ebaf36eb
JM
355722012-02-19 Joseph Myers <joseph@codesourcery.com>
35573
35574 [BZ #9739]
35575 * manual/string.texi (strnlen): Use correct parameter name in
35576 equivalent expression.
35577
71c254a6
JM
355782012-02-19 Joseph Myers <joseph@codesourcery.com>
35579
35580 [BZ #11174]
35581 * manual/users.texi (seteuid): Consistently use neweuid for
35582 argument name.
35583
16d2c631
JM
355842012-02-19 Joseph Myers <joseph@codesourcery.com>
35585
35586 [BZ #13704]
35587 * manual/nss.texi (Services in the NSS configuration): Correct
35588 list of services in example configuration file.
35589
cd837b09
NB
355902012-02-19 Nick Bowler <nbowler@draconx.ca>
35591
35592 [BZ #11322]
35593 * manual/arith.texi: Remove statements about negative zero
35594 behaving identically to zero.
35595
02c4bbad
JM
355962012-02-18 Joseph Myers <joseph@codesourcery.com>
35597
35598 [BZ #5993]
35599 * manual/install.texi: Do not document upgrading from libc5.
35600
366842e7
JM
356012012-02-18 Joseph Myers <joseph@codesourcery.com>
35602
35603 [BZ #4596]
35604 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35605
dd54084d
DM
356062012-02-18 David S. Miller <davem@davemloft.net>
35607
35608 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35609 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35610 %o7 across the call.
35611 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35612 instead.
35613 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35614 SETUP_PIC_REG_LEAF.
35615 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35616 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35617 * sysdeps/sparc/crtn.S: Likewise.
35618
2bcc53a3
UD
356192012-02-17 Ulrich Drepper <drepper@gmail.com>
35620
35621 * aout/Makefile: Remove.
35622
09c093b5
RK
356232012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35624
35625 [BZ #13058]
35626 * manual/examples/argp-ex1.c (main): Format definition in GNU
35627 style.
35628 * manual/examples/argp-ex2.c (main): Likewise.
35629 * manual/examples/argp-ex3.c (main): Likewise.
35630 * manual/examples/argp-ex4.c (main): Likewise.
35631 * manual/examples/longopt.c (main): Use new-style prototype
35632 definition.
35633 * manual/examples/strncat.c (main): Specify return type and use
35634 (void) for arguments.
35635 * manual/examples/subopt.c (main): Use char **argv argument.
35636
2ee633a2
JM
356372012-02-17 Joseph Myers <joseph@codesourcery.com>
35638
35639 [BZ #5077]
35640 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35641 rounding modes.
35642
0520adde
FB
356432012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35644
35645 [BZ #6907]
35646 * manual/string.texi (strchr): Change when strchrnul is
35647 recommended.
35648
3f4081cd
DGM
356492012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35650
35651 [BZ #174]
35652 * manual/locale.texi (setlocale): Document LOCPATH.
35653
d1b10e78
JM
356542012-02-17 Joseph Myers <joseph@codesourcery.com>
35655
35656 [BZ #10210]
35657 * manual/process.texi (execle): Move @dots{} before last argument.
35658
79c6869c
PB
356592012-02-17 Paul Bolle <pebolle@tiscali.nl>
35660
35661 [BZ #12047]
35662 * manual/charset.texi (Generic Charset Conversion): Fix typo
35663 (LC_TYPE -> LC_CTYPE).
35664
cc6e48bc
NB
356652012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35666
35667 [BZ #5805]
35668 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35669 (scalbnf): Likewise.
35670 (scalbnl): Likewise.
35671 (scalbln): Likewise.
35672 (scalblnf): Likewise.
35673 (scalblnl): Likewise.
35674 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35675 (vwarnx): Likewise.
35676 (verr): Likewise.
35677 (verrx): Likewise.
35678 * manual/filesys.texi (telldir): Use braces around return type.
35679 * manual/llio.texi (mmap): Add space after comma.
35680 (mmap64): Likewise.
35681 * manual/math.texi (jn): Use @var{} on parameter names.
35682 (jnf): Likewise.
35683 (jnl): Likewise.
35684 (yn): Likewise.
35685 (ynf): Likewise.
35686 (ynl): Likewise.
35687 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35688 line.
35689 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35690 "...".
35691 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35692 (sched_get_priority_max): Likewise.
35693 * manual/signal.texi (sigvec): Add space after comma.
35694 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35695 names.
35696 (if_indextoname): Likewise.
35697 (if_freenameindex): Likewise.
35698 (sendto): Use ',' instead of '.' in prototype.
35699 * manual/startup.texi (syscall): Use @dots{} instead of literal
35700 "...".
35701 * manual/stdio.texi (__fpending): Separate initial words of
35702 paragraph from @deftypefun line.
35703 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35704 "...".
35705 (vsyslog): Use @var{} on parameter names.
35706 * manual/terminal.texi (stty): Use @var{} on parameter names.
35707 * manual/users.texi (getutmp): Use @var{} on parameter names.
35708 (getutmpx): Likewise.
35709
5b23062f
JM
357102012-02-17 Joseph Myers <joseph@codesourcery.com>
35711
35712 [BZ #6884]
35713 * manual/stdio.texi (fopen): Fix typos in description of
35714 ",ccs=STRING".
35715
8dee4833
AJ
357162012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35717
35718 [BZ #4026]
35719 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35720 get clock_id definition.
35721
9078ce93
TS
357222012-02-17 Thomas Schwinge <thomas@schwinge.name>
35723
35724 [BZ #4822]
35725 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35726 (madvise): Cast every argument to void on its own.
35727
3835c55f
JM
357282012-02-17 Joseph Myers <joseph@codesourcery.com>
35729
35730 [BZ #9902]
35731 * manual/startup.texi (Exit Status): Fix typo.
35732
35c47e37
JM
357332012-02-17 Joseph Myers <joseph@codesourcery.com>
35734
35735 [BZ #10140]
35736 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35737 * manual/examples/argp-ex2.c: Likewise.
35738 * manual/examples/argp-ex3.c: Likewise.
35739
e3b69ca7
RH
357402012-02-16 Richard Henderson <rth@redhat.com>
35741
35742 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35743 * sysdeps/s390/s390-32/initfini.c: Remove.
35744 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35745 * sysdeps/s390/s390-64/initfini.c: Remove.
35746
df83af67
KK
357472012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35748
35749 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35750 compiler output for sysdeps/generic/initfini.c.
35751 * sysdeps/sh/elf/initfini.c: Remove file.
35752
f63f3380
DM
357532012-02-16 David S. Miller <davem@davemloft.net>
35754
fb59b3a4
DM
35755 [BZ #11494]
35756 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35757
f63f3380
DM
35758 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35759 * sysdeps/sparc/crti.S: New file.
35760 * sysdeps/sparc/crtn.S: New file.
35761 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35762 * sysdeps/sparc/sparc64/Makefile: Likewise.
35763
df6a4a4a
MF
357642012-02-15 Mike Frysinger <vapier@gentoo.org>
35765
6dd8f3dc 35766 [BZ #3335]
df6a4a4a
MF
35767 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35768
1cac7236
RM
357692012-02-15 Roland McGrath <roland@hack.frob.com>
35770
d2c736f8
RM
35771 [BZ #4822]
35772 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35773
1cac7236
RM
35774 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35775 (write, read, close): Likewise.
35776 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35777
8e475601
JM
357782012-02-15 Joseph Myers <joseph@codesourcery.com>
35779
35780 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35781 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35782 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35783 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35784 <bits/signalfd.h>.
35785 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35786 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35787 bits/signalfd.h.
35788
ed656b40
MP
357892012-02-14 Marek Polacek <polacek@redhat.com>
35790
35791 * sysdeps/x86_64/crti.S: New file.
35792 * sysdeps/x86_64/crtn.S: New file.
35793 * sysdeps/x86_64/elf/initfini.c: Remove file.
35794
2a979d3a
JM
357952012-02-13 Joseph Myers <joseph@codesourcery.com>
35796
35797 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35798 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35799 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35800 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35801 <bits/inotify.h>.
35802 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35804 bits/inotify.h.
35805
2a418ac3
JM
358062012-02-13 Joseph Myers <joseph@codesourcery.com>
35807
35808 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35809 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35810 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35811 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35812 <bits/eventfd.h>.
35813 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35814 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35815 bits/eventfd.h.
35816
fb779be7
TS
358172012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35818
e19e83c5
RM
35819 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35820 __feraiseexcept instead of feraiseexcept.
7c35ffed 35821
fb779be7
TS
35822 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35823 nanosleep invocations.
35824 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35825 strings, and add error checking for a nanosleep invocations.
35826
59ba27a6
PE
358272012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35828
35829 Replace FSF snail mail address with URLs, as per GNU coding standards.
35830 Most of the snail mail addresses were wrong anyway, and omitting
35831 them makes the source code easier to maintain. Almost all of the
35832 changes are to license notices and to locale LC_IDENTIFICATION
35833 addresses, except for this one:
35834 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35835 not its snail mail address.
35836
57b957eb
RH
358372012-02-09 Richard Henderson <rth@twiddle.net>
35838
af850b1c
RH
35839 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35840 of kernel-features.h.
35841
57b957eb
RH
35842 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35843
6b73181a
MP
358442012-02-08 Marek Polacek <polacek@redhat.com>
35845
35846 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35847 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35848 * sysdeps/gnu/_G_config.h: Likewise.
35849 * sysdeps/generic/_G_config.h: Likewise.
35850
26ecc33a
AS
358512012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35852
6c6dbc63
AS
35853 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35854 tests.
35855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35856
e216c012
AS
35857 * sysdeps/powerpc/powerpc32/crti.S: New file.
35858 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35859 * sysdeps/powerpc/powerpc64/crti.S: New file.
35860 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35861
26ecc33a
AS
35862 * Makeconfig (have-initfini): Don't set.
35863 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35864 * configure.in (nopic_initfini): Don't substitute.
35865 * config.h.in (HAVE_INITFINI): Don't #undef.
35866 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35867 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35868
3add8e13
JM
358692012-02-08 Joseph Myers <joseph@codesourcery.com>
35870
35871 Support crti.S and crtn.S provided directly by architectures.
35872 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35873 [crti.S in sysdirs] (omit-deps): Likewise.
35874 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35875 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35876 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35877 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35878 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35879 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35880 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35881 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35882 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35883 compiler output for sysdeps/generic/initfini.c.
35884 * sysdeps/i386/elf/Makefile: Remove file.
35885 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35886
a22f12b4
MP
358872012-02-07 Marek Polacek <polacek@redhat.com>
35888
35889 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35890 * sysdeps/gnu/_G_config.h: Likewise.
35891 * sysdeps/mach/hurd/_G_config.h: Likewise.
35892
148cf100
MP
358932012-02-07 Marek Polacek <polacek@redhat.com>
35894
35895 * math/Makefile (tests): Add tst-CMPLX2.
35896 * math/tst-CMPLX2.c: New file.
35897
cfdc0dd7
AS
358982012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35899
84ba42c4
AS
35900 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35901
cfdc0dd7
AS
35902 * math/libm-test.inc (jn_test): Add missing L suffix.
35903
622c86f4
MP
359042012-02-06 Marek Polacek <polacek@redhat.com>
35905
35906 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35907 * sysdeps/i386/fpu/e_powf.S: Likewise.
35908 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35909 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35910 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35911 * sysdeps/i386/fpu/e_pow.S: Likewise.
35912 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35913 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35914 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35915 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35916 * sysdeps/i386/fpu/e_log2.S: Likewise.
35917 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35918 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35919 * sysdeps/i386/fpu/e_powl.S: Likewise.
35920 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35921 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35922 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35923 * sysdeps/i386/fpu/e_logl.S: Likewise.
35924 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35925 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35926 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35927 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35928 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35929 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35930 * sysdeps/i386/fpu/e_log.S: Likewise.
35931 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35932 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35933 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35934 * sysdeps/i386/fpu/e_logf.S: Likewise.
35935 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35936 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35937 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35938 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35939 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35940 * sysdeps/i386/fpu/e_log10.S: Likewise.
35941 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35942 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35943 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35944 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35945 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35946 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35947 * sysdeps/i386/asm-syntax.h: Likewise.
35948 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35949 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35950 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35951 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35952 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35953 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35954 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35955 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35956 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35957 * sysdeps/powerpc/sysdep.h: Likewise.
35958 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35959 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35960
d4a54ac6
JM
359612012-02-06 Joseph Myers <joseph@codesourcery.com>
35962
35963 [BZ #411]
35964 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35965
314054ea
JM
359662012-02-06 Joseph Myers <joseph@codesourcery.com>
35967
35968 * sysdeps/i386/sysdep.h: Include <features.h>.
35969 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35970 version.
35971
d8e0ca50
JM
359722012-02-05 Joseph Myers <joseph@codesourcery.com>
35973
35974 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35975 Define.
35976 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35977 LOAD_PIC_REG_STR.
35978
b1da7dd9
JM
359792012-02-03 Joseph Myers <joseph@codesourcery.com>
35980
35981 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35982 (SETUP_PIC_REG): Use GET_PC_THUNK.
35983 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35984 macro.
35985
9a1d9254
JM
359862012-02-03 Joseph Myers <joseph@codesourcery.com>
35987
35988 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35989 for non-PIC compilation.
35990 (SETUP_PIC_REG): Add .p2align directive.
35991 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35992 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35993 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35994 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35995 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35996 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35997 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35998 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35999 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36000 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36001 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36002 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36003 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36004 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36005 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36006 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36007 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36008 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36009 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36010 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36011 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36012 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36013 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36014 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36015 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36016 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36017 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36018 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36019 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36020 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36021 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36022 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36023 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36024 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36025 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36026 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36027 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36028 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36029 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36030 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36031 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36032
65dc3b75
JM
360332012-02-03 Joseph Myers <joseph@codesourcery.com>
36034
36035 * math/tst-CMPLX.c: Include <stdio.h>.
36036
d55bf177
JM
360372012-01-31 Joseph Myers <joseph@codesourcery.com>
36038
36039 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36040 float.
36041 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36042 * sysdeps/sparc/bits/mathdef.h: Likewise.
36043
69db4f8f
MP
360442012-01-31 Marek Polacek <polacek@redhat.com>
36045
36046 * libio/libio.h: Don't define _PARAMS.
36047 * locale/programs/config.h: Don't define PARAMS.
36048 * stdlib/strtol_l.c: Likewise.
36049 (__strtol_l): Remove PARAMS from the prototype.
36050
41b81892
UD
360512012-01-31 Ulrich Drepper <drepper@gmail.com>
36052
3b49edc0
UD
36053 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
36054 names. Just use the correct names. Remove unnecessary wrapper
36055 functions.
36056 * malloc/arena.c: Likewise.
36057 * malloc/hooks.c: Likewise.
36058
41b81892
UD
36059 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36060 ARENA_TEST says not to. Simplify test for creation of a new arena.
36061 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36062
27a25b6e
UD
360632012-01-30 Ulrich Drepper <drepper@gmail.com>
36064
36065 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36066 into tail calls.
36067 (update_get_addr): New function.
36068 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36069 GET_ADDR_MODULE parameter.
36070
c8a89e7d
JM
360712012-01-30 Joseph Myers <joseph@codesourcery.com>
36072
36073 * crypt/cert.c: Remove __STDC__ conditionals.
36074 * crypt/crypt-entry.c: Likewise.
36075 * crypt/crypt_util.c: Likewise.
36076 * libio/filedoalloc.c: Likewise.
36077 * libio/fileops.c: Likewise.
36078 * libio/genops.c: Likewise.
36079 * libio/iofclose.c: Likewise.
36080 * libio/iofdopen.c: Likewise.
36081 * libio/iofopen.c: Likewise.
36082 * libio/iofopen64.c: Likewise.
36083 * libio/iogetdelim.c: Likewise.
36084 * libio/iopopen.c: Likewise.
36085 * libio/obprintf.c: Likewise.
36086 * libio/oldfileops.c: Likewise.
36087 * libio/oldiofclose.c: Likewise.
36088 * libio/oldiofdopen.c: Likewise.
36089 * libio/oldiofopen.c: Likewise.
36090 * libio/oldiopopen.c: Likewise.
36091 * libio/wfiledoalloc.c: Likewise.
36092 * libio/wgenops.c: Likewise.
36093 * locale/programs/xmalloc.c: Likewise.
36094 * misc/syslog.c: Likewise.
36095 * stdio-common/xbug.c: Likewise.
36096 * string/memchr.c: Likewise.
36097 * string/memcmp.c: Likewise.
36098 * string/memrchr.c: Likewise.
36099 * string/rawmemchr.c: Likewise.
36100 * sysdeps/posix/getcwd.c: Likewise.
36101 * time/strftime_l.c: Likewise.
36102
3b100462
JM
361032012-01-30 Joseph Myers <joseph@codesourcery.com>
36104
36105 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
36106 * config.make.in (config-cflags-sse2avx): Define.
36107 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36108 Fix typo.
36109
607998af
CM
361102012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36111
36112 * scripts/config.guess: Update from upstream config git repository.
36113 * scripts/config.sub: Likewise.
36114
3601428f
CM
361152012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36116
3ac8b282
CM
36117 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36118 (EM_NUM): Update.
36119 (R_TILEPRO_*, R_TILEGX_*): New macros.
36120
e034841e
CM
36121 * scripts/firstversions.awk: Fix bug in version range handling.
36122
540d7568
CM
36123 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36124
3601428f
CM
36125 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36126
463de862
CM
36127 * include/sys/epoll.h: New file.
36128 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36129 libc_hidden_def.
36130
73139a76
UD
361312012-01-28 Ulrich Drepper <drepper@gmail.com>
36132
96bc5b45
UD
36133 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36134 Avoid unnecessary __WORDSIZE == 64 test.
36135 (fmaxf): Use VEX format if possible.
36136 (fmax): Likewise.
36137 (fminf): Likewise.
36138 (fmin): Likewise.
36139
56f6f6a2
UD
36140 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36141 * math/math_private.h: Remove libc_fegetround* and
36142 libc_fesetround*.
36143 * sysdeps/i386/configure.in: Check for -msse2avx.
36144 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36145 also if SSE2AVX is defined.
36146 Remove libc_fegetround* and libc_fesetround*.
36147 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36148 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36149 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36150 of HAS_YMM_USABLE.
36151 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36152 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36153 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36154 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36155 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36156
73139a76
UD
36157 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36158
d73f93a4
AZ
361592012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36160
36161 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36162 size is not set.
36163 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36164
6ee65ed6
UD
361652012-01-27 Ulrich Drepper <drepper@gmail.com>
36166
36167 [BZ #13618]
36168 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36169 relocation.
36170 * Makeconfig (libm): Define.
36171 * elf/Makefile: Add rules to build and run tst-relsort1.
36172 * elf/tst-relsort1.c: New file.
36173 * elf/tst-relsort1mod1.c: New file.
36174 * elf/tst-relsort1mod2.c: New file.
36175
8db21882
JM
361762012-01-27 Joseph Myers <joseph@codesourcery.com>
36177
36178 * math/s_ldexp.c: Remove __STDC__ conditionals.
36179 * math/s_ldexpf.c: Likewise.
36180 * math/s_ldexpl.c: Likewise.
36181 * math/s_nextafter.c: Likewise.
36182 * math/s_nexttowardf.c: Likewise.
36183 * math/s_significand.c: Likewise.
36184 * math/s_significandf.c: Likewise.
36185 * math/s_significandl.c: Likewise.
36186 * math/w_jnl.c: Likewise.
36187 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36188 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36189 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36190 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36191 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36192 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36193 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36194 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36195 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36196 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36197 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36198 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36199 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36200 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36201 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36202 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36203 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36204 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36205 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36206 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36207 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36208 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36209 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36210 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36211 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36212 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36213 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36214 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36215 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36216 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36217 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36218 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36219 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36220 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36221 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36222 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36223 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36224 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36225 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36226 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36227 * sysdeps/ieee754/k_standard.c: Likewise.
36228 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36229 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36230 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36231 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36232 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36233 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36234 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36235 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36236 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36237 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36238 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36239 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36240 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36241 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36242 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36243 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36244 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36245 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36246 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36247 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36248 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36249 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36250 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36251 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36252 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36253 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36254 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36255 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36256 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36257 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36258 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36259 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36260 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36261 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36262 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36263 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36264 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36265 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36266 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36267 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36268 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36269 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36270 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36271 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36272 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36273 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36274 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36275 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36276 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36277 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36278 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36279 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36280 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36281 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36282 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36283 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36284 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36285 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36286 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36287 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36288 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36289 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36290 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36291 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36292 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36293 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36294 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36295 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36296 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36297 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36298 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36299 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36300 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36301 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36302 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36303 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36304 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36305 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36306 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36307 * sysdeps/ieee754/s_matherr.c: Likewise.
36308 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36309 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36310 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36311 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36312
965a54a4
JM
363132012-01-26 Joseph Myers <joseph@codesourcery.com>
36314
36315 * crypt/md5.h: Remove __STDC__ conditionals.
36316 * libio/libioP.h: Likewise.
36317 * locale/programs/config.h: Likewise.
36318 * sysdeps/generic/sysdep.h: Likewise.
36319 * sysdeps/i386/asm-syntax.h: Likewise.
36320 * sysdeps/s390/asm-syntax.h: Likewise.
36321 * sysdeps/unix/sysdep.h: Likewise.
36322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36324
7071ad79
JM
363252012-01-26 Joseph Myers <joseph@codesourcery.com>
36326
36327 * libio/libio.h: Remove __STDC__ conditionals.
36328 * malloc/obstack.h: Likewise.
36329 * math/complex.h: Likewise.
36330 * math/math.h: Likewise.
36331 * sysdeps/generic/_G_config.h: Likewise.
36332 * sysdeps/gnu/_G_config.h: Likewise.
36333 * sysdeps/mach/hurd/_G_config.h: Likewise.
36334 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36335 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36336 * sysdeps/sparc/bits/mathdef.h: Likewise.
36337
afc5ed09
UD
363382012-01-26 Ulrich Drepper <drepper@gmail.com>
36339
36340 [BZ #13583]
36341 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 36342 Clean up HAS_* macros.
afc5ed09 36343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
36344 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36345 possible.
36346 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36347 HAS_AVX.
36348 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36349 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36350 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36351 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36352 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 36353
bdb6de1d
JM
363542012-01-25 Joseph Myers <joseph@codesourcery.com>
36355
36356 * elf/tst-unique3.cc (gets): Remove declaration.
36357 * elf/tst-unique3lib.cc (gets): Likewise.
36358 * elf/tst-unique3lib2.cc (gets): Likewise.
36359 * elf/tst-unique4.cc (gets): Likewise.
36360
b15549e6
UD
363612012-01-24 Ulrich Drepper <drepper@gmail.com>
36362
36363 * include/stdio.h: Add C++ protection. Add gets declarations and
36364 definitions.
36365 * debug/tst-chk1.c: Don't declare gets here.
36366 * stdio-common/tst-gets.c: Likewise.
36367
a037381f
JM
363682012-01-24 Joseph Myers <joseph@codesourcery.com>
36369
36370 * posix/glob: Remove directory.
36371
f1d4aa75
JM
363722012-01-24 Joseph Myers <joseph@codesourcery.com>
36373
36374 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36375
81c0c964
PT
363762012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36377
36378 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36379 of the non-standard EPFNOSUPPORT.
36380
0ea698ae
ST
363812011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36382
36383 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36384 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36385 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36386
d220b117
UD
363872012-01-21 Ulrich Drepper <drepper@gmail.com>
36388
36389 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36390
3e1aa84e
UD
363912012-01-20 Ulrich Drepper <drepper@gmail.com>
36392
36393 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36394 transient errors.
36395 * nscd/grpcache.c (cache_addgr): Likewise.
36396 * nscd/hstcache.c (cache_addhst): Likewise.
36397 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36398 * nscd/pwdcache.c (cache_addpw): Likewise.
36399 * nscd/servicescache.c (cache_addserv): Likewise.
36400
400aa020
UD
364012012-01-16 Ulrich Drepper <drepper@gmail.com>
36402
d77e7869
UD
36403 * malloc/malloc.c: Various cleanups.
36404 * malloc/hooks.c: Likewise.
36405
400aa020
UD
36406 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36407 * stdlib/bug-fmtmsg1.c: New file.
36408
36409 * stdlib/fmtmsg.c (init): Add missing unlock.
36410 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36411
e0a309cf
MP
364122012-01-12 Marek Polacek <polacek@redhat.com>
36413
36414 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36415 and _GNU_SOURCE.
36416
929d11c7
WS
364172012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36418
36419 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36420 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36421 macro to ensure uniqueness of label name.
36422 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36423 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36424
41d0e869
UD
364252012-01-11 Ulrich Drepper <drepper@gmail.com>
36426
0cc5ed3b
UD
36427 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36428
41d0e869
UD
36429 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36430 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36431 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36432 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36433
a47a831a
UD
364342012-01-10 Ulrich Drepper <drepper@gmail.com>
36435
daa891c0
UD
36436 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36437
36438 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36439 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36440 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36441
e58ef0f2
UD
36442 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36443
a47a831a 36444 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
36445 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36446 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 36447 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
36448
36449 * math/bits/math-finite.h: Add ldexp support.
36450
a0bfc9c7
MP
364512012-01-10 Marek Polacek <polacek@redhat.com>
36452
36453 * locale/programs/localedef.h (show_archive_content): Add noreturn
36454 attribute.
36455
d6e97a1d
UD
364562012-01-09 Ulrich Drepper <drepper@gmail.com>
36457
36458 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36459
d5835c26
UD
364602012-01-08 Ulrich Drepper <drepper@gmail.com>
36461
e5f484c6
UD
36462 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36463
d5835c26
UD
36464 * io/Makefile (headers): Add bits/poll2.h.
36465
d1f741e9
WS
364662011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36467
36468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36469 typo #include statement.
36470
ec09c1c4
UD
364712012-01-08 Ulrich Drepper <drepper@gmail.com>
36472
36473 * include/sys/cdefs.h: Define __attribute_alloc_size.
36474 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36475 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36476 * elf/pldd.c: Likewise.
36477 * iconv/iconv_charmap.c: Likewise.
36478 * iconv/iconvconfig.c: Likewise.
36479 * iconv/strtab.c: Likewise.
36480 * locale/programs/locale.c: Likewise.
36481 * locale/programs/localedef.h: Likewise.
36482 * locale/programs/simple-hash.c: Likewise.
36483 * nscd/nscd.h: Likewise.
36484 * nss/makedb.c: Likewise.
36485 * sysdeps/generic/ldconfig.h: Likewise.
36486 * locale/programs/localedef.c: Remove xmalloc prototype.
36487 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36488
20b38e03
PP
364892012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36490
36491 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36492 appropriate.
36493
a0da5fe1
UD
364942012-01-08 Ulrich Drepper <drepper@gmail.com>
36495
1d5a644a 36496 * math/Makefile (tests): Add tst-CMPLX.
669704fd 36497 * math/tst-CMPLX.c: New file.
1d5a644a 36498
8784a6db
UD
36499 * math/complex.h (CMPLXL): Fix typo.
36500
d9a216c0
UD
36501 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36502 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36503 GLIBC_2.16.
36504 * debug/tst-chk1.c: Add poll and ppoll tests.
36505 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36506 * include/sys/poll.h: Add hidden proto for ppoll.
36507 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36508 * sysdeps/mach/hurd/ppoll.c: Likewise.
36509 * io/ppoll.c: Likewise.
36510 * debug/poll_chk.c: New file.
36511 * debug/ppoll_chk.c: New file.
36512 * include/bits/poll2.h: New file.
36513 * io/bits/poll2.h: New file.
36514
ac097f5c
UD
36515 [BZ #1350]
36516 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36517
2119dcfa
UD
36518 * configure.in: static is always set to yes. Remove.
36519 * config.make.in: Don't set build-static.
36520 * Makeconfig: Remove use of build-static.
36521 * dlfcn/Makefile: Likewise.
36522 * elf/Makefile: Likewise.
36523 * math/Makefile: Likewise.
36524 * misc/Makefile: Likewise.
36525 * nptl/Makefile: Likewise.
36526 * sysdeps/mach/hurd/Makefile: Likewise.
36527
121766a9
UD
36528 * configure.in: PWD_P is not used anymore.
36529 * config.make.in: Remove PWD_P entry.
36530
51a1d39c 36531 * configure.in: Remove last remnants of RANLIB.
8720d066 36532 No need to check for signed size_t anymore.
215f4bdc
UD
36533 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36534 and IA-64.
3857022a 36535 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
36536 * aclocal.m4: Likewise.
36537
d3ed7225
UD
36538 * wcsmbs/mbrtoc16.c: Implement using towc function.
36539 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36540 * wcsmbs/wcsmbsload.c: Likewise.
36541 * iconv/gconv_simple.c: Likewise.
36542 * iconv/gconv_int.h: Likewise.
36543 * iconv/gconv_builtin.h: Likewise.
36544 * iconv/iconv_prog.c: Remove CHAR16 handling.
36545
36546 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36547
36548 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36549
a0da5fe1
UD
36550 * configure.in: Remove --with-elf and --enable-bounded options.
36551 Dont set base_machine for ia64. More non-ELF conditions removed.
36552 Remove testing and setting of leading underscore information.
36553 * config.make.in (build-bounded): Set to no.
36554 * config.h.in: Remove NO_UNDERSCORES entry.
36555 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36556 them.
36557 * csu/start.c: Remove !NO_UNDERSCORE code.
36558 * locale/localeinfo.h: Likewise.
36559 * sysdeps/generic/machine-gmon.h: Likewise.
36560 * sysdeps/generic/sysdep.h: Likewise.
36561 * sysdeps/i386/sysdep.h: Likewise.
36562 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36563 * sysdeps/mach/sysdep.h: Likewise.
36564 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36565 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36566 * sysdeps/sh/sysdep.h: Likewise.
36567 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36568 * sysdeps/unix/i386/sysdep.S: Likewise.
36569 * sysdeps/unix/sparc/start.c: Likewise.
36570 * sysdeps/unix/sparc/sysdep.S: Likewise.
36571 * sysdeps/unix/sparc/sysdep.h: Likewise.
36572 * sysdeps/unix/start.c: Likewise.
36573 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36574 * sysdeps/x86_64/sysdep.h: Likewise.
36575
df78418a
UD
365762012-01-07 Ulrich Drepper <drepper@gmail.com>
36577
a784e502
UD
36578 [BZ #13553]
36579 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36580 for non-gcc.
36581 * argp/argp-fmtstream.h: Use const instead __const.
36582 * argp/argp.h: Likewise.
36583 * assert/assert.h: Likewise.
36584 * bits/fenv.h: Likewise.
36585 * bits/sched.h: Likewise.
36586 * bits/sigset.h: Likewise.
36587 * bits/sigthread.h: Likewise.
36588 * catgets/nl_types.h: Likewise.
36589 * conform/data/pthread.h-data: Likewise.
36590 * crypt/crypt-private.h: Likewise.
36591 * crypt/crypt.h: Likewise.
36592 * crypt/crypt_util.c: Likewise.
36593 * ctype/ctype.h: Likewise.
36594 * debug/execinfo.h: Likewise.
36595 * debug/mbsnrtowcs_chk.c: Likewise.
36596 * debug/mbsrtowcs_chk.c: Likewise.
36597 * debug/wcsnrtombs_chk.c: Likewise.
36598 * debug/wcsrtombs_chk.c: Likewise.
36599 * debug/wcstombs_chk.c: Likewise.
36600 * dirent/dirent.h: Likewise.
36601 * dlfcn/dlfcn.h: Likewise.
36602 * elf/neededtest4.c: Likewise.
36603 * grp/grp.h: Likewise.
36604 * gshadow/gshadow.h: Likewise.
36605 * iconv/gconv.h: Likewise.
36606 * iconv/gconv_int.h: Likewise.
36607 * iconv/gconv_simple.c: Likewise.
36608 * iconv/iconv.h: Likewise.
36609 * iconv/loop.c: Likewise.
36610 * iconv/skeleton.c: Likewise.
36611 * include/aio.h: Likewise.
36612 * include/aliases.h: Likewise.
36613 * include/argz.h: Likewise.
36614 * include/arpa/inet.h: Likewise.
36615 * include/assert.h: Likewise.
36616 * include/dirent.h: Likewise.
36617 * include/dlfcn.h: Likewise.
36618 * include/execinfo.h: Likewise.
36619 * include/fcntl.h: Likewise.
36620 * include/fenv.h: Likewise.
36621 * include/glob.h: Likewise.
36622 * include/grp.h: Likewise.
36623 * include/libintl.h: Likewise.
36624 * include/mntent.h: Likewise.
36625 * include/netdb.h: Likewise.
36626 * include/pwd.h: Likewise.
36627 * include/rpc/netdb.h: Likewise.
36628 * include/sched.h: Likewise.
36629 * include/search.h: Likewise.
36630 * include/shadow.h: Likewise.
36631 * include/signal.h: Likewise.
36632 * include/stdio.h: Likewise.
36633 * include/stdlib.h: Likewise.
36634 * include/string.h: Likewise.
36635 * include/sys/socket.h: Likewise.
36636 * include/sys/stat.h: Likewise.
36637 * include/sys/statfs.h: Likewise.
36638 * include/sys/statvfs.h: Likewise.
36639 * include/sys/syslog.h: Likewise.
36640 * include/sys/time.h: Likewise.
36641 * include/sys/uio.h: Likewise.
36642 * include/time.h: Likewise.
36643 * include/unistd.h: Likewise.
36644 * include/utmp.h: Likewise.
36645 * include/wchar.h: Likewise.
36646 * include/wctype.h: Likewise.
36647 * inet/aliases.h: Likewise.
36648 * inet/arpa/inet.h: Likewise.
36649 * inet/netinet/ether.h: Likewise.
36650 * inet/netinet/in.h: Likewise.
36651 * intl/libintl.h: Likewise.
36652 * io/bits/fcntl2.h: Likewise.
36653 * io/fcntl.h: Likewise.
36654 * io/ftw.h: Likewise.
36655 * io/sys/poll.h: Likewise.
36656 * io/sys/stat.h: Likewise.
36657 * io/sys/statfs.h: Likewise.
36658 * io/sys/statvfs.h: Likewise.
36659 * io/utime.h: Likewise.
36660 * libio/bits/stdio.h: Likewise.
36661 * libio/bits/stdio2.h: Likewise.
36662 * libio/libio.h: Likewise.
36663 * libio/libioP.h: Likewise.
36664 * libio/stdio.h: Likewise.
36665 * locale/lc-ctype.c: Likewise.
36666 * locale/locale.h: Likewise.
36667 * login/utmp.h: Likewise.
36668 * malloc/arena.c: Likewise.
36669 * malloc/malloc.c: Likewise.
36670 * malloc/malloc.h: Likewise.
36671 * malloc/mcheck.c: Likewise.
36672 * malloc/mtrace.c: Likewise.
36673 * math/bits/mathcalls.h: Likewise.
36674 * math/fenv.h: Likewise.
36675 * math/math_private.h: Likewise.
36676 * misc/bits/error.h: Likewise.
36677 * misc/bits/syslog.h: Likewise.
36678 * misc/err.h: Likewise.
36679 * misc/error.h: Likewise.
36680 * misc/fstab.h: Likewise.
36681 * misc/mntent.h: Likewise.
36682 * misc/regexp.h: Likewise.
36683 * misc/search.h: Likewise.
36684 * misc/sgtty.h: Likewise.
36685 * misc/sys/mman.h: Likewise.
36686 * misc/sys/syslog.h: Likewise.
36687 * misc/sys/uio.h: Likewise.
36688 * misc/sys/xattr.h: Likewise.
36689 * misc/ttyent.h: Likewise.
36690 * nis/rpcsvc/ypclnt.h: Likewise.
36691 * nss/nss.h: Likewise.
36692 * posix/bits/unistd.h: Likewise.
36693 * posix/fnmatch.h: Likewise.
36694 * posix/glob.h: Likewise.
36695 * posix/sched.h: Likewise.
36696 * posix/spawn.h: Likewise.
36697 * posix/sys/wait.h: Likewise.
36698 * posix/unistd.h: Likewise.
36699 * posix/wordexp.h: Likewise.
36700 * pwd/pwd.h: Likewise.
36701 * resolv/netdb.h: Likewise.
36702 * resource/sys/resource.h: Likewise.
36703 * rt/aio.h: Likewise.
36704 * rt/bits/mqueue2.h: Likewise.
36705 * rt/mqueue.h: Likewise.
36706 * shadow/shadow.h: Likewise.
36707 * signal/signal.h: Likewise.
36708 * socket/send.c: Likewise.
36709 * socket/sendto.c: Likewise.
36710 * socket/sys/socket.h: Likewise.
36711 * stdio-common/printf.h: Likewise.
36712 * stdlib/bits/stdlib.h: Likewise.
36713 * stdlib/fmtmsg.h: Likewise.
36714 * stdlib/monetary.h: Likewise.
36715 * stdlib/stdlib.h: Likewise.
36716 * stdlib/ucontext.h: Likewise.
36717 * streams/stropts.h: Likewise.
36718 * string/argz.h: Likewise.
36719 * string/bits/string2.h: Likewise.
36720 * string/string.h: Likewise.
36721 * string/strings.h: Likewise.
36722 * sunrpc/rpc/auth.h: Likewise.
36723 * sunrpc/rpc/auth_des.h: Likewise.
36724 * sunrpc/rpc/clnt.h: Likewise.
36725 * sunrpc/rpc/netdb.h: Likewise.
36726 * sunrpc/rpc/pmap_clnt.h: Likewise.
36727 * sunrpc/rpc/xdr.h: Likewise.
36728 * sysdeps/generic/inttypes.h: Likewise.
36729 * sysdeps/generic/net/if.h: Likewise.
36730 * sysdeps/generic/sys/swap.h: Likewise.
36731 * sysdeps/gnu/net/if.h: Likewise.
36732 * sysdeps/gnu/utmpx.h: Likewise.
36733 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36734 * sysdeps/i386/i486/bits/string.h: Likewise.
36735 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36736 * sysdeps/s390/bits/string.h: Likewise.
36737 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36738 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36739 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36740 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36741 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36742 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36743 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36744 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36745 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36746 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36747 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36748 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36749 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36750 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36751 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36752 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36753 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36754 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36755 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36756 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36757 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36758 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36759 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36760 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36761 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36762 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36763 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36764 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36765 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36766 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36767 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36768 * sysvipc/sys/ipc.h: Likewise.
36769 * sysvipc/sys/msg.h: Likewise.
36770 * sysvipc/sys/sem.h: Likewise.
36771 * sysvipc/sys/shm.h: Likewise.
36772 * termios/termios.h: Likewise.
36773 * time/sys/time.h: Likewise.
36774 * time/time.h: Likewise.
36775 * wcsmbs/bits/wchar2.h: Likewise.
36776 * wcsmbs/uchar.h: Likewise.
36777 * wcsmbs/wchar.h: Likewise.
36778 * wctype/wctype.h: Likewise.
36779
0269750c
UD
36780 [BZ #13551]
36781 * Makeconfig: Remove all but ELF support including AIX support.
36782 * Makerules: Likewise.
36783 * config.h.in: Likewise.
36784 * config.make.in: Likewise.
36785 * configure: Likewise.
36786 * configure.in: Likewise.
36787 * csu/Makefile: Likewise.
36788 * csu/version.c: Likewise.
36789 * debug/Makefile: Likewise.
36790 * dlfcn/Makefile: Likewise.
36791 * elf/Makefile: Likewise.
36792 * extra-lib.mk: Likewise.
36793 * iconv/Makefile: Likewise.
36794 * include/libc-symbols.h: Likewise.
36795 * include/shlib-compat.h: Likewise.
36796 * resolv/Makefile: Likewise.
36797 * resolv/res_libc.c: Likewise.
36798 * rt/Makefile: Likewise.
36799 * sysdeps/i386/asm-syntax.h: Likewise.
36800 * sysdeps/i386/sysdep.h: Likewise.
36801 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36802 * sysdeps/mach/sysdep.h: Likewise.
36803 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36804 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36805 * sysdeps/s390/asm-syntax.h: Likewise.
36806 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36807 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36808 * sysdeps/sh/sysdep.h: Likewise.
36809 * sysdeps/unix/sparc/sysdep.h: Likewise.
36810 * sysdeps/wordsize-32/divdi3.c: Likewise.
36811 * sysdeps/x86_64/sysdep.h: Likewise.
36812
00bbd29b
UD
36813 * argp/Versions: Remove _argp_unlock_xxx.
36814
36815 [BZ #13559]
36816 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36817 * abilist/libBrokenLocale.abilist: Likewise.
36818 * abilist/libanl.abilist: Likewise.
36819 * abilist/libc.abilist: Likewise.
36820 * abilist/libcrypt.abilist: Likewise.
36821 * abilist/libdl.abilist: Likewise.
36822 * abilist/libm.abilist: Likewise.
36823 * abilist/libnsl.abilist: Likewise.
36824 * abilist/libpthread.abilist: Likewise.
36825 * abilist/libresolv.abilist: Likewise.
36826 * abilist/librt.abilist: Likewise.
36827 * abilist/libthread_db.abilist: Likewise.
36828 * abilist/libutil.abilist: Likewise.
36829 * abilist/libnss_db.abilist: New file.
36830
36831 * scripts/abilist.awk: Add support for indirect functions.
36832
a2693a0e
UD
36833 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36834
3f05895f
UD
36835 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36836
ecb6fb48
UD
36837 * shlib-versions: Remove entries for ports architectures.
36838
664f8cb9
UD
36839 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36840 files in ports.
36841 * elf/stackguard-macros.h: Remove support for IA-64.
36842 * elf/tst-auditmod1.c: Likewise.
36843 * sysdeps/generic/ldsodefs.h: Likewise.
36844
7ae81d88
UD
36845 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36846 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36847 configure files.
36848
bdeba135
UD
36849 [BZ #13552]
36850 * configure.in: Remove --enable-omitfp support.
36851 * FAQ.in: Adjust.
36852 * config.make.in: Likewise.
36853 * Makeconfig: Likewise.
36854 * manual/install.texi: Likewise.
36855
d75a0a62
UD
36856 In case anyone cares, the IA-64 architecture could move to ports.
36857 * sysdeps/ia64/*: Removed.
36858 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36859 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36860
dcc9756b
UD
36861 [BZ #13555]
36862 * configure.in: Remove entries for unsupported architectures.
36863
d3761ebc 36864 [BZ #13533]
9954432e
UD
36865 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36866 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36867 routines.
36868 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36869 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36870 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36871 fall back to using wcrtomb.
36872 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36873 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36874 renaming.
36875 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36876 * wcsmbs/tst-c16c32-1.c: New file.
36877
36878 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36879 local variable.
36880
c3a87236
UD
36881 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36882
28926a1b
UD
36883 * elf/tst-unique3.cc: Add explicit declaration of gets.
36884 * elf/tst-unique3lib.cc: Likewise.
36885 * elf/tst-unique3lib2.cc: Likewise.
36886 * elf/tst-unique4.cc: Likewise.
36887
df78418a
UD
36888 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36889
8ecd6b2a
JM
368902012-01-06 Joseph Myers <joseph@codesourcery.com>
36891
36892 [BZ #13566]
36893 * assert/assert.h (static_assert): Don't define for C++.
36894 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36895 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36896
9f115170
UD
368972012-01-03 Ulrich Drepper <drepper@gmail.com>
36898
5e0d0300
UD
36899 * iconv/loop.c (single loop): Fix assertion in storing of
36900 remaining bytes.
36901
9f115170
UD
36902 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36903
81fb02b0
UD
369042012-01-01 Ulrich Drepper <drepper@gmail.com>
36905
36906 * posix/getconf.c: Update copyright year.
36907 * nss/getent.c: Likewise.
a316c1f6 36908 * nss/makedb.c: Likewise.
81fb02b0
UD
36909 * iconv/iconvconfig.c: Likewise.
36910 * iconv/iconv_prog.c: Likewise.
36911 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36912 * elf/pldd.c: Likewise.
36913 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36914 * catgets/gencat.c: Likewise.
36915 * csu/version.c: Likewise.
36916 * elf/ldd.bash.in: Likewise.
36917 * elf/sprof.c (print_version): Likewise.
36918 * locale/programs/locale.c: Likewise.
36919 * locale/programs/localedef.c: Likewise.
a316c1f6 36920 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36921 * nscd/nscd.c (print_version): Likewise.
36922 * debug/xtrace.sh: Likewise.
36923 * malloc/memusage.sh: Likewise.
36924 * malloc/mtrace.pl: Likewise.
36925 * debug/catchsegv.sh: Likewise.
36926
2ba92745
JJ
369272011-12-30 Jakub Jelinek <jakub@redhat.com>
36928
36929 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36930 pure attribute.
36931
dadebdae
UD
369322011-12-24 Ulrich Drepper <drepper@gmail.com>
36933
d3761ebc 36934 [BZ #13533]
db6af3eb
UD
36935 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36936 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36937 transformations.
36938 * iconv/gconv_int.h: Likewise.
36939 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36940 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36941 from libc for GLIBC_2.16.
36942 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36943 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36944 * wcsmbs/uchar.h: Really define mbstate_t.
36945 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36946 * wcsmbs/c16rtomb.c: New file.
36947 * wcsmbs/mbrtoc16.c: New file.
36948 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36949 for C/POSIX locale.
36950 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36951 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36952
dadebdae
UD
36953 * wcsmbs/wchar.h: Add missing __restrict.
36954
67371b56
UD
369552011-12-23 Ulrich Drepper <drepper@gmail.com>
36956
74033a25
UD
36957 [BZ #13532]
36958 * time/Makefile (routines): Add timespec_get.
36959 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36960 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36961 timespec for ISO C11.
36962 * time/timespec_get.c: New file.
36963 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36964 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36965
380d7e87
UD
36966 [BZ #13531]
36967 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36968 * stdlib/stdlib.h: Declare aligned_alloc.
36969 * Versions.def: Add GLIBC_2.16 for libc.
36970 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36971
4e9e7a35
UD
36972 [BZ 13527]
36973 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36974 ISO C11.
36975
380d7e87 36976 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36977 code.
36978
03a71829
UD
36979 [BZ #13528]
36980 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36981
839e283e
UD
36982 [BZ #13529]
36983 * assert/assert.h (static_assert): Define.
36984
ce5294e2 36985 * version.h: Update for 2.16 development version.
90fa7312 36986
8d44e150 36987 [BZ #13526]
d7809905
UD
36988 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36989 _ISOC11_SOURCE.
36990
c0da14cd
UD
36991 * version.h (RELEASE): Bump for 2.15 release.
36992 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36993
530a3249
MP
36994 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36995 Patch by Marek Polacek <mpolacek@redhat.com>.
36996
67371b56
UD
36997 * bits/byteswap.h: Protect long long constants with __extension__.
36998 * sysdeps/i386/bits/byteswap.h: Likewise.
36999 * sysdeps/ia64/bits/byteswap.h: Likewise.
37000 * sysdeps/s390/bits/byteswap.h: Likewise.
37001 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37002
15db4de1
LD
370032011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37004
37005 [BZ #13540]
bbe315ea
LD
37006 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37007 destination buffer.
15db4de1
LD
37008 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37009
2b2596b1
MP
370102011-12-23 Marek Polacek <polacek@redhat.com>
37011
37012 * elf/dl-addr.c (determine_info): Add inline keyword.
37013 * elf/tst-auditmod4b.c (check_avx): Likewise.
37014 * elf/tst-auditmod6b.c (check_avx): Likewise.
37015 * elf/tst-auditmod6c.c (check_avx): Likewise.
37016 * elf/tst-auditmod7b.c (check_avx): Likewise.
37017
70c6c246
UD
370182011-12-23 Ulrich Drepper <drepper@gmail.com>
37019
37020 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37021 !__SSE_MATH__.
37022
c044cf14
LD
370232011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37024
15db4de1 37025 [BZ #13540]
c044cf14
LD
37026 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37027 processing for last bytes.
37028
6b13d9d9
BH
370292011-08-06 Bruno Haible <bruno@clisp.org>
37030
d455f537
BH
37031 [BZ #13061]
37032 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37033 U+0385, not to U+1FEE.
37034
6b13d9d9
BH
37035 [BZ #13062]
37036 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37037 entry for U+00A5 U+0301.
37038
db910efd
UD
370392011-12-22 Ulrich Drepper <drepper@gmail.com>
37040
27deeafc
UD
37041 [BZ #13166]
37042 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37043 buffer for the output is too small.
37044
aed9d171
UD
37045 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37046 optimization.
37047
db910efd
UD
37048 [BZ #13185]
37049 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37050 SSE flags if possible.
37051
2bd779ae
LD
370522011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37053
e7f9dac3 37054 [BZ #13540]
2bd779ae
LD
37055 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37056 processing for last bytes.
37057
154bfc16
JM
370582011-12-22 Joseph Myers <joseph@codesourcery.com>
37059
37060 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37061 (syscall-list-default-options, syscall-list-default-condition)
37062 (syscall-list-includes): Define.
37063 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37064 list of ABIs and options and #if conditions for each ABI. Do not
37065 handle common syscalls between ABIs specially.
37066 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37067 Remove.
37068 (syscall-list-variants, syscall-list-32bit-options)
37069 (syscall-list-32bit-condition, syscall-list-64bit-options)
37070 (syscall-list-64bit-condition): Define.
37071 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37072 (syscall-list-variants, syscall-list-32bit-options)
37073 (syscall-list-32bit-condition, syscall-list-64bit-options)
37074 (syscall-list-64bit-condition): Define.
37075 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37076 Remove.
37077 (syscall-list-variants, syscall-list-32bit-options)
37078 (syscall-list-32bit-condition, syscall-list-64bit-options)
37079 (syscall-list-64bit-condition): Define.
37080 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37081 Remove.
37082 (syscall-list-variants, syscall-list-32bit-options)
37083 (syscall-list-32bit-condition, syscall-list-64bit-options)
37084 (syscall-list-64bit-condition): Define.
37085
21eaf3a5
UD
370862011-12-22 Ulrich Drepper <drepper@gmail.com>
37087
16c6f992
UD
37088 * locale/iso-639.def: Add brx entry.
37089
41043168
UD
37090 [BZ #13328]
37091 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37092 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37093
21eaf3a5
UD
37094 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37095 __feraiseexcept_renamed.
37096
e3a851a2
UD
370972011-12-21 Ulrich Drepper <drepper@gmail.com>
37098
4920765e
UD
37099 [BZ #13538]
37100 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37101 EPOLLET with unsigned values.
37102 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37103 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37104
e3a851a2
UD
37105 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37106 to large cancellation.
37107 * math/s_cacoshf.c: Likewise.
37108 * math/s_cacoshl.c: Likewise.
37109
b27e24b8
RK
371102011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37111
37112 [BZ #13305]
aebefeee 37113 [BZ #12786]
b27e24b8
RK
37114 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37115 * math/s_cacoshf.c: Likewise.
37116 * math/s_cacoshl.c: Likewise.
37117
ee190f67
UD
371182011-12-21 Ulrich Drepper <drepper@gmail.com>
37119
37120 [BZ #13439]
37121 * iconv/gconv.h: Define __GCONV_SWAP.
37122 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37123 * iconvdata/utf-16.c: Likewise.
37124 * iconvdata/utf-32.c: Likewise.
37125
707f25df
AS
371262011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37127
37128 [BZ #13524]
37129 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37130 numerator after shifting it by one limb.
37131
d2daaa1e
RÁE
371322011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37133
37134 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37135 under [__USE_EXTERN_INLINES].
37136
a4647e72
UD
371372011-12-17 Ulrich Drepper <drepper@gmail.com>
37138
37139 [BZ #13446]
37140 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37141
f0b264f1
AZ
371422011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37143
37144 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37145 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37146 optimized code.
37147 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37148 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37149 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37150 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37151 for strncasecmp/strncasecmp_l compilation.
37152 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37153 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37154
8ef4f244
MP
371552011-12-08 Marek Polacek <mpolacek@redhat.com>
37156
37157 [BZ #13484]
37158 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37159 of __asm__.
37160
97ac2654
UD
371612011-12-17 Ulrich Drepper <drepper@gmail.com>
37162
37163 [BZ #13506]
37164 * time/tzfile.c (__tzfile_read): Check values from file header.
37165
91d2a845
WS
371662011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37167
37168 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37169 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37170 * powerpc/powerpc32/dl-start.S: Likewise.
37171 * powerpc/powerpc32/elf/start.S: Likewise.
37172 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37173 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37174 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37175 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37176 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37177 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37178 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37179 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37180 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37181 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37182 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37183 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37184 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37185 * powerpc/powerpc32/memset.S: Likewise.
37186 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37187 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37188 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37189 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37190 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37191 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37192 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37193 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37194 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37195 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37196 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37197 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37198 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37199
a1267ba1
AZ
372002011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37201
37202 * math/libm-test.inc: Added more nearbyint tests.
37203 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37204 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37205 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37206 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37207
ad8ac1bd
RL
372082011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37209
37210 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37211 FD_CLOEXEC.
37212
1d3e4b61
UD
372132011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37214
37215 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37216 Add wcscpy-ssse3 wcscpy-c.
37217 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37218 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37219 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37220 * sysdeps/x86_64/wcschr.S: New file.
37221 * sysdeps/x86_64/wcsrchr.S: New file.
37222 * string/test-strcmp.c: Remove checking of wcscmp function for
37223 wrong alignments.
37224 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37225 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37226 wcsrchr-sse2 wcsrchr-c.
37227 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37228 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37229 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37230 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37231 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37232 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37233 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37234 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37235 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37236 * wcsmbc/wcschr.c (WCSCHR): New macro.
37237
5b330a2d
UD
372382011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37239
37240 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37241 * wcsmbs/test-wcsrchr.c: New file.
37242 * string/test-strrchr.c: Add wcsrchr support.
37243 (WIDE): New macro.
37244 * wcsmbs/test-wcscpy.c: New file.
37245 * string/test-strcpy.c: Add wcscpy support.
37246 (WIDE): New macro.
26428b7c 37247
f039c043
UD
372482011-12-10 Ulrich Drepper <drepper@gmail.com>
37249
37250 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37251 the inner loop.
37252
850fb039
AS
372532011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37254
37255 [BZ #13472]
37256 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37257
4efbd5cb
UD
372582011-12-04 Ulrich Drepper <drepper@gmail.com>
37259
52ff5dd0 37260 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 37261 Minor optimizations.
52ff5dd0 37262
4efbd5cb
UD
37263 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37264 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37265 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37266
8a426e12
UD
372672011-12-03 Ulrich Drepper <drepper@gmail.com>
37268
aff2453d
UD
37269 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37270 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37271 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37272 for gcc to avoid warnings.
37273 * inet/Makefile (tests): Add tst-checks.
37274 * inet/tst-checks.c: New file.
37275
37276 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37277 warning.
37278
37279 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37280 __wmemcmp_sse2.
37281
37282 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37283 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37284
8a426e12
UD
37285 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37286
9bea3473
UD
372872011-12-02 Ulrich Drepper <drepper@gmail.com>
37288
3a965496
UD
37289 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37290 problem.
37291
9bea3473
UD
37292 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37293
f101631b
UD
372942011-11-29 Joseph Myers <joseph@codesourcery.com>
37295
37296 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37297 conditional on GCC version.
37298 (__arch_compare_and_exchange_val_8_acq)
37299 (__arch_compare_and_exchange_val_16_acq)
37300 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37301 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37302 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37303
a98275aa
UD
373042011-12-02 Joseph Myers <joseph@codesourcery.com>
37305
37306 * sysdeps/sh/backtrace.c: New file.
37307
d4cc29a2
AS
373082011-12-02 Andreas Schwab <schwab@redhat.com>
37309
37310 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37311 parenthesis.
37312
6257af2d
AS
373132011-12-01 Andreas Schwab <schwab@redhat.com>
37314
37315 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37316 falling back to utime.
37317
b5f44c1a
AS
373182011-11-30 Andreas Schwab <schwab@redhat.com>
37319
37320 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37321 expectations for float.
37322
f3a6cc0a
AS
373232011-11-29 Andreas Schwab <schwab@redhat.com>
37324
37325 * locale/weight.h (findidx): Add parameter len.
37326 * locale/weightwc.h (findidx): Likewise.
37327 * posix/fnmatch_loop.c (FCT): Adjust caller.
37328 * posix/regcomp.c (build_equiv_class): Likewise.
37329 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37330 * posix/regexec.c (check_node_accept_bytes): Likewise.
37331 * string/strcoll_l.c (STRCOLL): Likewise.
37332 * string/strxfrm_l.c (STRXFRM): Likewise.
37333
9d65ea3a
UD
373342011-11-17 Ulrich Drepper <drepper@gmail.com>
37335
37336 * Makefile.in: Remove CVSOPT handling.
37337 * configure.in: Remove use of AC_REVISION.
37338 * iconvdata/Makefile (distribute): No need to filter out CVS.
37339 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37340 handling.
37341
5583a086
AS
373422011-11-16 Andreas Schwab <schwab@redhat.com>
37343
37344 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37345 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37346 [USE_AS_STRNCASECMP_L]: Likewise.
37347 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37348 NO_TLS_DIRECT_SEG_REFS.
37349 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37350 Fix argument offsets for non-PIC.
37351 [USE_AS_STRNCASECMP_L]: Likewise.
37352 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37353 NO_TLS_DIRECT_SEG_REFS.
37354
d62a8200
UD
373552011-11-15 Ulrich Drepper <drepper@gmail.com>
37356
9d65ea3a 37357 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
37358 O_CLOEXEC.
37359 * locale/loadlocale.c (_nl_load_locale): Likewise.
37360
09f93bd3
AS
373612011-11-15 Andreas Schwab <schwab@redhat.com>
37362
446514f9
AS
37363 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37364 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37365 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37366 (SYSCALL_GETTIME): Set errno on error.
37367
09f93bd3
AS
37368 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37369 count references to noai6ai_cached.
37370
312be3f9
UD
373712011-11-15 Ulrich Drepper <drepper@gmail.com>
37372
37373 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37374
37375 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37376 FD_CLOEXEC for /proc/self/maps.
37377
37378 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37379 FD_CLOEXEC for /proc/meminfo.
37380
37381 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37382 gai.conf.
37383
37384 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37385 FD_CLOEXEC for given file.
37386
37387 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37388
37389 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37390 FD_CLOEXEC for /etc/hosts.
37391 (_gethtent): Likewise.
37392
37393 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37394
37395 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37396 cancellation and set FD_CLOEXEC for /etc/netgroup.
37397
37398 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37399 reading /etc/publickey.
37400
37401 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37402 allow cancellation when reading /etc/group.
37403
37404 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37405 cancellation.
37406 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37407
37408 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37409 when using data file.
37410
37411 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37412
37413 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37414 (write_nis_obj): Use "c" and "e" in fopen.
37415
37416 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37417
37418 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37419
37420 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37421
37422 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37423
37424 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37425 locale.alias.
37426
37427 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37428
37429 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37430
37431 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37432
37433 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37434 file parsing and set FD_CLOEXEC.
37435
82af0fa8
UD
374362011-11-14 Ulrich Drepper <drepper@gmail.com>
37437
37438 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37439
a5fb313c
AS
374402011-11-14 Andreas Schwab <schwab@redhat.com>
37441
37442 * malloc/arena.c (arena_get2): Don't call reused_arena when
37443 _int_new_arena failed.
37444
6abf3465
UD
374452011-11-14 Ulrich Drepper <drepper@gmail.com>
37446
37447 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37448 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37449 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37450 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37451 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37452 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37453 to compile strcasecmp and strncasecmp.
37454 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37455 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37456
37457 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37458
76e3966e
UD
374592011-11-13 Ulrich Drepper <drepper@gmail.com>
37460
37461 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37462 locale-defines.sym to gen-as-const-headers.
37463 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37464 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37465 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37466 to compile strcasecmp and strncasecmp.
37467 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37468 strcasecmp_l and strncasecmp_l.
37469 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37470 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37471 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37472 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37473 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37474 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37475 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37476 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37477 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37478 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37479 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37480
ab26144e
UD
374812011-11-12 Ulrich Drepper <drepper@gmail.com>
37482
7edb22ef
UD
37483 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37484 result of SYSDEP_GETTIME_CPU to retval.
37485 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37486 parameter list to macro. Remove trailing semicolon. Adjust users.
37487
9694fc44
UD
37488 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37489 variable.
37490
8ad89ef8
UD
37491 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37492 mantissa words.
37493 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37494
0c822ef9
UD
37495 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37496 from unused variable.
37497
874e0564
UD
37498 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37499 DWARF definitions.
37500 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37501 for assembling.
37502
3a2edc79
UD
37503 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37504 over namespaces.
37505
f3c2577f
UD
37506 * sunrpc/rpc_prot.c (rejected): Fix case value.
37507
294ce126
UD
37508 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37509 unsigned long long int to avoid warnings in shift.
37510
5e2b63c6
UD
37511 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37512 of use of trans.
37513 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37514 variable tmp.
37515
e7f4b08e
UD
37516 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37517 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37518 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37519
ab26144e
UD
37520 * nis/nis_table.c (nis_list): Use variable of correct type for
37521 result of __follow_path call.
37522
8a6d5255
AZ
375232011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37524
37525 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37526 of math functions ceil, trunc, floor, round, and sqrt, when
37527 avaliable on the platform.
37528 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37529 name clash.
37530 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37531 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37532 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37533
aaddc98c
MP
375342011-10-30 Marek Polacek <mpolacek@redhat.com>
37535
37536 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37537 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37538
95b7042b
RM
375392011-11-11 Roland McGrath <roland@hack.frob.com>
37540
37541 * include/unistd.h: Fix __readlink return type.
37542 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37543
57769839
UD
375442011-11-11 Ulrich Drepper <drepper@gmail.com>
37545
37546 * stdlib/ucontext.h: Undo last change for makecontext.
37547
edc5984d
AS
375482011-11-11 Andreas Schwab <schwab@redhat.com>
37549
98591e58
AS
37550 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37551
edc5984d
AS
37552 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37553 * setjmp/setjmp.h: Mark functions as non-leaf.
37554 * setjmp/bits/setjmp2.h: Likewise.
37555 * stdlib/ucontext.h: Likewise.
37556
77cdc054
AS
375572011-11-10 Andreas Schwab <schwab@redhat.com>
37558
37559 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37560 (reused_arena): Don't check arena limit.
37561 (arena_get2): Atomically check arena limit.
37562
fe72eebd
UD
375632011-11-08 Ulrich Drepper <drepper@gmail.com>
37564
5f078c32
UD
37565 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37566 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37567
fe72eebd
UD
37568 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37569 instructions.
37570
ae1bc2fa
AS
375712011-11-07 Andreas Schwab <schwab@redhat.com>
37572
7583a88d
AS
37573 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37574 handler when locking.
37575
ae1bc2fa
AS
37576 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37577 Fix size of allocated buffer.
37578
10fb0bfa
AS
375792011-11-04 Andreas Schwab <schwab@redhat.com>
37580
998832a4
AS
37581 [BZ #10103]
37582 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37583 declarations for long double functions.
37584 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37585
10fb0bfa
AS
37586 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37587
3d7ba52b
AS
375882011-11-03 Andreas Schwab <schwab@redhat.com>
37589
a9ae54a1
AS
37590 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37591 installed.
37592
3d7ba52b
AS
37593 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37594 is disabled.
37595
bc8db248
ST
375962011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37597
37598 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37599
45b96dd6
AS
376002011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37601
647776f6
AS
37602 * include/alloca.h (stackinfo_alloca_round): Define.
37603 (extend_alloca): Use it.
37604 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37605 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37606 here.
37607
d91a8b93
AS
37608 * scripts/check-local-headers.sh: Ignore libaudit.h.
37609
45b96dd6
AS
37610 * nscd/Makefile (extra-objs): Make recursively expanded.
37611
432d41ce
UD
376122011-11-01 Ulrich Drepper <drepper@gmail.com>
37613
34372fc6
UD
37614 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37615 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37616
fadb59f8
UD
37617 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37618 * posix/tst-rfc3484-2.c: Likewise.
37619 * posix/tst-rfc3484-3.c: Likewise.
37620
78239589
UD
37621 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37622 process_vm_writev.
37623 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37624 process_vm_writev.
37625 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37626 process_vm_writev from libc using GLIBC_2.15 version.
37627
432d41ce
UD
37628 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37629
02f9c6cf
PP
376302011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37631
37632 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37633 stack usage.
37634
3a2c0242
UD
376352011-10-31 Ulrich Drepper <drepper@gmail.com>
37636
f4ec4833
UD
37637 [BZ #13367]
37638 * nss/getent.c (initgroups_keys): Show error message in case no group
37639 names are given.
37640
3a2c0242
UD
37641 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37642 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37643 __bump_nl_timestamp.
37644 * nscd/connections (nscd_init): When host database is served open
37645 netlink socket and request notification about configuration changes.
37646 (main_loop_poll): Track netlink file descriptor and bump timestamp
37647 in case data becomes available.
37648 (main_loop_epoll): Likewise.
37649 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37650 (database_pers_head): Add extra_data fileds.
37651 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37652 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37653 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37654 Adjust caller.
37655 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37656 in6ai data, call __free_in6ai.
37657 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37658 Add -DHAVE_NETLINK.
37659 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37660 interface information. Reuse previous data if netlink timestamp
37661 is not changed.
37662 (__bump_nl_timestamp): New function.
37663 (__free_in6ai): New function.
37664
636064eb
UD
376652011-10-30 Ulrich Drepper <drepper@gmail.com>
37666
37667 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37668 close_not_cancel_no_status here.
37669 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37670
9beb2334
UD
376712011-10-29 Ulrich Drepper <drepper@gmail.com>
37672
6ef76f3b
UD
37673 [BZ #13276]
37674 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37675 return value.
37676
0ffc4f3e 37677 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
37678 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37679 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37680
cb95113e
UD
376812011-07-03 Andreas Jaeger <aj@suse.de>
37682
37683 [BZ #10709]
37684 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37685 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37686 * math/libm-test.inc (sin_test): Add test case.
37687
a1b560ff
UD
376882011-10-29 Ulrich Drepper <drepper@gmail.com>
37689
c9aaface
UD
37690 [BZ #13337]
37691 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37692 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37693
d272e7f1
UD
37694 * elf/chroot_canon.c (chroot_canon): Cleanups.
37695
1bc33071
UD
37696 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37697
1760874d
TJ
37698 [BZ #13335]
37699 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37700 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37701
51d91b18
UD
37702 * string/test-strchr.c: Make usable for strchrnul testing.
37703 * string/test-strchrnul.c: New file.
37704 * string/Makefile (strop-tests): Add strchrnul.
37705
a1b560ff 37706 * po/it.po: Update from translation team.
b611fb81 37707 * po/es.po: Likewise.
a1b560ff 37708
a5b81e1f
UD
377092011-10-28 Ulrich Drepper <drepper@gmail.com>
37710
fd52bc6d
UD
37711 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37712 the three constants needed as parameters. Drop the others.
37713 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37714 __m128i_strloadu_tolower.
52e4b9eb
UD
37715 Create and initialize variable zero and use it in all the places
37716 where _mm_setzero_si128 was used.
fd52bc6d 37717
a5b81e1f
UD
37718 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37719 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37720 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37721 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37722 anymore.
37723 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37724 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37725 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37726 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37727 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37728 __mpranred, __mptan.
37729 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37730 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37731 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37732 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37733 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37734 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37735 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37736 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37737 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37738
b4343346
AS
377392011-10-28 Andreas Schwab <schwab@redhat.com>
37740
0c92d8a8
AS
37741 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37742 redefine if SHARED.
37743 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37744
b4343346
AS
37745 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37746 wide char related routines to wcsmbs subdir.
37747
3871f58f
AS
377482011-10-27 Andreas Schwab <schwab@redhat.com>
37749
37750 [BZ #13344]
37751 * misc/sys/cdefs.h (__THROWNL): Define.
37752 * posix/unistd.h: Use __THREADNL instead of __THREAD
37753 for memory synchronization functions.
37754
94d44d9f
RM
377552011-10-26 Roland McGrath <roland@hack.frob.com>
37756
21b64b15 37757 [BZ #13349]
94d44d9f
RM
37758 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37759 doesn't exist.
37760 * manual/stdio.texi (Obstack Streams): Node removed.
37761
f6ce9294
AS
377622011-10-26 Andreas Schwab <schwab@redhat.com>
37763
80479147
AS
37764 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37765 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37766 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37767
f6ce9294
AS
37768 * math/math_private.h (math_force_eval): Allow non-addressable
37769 arguments.
37770 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37771
618280a1
UD
377722011-10-25 Ulrich Drepper <drepper@gmail.com>
37773
e0016b11
UD
37774 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37775 file is not needed.
37776
37777 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37778 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37779 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37780 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37781 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37782 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37783 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37784 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37785 Add AVX variants.
37786 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37787 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37788 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37789 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37790 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37791 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37792 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37793 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37794 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37795 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37796 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37797 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37798 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37799 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37800 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37801 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37802 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37803 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37804 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37805
37806 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37807 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37808
618280a1
UD
37809 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37810 place. Use VEX encoding when compiling for AVX.
37811
37822576
AS
378122011-10-25 Andreas Schwab <schwab@redhat.com>
37813
1f1e1947
AS
37814 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37815 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37816
37822576
AS
37817 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37818
31ea014d
UD
378192011-10-25 Ulrich Drepper <drepper@gmail.com>
37820
d7826aa1 37821 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37822 useless if() expression.
d7826aa1
UD
37823 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37824 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37825 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37826 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37827 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37828 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37829 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37830 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37831 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37832 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37833 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37834 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37835 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37836 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37837 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37838 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37839 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37840 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37841 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37842
31ea014d
UD
37843 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37844
16437fec
AS
378452011-10-25 Andreas Schwab <schwab@redhat.com>
37846
37847 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37848 condition.
37849 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37850
31d3cc00
UD
378512011-10-25 Ulrich Drepper <drepper@gmail.com>
37852
37853 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37854 .text section. Avoid duplicate constants.
37855 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37856 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37857 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37858 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37859 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37860 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37861 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37862 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37863 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37864 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37865 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37866 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37867 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37868 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37869 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37870 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37871 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37872 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37873 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37874 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37875 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37876 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37877 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37878 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37879 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37880 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37881 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37882 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37883 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37884 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37885 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37886 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37887 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37888 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37889 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37890 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37891 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37892 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37893 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37894 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37895 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37896 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37897 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37898 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37899 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37900
58985aa9
UD
379012011-10-24 Ulrich Drepper <drepper@gmail.com>
37902
202c9deb
UD
37903 * sysdeps/x86_64/dla.h: Move to ...
37904 * sysdeps/x86_64/fpu/dla.h: ...here.
37905 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37906 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37907
af968f62
UD
37908 * config.make.in: Add have-mfma4 entry.
37909 * configure.in: Substitute libc_cv_cc_fma4.
37910 * math/Makefile (dbl-only-routines): Add sincostab.
37911 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37912 Use __sincostab not sincos.
37913 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37914 name is a macro.
37915 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37916 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37917 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37918 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37919 using __copysign.
37920 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37921 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37922 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37923 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37924 and __inv.
37925 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37926 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37927 __copysign.
37928 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37929 define aliases when function name is a macro.
37930 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37931 sysdeps/ieee754/dbl-64/sincos.tbl.
37932 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37933 fma4-enabled routines.
37934 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37935 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37936 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37937 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37938 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37939 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37940 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37941 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37942 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37943 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37944 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37945 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37946 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37947 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37948 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37949 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37950 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37951 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37952 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37953 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37954 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37955 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37956 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37957 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37958 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37959 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37960 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37961 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37962 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37963 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37964
58985aa9
UD
37965 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37966 rename.
37967 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37968 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37969 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37970 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37971 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37972 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37973 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37974 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37975
a201fbcf
AS
379762011-10-24 Andreas Schwab <schwab@redhat.com>
37977
37978 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37979
fc2ee42a
LD
379802011-10-23 Ulrich Drepper <drepper@gmail.com>
37981
bb3129bd
UD
37982 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37983
0275fff8
UD
37984 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37985 prediction.
37986 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37987
2fa2ae85
UD
37988 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37989 Remove unused variable magic_bits.
37990 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37991
fc2ee42a
LD
37992 * string/strnlen.c: Define and use STRNLEN macro.
37993 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37994 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37995 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37996 * wcsmbs/wcslen.c: Define and use WCSLEN.
37997 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37998 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37999 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38000 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38001 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38002 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38003 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38004
ce7dd29f
LD
380052011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38006
38007 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38008 strnlen-sse2-no-bsf.
38009 Rename strlen-no-bsf to strlen-sse2-no-bsf.
38010 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38011 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38012 Add strnlen support.
38013 (USE_AS_STRNLEN): New macro.
38014 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38015 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38016 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38017 * sysdeps/x86_64/wcslen.S: New file.
38018
979c70a3
MZ
380192011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
38020
38021 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38022 XMM-moves are used for copying on small sizes.
38023
2d09f82f
LD
380242011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38025
38026 * wcsmbs/Makefile (strop-tests): Add wcschr.
38027 * wcsmbs/test-wcschr.c: New file.
38028 * string/test-strchr.c: Update.
38029 Add wcschr support.
38030 (WIDE): New macro.
38031
619fccca
LD
380322011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38033
2d09f82f 38034 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
38035 * wcsmbs/test-wcslen.c: New file.
38036 * string/test-strlen.c: Update.
38037 Add wcslen support.
38038 (WIDE): New macro.
38039
09f699ea
UD
380402011-10-23 Ulrich Drepper <drepper@gmail.com>
38041
38042 * po/it.po: Update from translation team.
38043
95584d3b
LD
380442011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38045
38046 * sysdeps/x86_64/wcscmp.S: Update.
38047 Fix wrong comparison semantics.
38048 wcscmp shall use signed comparison not unsigned.
38049 Don't use substraction to avoid overflow bug.
38050 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38051 * wcsmbc/wcscmp.c: Likewise.
38052 * string/test-strcmp.c: Likewise.
38053 Add new tests to check cases with negative values.
38054
c8b3296b
UD
380552011-10-23 Ulrich Drepper <drepper@gmail.com>
38056
38057 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38058 * sysdeps/x86_64/dla.h: ...here. New file.
38059 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38060 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38061 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38062 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38063 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38064 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38065 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38066 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38067 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38068
246ad57a
AS
380692011-10-23 Andreas Schwab <schwab@linux-m68k.org>
38070
38071 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38072 __ynl_finite aliases.
38073
a1a87169
UD
380742011-10-22 Ulrich Drepper <drepper@gmail.com>
38075
0d355eb7
UD
38076 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38077
a1a87169
UD
38078 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38079 define DLA_FMA.
38080 [DLA_FMA] (EMULV): Use DLA_FMA.
38081 [DLA_FMA] (MUL12): Use EMULV.
38082 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38083 that are not needed.
38084 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38085 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38086 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38087 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38088 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38089 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38090 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38091
ee2aafe0
AS
380922011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38093
38094 * math/s_nan.c: Undef __nan.
38095 * math/s_nanf.c: Undef __nanf.
38096 * math/s_nanl.c: Undef __nanl.
38097 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38098 "math_private.h".
38099
bc62c2fb
UD
381002011-10-22 Ulrich Drepper <drepper@gmail.com>
38101
77425c63
UD
38102 * math/s_catan.c: Add branch predictions.
38103 * math/s_catanf.c: Likewise.
38104 * math/s_catanh.c: Likewise.
38105 * math/s_catanhf.c: Likewise.
38106 * math/s_catanhl.c: Likewise.
38107 * math/s_catanl.c: Likewise.
38108 * math/s_cexp.c: Likewise.
38109 * math/s_cexpf.c: Likewise.
38110 * math/s_cexpl.c: Likewise.
38111 * math/s_clog.c: Likewise.
38112 * math/s_clog10.c: Likewise.
38113 * math/s_clog10f.c: Likewise.
38114 * math/s_clog10l.c: Likewise.
38115 * math/s_clogf.c: Likewise.
38116 * math/s_clogl.c: Likewise.
38117 * math/s_csqrt.c: Likewise.
38118 * math/s_csqrtf.c: Likewise.
38119 * math/s_csqrtl.c: Likewise.
38120 * math/s_ctanf.c: Likewise.
38121 * math/s_ctanh.c: Likewise.
38122 * math/s_ctanhf.c: Likewise.
38123 * math/s_ctanhl.c: Likewise.
38124 * math/s_ctanl.c: Likewise.
38125
bc62c2fb
UD
38126 * math/math_private.h: Define __nan, __nanf, __nanl.
38127 * math/s_cacosh.c: Include <math_private.h>.
38128 * math/s_cacoshl.c: Likewise.
38129 * math/s_casinh.c: Likewise.
38130 * math/s_casinhf.c: Likewise.
38131 * math/s_casinhl.c: Likewise.
38132 * math/s_ccos.c: Rely entire on ccosh.
38133 * math/s_ccosf.c: Rely entire on ccoshf.
38134 * math/s_ccosl.c: Rely entirely on ccoshl.
38135 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38136 Remove tests for FE_INVALID.
38137 * math/s_ccoshf.c: Likewise.
38138 * math/s_ccoshl.c: Likewise.
38139 * math/s_csin.c: Likewise.
38140 * math/s_csinf.c: Likewise.
38141 * math/s_csinh.c Likewise.
38142 * math/s_csinhf.c: Likewise.
38143 * math/s_csinhl.c: Likewise.
38144 * math/s_csinl.c: Likewise.
38145 * math/s_ctan.c: Likewise.
38146 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38147 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38148 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38149
8ec250a4
UD
381502011-10-21 Ulrich Drepper <drepper@gmail.com>
38151
c196fed8
UD
38152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38153 compilation problems.
38154
8ec250a4
UD
38155 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38156 __builtin_expect.
38157
8d4f46c6
UD
381582011-10-20 Ulrich Drepper <drepper@gmail.com>
38159
ed72b654
UD
38160 * sysdeps/i386/configure.in: Test for -mfma4 option.
38161 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38162 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38163 COMMON_CPUID_INDEX_80000001.
38164 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38165 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38166 use it if FMA3 is not supported.
38167 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38168
8d4f46c6
UD
38169 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38170 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38171
d45c60c2
AS
381722011-10-20 Andreas Schwab <schwab@redhat.com>
38173
38174 [BZ #12892]
38175 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38176 it would create a cycle with a link time dependency.
38177
d9a4d2ab
UD
381782011-10-19 Ulrich Drepper <drepper@gmail.com>
38179
855d1560
UD
38180 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38181 instruction.
38182 * string/Makefile (strop-tests): Add rawmemchr.
38183 * string/test-rawmemchr.c: New file.
38184
d9a4d2ab
UD
38185 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38186 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38187 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38188 when compiling str{,n}casecmp and when AVX is available. Hook up
38189 new optimized code in initializers.
38190
8f3b1ffe
AS
381912011-10-19 Andreas Schwab <schwab@redhat.com>
38192
38193 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38194 __feraiseexcept instead of feraiseexcept.
38195
d38f1dba
UD
381962011-10-18 Ulrich Drepper <drepper@gmail.com>
38197
d9a8d0ab
UD
38198 * math/math_private.h: Define defaults for libc_fetestexcept and
38199 libc_feupdateenv.
38200 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38201 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38202 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38203 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38204 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38205 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38206 libc_fetestexcept and libc_feupdateenv.
38207
4855e3dd
UD
38208 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38209 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38210 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38211 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38212 libc_feholdexcept_setround.
38213
581d30e3
UD
38214 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38215 Add s_nearbyint-c and s_nearbyintf-c.
38216 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38217 nearbyintf inlines.
38218 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38219 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38220 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38221 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38222
d38f1dba
UD
38223 * math/math_private.h: Define defaults for libc_fegetround,
38224 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38225 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38226 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38227 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38228 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38229 standard functions.
38230 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38231 Remove comments and hacks for old compiler versions.
38232 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38233 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38234 libc_feholdexceptl.
38235
caa6c9d8
AS
382362011-10-18 Andreas Schwab <schwab@redhat.com>
38237
38238 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
38239 (__feraiseexcept_renamed): Add __NTH.
38240 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
38241 namespace violations.
38242
97c066e6
UD
382432011-10-17 Ulrich Drepper <drepper@gmail.com>
38244
99ce7b04
UD
38245 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38246
1004d182
UD
38247 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38248
228a984d
UD
38249 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38250 recently added interfaces.
38251 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38252
c8553a6a
UD
38253 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38254 about macro parameter expansion.
38255
ed22dcf6
UD
38256 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38257 __NO_MATH_INLINES is defined. Cleanups.
38258
38259 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38260 and __floorf is target has SSE4.1.
38261 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38262 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38263 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38264 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38265
b171c137
UD
38266 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38267 name.
38268 (floorf): Likewise.
38269
97c066e6
UD
38270 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38271
629f62ef
AS
382722011-10-17 Andreas Schwab <schwab@redhat.com>
38273
49a43d80
AS
38274 * misc/sys/cdefs.h: Fix last change.
38275
629f62ef
AS
38276 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38277 database lookup.
38278
e453f6cd
UD
382792011-10-16 Ulrich Drepper <drepper@gmail.com>
38280
aa78043a
UD
38281 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38282
ad0f5cad
UD
38283 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38284 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38285 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38286 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38287 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38288 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38289 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38290 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38291 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38292 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38293 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38294 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38295 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38296 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38297 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38298 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38299 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38300 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38301 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38302 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38303 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38304 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38305
38306 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38307 ceil, ceilf, floor, floorf.
38308
38309 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38310 Perform IRELATIVE relocations last.
38311
e453f6cd
UD
38312 * elf/do-rel.h: Add another parameter nrelative, replacing the
38313 local variable with the same name. Change name of the function
38314 to end in Rel or Rela (uppercase).
38315 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38316 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38317 elf_dynamic_do_##reloc function.
38318
fd5bdc09
UD
383192011-10-15 Ulrich Drepper <drepper@gmail.com>
38320
79b195b5
UD
38321 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38322 is sufficient, at least on modern CPUs.
38323
d4a28569
UD
38324 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38325
b61099b5
UD
38326 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38327 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38328
bcf01e6d
UD
38329 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38330 __expl_finite.
38331 * math/bits/math-finite.h: Add entries for exp.
38332 * math/e_expl.c: Add __*_finite alias.
38333 * sysdeps/i386/fpu/e_exp.S: Likewise.
38334 * sysdeps/i386/fpu/e_expf.S: Likewise.
38335 * sysdeps/i386/fpu/e_expl.c: Likewise.
38336 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38337 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38338 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38339 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38340 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38341 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38342 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38343
ba1a0d59
UD
38344 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38345 is sufficient, at least on modern CPUs.
38346
fd5bdc09
UD
38347 * ctype/ctype-info.c (__ctype_init): Define.
38348 * include/ctype.h (__ctype_init): Declare.
38349 (__ctype_b_loc): The variable is always initialized.
38350 (__ctype_toupper_loc): Likewise.
38351 (__ctype_tolower_loc): Likewise.
38352 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38353 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38354
7872cfb0
AS
383552011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38356
b468825a
AS
38357 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38358
7872cfb0
AS
38359 * configure.in: Also look in $cxxmachine/include for C++ system
38360 headers.
38361
be13f7bf
LD
383622011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38363
38364 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38365 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38366 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38367 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38368 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38369 (USE_AS_WMEMCMP): New macro.
38370 Fixing indents.
38371 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38372 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38373 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38374 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38375 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38376 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38377 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38378 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38379 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38380 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38381 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38382 (USE_AS_WMEMCMP): New macro.
38383 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38384 * sysdeps/string/test-memcmp.c: Update.
38385 Fix simple_wmemcmp.
38386 Add new tests.
38387 * wcsmbs/wmemcmp.c: Update.
38388 (WMEMCMP): New macro.
38389 Fix overflow bug.
38390
556a2007
AJ
383912011-10-12 Andreas Jaeger <aj@suse.de>
38392
38393 [BZ #13268]
38394 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38395
538faaa7
UD
383962011-10-15 Ulrich Drepper <drepper@gmail.com>
38397
ab6737ff
UD
38398 * libio/iofwide.c (do_length): Avoid warning.
38399
538faaa7
UD
38400 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38401
396a21b1
UD
384022011-10-14 Ulrich Drepper <drepper@gmail.com>
38403
cdf2901f
UD
38404 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38405
38ad40ce
UD
38406 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38407 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38408 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38409 * sysdeps/i386/i686/fpu/e_log.S: New file.
38410 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38411 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38412
396a21b1
UD
38413 * ctype/ctype.h: Add support for inlined isXXX functions when
38414 compiling C++ code.
38415
6b1f68c9
AS
384162011-10-14 Andreas Schwab <schwab@redhat.com>
38417
349290c0
AS
38418 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38419
6b1f68c9
AS
38420 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38421
f2282d42
RM
384222011-10-13 Roland McGrath <roland@hack.frob.com>
38423
38424 [BZ #13291]
38425 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38426
5298ffa8
AS
384272011-10-13 Andreas Schwab <schwab@redhat.com>
38428
714fad23
AS
38429 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38430 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38431 feraiseexcept.
38432
81dcc7fb
AS
38433 * sysdeps/x86_64/memrchr.S: Check for zero size.
38434
5298ffa8
AS
38435 * string/stratcliff.c: Add memrchr tests.
38436
951fbcec
LD
384372011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38438
38439 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38440 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38441 rawmemchr-sse2 rawmemchr-sse2-bsf.
38442 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38443 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38444 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38445 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38446 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38447 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38448 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38449 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38450 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38451 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38452 * string/memrchr.c (MEMRCHR): New macro.
38453
0ac5ae23
UD
384542011-10-12 Ulrich Drepper <drepper@gmail.com>
38455
38456 Add integration with gcc's -ffinite-math-only and optimize wrapper
38457 functions in libm.
38458 * Versions.def: Define GLIBC_2.15 version for libm.
38459 * math/Makefile (headers): Add bits/math-finite.h.
38460 * math/bits/math-finite.h: New file.
38461 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38462 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38463 * math/e_acoshl.c: Add __*_finite alias.
38464 * math/e_acosl.c: Likewise.
38465 * math/e_asinl.c: Likewise.
38466 * math/e_atan2l.c: Likewise.
38467 * math/e_atanhl.c: Likewise.
38468 * math/e_coshl.c: Likewise.
38469 * math/e_exp10.c: Likewise.
38470 * math/e_exp10f.c: Likewise.
38471 * math/e_exp10l.c: Likewise.
38472 * math/e_exp2l.c: Likewise.
38473 * math/e_fmodl.c: Likewise.
38474 * math/e_gammal_r.c: Likewise.
38475 * math/e_hypotl.c: Likewise.
38476 * math/e_j0l.c: Likewise.
38477 * math/e_j1l.c: Likewise.
38478 * math/e_jnl.c: Likewise.
38479 * math/e_lgammal_r.c: Likewise.
38480 * math/e_log10l.c: Likewise.
38481 * math/e_log2l.c: Likewise.
38482 * math/e_logl.c: Likewise.
38483 * math/e_powl.c: Likewise.
38484 * math/e_sinhl.c: Likewise.
38485 * math/e_sqrtl.c: Likewise.
38486 * math/e_scalb.c: Completely rewritten and optimized.
38487 * math/e_scalbf.c: Likewise.
38488 * math/e_scalbl.c: Likewise.
38489 * math/w_acos.c: Likewise.
38490 * math/w_acosf.c: Likewise.
38491 * math/w_acosl.c: Likewise.
38492 * math/w_acosh.c: Likewise.
38493 * math/w_acoshf.c: Likewise.
38494 * math/w_acoshl.c: Likewise.
38495 * math/w_asin.c: Likewise.
38496 * math/w_asinf.c: Likewise.
38497 * math/w_asinl.c: Likewise.
38498 * math/w_atan2.c: Likewise.
38499 * math/w_atan2f.c: Likewise.
38500 * math/w_atan2l.c: Likewise.
38501 * math/w_atanh.c: Likewise.
38502 * math/w_atanhf.c: Likewise.
38503 * math/w_atanhl.c: Likewise.
38504 * math/w_exp10.c: Likewise.
38505 * math/w_exp10f.c: Likewise.
38506 * math/w_exp10l.c: Likewise.
38507 * math/w_fmod.c: Likewise.
38508 * math/w_fmodf.c: Likewise.
38509 * math/w_fmodl.c: Likewise.
38510 * math/w_j0.c: Likewise.
38511 * math/w_j0f.c: Likewise.
38512 * math/w_j0l.c: Likewise.
38513 * math/w_j1.c: Likewise.
38514 * math/w_j1f.c: Likewise.
38515 * math/w_j1l.c: Likewise.
38516 * math/w_jn.c: Likewise.
38517 * math/w_jnf.c: Likewise.
38518 * math/w_log.c: Likewise.
38519 * math/w_logf.c: Likewise.
38520 * math/w_logl.c: Likewise.
38521 * math/w_log10.c: Likewise.
38522 * math/w_log10f.c: Likewise.
38523 * math/w_log10l.c: Likewise.
38524 * math/w_log2.c: Likewise.
38525 * math/w_log2f.c: Likewise.
38526 * math/w_log2l.c: Likewise.
38527 * math/w_pow.c: Likewise.
38528 * math/w_powf.c: Likewise.
38529 * math/w_powl.c: Likewise.
38530 * math/w_remainder.c: Likewise.
38531 * math/w_remainderf.c: Likewise.
38532 * math/w_remainderl.c: Likewise.
38533 * math/w_scalb.c: Likewise.
38534 * math/w_scalbf.c: Likewise.
38535 * math/w_scalbl.c: Likewise.
38536 * math/w_sqrt.c: Likewise.
38537 * math/w_sqrtf.c: Likewise.
38538 * math/w_sqrtl.c: Likewise.
38539 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38540 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38541 used.
38542 * math/math_private.h: Declare __kernel_standard_f.
38543 * math/w_cosh.c: Remove cruft and optimize a bit.
38544 * math/w_coshf.c: Likewise.
38545 * math/w_coshl.c: Likewise.
38546 * math/w_exp2.c: Likewise.
38547 * math/w_exp2f.c: Likewise.
38548 * math/w_exp2l.c: Likewise.
38549 * math/w_hypot.c: Likewise.
38550 * math/w_hypotf.c: Likewise.
38551 * math/w_hypotl.c: Likewise.
38552 * math/w_lgamma.c: Likewise.
38553 * math/w_lgamma_r.c: Likewise.
38554 * math/w_lgammaf.c: Likewise.
38555 * math/w_lgammaf_r.c: Likewise.
38556 * math/w_lgammal.c: Likewise.
38557 * math/w_lgammal_r.c: Likewise.
38558 * math/w_sinh.c: Likewise.
38559 * math/w_sinhf.c: Likewise.
38560 * math/w_sinhl.c: Likewise.
38561 * math/w_tgamma.c: Likewise.
38562 * math/w_tgammaf.c: Likewise.
38563 * math/w_tgammal.c: Likewise.
38564 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38565 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38566 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38567 Minor optimizations. Pretty printing. Remove cruft.
38568 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38569 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38570 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38571 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38572 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38573 * sysdeps/i386/fpu/e_asin.S: Likewise.
38574 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38575 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38576 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38577 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38578 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38579 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38580 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38581 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38582 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38583 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38584 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38585 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38586 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38587 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38588 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38589 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38590 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38591 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38592 * sysdeps/i386/fpu/e_log.S: Likewise.
38593 * sysdeps/i386/fpu/e_log10.S: Likewise.
38594 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38595 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38596 * sysdeps/i386/fpu/e_log2.S: Likewise.
38597 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38598 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38599 * sysdeps/i386/fpu/e_logf.S: Likewise.
38600 * sysdeps/i386/fpu/e_logl.S: Likewise.
38601 * sysdeps/i386/fpu/e_pow.S: Likewise.
38602 * sysdeps/i386/fpu/e_powf.S: Likewise.
38603 * sysdeps/i386/fpu/e_powl.S: Likewise.
38604 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38605 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38606 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38607 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38608 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38609 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38610 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38611 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38612 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38613 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38614 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38615 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38616 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38617 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38618 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38619 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38620 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38621 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38622 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38623 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38624 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38625 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38626 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38627 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38628 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38629 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38630 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38631 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38632 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38633 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38634 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38635 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38636 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38637 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38638 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38639 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38640 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38641 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38642 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38643 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38644 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38645 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38646 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38647 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38648 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38649 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38650 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38651 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38652 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38653 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38654 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38655 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38656 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38657 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38658 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38659 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38660 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38661 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38662 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38663 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38664 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38665 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38666 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38667 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38668 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38669 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38670 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38671 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38672 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38673 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38674 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38675 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38676 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38677 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38678 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38679 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38680 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38681 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38682 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38683 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38684 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38685 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38686 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38687 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38688 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38689 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38690 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38691 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38692 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38693 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38694 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38695 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38696 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38697 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38698 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38699 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38700 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38701 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38702 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38703 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38704 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38705 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38706 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38707 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38708 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38709 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38710 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38711 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38712 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38713 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38714 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38715 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38716 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38717 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38718 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38719 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38720 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38721 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38722 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38723 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38724 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38725 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38726 (__isnanf): Likewise.
38727 (__isinf_ns): Likewise.
38728 (__isinf_nsf): Likewise.
38729 (__finite): Likewise.
38730 (__finitef): Likewise.
38731 (__ieee754_sqrt): Define as macro.
38732 (__ieee754_sqrtf): Define as macro.
38733 (__ieee754_sqrtl): Define as macro.
38734 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38735 inlined copy.
38736 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38737 __FINITE_MATH_ONLY__ consistent.
38738 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38739
12cc2fcd
AS
387402011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38741
a843a204
AS
38742 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38743 of rawmemchr.
38744
12cc2fcd
AS
38745 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38746
c853acd5
UD
387472011-10-09 Ulrich Drepper <drepper@gmail.com>
38748
38749 * po/ja.po: Update from translation team.
38750
c658d255
RM
387512011-10-08 Roland McGrath <roland@hack.frob.com>
38752
110946e4
RM
38753 * locale/programs/locarchive.c (prepare_address_space): New function.
38754 (create_archive, enlarge_archive, open_archive): Use it.
38755
50604220
RM
38756 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38757 inside [SHARED], where it is used.
38758
c658d255
RM
38759 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38760
38761 * nss/getent.c (netgroup_keys): Remove unused variable.
38762 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38763
6a621eb7
UD
387642011-10-08 Ulrich Drepper <drepper@gmail.com>
38765
7edb55ce
UD
38766 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38767 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38768 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38769 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38770 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38771 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38772 * math/Makefile (libm-calls): Add s_isinf_ns.
38773 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38774 * math/multc3.c: Likewise.
38775 * math/s_casin.c: Likewise.
38776 * math/s_casinf.c: Likewise.
38777 * math/s_casinl.c: Likewise.
38778 * math/s_ccos.c: Likewise.
38779 * math/s_ccosf.c: Likewise.
38780 * math/s_ccosl.c: Likewise.
38781 * math/s_ctan.c: Likewise.
38782 * math/s_ctanf.c: Likewise.
38783 * math/s_ctanh.c: Likewise.
38784 * math/s_ctanhf.c: Likewise.
38785 * math/s_ctanhl.c: Likewise.
38786 * math/s_ctanl.c: Likewise.
38787 * math/w_fmod.c: Likewise.
38788 * math/w_fmodf.c: Likewise.
38789 * math/w_fmodl.c: Likewise.
38790 * math/w_remainder.c: Likewise.
38791 * math/w_remainderf.c: Likewise.
38792 * math/w_remainderl.c: Likewise.
38793 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38794 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38795 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38796 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38797 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38798 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38799 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38800 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38801
187da0ae
UD
38802 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38803 of the number.
38804 * stdio-common/printf_fphex.c: Likewise.
38805 * stdio-common/printf_size.c: Likewise.
38806
9277c064
UD
38807 * math/e_exp10.c: Include math_private.h using <...> not "...".
38808 * math/e_exp10f.c: Likewise.
38809 * math/e_exp10l.c: Likewise.
38810 * math/e_exp2l.c: Likewise.
38811 * math/e_j0l.c: Likewise.
38812 * math/e_j1l.c: Likewise.
38813 * math/e_jnl.c: Likewise.
38814 * math/e_lgammal_r.c: Likewise.
38815 * math/e_rem_pio2l.c: Likewise.
38816 * math/e_scalb.c: Likewise.
38817 * math/e_scalbf.c: Likewise.
38818 * math/e_scalbl.c: Likewise.
38819 * math/k_cosl.c: Likewise.
38820 * math/k_sinl.c: Likewise.
38821 * math/k_tanl.c: Likewise.
38822 * math/s_cacoshf.c: Likewise.
38823 * math/s_catan.c: Likewise.
38824 * math/s_catanf.c: Likewise.
38825 * math/s_catanh.c: Likewise.
38826 * math/s_catanhf.c: Likewise.
38827 * math/s_catanhl.c: Likewise.
38828 * math/s_catanl.c: Likewise.
38829 * math/s_ccosh.c: Likewise.
38830 * math/s_ccoshf.c: Likewise.
38831 * math/s_ccoshl.c: Likewise.
38832 * math/s_cexp.c: Likewise.
38833 * math/s_cexpf.c: Likewise.
38834 * math/s_cexpl.c: Likewise.
38835 * math/s_clog.c: Likewise.
38836 * math/s_clog10.c: Likewise.
38837 * math/s_clog10f.c: Likewise.
38838 * math/s_clog10l.c: Likewise.
38839 * math/s_clogf.c: Likewise.
38840 * math/s_clogl.c: Likewise.
38841 * math/s_csin.c: Likewise.
38842 * math/s_csinf.c: Likewise.
38843 * math/s_csinh.c: Likewise.
38844 * math/s_csinhf.c: Likewise.
38845 * math/s_csinhl.c: Likewise.
38846 * math/s_csinl.c: Likewise.
38847 * math/s_csqrt.c: Likewise.
38848 * math/s_csqrtf.c: Likewise.
38849 * math/s_csqrtl.c: Likewise.
38850 * math/s_ctan.c: Likewise.
38851 * math/s_ctanf.c: Likewise.
38852 * math/s_ctanh.c: Likewise.
38853 * math/s_ctanhf.c: Likewise.
38854 * math/s_ctanhl.c: Likewise.
38855 * math/s_ctanl.c: Likewise.
38856 * math/s_ldexp.c: Likewise.
38857 * math/s_ldexpf.c: Likewise.
38858 * math/s_ldexpl.c: Likewise.
38859 * math/s_significand.c: Likewise.
38860 * math/s_significandf.c: Likewise.
38861 * math/s_significandl.c: Likewise.
38862 * math/w_acos.c: Likewise.
38863 * math/w_acosf.c: Likewise.
38864 * math/w_acosh.c: Likewise.
38865 * math/w_acoshf.c: Likewise.
38866 * math/w_acoshl.c: Likewise.
38867 * math/w_acosl.c: Likewise.
38868 * math/w_asin.c: Likewise.
38869 * math/w_asinf.c: Likewise.
38870 * math/w_asinl.c: Likewise.
38871 * math/w_atan2.c: Likewise.
38872 * math/w_atan2f.c: Likewise.
38873 * math/w_atan2l.c: Likewise.
38874 * math/w_atanh.c: Likewise.
38875 * math/w_atanhf.c: Likewise.
38876 * math/w_atanhl.c: Likewise.
38877 * math/w_cosh.c: Likewise.
38878 * math/w_coshf.c: Likewise.
38879 * math/w_coshl.c: Likewise.
38880 * math/w_dremf.c: Likewise.
38881 * math/w_exp10.c: Likewise.
38882 * math/w_exp10f.c: Likewise.
38883 * math/w_exp10l.c: Likewise.
38884 * math/w_exp2.c: Likewise.
38885 * math/w_exp2f.c: Likewise.
38886 * math/w_fmod.c: Likewise.
38887 * math/w_fmodf.c: Likewise.
38888 * math/w_fmodl.c: Likewise.
38889 * math/w_hypot.c: Likewise.
38890 * math/w_hypotf.c: Likewise.
38891 * math/w_hypotl.c: Likewise.
38892 * math/w_j0.c: Likewise.
38893 * math/w_j0f.c: Likewise.
38894 * math/w_j0l.c: Likewise.
38895 * math/w_j1.c: Likewise.
38896 * math/w_j1f.c: Likewise.
38897 * math/w_j1l.c: Likewise.
38898 * math/w_jn.c: Likewise.
38899 * math/w_jnf.c: Likewise.
38900 * math/w_jnl.c: Likewise.
38901 * math/w_lgamma.c: Likewise.
38902 * math/w_lgamma_r.c: Likewise.
38903 * math/w_lgammaf.c: Likewise.
38904 * math/w_lgammaf_r.c: Likewise.
38905 * math/w_lgammal.c: Likewise.
38906 * math/w_lgammal_r.c: Likewise.
38907 * math/w_log.c: Likewise.
38908 * math/w_log10.c: Likewise.
38909 * math/w_log10f.c: Likewise.
38910 * math/w_log10l.c: Likewise.
38911 * math/w_log2.c: Likewise.
38912 * math/w_log2f.c: Likewise.
38913 * math/w_log2l.c: Likewise.
38914 * math/w_logf.c: Likewise.
38915 * math/w_logl.c: Likewise.
38916 * math/w_pow.c: Likewise.
38917 * math/w_powf.c: Likewise.
38918 * math/w_powl.c: Likewise.
38919 * math/w_remainder.c: Likewise.
38920 * math/w_remainderf.c: Likewise.
38921 * math/w_remainderl.c: Likewise.
38922 * math/w_scalb.c: Likewise.
38923 * math/w_scalbf.c: Likewise.
38924 * math/w_scalbl.c: Likewise.
38925 * math/w_sinh.c: Likewise.
38926 * math/w_sinhf.c: Likewise.
38927 * math/w_sinhl.c: Likewise.
38928 * math/w_sqrt.c: Likewise.
38929 * math/w_sqrtf.c: Likewise.
38930 * math/w_sqrtl.c: Likewise.
38931 * math/w_tgamma.c: Likewise.
38932 * math/w_tgammaf.c: Likewise.
38933 * math/w_tgammal.c: Likewise.
38934
6a621eb7
UD
38935 * po/ja.po: Update from translation team.
38936
bf582445
AJ
389372011-09-29 Andreas Jaeger <aj@suse.de>
38938
f9efbf3a
AJ
38939 [BZ #13179]
38940 * sunrpc/netname.c (netname2host): Fix logic.
38941
bf582445
AJ
38942 [BZ #6779]
38943 [BZ #6783]
38944 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38945 correctly.
38946 * math/w_remainder.c (__remainder): Likewise.
38947 * math/w_remainderf.c (__remainderf): Likewise.
38948 * math/libm-test.inc (remainder_test): Add test cases.
38949
48693bea
AK
389502011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38951
38952 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38953 sdiv_qrnnd.
38954
42622229
LD
389552011-10-07 Ulrich Drepper <drepper@gmail.com>
38956
38957 * string/test-memcmp.c: Avoid unncessary #defines.
38958 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38959
093ecf92
LD
389602011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38961
38962 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38963 Use new sse2 version for core i3 - i7 as it's faster
38964 than sse42 version.
38965 (bit_Prefer_PMINUB_for_stringop): New.
38966 * sysdeps/x86_64/rawmemchr.S: Update.
38967 Replace with faster SSE2 version.
38968 * sysdeps/x86_64/memrchr.S: New file.
38969 * sysdeps/x86_64/memchr.S: Update.
38970 Replace with faster SSE2 version.
38971
fde56e5c
MP
389722011-09-12 Marek Polacek <mpolacek@redhat.com>
38973
38974 * elf/dl-load.c (lose): Add cast to avoid warning.
38975
21fd49a9
UD
389762011-10-07 Ulrich Drepper <drepper@gmail.com>
38977
5a06e643
UD
38978 * po/ca.po: Update from translation team.
38979
684ae515
UD
38980 * inet/getnetgrent_r.c: Hook up nscd.
38981 * nscd/Makefile (routines): Add nscd_netgroup.
38982 (nscd-modules): Add netgroupcache.
38983 (CFLAGS-netgroupcache.c): Define.
38984 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38985 (cache_search): Add const to second parameter.
38986 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38987 INNETGR.
38988 (dbs): Add netgrdb entry.
38989 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38990 (verify_persistent_db): Handle netgrdb.
38991 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38992 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38993 GETFDNETGR.
38994 (netgroup_response_header): Define.
38995 (innetgroup_response_header): Define.
38996 (datahead): Add netgroup_response_header and innetgroup_response_header
38997 elements.
38998 * nscd/nscd.conf: Add entries for netgroup cache.
38999 * nscd/nscd.h (dbtype): Add netgrdb.
39000 (_PATH_NSCD_NETGROUP_DB): Define.
39001 (netgroup_iov_disabled): Declare.
39002 (xmalloc, xcalloc, xrealloc): Move declarations here.
39003 (cache_search): Adjust prototype.
39004 Add netgroup-related prototypes.
39005 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39006 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39007 (__nscd_innetgr): Declare.
39008 * nscd/selinux.c (perms): Use access_vector_t as element type and
39009 add netgroup-related initializers.
39010 * nscd/netgroupcache.c: New file.
39011 * nscd/nscd_netgroup.c: New file.
39012 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39013 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39014 For four parameters use innetgr.
39015 * nss/nss_files/files-init.c: Add definition and callback for netgr.
39016 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39017 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39018 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39019
21fd49a9
UD
39020 * nscd/connections.c (register_traced_file): Don't register file
39021 for disabled databases.
39022
054c0457
UD
390232011-10-06 Ulrich Drepper <drepper@gmail.com>
39024
32b63198
UD
39025 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39026
054c0457
UD
39027 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39028 from tree and freeing node.
39029
64031225
JO
390302011-09-25 Jiri Olsa <jolsa@redhat.com>
39031
39032 * nss/nsswitch.c (__nss_database_lookup): Handle
39033 nss_parse_service_list out of memory case.
39034
0490345c
JO
390352011-09-15 Jiri Olsa <jolsa@redhat.com>
39036
39037 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39038 out of memory case.
39039
3a62d00d
AS
390402011-10-04 Andreas Schwab <schwab@redhat.com>
39041
39042 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39043 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39044 pass it down.
39045 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39046 elf_machine_rela, elf_machine_lazy_rel.
39047 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39048 (ELF_DYNAMIC_DO_REL): Likewise.
39049 (ELF_DYNAMIC_DO_RELA): Likewise.
39050 (ELF_DYNAMIC_RELOCATE): Likewise.
39051 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39052 to ELF_DYNAMIC_DO_REL.
39053 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39054 (dl_main): In trace mode always set __RTLD_NOIFUNC.
39055 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39056 elf_machine_rela.
39057 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39058 skip_ifunc, don't call ifunc function if non-zero.
39059 (elf_machine_rela): Likewise.
39060 (elf_machine_lazy_rel): Likewise.
39061 (elf_machine_lazy_rela): Likewise.
39062 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39063 (elf_machine_lazy_rel): Likewise.
39064 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39065 Likewise.
39066 (elf_machine_lazy_rel): Likewise.
39067 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39068 Likewise.
39069 (elf_machine_lazy_rel): Likewise.
39070 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39071 (elf_machine_lazy_rel): Likewise.
39072 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39073 (elf_machine_lazy_rel): Likewise.
39074 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39075 (elf_machine_lazy_rel): Likewise.
39076 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39077 (elf_machine_lazy_rel): Likewise.
39078 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39079 (elf_machine_lazy_rel): Likewise.
39080 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39081 (elf_machine_lazy_rel): Likewise.
39082
68577918
UD
390832011-09-28 Ulrich Drepper <drepper@gmail.com>
39084
39085 * nss/nss_files/files-init.c (_nss_files_init): Use static
39086 initialization for all the *_traced_file variables.
39087
68822d74
AS
390882011-09-28 Andreas Schwab <schwab@redhat.com>
39089
39090 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39091
2056100b
RM
390922011-09-27 Roland McGrath <roland@hack.frob.com>
39093
39094 [BZ #13226]
39095 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39096
32c76b63
AS
390972011-09-27 Andreas Schwab <schwab@redhat.com>
39098
39099 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39100 Reread the line before reparsing it.
39101
bf972c9d
AS
391022011-09-26 Andreas Schwab <schwab@redhat.com>
39103
39104 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39105
e057a1b5
JM
391062011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39107 Maxim Kuvyrkov <maxim@codesourcery.com>
39108 Joseph Myers <joseph@codesourcery.com>
39109
39110 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39111 if needed for __stack_chk_guard.
39112
bc7e1c36
RM
391132011-09-19 Roland McGrath <roland@hack.frob.com>
39114
ecb1482f
RM
39115 * sysdeps/posix/spawni.c (script_execute): Always define it.
39116 It will be optimized away if unused.
39117 (maybe_script_execute): New function.
39118 (__spawni): Call it.
39119
bc7e1c36
RM
39120 * Makerules: Don't include tls.make.
39121 (config-tls): Always set to thread.
39122 * tls.make.c: File removed.
39123
1c3b002b
MF
391242011-09-19 Mike Frysinger <vapier@gentoo.org>
39125
39126 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39127 * config.make.in (CPPFLAGS-config): New substituted variable.
39128
2840865d
UD
391292011-09-15 Ulrich Drepper <drepper@gmail.com>
39130
88738eb6
UD
39131 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39132
cbf645a6 39133 [BZ #13192]
2840865d
UD
39134 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39135 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39136
b402e91a
RM
391372011-09-15 Roland McGrath <roland@hack.frob.com>
39138
39139 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39140 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39141 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39142 (CALL_FAIL): Likewise.
39143 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39144 (CALL_FAIL): Macro removed.
39145 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39146
4c1a1f71
UD
391472011-09-15 Ulrich Drepper <drepper@gmail.com>
39148
39149 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39150 for __FINITE_MATH_ONLY__ == 1.
39151
edc121be
AS
391522011-09-15 Andreas Schwab <schwab@redhat.com>
39153
39154 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39155 __ieee754_sqrt instead of sqrt.
39156 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39157 __ieee754_sqrtf instead of sqrtf.
39158 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39159 __floorf instead of floorf.
39160 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39161 __floorf, __truncf instead of floorf, truncf.
39162
cd205654
UD
391632011-09-14 Ulrich Drepper <drepper@gmail.com>
39164
ee4d0315
UD
39165 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39166
cd205654
UD
39167 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39168 __extern_always_inline.
39169 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39170 32-bit.
39171
48b67d71
AS
391722011-09-14 Andreas Schwab <schwab@redhat.com>
39173
39174 * elf/rtld.c (dl_main): Also relocate in dependency order when
39175 doing symbol dependency testing.
39176
1ae12c75
AS
391772011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39178
39179 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39180 Always define `refsym'.
39181
995a80df
AS
391822011-09-13 Andreas Schwab <schwab@redhat.com>
39183
e529793b
AS
39184 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39185 (__FD_ELT): Renamed from __FDELT.
39186 * misc/bits/select2.h (__FD_ELT): Likewise.
39187 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39188 __FD_MASK instead of __FDELT, __FDMASK.
39189 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39190 Likewise.
39191 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39192 Likewise.
39193
52d4fef8
AS
39194 * elf/Makefile (gen-ldd): Fix pattern.
39195
995a80df
AS
39196 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39197 (init_tls): Likewise.
39198
8682f8b0
UD
391992011-09-12 Ulrich Drepper <drepper@gmail.com>
39200
39201 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39202
de82006d
AS
392032011-09-12 Andreas Schwab <schwab@redhat.com>
39204
a7c8e6a1
AS
39205 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39206 `struct cmsghdr *' instead of `void *'.
39207 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39208 Likewise.
39209
0f31fe77
AS
392102011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39211
39212 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39213 if non-absolute.
39214 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39215 ldd_rewrite_script.
0f31fe77 39216
32b4c839
UD
392172011-09-11 Ulrich Drepper <drepper@gmail.com>
39218
83cd1420
UD
39219 * configure.in: Remove --with-tls option.
39220 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39221 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39222 out in case it is missing.
39223 * sysdeps/ia64/elf/configure.in: Likewise.
39224 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39225 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39226 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39227 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39228 * sysdeps/sh/elf/configure.in: Likewise.
39229 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39230 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39231 * sysdeps/x86_64/elf/configure.in: Likewise.
39232 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39233 * sysdeps/mach/hurd/tls.h: Likewise.
39234
633f745d
UD
39235 [BZ #13067]
39236 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39237
f318beb8
UD
39238 [BZ #13090]
39239 * configure.in: Fix use of AC_INIT.
39240
32b4c839
UD
39241 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39242
3ce1f295
UD
392432011-09-10 Ulrich Drepper <drepper@gmail.com>
39244
bb016596
UD
39245 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39246 __set_errno.
8e58439c
UD
39247 * malloc/hooks.c: Likewise.
39248
aebae053 39249 [BZ #11929]
02d46fc4
UD
39250 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39251 variables statically.
39252 (narenas): Initialize.
39253 (list_lock): Initialize.
bb016596
UD
39254 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39255 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
39256 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39257 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39258 Add initializers to main_arena and mp_.
39259 (malloc_state): Remove pagesize member. Change all users to use
39260 GLRO(dl_pagesize).
39261
39262 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39263 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39264 is always initialized.
39265
22a89187
UD
39266 * malloc/malloc.c: Removed unused configurations and dead code.
39267 * malloc/arena.c: Likewise.
39268 * malloc/hooks.c: Likewise.
02d46fc4 39269 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 39270
d063d164
UD
39271 * include/tls.h: Removed. USE___THREAD must always be defined.
39272 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39273 * elf/dl-libc.c: Likewise.
39274 * elf/dl-tsd.c: Likewise.
39275 * include/errno.h: Likewise.
39276 * include/netdb.h: Likewise.
39277 * include/resolv.h: Likewise.
39278 * inet/herrno-loc.c: Likewise.
39279 * inet/herrno.c: Likewise.
39280 * malloc/arena.c: Likewise.
39281 * malloc/hooks.c: Likewise.
39282 * malloc/malloc.c: Likewise.
39283 * resolv/res-state.c: Likewise.
39284 * resolv/res_libc.c: Likewise.
39285 * sysdeps/i386/dl-machine.h: Likewise.
39286 * sysdeps/ia64/dl-machine.h: Likewise.
39287 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39288 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39289 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39290 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39291 * sysdeps/sh/dl-machine.h: Likewise.
39292 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39293 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39294 * sysdeps/unix/i386/sysdep.S: Likewise.
39295 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39296 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39297 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39298 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39299 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39300 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39301 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39302 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39303 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39304 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39305 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39306 * sysdeps/x86_64/dl-machine.h: Likewise.
39307 * tls.make.c: Likewise.
39308
3ce1f295
UD
39309 * configure.in: Remove --with-__thread option. Make tests for
39310 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39311 tls_model attribute fail if no support is available. Remove
39312 USE_IN_LIBIO.
39313 * Makeconfig: Adjust for dropped configure option. All features are
39314 now mandatory.
39315 * Makerules: Likewise.
39316 * Versions.def: Likewise.
39317 * argp/argp-fmtstream.c: Likewise.
39318 * argp/argp-fmtstream.h: Likewise.
39319 * argp/argp-help.c: Likewise.
39320 * assert/assert.c: Likewise.
39321 * config.h.in: Likewise.
39322 * config.make.in: Likewise.
39323 * configure: Likewise.
39324 * configure.in: Likewise.
39325 * csu/Versions: Likewise.
39326 * csu/init.c: Likewise.
39327 * elf/tst-audit2.c: Likewise.
39328 * elf/tst-tls10.c: Likewise.
39329 * elf/tst-tls10.h: Likewise.
39330 * elf/tst-tls11.c: Likewise.
39331 * elf/tst-tls12.c: Likewise.
39332 * elf/tst-tls14.c: Likewise.
39333 * elf/tst-tlsmod11.c: Likewise.
39334 * elf/tst-tlsmod12.c: Likewise.
39335 * elf/tst-tlsmod13.c: Likewise.
39336 * elf/tst-tlsmod13a.c: Likewise.
39337 * elf/tst-tlsmod14a.c: Likewise.
39338 * elf/tst-tlsmod15b.c: Likewise.
39339 * elf/tst-tlsmod16a.c: Likewise.
39340 * elf/tst-tlsmod16b.c: Likewise.
39341 * elf/tst-tlsmod7.c: Likewise.
39342 * elf/tst-tlsmod8.c: Likewise.
39343 * elf/tst-tlsmod9.c: Likewise.
39344 * gmon/gmon.c: Likewise.
39345 * grp/fgetgrent_r.c: Likewise.
39346 * grp/putgrent.c: Likewise.
39347 * hurd/fopenport.c: Likewise.
39348 * include/libc-symbols.h: Likewise.
39349 * include/tls.h: Likewise.
39350 * intl/gettextP.h: Likewise.
39351 * intl/loadinfo.h: Likewise.
39352 * locale/global-locale.c: Likewise.
39353 * locale/localeinfo.h: Likewise.
39354 * mach/devstream.c: Likewise.
39355 * malloc/arena.c: Likewise.
39356 * malloc/set-freeres.c: Likewise.
39357 * misc/err.c: Likewise.
39358 * misc/getttyent.c: Likewise.
39359 * misc/mntent_r.c: Likewise.
39360 * posix/getopt.c: Likewise.
39361 * posix/wordexp.c: Likewise.
39362 * pwd/fgetpwent_r.c: Likewise.
39363 * resolv/Versions: Likewise.
39364 * resolv/res_hconf.c: Likewise.
39365 * shadow/fgetspent_r.c: Likewise.
39366 * shadow/putspent.c: Likewise.
39367 * stdio-common/printf_fphex.c: Likewise.
39368 * stdio-common/tmpfile.c: Likewise.
39369 * stdlib/abort.c: Likewise.
39370 * stdlib/fmtmsg.c: Likewise.
39371 * sunrpc/auth_unix.c: Likewise.
39372 * sunrpc/clnt_perr.c: Likewise.
39373 * sunrpc/clnt_tcp.c: Likewise.
39374 * sunrpc/clnt_udp.c: Likewise.
39375 * sunrpc/clnt_unix.c: Likewise.
39376 * sunrpc/openchild.c: Likewise.
39377 * sunrpc/svc_simple.c: Likewise.
39378 * sunrpc/svc_tcp.c: Likewise.
39379 * sunrpc/svc_udp.c: Likewise.
39380 * sunrpc/svc_unix.c: Likewise.
39381 * sunrpc/xdr.c: Likewise.
39382 * sunrpc/xdr_array.c: Likewise.
39383 * sunrpc/xdr_rec.c: Likewise.
39384 * sunrpc/xdr_ref.c: Likewise.
39385 * sunrpc/xdr_stdio.c: Likewise.
39386
1248c1c4
PB
393872011-09-09 Ulrich Drepper <drepper@gmail.com>
39388
39389 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39390
393912011-07-03 Andreas Jaeger <aj@suse.de>
39392
39393 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39394 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39395 regenerate with gen-libm-tests.pl.
39396
393972010-05-12 Petr Baudis <pasky@suse.cz>
39398
39399 [BZ #11589]
39400 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39401 around j0() zero points by switching to j1().
39402 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39403 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39404 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39405 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39406
f22e1074
UD
394072011-09-09 Ulrich Drepper <drepper@gmail.com>
39408
f19009c1
UD
39409 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39410 instead of 0.
39411 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 39412 instead of 0.
f19009c1
UD
39413 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39414 Patch in part by Pavel Roskin <proski@gnu.org>.
39415
3f8cc204
UD
39416 [BZ #13138]
39417 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39418 realloc.
39419 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39420 Free memory block if necessary.
39421
f22e1074
UD
39422 [BZ #12847]
39423 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39424 be NULL. Don't lock in this case.
39425
0a2349f9
RM
394262011-09-09 Roland McGrath <roland@hack.frob.com>
39427
39428 * elf/elf.h (ELFOSABI_GNU): New macro.
39429 (ELFOSABI_LINUX): Define to that.
39430
f3cdd467
DZ
394312011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39432
39433 * string/strncat.c (strncat): Undef the symbol in case it has been
39434 defined in bits/string.h.
39435
74718d13
UD
394362011-09-09 Ulrich Drepper <drepper@gmail.com>
39437
633e9e0f
UD
39438 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39439
0a2349f9 39440 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
39441 link map.
39442
f9924780
AJ
394432011-08-17 Andreas Jaeger <aj@suse.de>
39444
39445 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39446
7f5517aa
PP
394472011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39448 Ian Lance Taylor <iant@google.com>
39449
39450 * math/libm-test.inc (lround_test): New testcase.
39451 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39452
762011fe
UD
394532011-09-08 Ulrich Drepper <drepper@gmail.com>
39454
92963737
UD
39455 * Makefile: Remove support for automatic cvs check-ins.
39456 * Makerules: Likewise.
39457 * config.make.in: Likewise.
39458 * configure.in: Likewise.
39459 * intl/Makefile: Likewise.
39460 * locale/Makefile: Likewise.
39461 * po/Makefile: Likewise.
39462 * posix/Makefile: Likewise.
39463 * sysdeps/gnu/Makefile: Likewise.
39464 * sysdeps/mach/hurd/Makefile: Likewise.
39465 * sysdeps/sparc/sparc32/Makefile: Likewise.
39466
b0727fd8
JS
39467 [BZ #13118]
39468 * posix/Makefile (bug-regex32-ENV): Define.
39469 Patch by John Stanley <jpsinthemix@verizon.net>.
39470
a0f33f99
UD
39471 * misc/Makefile (headers): Add bits/select2.h.
39472 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39473 * misc/bits/select2.h: New file.
39474 * include/bits/select2.h: New file.
39475 * debug/Makefile (routines): Add fdelt_chk.
39476 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39477 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39478 FD_ISSET.
39479 * debug/fdelt_chk.c: New file.
39480
762011fe
UD
39481 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39482 * wcsmbs/test-wmemcmp.c: Likewise.
39483 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 39484 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
39485
394862011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39487
39488 * string/Makefile (strop-tests): Add memcmp.
39489 * string/test-wmemcmp.c: New file.
39490 * string/test-memcmp.c: Add wmemcmp support.
39491
7f513ec8
RM
394922011-09-08 Roland McGrath <roland@hack.frob.com>
39493
0442afb4
RM
39494 [BZ #13153]
39495 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39496 2011-07-19 change.
39497
7f513ec8
RM
39498 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39499 garbage value in a __mach_port_mod_refs call in the cases of the
39500 task-self and thread-self ports.
39501
a12b2239
ST
395022011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39503
39504 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39505
610f9ab4
AS
395062011-09-08 Andreas Schwab <schwab@redhat.com>
39507
7f513ec8 39508 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 39509
48882a1a
LD
395102011-09-07 Ulrich Drepper <drepper@gmail.com>
39511
b49865be
UD
39512 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39513
fdc86bc9
UD
39514 * elf/dl-libc.c (dlerror_run): Pass back error code from
39515 dl_catch_error.
39516
c966526a
UD
39517 [BZ #13123]
39518 * elf/dl-load.c (lose): Free l_origin if it is valid.
39519
48882a1a
LD
39520 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39521 names.
39522 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39523 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39524 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39525 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39526 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39527 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39528
77a2a8b4
AZ
395292011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39530
39531 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39532 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39533 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39534 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39535 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39536 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39537 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39538 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39539 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39540 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39541
24f579d8
AM
395422011-08-15 Alan Modra <amodra@gmail.com>
39543
39544 [BZ #13092]
39545 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39546 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39547 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39548 ppc_mcount to static-only-routines.
39549 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39550 __mcount_internal.
39551 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39552 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39553
3d4837df
UD
395542011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39555
39556 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39557 for finite and infinity parameters.
39558
22700377
WS
395592011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39560
39561 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39562 and add nop instructions for throughput optimization.
39563 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39564
5025581e
WS
395652011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39566
39567 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39568 aligned copy for power7 with vector-scalar instructions.
39569 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39570
08a300c9
L
395712011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39572
39573 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39574 AVX check.
39575
59178ef9
AS
395762011-09-07 Andreas Schwab <schwab@redhat.com>
39577
39578 [BZ #13144]
39579 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39580 last change.
39581
e38ba7ab
UD
395822011-09-07 Ulrich Drepper <drepper@gmail.com>
39583
39584 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39585 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39586 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39587 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39588 clock_gettime.
39589
d53a73ac
UD
395902011-09-06 Ulrich Drepper <drepper@gmail.com>
39591
fc8bffcc
UD
39592 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39593 Forgot to demangle the pointer.
39594
ceaa0c5d
UD
39595 * sysdeps/i386/sysdep.h: Define atom_text_section.
39596 * sysdeps/x86_64/sysdep.h: Likewise.
39597 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39598 section with atom_text_section.
39599 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39600 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39601 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39602 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39603 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39604
a77d3c17
UD
39605 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39606 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39607 already be defined. Change to take two parameters and don't assign
39608 result to variable. Adjust all users.
39609 Define INTERNAL_GETTIME if not already defined.
39610 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39611 call.
39612 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39613 HAVE_CLOCK_GETTIME_VSYSCALL.
39614 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39615
d53a73ac
UD
39616 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39617 gettimeofday vsyscall, just use time.
39618
a8f84144
AS
396192011-09-06 Andreas Schwab <schwab@redhat.com>
39620
39621 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39622 <errno.h>.
39623
ef606249
UD
396242011-09-06 Ulrich Drepper <drepper@gmail.com>
39625
39626 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39627 syscall on x86-64.
39628 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39629 syscall.
39630 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39631 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39632 syscall if possible.
39633
6585cb60
UD
396342011-09-05 Ulrich Drepper <drepper@gmail.com>
39635
39636 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39637 e_ident. Don't pass to find_mapsXX.
39638 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39639
a5f524e4
LD
396402011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39641
39642 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39643 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39644 * sysdeps/x86_64/multiarch/strchr.S: Update.
39645 Check bit_slow_BSF bit.
39646 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39647 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39648 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39649
554881ef
UD
396502011-09-05 Ulrich Drepper <drepper@gmail.com>
39651
d96de963
UD
39652 [BZ #13134]
39653 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39654 before glibc 2.15.
39655 (tryshell): Define.
39656 (__spawni): Change last parameter to be flag. Test
39657 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39658 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39659 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39660 * posix/spawni.c: Likewise.
39661 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39662 * posix/spawnp.c: Likewise. Change normal version to use
39663 SPAWN_XFLAGS_USE_PATH.
39664 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39665 SPAWN_XFLAGS_TRY_SHELL.
39666
d48e5868
UD
39667 [BZ #13150]
39668 * posix/glob.h: Remove gcc 1.x support.
39669
554881ef
UD
39670 [BZ #13068]
39671 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39672
693fb948
LD
396732011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39674
39675 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39676 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39677 strrchr-sse2-bsf
39678 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39679 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39680 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39681 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39682 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39683 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39684
1b48c537
UD
396852011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39686
49d42c37
UD
39687 * sysdeps/x86_64/wcscmp.S: New file.
39688
1b48c537
UD
39689 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39690 wcscmp-c wcscmp-sse2
39691 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39692 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39693 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39694 * wcsmbs/wcscmp.c: Allow renaming.
39695
15c95c5d
DM
396962011-09-05 David S. Miller <davem@davemloft.net>
39697
39698 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39699 stack slot, rather than the struct return pointer slot.
39700 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39701 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39703 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39704
2f0ad8f3
UD
397052011-09-05 Ulrich Drepper <drepper@gmail.com>
39706
d88ae418
UD
39707 * po/ja.po: Update from translation team.
39708
2f0ad8f3
UD
39709 [BZ #13144]
39710 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39711 kernel in 64-bit binaries.
39712
5f4318d1
DM
397132011-09-01 David S. Miller <davem@davemloft.net>
39714
39715 * elf/elf.h (HWCAP_SPARC_*): Move to..
39716 * sysdeps/sparc/sysdep.h: this new file and add new values.
39717 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39718 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39719 _DL_HWCAP_COUNT to 24.
39720 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39721 entries.
39722 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39723 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39724 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39725 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39726 instead of magic constants.
39727 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39728
3ba57516
DM
397292011-08-31 David S. Miller <davem@davemloft.net>
39730
39731 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39732 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39733 Reimplement to do errno handling inline.
39734 (SYSCALL_ERROR_HANDLER): New macro.
39735 (__SYSCALL_STRING): Do not do errno handling in asm.
39736 (__CLONE_SYSCALL_STRING): Delete.
39737 (__INTERNAL_SYSCALL_STRING): Delete.
39738 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39739 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39740 (PSEUDO): Reimplement to do errno handling inline.
39741 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39742 (SYSCALL_ERROR_HANDLER): New macro.
39743 (__SYSCALL_STRING): Do not do errno handling in asm.
39744 (__CLONE_SYSCALL_STRING): Delete.
39745 (__INTERNAL_SYSCALL_STRING): Delete.
39746 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39747 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39748 i386.
39749 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39750 (inline_syscall*): Add 'err' argument.
39751 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39752 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39753 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39754 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39755
39756 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39757 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39758
2bc17433
AS
397592011-08-30 Andreas Schwab <schwab@redhat.com>
39760
39761 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39762
fbeb5f4d
JO
397632011-08-29 Jiri Olsa <jolsa@redhat.com>
39764
39765 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39766 directive.
39767
ad69cc26
DM
397682011-08-24 David S. Miller <davem@davemloft.net>
39769
39770 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39771
39dd69df
AS
397722011-08-24 Andreas Schwab <schwab@redhat.com>
39773
39774 * elf/Makefile: Add rules to build and run unload8 test.
39775 * elf/unload8.c: New file.
39776 * elf/unload8mod1.c: New file.
39777 * elf/unload8mod1x.c: New file.
39778 * elf/unload8mod2.c: New file.
39779 * elf/unload8mod3.c: New file.
39780
39781 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39782 it wasn't used.
39783
2c0b250a
DM
397842011-08-23 David S. Miller <davem@davemloft.net>
39785
39786 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39787 subtract stack bias.
39788 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39789 %sp not %fp in calculations.
39790 (_JMPBUF_UNWINDS_ADJ): Likewise.
39791
22044b48
DM
39792 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39793 (aio_suspend): Call it to force an exception region around the
39794 AIO_MISC_WAIT() invocation.
39795
2cae4995
AS
397962011-08-23 Andreas Schwab <schwab@redhat.com>
39797
39798 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39799 backslash.
39800
873a772e
AJ
398012011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39802
39803 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39804 protection macro.
39805 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39806 and <dl-machine.h>.
39807 (Elf64_FuncDesc): Remove.
39808
25ad0df1
DM
398092011-08-22 David S. Miller <davem@davemloft.net>
39810
39811 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39812 sigaltstack check, add missing cfi directives.
39813 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39814 missing cfi directives, and sigaltstack handling.
39815
e888bcbe
AS
398162011-08-16 Andreas Schwab <schwab@redhat.com>
39817
39818 [BZ #11724]
39819 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39820 object is seen twice.
39821 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39822
39823 * elf/Makefile (distribute): Add tst-initorder2.c.
39824 (tests): Add tst-initorder2.
39825 (modules-names): Add tst-initorder2a tst-initorder2b
39826 tst-initorder2c tst-initorder2d. Add rules to build them.
39827 ($(objpfx)tst-initorder2.out): New rule.
39828 * elf/tst-initorder2.c: New file.
39829 * elf/tst-initorder2.exp: New file.
39830
87162f46
AS
398312011-08-22 Andreas Schwab <schwab@redhat.com>
39832
70538b7f
AS
39833 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39834
f55ffe58
AS
39835 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39836 dependencies back to end of function.
39837
87162f46
AS
39838 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39839 $(elfobjdir)/ld.so.
39840
91b392a4
UD
398412011-08-21 Ulrich Drepper <drepper@gmail.com>
39842
39843 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39844 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39845 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39846 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39847 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39848 of __vdso_gettimeofday.
39849 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39850 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39851 attribute_hidden.
39852 (_libc_vdso_platform_setup): Remove initialization of
39853 __vdso_gettimeofday and __vdso_time.
39854
5c43483f
UD
398552011-08-20 Ulrich Drepper <drepper@gmail.com>
39856
775a77e7
UD
39857 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39858 and fgetc_unlocked.
39859 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39860 getc_unlocked.
89f447ed 39861
49c74ba9
UD
39862 * elf/dl-open.c (add_to_global): Report additions to the global scope
39863 for LD_DEBUG=scopes.
39864 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39865 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39866
5c43483f
UD
39867 [BZ #13114]
39868 * stdio-common/Makefile (tests): Add bug24.
39869 * stdio-common/bug24.c: New file.
39870
a101b025
AJ
398712011-08-19 Andreas Jaeger <aj@suse.de>
39872
39873 [BZ #13114]
39874 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39875 non-existant file when using close-on-exec mode.
39876
c88f1766
UD
398772011-08-20 Ulrich Drepper <drepper@gmail.com>
39878
0276a718
UD
39879 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39880 the very first instruction.
39881
c88f1766
UD
39882 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39883 the CFI state in the end.
39884 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39885 inclusion of dl-trampoline.h.
39886 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39887
51ccffa0
AS
398882011-08-19 Andreas Schwab <schwab@redhat.com>
39889
94d7165f
AS
39890 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39891 expectations for long double.
39892
51ccffa0
AS
39893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39894 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39895
fd708658 398962011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39897
39898 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39899 artificual limit depends upon the system page size.
39900
44f0a71e
UD
399012011-08-17 Ulrich Drepper <drepper@gmail.com>
39902
39903 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39904 * resolv/Makefile: Define CFLAGS-libresolv.
39905
8de79a24
AS
399062011-08-17 Andreas Schwab <schwab@redhat.com>
39907
39908 * nss/makedb.c (compute_tables): Make variables used in nested
39909 function static.
39910
27724598
UD
399112011-08-17 Ulrich Drepper <drepper@gmail.com>
39912
c5305d88
UD
39913 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39914 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39915 if buffer was too small.
39916
27724598
UD
39917 * elf/pldd.c (main): Attach to all threads in the process.
39918 Rewrite /proc handling to use *at functions.
39919
076fe015
UD
399202011-08-16 Ulrich Drepper <drepper@gmail.com>
39921
174baab3
UD
39922 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39923 specifies first scope to show.
39924 (dl_open_worker): Update callers. Move printing scope of new
39925 object to before the relocation.
44f0a71e 39926 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39927 * sysdeps/generic/ldsodefs.h: Update declaration.
39928
076fe015
UD
39929 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39930 string for the scope number.
39931
a60df2c3
UD
399322011-08-14 Ulrich Drepper <drepper@gmail.com>
39933
39934 * nscd/servicescache.c (cache_addserv): Make sure written is always
39935 initialized.
39936
5e4287d1
RM
399372011-08-14 Roland McGrath <roland@hack.frob.com>
39938
85ae0589
RM
39939 * sysdeps/i386/i486/bits/atomic.h
39940 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39941 statement expression, so as to suppress "set but not used" warning.
39942 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39943
69f63097
RM
39944 * string/strncat.c (STRNCAT): Use prototype definition.
39945
675456ef
RM
39946 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39947 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39948 -Iprograms here.
39949 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39950 (localedef-modules): Add localedef.
39951 (locale-modules): Add locale.
39952
5e4287d1
RM
39953 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39954 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39955 to avoid a warning.
39956
9c96ff23
DM
399572011-08-14 David S. Miller <davem@davemloft.net>
39958
39959 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39960 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39961
f9ddf089
UD
399622011-08-13 Ulrich Drepper <drepper@gmail.com>
39963
44f0a71e 39964 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39965 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39966 * elf/rtld.c (dl_main): Set l_name of vDSO.
39967 Call _dl_show_scope when DL_DEBUG_SCOPES.
39968 (process_dl_debug): Recognize scopes flag and also set it for all.
39969 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39970 Declare _dl_show_scope.
39971
1dc27704
UD
39972 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39973 (do_dlopen): Pass caller_dlopen to dl_open.
39974 (__libc_dlopen_mode): Initialize caller_dlopen.
39975
f9ddf089
UD
39976 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39977 of libc. Make tolower call locale-independent. Optimize a bit by
39978 using isdigit instead of isalnum.
39979 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39980
9ac533d3
UD
399812011-08-12 Ulrich Drepper <drepper@gmail.com>
39982
39983 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39984 was a dependency or dynamically loaded.
39985
89edf2e9
UD
399862011-08-11 Ulrich Drepper <drepper@gmail.com>
39987
8e999d29
UD
39988 * intl/l10nflist.c: Allow architecture-specific pop function.
39989 * sysdeps/x86_64/l10nflist.c: New file.
39990
89edf2e9
UD
39991 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39992 classification.
39993
14d96785
AS
399942011-08-10 Andreas Schwab <schwab@redhat.com>
39995
39996 * include/dirent.h: Add libc_hidden_proto for scandirat and
39997 scandirat64. Don't declare __scandirat64.
39998 * dirent/scandirat.c: Add libc_hidden_def.
39999 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40000 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40001
6761ac04
DM
400022011-08-10 David S. Miller <davem@davemloft.net>
40003
40004 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40005 enum.
40006 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40007 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40008 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40009
c55fbd1e
UD
400102011-08-09 Ulrich Drepper <drepper@gmail.com>
40011
40012 * Versions.def [libc]: Add GLIBC_2.15.
40013 * dirent/Makefile (routines): Add scandirat and scandirat64.
40014 * dirent/Versions [libc]: Export scandirat and scandirat64 for
40015 GLIBC_2.15.
40016 * dirent/dirent.h: Declare scandirat and scandirat64.
40017 * dirent/scandirat.c: New file.
40018 * dirent/scandirat64.c: New file.
40019 * sysdeps/wordsize-64/scandirat.c: New file.
40020 * sysdeps/wordsize-64/scandirat64.c: New file.
40021 * dirent/opendir.c: Define opendirat.
40022 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
40023 using scandirat.
40024 * dirent/scandir64.c: Adjust for scandir.c change.
40025 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
40026 __scandirat64, and __scandir_cancel_handler.
40027 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
40028 additional parameter and use openat instead of open (outside of ld.so).
40029 Add new __opendir as wrapper around __opendirat.
40030 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40031 here without requiring old scandirat implementation.
40032
879165f2
UD
400332011-08-08 Ulrich Drepper <drepper@gmail.com>
40034
40035 * dirent/scandir.c (cancel_handler): Renamed to
40036 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
40037 defined. Adjust users.
40038 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40039 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40040
cb7e923b
UD
400412011-08-04 Ulrich Drepper <drepper@gmail.com>
40042
16292edd
UD
40043 * string/test-string.h (IMPL): Use __STRING to expand name and then
40044 stringify it.
40045
cb7e923b
UD
40046 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
40047 of cleanups.
40048
cff82933
LD
400492011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40050
40051 * string/Makefile: Update.
40052 (strop-tests): Append strncat.
40053 * string/test-wcscmp.c: New file.
40054 New comprehensive test for wcscmp.
40055 * string/test-strcmp.c: Update.
40056 (WIDE): New define.
40057
9be9bfcc
AS
400582011-07-22 Andreas Schwab <schwab@redhat.com>
40059
40060 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40061 line.
40062
2e96f1c7
AS
400632011-07-26 Andreas Schwab <schwab@redhat.com>
40064
40065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40066 encoding to ACE if AI_IDN.
40067
85188888
JJ
400682011-08-01 Jakub Jelinek <jakub@redhat.com>
40069
40070 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40071 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40072
5fa16e9b
LD
400732011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40074
40075 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40076 Fix overflow bug in strncat.
40077 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40078
40079 * string/test-strncat.c: Update.
40080 Add new tests for checking overflow bugs.
40081
400822011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40083
40084 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40085 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40086 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40087 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40088 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40089 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40090 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40091 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40092 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40093
40094 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40095 (USE_AS_STRCAT): Define.
40096 Add strcat and strncat support.
40097 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40098
8c1a459f
AS
400992011-07-25 Andreas Schwab <schwab@redhat.com>
40100
40101 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40102 __n bigger than INT_MAX+1.
40103 (__strncmp_g): Likewise.
40104
bba33c28
UD
401052011-07-23 Ulrich Drepper <drepper@gmail.com>
40106
798be72d
UD
40107 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40108 * libio/stido.h: Likewise.
40109
8accd4dc
UD
40110 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40111 (AF_NFC): Define.
40112 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40113 (AF_NFC): Define.
40114
cbff0d96
UD
40115 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40116 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40117 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40118 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40119 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40120
9191c04a
UD
40121 [BZ #13021]
40122 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40123 installed.
40124
bba33c28
UD
40125 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40126 typo.
40127 (_dl_x86_64_save_sse): Likewise.
40128
90f139dd
UD
401292011-07-22 Ulrich Drepper <drepper@gmail.com>
40130
1aae088a
UD
40131 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40132 OSXSAVE.
40133 (_dl_x86_64_save_sse): Likewise.
40134
8e2045f5
UD
40135 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40136
90f139dd
UD
40137 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40138
1d002f25
AS
401392011-07-21 Andreas Schwab <schwab@redhat.com>
40140
40141 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40142 change.
40143 (_dl_x86_64_save_sse): Use correct AVX check.
40144
21137f89
UD
401452011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40146
40147 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40148 bug in strncpy/strncat.
40149 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40150
a65c0b7a
UD
401512011-07-21 Ulrich Drepper <drepper@gmail.com>
40152
40153 * string/tester.c (test_strcat): Add tests for different alignments
40154 of source and destination.
40155 (test_strncat): Likewise.
40156
6986b98a
UD
401572011-07-20 Ulrich Drepper <drepper@gmail.com>
40158
90bb2039
UD
40159 [BZ #12852]
40160 * posix/glob.c (glob): Check passed in values before using them in
40161 expressions to avoid some overflows.
40162 (glob_in_dir): Likewise.
40163
5644ef54
UD
40164 [BZ #13007]
40165 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40166 check for AVX enablement so that we don't crash with old kernels and
40167 new hardware.
40168 * elf/tst-audit4.c: Add same checks here.
40169 * elf/tst-audit6.c: Likewise.
40170
40171 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 40172
bfc9dc9b
AS
401732011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40174
40175 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40176
702e64bb
UD
401772011-07-20 Ulrich Drepper <drepper@gmail.com>
40178
40179 * po/cs.po: Update from translation team.
40180 * po/bg.po: Likewise.
40181
295e904f
MP
401822011-07-12 Marek Polacek <mpolacek@redhat.com>
40183
40184 * misc/sys/cdefs.h: Add support for const attribute.
40185 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40186 to gnu_dev_{major,minor,makedev} functions.
40187
3ff94596
MP
401882011-07-20 Marek Polacek <mpolacek@redhat.com>
40189
40190 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40191
28b59fca
AS
401922011-07-20 Andreas Schwab <schwab@redhat.com>
40193
40194 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40195 strlen results.
40196
19df733e
AK
401972011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40198
40199 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40200 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40201 register in order to avoid conflicts with the soft frame pointer
40202 being held in r11 when necessary.
40203 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40204 (INTERNAL_VSYSCALL_NCS): Likewise.
40205
c8835729
MP
402062011-07-14 Marek Polacek <mpolacek@redhat.com>
40207
40208 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40209 * elf/dl-fini.c (_dl_fini): Adjust caller.
40210 * elf/dl-close.c (_dl_close_worker): Likewise.
40211 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40212
b902330c
MP
402132011-07-15 Marek Polacek <mpolacek@redhat.com>
40214
8991e135
MP
40215 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40216 "aux_cache->nlibs < 0".
40217
b902330c
MP
40218 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40219 in the reload-count case.
40220
99710781
LD
402212011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40222
40223 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40224 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40225 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40226 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40227 * sysdeps/x86_64/multiarch/strcat.S: New file.
40228 * sysdeps/x86_64/multiarch/strncat.S: New file.
40229 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40230 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40231 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40232 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40233 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40234 (USE_AS_STRCAT): Define.
40235 Add strcat and strncat support.
40236 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40237 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40238 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40239 * string/strncat.c: Update.
40240 (USE_AS_STRNCAT): Define.
40241 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40242 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40243 and i7.
40244 * sysdeps/x86_64/multiarch/init-arch.h
40245 (bit_Prefer_PMINUB_for_stringop): New.
40246 (index_Prefer_PMINUB_for_stringop): Likewise.
40247 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40248 bit_Prefer_PMINUB_for_stringop.
40249
7dc6bd90
UD
402502011-07-19 Ulrich Drepper <drepper@gmail.com>
40251
40252 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40253 buffer64.
40254 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40255 of casting of buffer.
40256 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40257 buffer32 and buffer64.
40258 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40259 writes instead of casting of buffer.
40260 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40261 buffer32.
40262 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40263 casting of buffer.
40264
e0e72284
AS
402652011-07-19 Andreas Schwab <schwab@redhat.com>
40266
40267 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40268
feb1eb0b
UD
402692011-07-19 Ulrich Drepper <drepper@gmail.com>
40270
40271 * nscd/nscd.c (termination_handler): Don't do anything for a database
40272 if it has not yet been initialized.
40273
298711ff
UD
402742011-07-18 Ulrich Drepper <drepper@gmail.com>
40275
40276 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40277
402782011-07-15 Marek Polacek <mpolacek@redhat.com>
40279
40280 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40281
f9d68389
UD
402822011-07-18 Ulrich Drepper <drepper@gmail.com>
40283
40284 * po/nl.po: Update from translation team.
40285 * po/sv.po: Likewise.
40286
db290cf5
RM
402872011-07-16 Roland McGrath <roland@hack.frob.com>
40288
40289 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40290 now disallowed by GCC.
5c550700 40291
fd5e21c7
RM
40292 * configure.in (use-default-link): Default to yes if a test -shared
40293 link meets our qualifications.
40294 * configure: Regenerated.
40295
5c550700
RM
40296 * config.make.in (output-format): New variable.
40297 * configure.in: Check for ld --print-output-format support.
40298 * configure: Regenerated.
40299 * Makerules ($(common-objpfx)format.lds)
40300 [$(output-format) != unknown]: Just use $(output-format),
40301 instead of the linker-script munging.
40302
9fa2c032
RM
403032011-07-14 Roland McGrath <roland@hack.frob.com>
40304
a6928d51
RM
40305 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40306 of $(common-objpfx)shlib.lds.
40307 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40308
661607b3
RM
40309 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40310 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40311
9fa2c032
RM
40312 * configure.in (-z relro check): Adjust test code to add a large
40313 writable data section after it.
40314 * configure: Regenerated.
40315
defe9061
RM
403162011-07-11 Roland McGrath <roland@hack.frob.com>
40317
40318 * configure.in (-z relro check): Fix test code to make the variable
40319 truly const.
40320 * configure: Regenerated.
40321
319b9ad4
UD
403222011-07-11 Ulrich Drepper <drepper@gmail.com>
40323
40324 * nscd/nscd.h (struct traced_file): Define.
40325 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40326 elements. Add traced_files.
40327 (inotify_fd): Declare.
40328 (register_traced_file): Declare.
40329 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40330 (inotify_fd): Export.
40331 (resolv_conf_descr): Remove.
40332 (nscd_init): Move inotify descriptor creation to main.
40333 Don't register files for notification here.
40334 (register_traced_file): New function.
40335 (invalidate_cache): Don't use reset_res to determine whether to call
40336 res_init, go through the list of registered files.
40337 (main_loop_poll): The inotify descriptors are now stored in the
40338 structures for the traced files.
40339 (main_loop_epoll): Likewise
40340 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40341 to __nss_disable_nscd.
40342 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40343 for a database anymore. Check the records for all the registered
40344 files instead.
40345 * nss/Makefile (libnss_files-routines): Add files-init.
40346 (libnss_db-routines): Add db-init.
40347 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40348 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40349 * nss/nss_db/db-init.c: New file.
40350 * nss/nss_files/files-init.c: New file.
40351 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40352 __nss_lookup_function.
40353 (__nss_lookup_function): Call nss_load_library.
40354 (nss_load_all_libraries): New function.
40355 (__nss_disable_nscd): Take parameter with callback function for files
40356 to register. Set is_nscd. Load all the DSOs for the NSS modules
40357 used for the cached services.
40358 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40359 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40360 options for features to all the files in nscd.
40361
40362 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40363
23bee3e8
RM
403642011-07-10 Roland McGrath <roland@hack.frob.com>
40365
40366 * csu/elf-init.c (__libc_csu_init): Comment typo.
40367
46a5b7f0
UD
403682011-07-09 Ulrich Drepper <drepper@gmail.com>
40369
40370 * po/pl.po: Update from translation team.
40371 * po/ja.po: Likewise.
40372 * po/ru.po: Likewise.
40373 * po/ko.po: Likewise.
40374 * po/fr.po: Likewise.
40375
d30cf5bb
RM
403762011-07-09 Roland McGrath <roland@hack.frob.com>
40377
113ddea4
RM
40378 * configure.in (.ctors/.dtors header and trailer check):
40379 Use an empirical test on a built program.
40380 * configure: Regenerated.
40381
574920b4
RM
40382 * configure.in (-z relro check): Use an empirical test on a built DSO.
40383 Detect, but do not require, on ia64.
40384 * configure: Regenerated.
40385
d30cf5bb
RM
40386 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40387 Update tests that use readelf to use $READELF instead.
40388 * configure: Regenerated.
40389
8538fdb3
UD
403902011-07-08 Ulrich Drepper <drepper@gmail.com>
40391
40392 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40393 if the result is not used.
40394
04d08991
AJ
403952011-07-05 Andreas Jaeger <aj@suse.de>
40396
40397 [BZ#9696]
40398 * stdlib/tst-strtod.c: Add testcase.
40399
de283087
AD
404002011-07-07 Ulrich Drepper <drepper@gmail.com>
40401
4e5f31c8 40402 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 40403 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
40404 The latter has a higher limit. Take additional parameter to pass to
40405 the new function.
40406 (__pathconf): Pass file to __statfs_link_max.
40407 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40408 __statfs_link_max.
40409 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40410 __statfs_link_max.
40411
de283087
AD
40412 [BZ #12868]
40413 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40414 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40415 Handle Lustre.
40416 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40417 (__statfs_filesize_max): Likewise.
40418 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40419
c75fa153
AJ
404202011-07-05 Andreas Jaeger <aj@suse.de>
40421
40422 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40423
1a544854
UD
404242011-07-06 Marek Polacek <mpolacek@redhat.com>
40425
40426 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40427 `status' variable.
40428 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40429 Likewise.
40430
6f0eec67
UD
404312011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40432
40433 * Makefile (strop-tests): Add strncat.
40434 * string/test-strncat.c: New file.
40435
aae30307
UD
404362011-06-30 Marek Polacek <mpolacek@redhat.com>
40437
40438 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40439
c0cfb5eb
UD
404402011-06-21 Andreas Jaeger <aj@suse.de>
40441
40442 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40443 Copy rule from iconvdata/Makefile.
40444
01636b21
UD
404452011-07-06 Ulrich Drepper <drepper@gmail.com>
40446
40447 [BZ #12922]
40448 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40449 but no long options are defined, just return 'W'.
40450
9895c8bc
UD
404512011-06-22 Marek Polacek <mpolacek@redhat.com>
40452
40453 [BZ #9696]
40454 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40455
5d4cf042
UD
404562011-07-06 Ulrich Drepper <drepper@gmail.com>
40457
40458 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40459 netgroups to read.
960e5535 40460 (innetgr): Likewise.
5d4cf042 40461
751eb97e
RM
404622011-07-05 Roland McGrath <roland@hack.frob.com>
40463
40464 * config.make.in (install_root): Default to $(DESTDIR).
40465
f15f1e45
UD
404662011-07-05 Ulrich Drepper <drepper@gmail.com>
40467
40468 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40469
4e34ac6a
RM
404702011-07-02 Roland McGrath <roland@hack.frob.com>
40471
5e9b6af4
RM
40472 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40473
84f9ea0f
RM
40474 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40475 containing directory rather than embedding absolute directory names.
40476
ea5ee9f7
RM
40477 * scripts/check-local-headers.sh: Rewritten using awk.
40478 Match by word, not by line. Print error messages for matches.
40479 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40480
1b74661a
RM
40481 * Makerules [shlib-lds-flags empty]:
40482 ($(common-objpfx)libc_pic.opts): New target.
40483 ($(common-objpfx)libc_pic.os.clean): New target.
40484 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40485
40486 * config.make.in (OBJCOPY): New variable.
40487 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40488 * configure: Regenerated.
40489
f781ef40
RM
40490 * config.make.in (use-default-link): New variable.
40491 * configure.in (use_default_link): Grok --with-default-link to set it.
40492 * configure: Regenerated.
40493 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40494 (shlib-lds, shlib-lds-flags): Define to empty.
40495
2d4fa81e
RM
40496 * Makerules (shlib-lds): New variable.
40497 (shlib-lds-flags): New variable.
40498 (build-shlib, build-moduile, build-module-asneeded): Use it.
40499 ($(common-objpfx)libc.so): Use $(shlib-lds).
40500 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40501 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40502
31fffa6b
RM
40503 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40504 DT_FLAGS/DT_FLAGS_1 with zero flags.
40505
4e34ac6a
RM
40506 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40507 linker script munging.
40508
fcfc776b
UD
405092011-07-02 Ulrich Drepper <drepper@gmail.com>
40510
40511 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40512 as 128-bit value.
40513 * crypt/sha512.c (sha512_process_block): Perform total addition using
40514 128-bit if possible.
40515 (__sha512_finish_ctx): Likewise.
40516 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40517 as 64-bit value.
40518 * crypt/sha256.c (SWAP64): Define.
40519 (sha256_process_block): Perform total addition using 64-bit if
40520 possible.
40521 (__sha256_finish_ctx): Likewise.
40522
99231d9a
UD
405232011-07-01 Ulrich Drepper <drepper@gmail.com>
40524
40525 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40526 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40527 * nscd/hstcache.c (cache_addhst): Likewise.
40528 * nscd/grpcache.c (cache_addgr): Likewise.
40529 * nscd/aicache.c (addhstaiX): Likewise
40530 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40531
445b4a53
TK
405322011-07-01 Thorsten Kukuk <kukuk@suse.de>
40533
40534 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40535 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40536 * nscd/hstcache.c (cache_addhst): Likewise.
40537 * nscd/grpcache.c (cache_addgr): Likewise.
40538 * nscd/aicache.c (addhstaiX): Likewise
40539
6d4d8e8e
AS
405402011-07-01 Andreas Schwab <schwab@redhat.com>
40541
40542 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40543 domain only when needed.
40544
89f654c5
AS
405452011-06-30 Andreas Schwab <schwab@redhat.com>
40546
40547 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40548 is always restored.
40549
cf3b23ff
UD
405502011-06-29 Ulrich Drepper <drepper@gmail.com>
40551
40552 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40553 are re-adding the entry.
40554 * nscd/servicescache.c (cache_addserv): Likewise.
40555
751626f9
AJ
405562011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40557
40558 * sysdeps/generic/dl-irel.h: fix protection against multiple
40559 inclusions.
40560 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40561
9113ea1f
UD
405622011-06-28 Ulrich Drepper <drepper@gmail.com>
40563
5c0b8d90
UD
40564 [BZ #12935]
40565 * malloc/memusage.sh: Fix quoting in message.
40566 * debug/xtrace.sh: Likewise.
40567
9113ea1f
UD
40568 * configure.in: Remove support for --experimental-malloc option, make
40569 it the default.
40570 * config.make.in: Likewise.
40571 * malloc/Makefile: Likewise.
40572
a4172181
AS
405732011-06-27 Andreas Schwab <schwab@redhat.com>
40574
40575 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40576 two-byte characters.
40577
78a7eee7
RM
405782011-06-27 Roland McGrath <roland@hack.frob.com>
40579
62bede13
RM
40580 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40581 AC_CACHE_CHECK invocation.
40582 * configure: Regenerated.
40583
78a7eee7
RM
40584 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40585
5ce33a62
UD
405862011-06-27 Ulrich Drepper <drepper@gmail.com>
40587
034807a9
UD
40588 [BZ #12350]
40589 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40590 bit from old_res_options.
40591
4902da17
UD
40592 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40593
5ce33a62
UD
40594 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40595 value type for setfct.
40596
c2344f56
L
405972011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40598
40599 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40600 __gettimeofday instead of gettimeofday.
40601
68468076
UD
406022011-06-26 Ulrich Drepper <drepper@gmail.com>
40603
40604 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40605
acb0d739
L
406062011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40607
40608 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40609
40610 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40611 info.
40612
8912479f
L
406132011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40614
40615 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40616 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40617 strcpy-sse2-unaligned strncpy-sse2-unaligned
40618 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40619 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40620 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40621 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40622 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40623 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40624 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40625 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40626 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40627 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40628 (STRCPY): Support SSE2 and SSSE3 versions.
40629
d5495a11
UD
406302011-06-24 Ulrich Drepper <drepper@gmail.com>
40631
40632 [BZ #12874]
40633 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40634 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40635 kernels which artificially limit size of requests.
40636
0b1cbaae
L
406372011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40638
40639 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40640 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40641 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40642 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40643 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40644 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40645 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40646 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40647 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40648 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40649 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40650 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40651 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40652 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40653 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40654 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40655 Enable unaligned load optimization for Intel Core i3, i5 and i7
40656 processors.
40657 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40658 Define.
40659 (index_Fast_Unaligned_Load): Define.
40660 (HAS_FAST_UNALIGNED_LOAD): Define.
40661
07f494a0
MP
406622011-06-23 Marek Polacek <mpolacek@redhat.com>
40663
40664 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40665
fa3fc0fe
UD
406662011-06-22 Ulrich Drepper <drepper@gmail.com>
40667
40668 [BZ #12907]
40669 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40670 until it is clear that the information is realy needed.
40671 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40672
e12df166
AS
406732011-06-22 Andreas Schwab <schwab@redhat.com>
40674
40675 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40676
852eb34d
UD
406772011-06-22 Ulrich Drepper <drepper@gmail.com>
40678
84e2a551
UD
40679 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40680 /sys/devices/system/cpu/online if it is usable.
40681
852eb34d
UD
40682 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40683 reading the information from the /proc filesystem to once a second.
40684
6e502e19
UD
406852011-06-21 Andreas Jaeger <aj@suse.de>
40686
40687 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40688 NULL after inclusion of kernel headers.
40689
75d39ff2
UD
406902011-06-21 Ulrich Drepper <drepper@gmail.com>
40691
51f9aa6a
UD
40692 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40693 calls to internal_setent.
40694
c0244a9d
UD
40695 [BZ #12885]
40696 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40697 addresses using gethostbyname4_r ignore IPv4 addresses.
40698
c5e3c2ae
UD
40699 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40700 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40701
75d39ff2
UD
40702 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40703
42675c6f
DM
407042011-06-20 David S. Miller <davem@davemloft.net>
40705
40706 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40707 inclusions.
40708 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40709
40710 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40711 (elf_irel): Use it.
40712 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40713 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40714 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40715 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40716 * sysdeps/x86_64/dl-irel.h: Likewise.
40717
40718 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40719 * elf/dl-sym.c: Likewise.
40720
57912a71
UD
407212011-06-15 Ulrich Drepper <drepper@gmail.com>
40722
40723 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40724 need to dereference resplen2.
40725
ee22793d
AS
407262011-06-14 Andreas Schwab <schwab@redhat.com>
40727
40728 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40729
a9e836b0
UD
407302011-06-15 Ulrich Drepper <drepper@gmail.com>
40731
77fb9117
UD
40732 * Makeconfig: Define vardbdir and inst_vardbdir.
40733 * nss/Makefile: Add rules to install db-Makefile.
40734
40c1b22c
UD
40735 * nss/nss_db/db-XXX.c: Cleanup.
40736
9f2da732
UD
40737 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40738 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40739 GLIBC_PRIVATE.
40740 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40741 * nss/makedb.c: Implement -g option to specify that value strings
40742 are generated and should not be added to table iterated over for
40743 get*ent calls.
40744 * nss/nss_db/db-initgroups.c: New file.
40745
82e9a1f7
UD
40746 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40747 interface.
40748
c41af17e
UD
40749 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40750 (internal_getgrouplist): Adjust to name change.
40751 Update use_initgroups_entry if this is not the first call.
40752 * nss/databases.def: Add initgroups entry.
40753
a9e836b0
UD
40754 * nss/makedb.c (compute_tables): Check result of multiple hash table
40755 sizes to minimize maximum chain length.
40756
2666d441
UD
407572011-06-14 Ulrich Drepper <drepper@gmail.com>
40758
40759 * Versions.def: Add entry for libnss_db.
40760 * shlib-versions: Likewise.
40761 * nss/Makefile: Add rules to build libnss_db.
40762 * nss/Versions: Add libnss_db information. Organize libnss_files
40763 entries better.
40764 * nss/db-Makefile: Add gshadow support. Change rules for the new
40765 makedb progra. Some minor improvements to generate smaller files.
40766 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40767 here from...
40768 * nss/makedb.c: ...here.
40769 Improve database format to be smaller and require less memory at
40770 runtime.
40771 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40772 db anymore.
40773 * nss/nss_db/db-netgrp.c: Likewise.
40774 * nss/nss_db/db-open.c: Likewise.
40775 * nss/nss_files/flies-XXX.x: Adjust comments.
40776 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40777 * nss/nss_files/files-grp.c: Likewise.
40778 * nss/nss_files/files-hosts.c: Likewise.
40779 * nss/nss_files/files-network.c: Likewise.
40780 * nss/nss_files/files-proto.c: Likewise.
40781 * nss/nss_files/files-pwd.c: Likewise.
40782 * nss/nss_files/files-rpc.c: Likewise.
40783 * nss/nss_files/files-service.c: Likewise.
40784 * nss/nss_files/files-sgrp.c: Likewise.
40785 * nss/nss_files/files-spwd.c: Likewise.
40786 * nss/nss_db/db-alias.c: Removed.
40787 * nss/nss_db/dummy-db.h: Removed.
40788
9ee76b5a
UD
407892011-06-02 Ulrich Drepper <drepper@gmail.com>
40790
40791 * nss/makedb.c: Rewritten to not use database library.
40792 * nss/Makefile: Update to build new makedb program.
40793
c71ca1f8
AJ
407942011-06-14 Andreas Jaeger <aj@suse.de>
40795
40796 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40797 memset declaration.
40798
3154bfb8
UD
407992011-06-10 Andreas Schwab <schwab@redhat.com>
40800
40801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40802 tmpbuf.
40803
b350afab
RM
408042011-06-10 Roland McGrath <roland@hack.frob.com>
40805
decd4e50
RM
40806 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40807 * elf/Makefile ($(objpfx)ld.so): Likewise.
40808
5615eaf2
RM
40809 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40810 Don't list ld.so twice in dependencies.
40811
40812 * posix/bug-regex31.c: Include <stdlib.h>.
40813
40814 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40815
40816 * nis/nss_compat/compat-spwd.c
40817 (getspent_next_nss_netgr): Remove unused variable.
40818 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40819
40820 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40821 nonmembers" output to use the right array.
40822
40823 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40824
40825 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40826
40827 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40828 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40829 * catgets/gencat.c (read_input_file): Likewise.
40830 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40831
40832 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40833 variable definition inside #if's controlling its use.
40834
40835 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40836
40837 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40838
40839 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40840
40841 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40842 unreachable code.
40843
40844 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40845
b68e08db
RM
40846 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40847 * configure: Regenerated.
40848
b350afab
RM
40849 * Makerules: Revert last change.
40850 * elf/Makefile: Likewise.
40851
28368601
RM
408522011-06-09 Roland McGrath <roland@hack.frob.com>
40853
40854 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40855 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40856 (reloc-link): Likewise.
40857
11988f8f
UD
408582011-06-09 Ulrich Drepper <drepper@gmail.com>
40859
40860 * elf/Makefile: Add rules to build pldd.
40861 * elf/pldd.c: New file.
40862 * elf/pldd-xx.c: New file.
40863
e80fab37
UD
408642011-06-07 Ulrich Drepper <drepper@gmail.com>
40865
40866 * version.h: Update for 2.15 development version.
40867
9b849836
DM
408682011-06-07 David S. Miller <davem@davemloft.net>
40869
40870 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40871 ifuncs.
40872 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40873 elf_machine_lazy_rel): Likewise.
40874 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40875 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40876 elf_machine_lazy_rel): Likewise.
40877 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40878 dl_hwcap via passed in argument.
40879 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40880 Likewise.
40881
5a31b283
AK
408822011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40883
40884 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40885
069e52f8
RM
408862011-06-06 Roland McGrath <roland@hack.frob.com>
40887
40888 [BZ #12849]
40889 * manual/fdl-1.1.texi: New file, verbatim from:
40890 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40891 * manual/lgpl-2.1.texi: New file, verbatim from:
40892 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40893 * manual/Makefile (licenses): New variable, list those new file names.
40894 (texis): Use it.
40895 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40896
40897 * manual/fdl.texi: File removed.
40898 * manual/lesser.texi: File removed.
40899 * manual/libc.texinfo (Copying, Documentation License):
40900 Use new @include file names, put @appendix directive before @include.
40901
f16846a5
JJ
409022011-06-04 Jakub Jelinek <jakub@redhat.com>
40903
40904 [BZ #12841]
40905 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40906 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40907 (mq_open): Add __NTH.
40908
3d29045b
L
409092011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40910
40911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40912 Assume Intel Core i3/i5/i7 processor if AVX is available.
40913
8c297311
UD
409142011-05-31 Ulrich Drepper <drepper@gmail.com>
40915
40916 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40917 typo.
40918
c8fc0c91
UD
409192011-05-31 Andreas Schwab <schwab@redhat.com>
40920
40921 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40922 memory. Use alloca_account. Fix memory leak when retrying.
40923
5b27a807
UD
409242011-05-31 Ulrich Drepper <drepper@gmail.com>
40925
356f8bc6
UD
40926 * version.h (RELEASE): Bump for 2.14 release.
40927 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40928
5b27a807
UD
40929 * config.make.in (RANLIB): Remove entry.
40930
01f16ab0
UD
409312011-05-30 Ulrich Drepper <drepper@gmail.com>
40932
41fce8bd
UD
40933 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40934 (libc.pot): Work around missing support for .ksh extension in xgettext.
40935
4769ae77
UD
40936 [BZ #12684]
40937 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40938 if both request failed.
40939 (send_dg): In case of server errors clear resplen or *resplen2.
40940
6b1e7d19
UD
40941 [BZ #12454]
40942 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40943 when there are multiple maps.
40944 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40945 (_dl_fini): Remove test here.
40946
01f16ab0
UD
40947 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40948
b1ebd700
UD
409492011-05-29 Ulrich Drepper <drepper@gmail.com>
40950
7ae22829
UD
40951 [BZ #12350]
40952 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40953 bit from old_res_options.
40954 (gaih_inet): Likewise.
40955
553149f6 40956 [BZ #11099]
18a84741 40957 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40958 as signed.
40959
652ffab1
UD
40960 * resolv/res_init.c (res_setoptions): Make the code more compact.
40961
16985fd0
UD
40962 [BZ #11558]
40963 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40964 set RES_USEVC.
40965
0464f746
UD
40966 [BZ #11634]
40967 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40968
7d17596c
UD
40969 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40970
cf6bbbd7
UD
40971 [BZ #11781]
40972 * malloc/malloc.h: Declare malloc hook variables as volatile.
40973
13f1ab36
UD
40974 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40975 in last patch.
40976
b1ebd700
UD
40977 [BZ #11799]
40978 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40979 raise in the comment.
80e2212d
UD
40980 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40981 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40982 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40983
ce67228d
UD
409842011-05-28 Ulrich Drepper <drepper@gmail.com>
40985
8887a920
UD
40986 [BZ #12811]
40987 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40988 grow the buffers more if it already has to be sufficient.
40989 (build_wcs_upper_buffer): Likewise.
40990 * posix/regexec.c (check_matching): Likewise.
40991 (clean_state_log_if_needed): Likewise.
40992 (extend_buffers): Don't enlarge buffers beyond size of the input
40993 buffer.
40994 Patches mostly by Emil Wojak <emil@wojak.eu>.
40995 * posix/bug-regex32.c: New file.
40996 * posix/Makefile (tests): Add bug-regex32.
40997
4f031072
UD
40998 * locale/findlocale.c (_nl_find_locale): Return right away if
40999 _nl_explode_name failed.
41000 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41001
d0478f0c
UD
41002 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41003
de81b246
UD
41004 * debug/xtrace.sh: Unify messages.
41005 * malloc/memusage.sh: Likewise.
41006
c738465a
UD
41007 [BZ #12813]
41008 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41009 time symbol from vDSO. Substitute with vsyscall if not available.
41010 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41011 __vdso_time.
41012
f1f929d7
UD
41013 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41014 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41015 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41016 Add sendmmsg and internal_sendmmsg.
41017 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41018 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41019 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41020
ce67228d
UD
41021 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41022 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41023 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41024
e57420c6
UD
410252011-05-27 Ulrich Drepper <drepper@gmail.com>
41026
a8509ca5
UD
41027 [BZ #12813]
41028 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41029 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
41030 available.
41031 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41032 __vdso_getcpu.
41033
e57420c6
UD
41034 [BZ #12814]
41035 * iconvdata/Makefile (tests): Add bug-iconv9.
41036 * iconvdata/bug-iconv9.c: New file.
41037
4d07db15
AS
410382011-05-27 Andreas Schwab <schwab@redhat.com>
41039
41040 [BZ #12814]
41041 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41042
ea486f69
JJ
410432011-05-25 Jakub Jelinek <jakub@redhat.com>
41044
41045 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41046 (struct user_regs_struct): Change intcs field back to cs.
41047
6f038433
UD
410482011-05-25 Ulrich Drepper <drepper@gmail.com>
41049
41050 * po/ja.po: Update from translation team.
41051
67f86a25
UD
410522011-05-23 Ulrich Drepper <drepper@gmail.com>
41053
41054 [BZ #12795]
41055 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41056 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41057
def7fbd6
AS
410582011-05-20 Andreas Schwab <schwab@redhat.com>
41059
41060 * stdlib/longlong.h: Update from GCC.
41061
f50ef8f1
AS
410622011-05-23 Andreas Schwab <schwab@redhat.com>
41063
41064 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41065 parameter name.
41066 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41067 Add parameter name.
41068 (__sysconf): Pass it down.
41069
de7ce8f1
UD
410702011-05-22 Ulrich Drepper <drepper@gmail.com>
41071
f2962a71
UD
41072 [BZ #12671]
41073 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41074 some situations.
41075 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41076 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41077 add in in __libc_use_alloca calls. Adjust callers.
41078 (glob): Use malloc in some situations.
41079
de7ce8f1
UD
41080 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41081 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41082 pltexit.
41083
aec84f53
UD
410842011-05-21 Ulrich Drepper <drepper@gmail.com>
41085
05bb4a68
UD
41086 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41087 and CLOCK_BOOTTIME_ALARM.
41088
7ea72f99
UD
41089 [BZ #12782]
41090 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41091 is returned.
41092
7e4afad5
UD
41093 * string/_strerror.c (__strerror_r): Print negative errors as signed
41094 numbers.
41095
8e211fec
UD
41096 [BZ #12777]
41097 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41098 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41099 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41100
f7d82dc9
UD
41101 * configure.in: Fix typo in redirection and correct removal of test
41102 files in two cases.
41103
cc9e536d
UD
41104 [BZ #12788]
41105 * locale/setlocale.c (new_composite_name): Fix test to check for
41106 identical name of all categories.
41107
aec84f53
UD
41108 [BZ #12792]
41109 * libio/filedoalloc.c (local_isatty): New function.
41110 (_IO_file_doallocate): Use local_isatty.
41111 * stdio-common/perror.c (perror): In case a new stream is used
41112 forward the stream error.
41113 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41114 error flag.
41115
78e64fdc
RT
411162011-05-20 Ulrich Drepper <drepper@gmail.com>
41117
34a9094f
UD
41118 [BZ #11869]
41119 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41120 alloca.
41121 * include/alloca.h (extend_alloca_account): Define.
41122
78e64fdc
RT
41123 [BZ #11857]
41124 * posix/regex.h: Fix comments with documentation of user-accessible
41125 fields after compilation and describe correct free'ing of pattern
41126 after re_compile_pattern.
41127 Patch by Reuben Thomas <rrt@sc3d.org>.
41128
457bddfc
RA
411292011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41130
41131 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41132 and -mno-altivec to prevent the compiler from using Altivec and/or
41133 VSX instructions when the corresponding registers are not available.
41134
a4527b51
AS
411352011-05-19 Andreas Schwab <schwab@redhat.com>
41136
41137 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41138
ed690b2f
UD
411392011-05-19 Ulrich Drepper <drepper@gmail.com>
41140
41141 * libio/freopen.c (freopen): Use __dup2, not dup2.
41142 * libio/freopen64.c (freopen64): Likewise.
41143
8db73634
L
411442011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41145
41146 [BZ #12775]
41147 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41148 * math/Makefile (tests): Add test-powl.
41149 (CFLAGS-test-powl.c): Define.
41150 * math/test-powl.c: New file.
41151
0a197a9d
L
411522011-05-16 H.J. Lu <hongjiu.lu@intel.com>
41153
41154 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41155
ee30c380
UD
411562011-05-17 Ulrich Drepper <drepper@gmail.com>
41157
41158 [BZ #11837]
41159 * iconvdata/gb18030.c: Update to GB18020-2005.
41160
6ce75379
UD
411612011-05-16 Ulrich Drepper <drepper@gmail.com>
41162
a4b89fd8
AR
41163 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41164 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41165 Patch by Aharon Robbins <arnold@skeeve.com>.
41166
ea389b12
UD
41167 [BZ #11892]
41168 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41169 on the stack.
41170
68a3f91f
UD
41171 [BZ #11895]
41172 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41173 through underflows.
41174
15cc7dd1
UD
41175 [BZ #12766]
41176 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41177 point to strings before performing equality test for error_one_per_line
41178 mode.
41179
f3799213
UD
41180 [BZ #11697]
41181 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41182
d79a9c94
UD
41183 [BZ #11820]
41184 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41185 (struct user_fpregs_struct): Avoid __uint*_t types.
41186
56e5eb46
UD
41187 [BZ #6420]
41188 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41189 symbol info. Use it instead of calling _dl_addr locally.
41190 (lock_and_info): New function.
41191 (tr_freehook): Call lock_and_info and pass symbol info as additional
41192 parameter to tr_where.
41193 (tr_mallochook): Likewise.
41194 (tr_reallochook): Likewise.
41195 (tr_memalignhook): Likewise.
41196
6ce75379
UD
41197 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41198 used and couldn't be at all thread-safe.
41199
f8a3b5bf
UD
412002011-05-15 Ulrich Drepper <drepper@gmail.com>
41201
94b7cc37
UD
41202 * libio/freopen.c (freopen): Don't close old file descriptor
41203 before the new one is opened. Instead dup the new file descriptor
41204 to the old one after the new stream is created.
41205 * libio/freopen64.c (freopen64): Likewise.
41206 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41207 * libio/fileops.c (_IO_new_file_close_it): Handle new
41208 _IO_FLAGS2_NOCLOSE flag.
41209 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41210 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41211 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41212 _IO_FLAGS2_NOCLOSE flag.
41213 * include/unistd.h: Add hidden_proto for dup3.
41214 Define __have_dup3.
41215 * io/dup3.c: Define hidden symbol.
41216 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41217
bd25564e
UD
41218 [BZ #7101]
41219 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41220 when an incomplete long option is used.
41221 * posix/tst-getopt_long1.c: New file.
41222 * posix/Makefile (tests): Add tst-getopt_long1.
41223
c84cfef4
UD
41224 [BZ #10138]
41225 * scripts/config.guess: Update from autoconf-2.68.
41226 * scripts/config.sub: Likewise.
41227
3b85df27
UD
41228 [BZ #10157]
41229 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41230 tests into ...
41231 (has_cpuclock): ...this. New function.
41232 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41233 macro here based on has_cpuclock code.
41234
15a856b1
UD
41235 [BZ #10149]
41236 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41237 First byte (not low byte) is now always NUL.
41238 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41239
05f399e6
UD
41240 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41241 Use non-cancelable interfaces.
41242
10a52685 41243 [BZ #9809]
94ecc67d
UD
41244 * locale/iso-639.def: Add entry for Sorani.
41245
f8a3b5bf
UD
41246 [BZ #11901]
41247 * include/stdlib.h: Move include protection to the right place.
41248 Define abort_msg_s. Declare __abort_msg with it.
41249 * stdlib/abort.c (__abort_msg): Adjust type.
41250 * assert/assert.c (__assert_fail_base): New function. Majority
41251 of code from __assert_fail. Allocate memory for __abort_msg with
41252 mmap.
41253 (__assert_fail): Now call __assert_fail_base.
41254 * assert/assert-perr.c: Remove bulk of implementation. Use
41255 __assert_fail_base.
41256 * include/assert.hL Declare __assert_fail_base.
41257 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41258 mmap.
41259 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41260
1af4e298
UD
412612011-05-14 Ulrich Drepper <drepper@gmail.com>
41262
f8a3b5bf 41263 [BZ #11952]
d26dfc60
MG
41264 [BZ #12453]
41265 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41266 until all modules are registered in the DTV.
41267 * elf/Makefile: Add rules to build and run tst-tls19.
41268 * elf/tst-tls19.c: New file.
41269 * elf/tst-tls19mod1.c: New file.
41270 * elf/tst-tls19mod2.c: New file.
41271 * elf/tst-tls19mod3.c: New file.
41272 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41273
2fc54d6f
UD
41274 [BZ #12083]
41275 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41276 correctly.
41277
98d76b46
UD
41278 [BZ #12601]
41279 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41280 two-byte sequence errors.
41281 * iconvdata/Makefile (tests): Add bug-iconv8.
41282 * iconvdata/bug-iconv8.c: New file.
41283
da3c19ef
UD
41284 [BZ #12626]
41285 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41286 buf2 definition.
41287
ca408c15
UD
41288 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41289
d6f67f7d
UD
41290 [BZ #12432]
41291 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41292 (dummy_getcfa): New function.
41293 (init): Get _Unwind_GetCFA address, use dummy if not found.
41294 (backtrace_helper): In recursion check, also check whether CFA changes.
41295 (__backtrace): Completely initialize arg.
41296
1af4e298 41297 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
41298 storing incomplete byte sequence in state object. Avoid testing for
41299 guaranteed too small input if we know there is enough data available.
1af4e298 41300
da62f81b
AS
413012011-05-11 Andreas Schwab <schwab@redhat.com>
41302
41303 * Makeconfig (+link-pie): Indent.
41304 * Rules (binaries-pie): Define if $(have-fpie) and
41305 $(build-shared).
41306 (binaries-shared): Also filter out $(binaries-pie).
41307 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41308 * nscd/Makefile (others-pie): Add nscd.
41309 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41310 ($(objpfx)nscd): Remove command override.
41311 * login/Makefile (others-pie): Add pt_chown.
41312 ($(objpfx)pt_chown): Remove command override.
41313 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41314 remove command overrides.
41315
fcabc0f8
UD
413162011-05-13 Ulrich Drepper <drepper@gmail.com>
41317
20030ae6
UD
41318 * libio/tst_putwc.c: Fix error messages.
41319
fcabc0f8
UD
41320 [BZ #12724]
41321 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41322 currently writing and seek to current position when not.
41323 * libio/Makefile (tests): Add bug-fclose1.
41324 * libio/bug-fclose1.c: New file.
41325
320a5dc0
PB
413262011-05-12 Ulrich Drepper <drepper@gmail.com>
41327
41328 [BZ #12511]
41329 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41330 don't set DF_1_NODELETE here.
41331 (do_lookup_x): When entering new entry test for copy relocation
41332 and if necessary set DF_1_NODELETE flag.
41333 * elf/tst-unique4.cc: New file.
41334 * elf/tst-unique4.h: New file.
41335 * elf/tst-unique4lib.cc: New file.
41336 * elf/Makefile: Add rules to build and run tst-unique4.
41337 Patch by Piotr Bury <pbury@goahead.com>.
41338
22836f52
UD
413392011-05-11 Ulrich Drepper <drepper@gmail.com>
41340
f574184a
UD
41341 [BZ #12052]
41342 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41343
e1fb097f
UD
41344 [BZ #12625]
41345 * misc/mntent_r.c (addmntent): Flush the stream after the output
41346
22836f52
UD
41347 [BZ #12393]
41348 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41349 (is_trusted_path_normalize): Skip initial colon. Append slash
41350 to empty buffer. Duplicate is_trusted_path code but allow
41351 constructed patch to be prefix.
41352 (is_dst): Allow $ORIGIN followed by /.
41353 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41354 Correct testing of result of is_trusted_path_normalize
41355 (decompose_rpath): Fix warning.
41356
7b3b0b2a
UD
413572011-05-10 Ulrich Drepper <drepper@gmail.com>
41358
41359 [BZ #11257]
41360 * grp/initgroups.c (internal_getgrouplist): When we found the service
41361 list through the initgroups entry in nsswitch.conf do not always
41362 continue on a successful lookup. Don't always use the
eac80ce2 41363 __nss_group_database value if it is set.
7b3b0b2a
UD
41364 * nss/nsswitch.conf (initgroups): Change action for successful db
41365 lookup to continue for compatibility.
41366
2a81eaa5
UD
413672011-05-09 Ulrich Drepper <drepper@gmail.com>
41368
be97a69e
UD
41369 [BZ #11532]
41370 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41371 and CP774 modules.
41372 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41373 and CP774 modules.
41374 * iconvdata/tst-tables.sh: Likewise.
41375 * iconvdata/cp770.c: New file.
41376 * iconvdata/cp771.c: New file.
41377 * iconvdata/cp772.c: New file.
41378 * iconvdata/cp773.c: New file.
41379 * iconvdata/cp774.c: New file.
41380 * iconvdata/testdata/CP770: New file.
41381 * iconvdata/testdata/CP770..UTF8: New file.
41382 * iconvdata/testdata/CP771: New file.
41383 * iconvdata/testdata/CP771..UTF8: New file.
41384 * iconvdata/testdata/CP772: New file.
41385 * iconvdata/testdata/CP772..UTF8: New file.
41386 * iconvdata/testdata/CP773: New file.
41387 * iconvdata/testdata/CP773..UTF8: New file.
41388 * iconvdata/testdata/CP774: New file.
41389 * iconvdata/testdata/CP774..UTF8: New file.
41390
41391 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41392 END CHARMAP line.
41393 * iconvdata/gen-8bit-gap.sh: Likewise.
41394 * iconvdata/gen-8bit.sh: Likewise.
41395
c1e9e399
UD
41396 * locale/iso-639.def: Add ary entry.
41397
24c55fb3 41398 [BZ #11258]
96b4b1b0
UD
41399 * locale/C-translit.h.in: Add U20A1 transliteration.
41400
bdc2f971
KB
41401 [BZ #12178]
41402 * locale/iso-639.def: Add wae entry.
41403 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41404
2952b117
UD
41405 [BZ #12545]
41406 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41407 for n.
41408
2a81eaa5
UD
41409 [BZ #12711]
41410 * locale/C-translit.h.in: Add entry for U20B9.
41411 Patch by pravin.d.s@gmail.com.
41412
28377d1b
UD
414132011-05-08 Ulrich Drepper <drepper@gmail.com>
41414
7fb90fb8
UD
41415 [BZ #12713]
41416 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41417 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
41418 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41419 in rtld. Use *stat64.
7fb90fb8 41420 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 41421 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 41422 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
41423 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41424 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41425 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41426 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41427 __fstatat64 macros.
7fb90fb8
UD
41428 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41429 * dirent/rewinddir.c: Add libc_hidden_def.
41430 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 41431 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 41432
28377d1b
UD
41433 * include/dirent.h (__alloc_dir): Add flags parameter.
41434 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41435 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41436 __alloc_dir.
41437 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41438 from fdopendir if O_CLOEXEC is already set.
41439
66bdbaa4
AM
414402011-03-15 Alan Modra <amodra@gmail.com>
41441
41442 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41443 l_tls_firstbyte_offset non-zero. Save padding offset in
41444 l_tls_firstbyte_offset for later use.
41445 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41446 freeing static tls block.
41447
95721191
JN
414482011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41449
41450 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41451 where #ifdef was intended. The intent is to prevent ARG_MAX from
41452 being defined by the kernel headers.
41453
f87dfb1f
UD
414542011-05-07 Ulrich Drepper <drepper@gmail.com>
41455
41456 [BZ #12734]
41457 * resolv/resolv.h: Define RES_NOTLDQUERY.
41458 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41459 no-tld-query and set RES_NOTLDQUERY.
41460 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41461 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41462 modern BIND to search name as TLD unless forbidden.
41463
47c3cd7a
UD
414642011-05-07 Petr Baudis <pasky@suse.cz>
41465 Ulrich Drepper <drepper@gmail.com>
41466
41467 [BZ #12393]
41468 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41469 (is_trusted_path): ...to here.
c1e9ea35 41470 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 41471 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 41472 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 41473
8a35c912
PP
414742011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41475
41476 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41477 __BEGIN/__END_DECLS.
41478
acd41f47
UD
414792011-05-06 Ulrich Drepper <drepper@gmail.com>
41480
41481 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41482 NSS_STATUS_NOTFOUND if no record was found.
41483
597df647
AS
414842011-05-05 Andreas Schwab <schwab@redhat.com>
41485
41486 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41487 (headers-not-in-tirpc): Remove rpc/netdb.h
41488 * resolv/netdb.h: Revert last change.
41489
b9af1301
PP
414902011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41491
41492 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41493 circular dependency between libgcc.a and libc.a.
41494
4e34d5f5
AS
414952011-05-05 Andreas Schwab <schwab@redhat.com>
41496
41497 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41498 * nis/Makefile: Don't install rpcsvc/*.
41499 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41500 instead of <rpc/types.h>.
41501 (MAXHOSTNAMELEN): Define.
41502
00ee369c
AS
415032011-05-03 Andreas Schwab <schwab@redhat.com>
41504
41505 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41506
0b592a30
MB
415072011-04-28 Maciej Babinski <mbabinski@google.com>
41508
41509 [BZ #12714]
41510 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41511 gethostbyname4_r when IPv6 results are possible.
41512
6e04cbbe
UD
415132011-05-02 Ulrich Drepper <drepper@gmail.com>
41514
41515 [BZ #12723]
41516 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41517 _PC_PIPE_BUF handling.
41518
e4ecafe0
BH
415192011-04-30 Bruno Haible <bruno@clisp.org>
41520
41521 [BZ #12717]
41522 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41523 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41524 to 'int'.
41525 * inet/getnameinfo.c (getnameinfo): Likewise.
41526
125ee683
UD
415272011-04-29 Ulrich Drepper <drepper@gmail.com>
41528
41529 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41530 to groups setting in database lookup.
41531 * nss/nsswitch.conf: Add initgroups entry.
41532
b722481a
EB
415332011-04-22 Ulrich Drepper <drepper@gmail.com>
41534
41535 [BZ #12685]
41536 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41537 mode string.
41538 Patch by Eric Blake <eblake@redhat.com>.
41539
4df46dbd
L
415402011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41541
41542 * sunrpc/Makefile (need-export-routines): Add svc_run.
41543 (routines): Remove svc_run.
41544 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41545 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41546 * sunrpc/svc_run.c (svc_run): Likewise.
41547 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41548
e84142d2
UD
415492011-04-21 Ulrich Drepper <drepper@gmail.com>
41550
41551 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41552 problem in reallocation in last patch.
41553
877175d8
UD
415542011-04-20 Ulrich Drepper <drepper@gmail.com>
41555
41556 * sunrpc/Makefile: Move inclusion of Rules.
41557
ab8eed78
UD
415582011-04-19 Ulrich Drepper <drepper@gmail.com>
41559
41560 * nss/nss_files/files-initgroups.c: New file.
41561 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41562 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41563 _nss_files_initgroups_dyn.
41564
e3d8f584
RS
415652011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41566
41567 * elf/elf.h (R_ARM_IRELATIVE): Define.
41568
af190f45
UD
415692011-04-19 Ulrich Drepper <drepper@gmail.com>
41570
41571 * po/ru.po: Update from translation team.
41572
53cf59ef
UD
415732011-04-17 Ulrich Drepper <drepper@gmail.com>
41574
41575 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41576 dependencies.
41577
4c559bcd
MF
415782011-02-06 Mike Frysinger <vapier@gentoo.org>
41579
41580 [BZ #12653]
41581 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41582 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41583 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41584 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41585 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41586
4420675c
AS
415872011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41588
41589 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41590 differing bytes.
41591 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41592 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41593 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41594
75ea32ab
UD
415952011-04-17 Ulrich Drepper <drepper@gmail.com>
41596
41597 [BZ #12420]
41598 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41599 storing it.
41600 * stdlib/bug-getcontext.c: New file.
41601 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41602
27390476
AK
416032011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41604
41605 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41606 instructions into .machine "z9-109".
41607 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41608 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41609
10442705
AK
416102011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41611
41612 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41613 between environment variables and auxiliary vector.
41614
7b57bfe5
UD
416152011-04-16 Ulrich Drepper <drepper@gmail.com>
41616
41617 * Makefile: Add rules to build linkobj/libc.so.
41618 * include/libc-symbols.h: Define libc_hidden_nolink.
41619 * include/rpc/auth.h: Mark functions which are to be hidden.
41620 * include/rpc/auth_des.h: Likewise.
41621 * include/rpc/auth_unix.h: Likewise.
41622 * include/rpc/clnt.h: Likewise.
41623 * include/rpc/des_crypt.h: Likewise.
41624 * include/rpc/key_prot.h: Likewise.
41625 * include/rpc/pmap_clnt.h: Likewise.
41626 * include/rpc/pmap_prot.h: Likewise.
41627 * include/rpc/pmap_rmt.h: Likewise.
41628 * include/rpc/rpc_msg.h: Likewise.
41629 * include/rpc/svc.h: Likewise.
41630 * include/rpc/svc_auth.h: Likewise.
41631 * include/rpc/xdr.h: Likewise.
41632 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41633 * nss/Makefile: Likewise.
41634 * sunrpc/Makefile: Don't install headers. Build library with normal
41635 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41636 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41637 for the compat linking library. Remove use of INTDEF/INTUSE.
41638 * sunrpc/auth_none.c: Likewise.
41639 * sunrpc/auth_unix.c: Likewise.
41640 * sunrpc/authdes_prot.c: Likewise.
41641 * sunrpc/authuxprot.c: Likewise.
41642 * sunrpc/clnt_gen.c: Likewise.
41643 * sunrpc/clnt_perr.c: Likewise.
41644 * sunrpc/clnt_raw.c: Likewise.
41645 * sunrpc/clnt_simp.c: Likewise.
41646 * sunrpc/clnt_tcp.c: Likewise.
41647 * sunrpc/clnt_udp.c: Likewise.
41648 * sunrpc/clnt_unix.c: Likewise.
41649 * sunrpc/des_crypt.c: Likewise.
41650 * sunrpc/des_soft.c: Likewise.
41651 * sunrpc/get_myaddr.c: Likewise.
41652 * sunrpc/key_call.c: Likewise.
41653 * sunrpc/key_prot.c: Likewise.
41654 * sunrpc/netname.c: Likewise.
41655 * sunrpc/pm_getmaps.c: Likewise.
41656 * sunrpc/pm_getport.c: Likewise.
41657 * sunrpc/pmap_clnt.c: Likewise.
41658 * sunrpc/pmap_prot.c: Likewise.
41659 * sunrpc/pmap_prot2.c: Likewise.
41660 * sunrpc/pmap_rmt.c: Likewise.
41661 * sunrpc/publickey.c: Likewise.
41662 * sunrpc/rpc_cmsg.c: Likewise.
41663 * sunrpc/rpc_common.c: Likewise.
41664 * sunrpc/rpc_dtable.c: Likewise.
41665 * sunrpc/rpc_prot.c: Likewise.
41666 * sunrpc/rpc_thread.c: Likewise.
41667 * sunrpc/rtime.c: Likewise.
41668 * sunrpc/svc.c: Likewise.
41669 * sunrpc/svc_auth.c: Likewise.
41670 * sunrpc/svc_authux.c: Likewise.
41671 * sunrpc/svc_raw.c: Likewise.
41672 * sunrpc/svc_run.c: Likewise.
41673 * sunrpc/svc_simple.c: Likewise.
41674 * sunrpc/svc_tcp.c: Likewise.
41675 * sunrpc/svc_udp.c: Likewise.
41676 * sunrpc/svc_unix.c: Likewise.
41677 * sunrpc/svcauth_des.c: Likewise.
41678 * sunrpc/xcrypt.c: Likewise.
41679 * sunrpc/xdr.c: Likewise.
41680 * sunrpc/xdr_array.c: Likewise.
41681 * sunrpc/xdr_float.c: Likewise.
41682 * sunrpc/xdr_intXX_t.c: Likewise.
41683 * sunrpc/xdr_mem.c: Likewise.
41684 * sunrpc/xdr_rec.c: Likewise.
41685 * sunrpc/xdr_ref.c: Likewise.
41686 * sunrpc/xdr_sizeof.c: Likewise.
41687 * sunrpc/xdr_stdio.c: Likewise.
41688
e6c61494
UD
416892011-04-10 Ulrich Drepper <drepper@gmail.com>
41690
41691 [BZ #12650]
41692 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41693 * sysdeps/ia64/dl-tls.h: Likewise.
41694 * sysdeps/powerpc/dl-tls.h: Likewise.
41695 * sysdeps/s390/dl-tls.h: Likewise.
41696 * sysdeps/sh/dl-tls.h: Likewise.
41697 * sysdeps/sparc/dl-tls.h: Likewise.
41698 * sysdeps/x86_64/dl-tls.h: Likewise.
41699 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41700
34fe483e
AS
417012011-03-14 Andreas Schwab <schwab@redhat.com>
41702
41703 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41704 rpath element also skip the following colon.
41705 (expand_dynamic_string_token): Add is_path parameter and pass
41706 down to DL_DST_REQUIRED and _dl_dst_substitute.
41707 (decompose_rpath): Call expand_dynamic_string_token with
41708 non-zero is_path. Ignore empty rpaths.
41709 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41710 with zero is_path.
41711
f12a32e6
AS
417122011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41713
41714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41715 Make cancelable.
41716
38a7d692
UD
417172011-04-09 Ulrich Drepper <drepper@gmail.com>
41718
41719 [BZ #12655]
41720 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41721 Patch by Filipe David Manana <fdmanana@apache.org>.
41722
e451d22b
AS
417232011-04-07 Andreas Schwab <schwab@redhat.com>
41724
41725 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41726 Maintain aligned stack.
41727 (CHECK_RSP): Remove unused macro.
41728
dedc7c7b
UD
417292011-04-03 Ulrich Drepper <drepper@gmail.com>
41730
41731 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41732 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41733
94521213
UD
417342011-04-02 Ulrich Drepper <drepper@gmail.com>
41735
41736 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41737
8cb700c0 41738 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41739
0354e355
L
417402011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41741
41742 [BZ #12518]
41743 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41744 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41745 * sysdeps/x86_64/memmove.c: New file.
41746 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41747 (memcpy): Renamed to ...
41748 (__new_memcpy): This.
41749 (memcpy): Provide GLIBC_2_14 memcpy.
41750 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41751 (memcpy): Provide GLIBC_2_2_5 memcpy.
41752
8593482f
UD
417532011-04-01 Ulrich Drepper <drepper@gmail.com>
41754
41755 [BZ #12631]
41756 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41757
81a5726b
AS
417582011-03-30 Andreas Schwab <schwab@redhat.com>
41759
41760 * misc/syncfs.c: New file.
41761 * misc/Makefile (routines): Add syncfs.
41762 * posix/unistd.h: Declare syncfs.
41763 * sysdeps/unix/syscalls.list: Add syncfs.
41764
00e5419f
AS
417652011-04-01 Andreas Schwab <schwab@redhat.com>
41766
41767 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41768 open_by_handle_at.
41769 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41770 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41771 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41772 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41773 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41774 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41775 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41776
748876bf
UD
417772011-04-01 Ulrich Drepper <drepper@gmail.com>
41778
658e451d
UD
41779 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41780 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41781 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41782 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41783 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41784 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41785 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41786
748876bf
UD
41787 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41788 sync_file_range.c with -fexceptions.
41789 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41790 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41791 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41792 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41793 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41794 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41795 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41796 sync_file_range as cancellation point
41797 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41798 now a wrapper around __call_sync_file_range with cancellation handling.
41799 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41800 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41801 function name to __call_sync_file_range.
41802 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41803 Add call_sync_file_range.
748876bf 41804
6e63d5e1
AS
418052011-04-01 Andreas Schwab <schwab@redhat.com>
41806
41807 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41808 bits/timex.h.
6e63d5e1 41809
46998f74
UD
418102011-04-01 Ulrich Drepper <drepper@gmail.com>
41811
4c1423ed
UD
41812 * iconv/iconv.h: Fix typo in comment.
41813 * io/fcntl.h: Likewise.
41814 * libio/stdio.h: Likewise.
41815 * posix/spawn.h: Likewise.
41816 * posix/unistd.h: Likewise.
41817 * stdlib/stdlib.h: Likewise.
41818 * time/time.h: Likewise.
41819 * wcsmbs/wchar.h: Likewise.
41820
158648c0
UD
41821 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41822 open_by_handle): Add.
41823 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41824 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41825 Augment a few comments.
41826 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41827 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41828 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41829 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41830 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41831 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41832 open_by_handle.
41833
46998f74
UD
41834 * io/fcntl.h (AT_EMPTY_PATH): Define.
41835
83fe108b
UD
418362011-03-30 Ulrich Drepper <drepper@gmail.com>
41837
41838 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41839 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41840 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41841 to...
41842 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41843 * Versions.def: Add GLIBC_2.14.
41844 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41845 Export.
83fe108b 41846
bb242059
UD
418472011-03-22 Ulrich Drepper <drepper@gmail.com>
41848
41849 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41850 round counter.
41851 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41852
c97a1282
L
418532011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41854
41855 [BZ #12597]
41856 * string/test-strncmp.c (do_page_test): New function.
41857 (check2): Likewise.
41858 (test_main): Call check2.
41859 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41860
2a115601
UD
418612011-03-20 Ulrich Drepper <drepper@gmail.com>
41862
41863 [BZ #12587]
41864 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41865 Handle cache information in CPU leaf 4.
41866 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41867
8126d904
UD
418682011-03-18 Ulrich Drepper <drepper@gmail.com>
41869
042c49c6 41870 [BZ #12583]
8126d904
UD
41871 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41872 character representation.
41873 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41874
ccfe366e
RA
418752011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41876
41877 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41878 END(__isnan) to END(__isnanf) to match function entry point/label
41879 EALIGN(__isnanf,...).
41880
c6e13027
JJ
418812011-03-10 Jakub Jelinek <jakub@redhat.com>
41882
41883 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41884
33f85a3f
UD
418852011-03-10 Ulrich Drepper <drepper@gmail.com>
41886
028478fa
UD
41887 [BZ #12510]
41888 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41889 copy from the symbol referenced in the relocation to initialize the
41890 used variable.
41891 Patch by Piotr Bury <pbury@goahead.com>.
41892 * elf/Makefile: Add rules to build and tst-unique3.
41893 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41894 * elf/tst-unique3.cc: New file.
41895 * elf/tst-unique3.h: New file.
41896 * elf/tst-unique3lib.cc: New file.
41897 * elf/tst-unique3lib2.cc: New file.
41898
33f85a3f
UD
41899 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41900
03592fc7
MF
419012011-03-10 Mike Frysinger <vapier@gentoo.org>
41902
41903 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41904 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41905 to _start.
03592fc7 41906
6a5ee102
UD
419072011-03-06 Ulrich Drepper <drepper@gmail.com>
41908
41909 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41910 to-be-loaded object along a path to loader is ld.so.
41911
7e4ba49c
HJ
419122011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41913 Ulrich Drepper <drepper@gmail.com>
41914
41915 * sysdeps/x86_64/memset.S: After aligning destination, code
41916 branches to different locations depending on the value of
41917 misalignment, when multiarch is enabled. Fix this.
41918
419192011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41920
41921 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41922 Set _x86_64_preferred_memory_instruction for AMD processsors.
41923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41924 Set bit_Prefer_SSE_for_memop for AMD processors.
41925
13a804de
UD
419262011-03-04 Ulrich Drepper <drepper@gmail.com>
41927
41928 * libio/fmemopen.c (fmemopen): Optimize a bit.
41929
9d25c392
AS
419302011-03-03 Andreas Schwab <schwab@redhat.com>
41931
41932 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41933
a5543c6a
RM
419342011-03-03 Roland McGrath <roland@redhat.com>
41935
41936 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41937
012d35f7
DM
419382011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41939
7e4ba49c 41940 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41941 __bzero_ultra1 instead of __memset_ultra1.
41942
4bff6e01
AS
419432011-02-23 Andreas Schwab <schwab@redhat.com>
41944 Ulrich Drepper <drepper@gmail.com>
41945
41946 [BZ #12509]
41947 * include/link.h (struct link_map): Add l_orig_initfini.
41948 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41949 returning unsuccessfully.
41950 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41951 close of a file loaded at startup, restore the original l_initfini
41952 list.
41953 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41954 list, store the pointer.
41955 * elf/Makefile ($(objpfx)noload-mem): New rule.
41956 (noload-ENV): Define.
41957 (tests): Add $(objpfx)noload-mem.
41958 * elf/noload.c: Include <memcheck.h>.
41959 (main): Call mtrace. Close all opened handles.
41960
f2092faf
AS
419612011-02-17 Andreas Schwab <schwab@redhat.com>
41962
41963 [BZ #12454]
41964 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41965 dependencies are missing.
41966
6c8a2e88
ST
419672011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41968
f2092faf 41969 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41970 Hurd needs munmap.
41971 * sysdeps/mach/hurd/ifreq.h: New file.
41972
84a42118
PB
419732011-01-27 Petr Baudis <pasky@suse.cz>
41974 Ulrich Drepper <drepper@gmail.com>
41975
071f805e 41976 [BZ 12445]#
84a42118
PB
41977 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41978 to extend_alloca().
41979 * stdio-common/bug23.c: New file.
41980 * stdio-common/Makefile (tests): Add bug23.
41981
e23fe25b
AS
419822010-09-28 Andreas Schwab <schwab@redhat.com>
41983 Ulrich Drepper <drepper@gmail.com>
41984
41985 [BZ #12489]
41986 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41987 before performing relro protection. At old place add assertion
41988 to make sure nothing changed.
41989
d3f02e10
NS
419902011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41991 Glauber de Oliveira Costa <glommer@gmail.com>
41992
41993 * elf/elf.h: Add new ARM TLS relocs.
41994
d55fd7a5
RA
419952011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41996
41997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41998 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41999 cast from r3.
42000 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
42001 'tests' variable.
42002 * sysdeps/wordsize-64/tst-writev.c: New file.
42003
2206397e
RA
420042011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
42005
42006 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42007 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42008 insns in _dl_start to prevent a TOC reference before relocs are
42009 resolved.
42010
e9433893
UD
420112011-02-15 Ulrich Drepper <drepper@gmail.com>
42012
42013 [BZ #12469]
42014 * Makeconfig: Remove RANLIB definition.
42015 * Makerules: Don't use RANLIB.
42016 * aclocal.m4: Remove ranlib test.
42017 * configure.in: No need to check for ranlib.
42018 * elf/rtld-Rules: Don't use RANLIB.
42019
f75286c6
ST
420202011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42021
8e31c82d
ST
42022 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42023 protection macro.
42024 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42025 inclusion protection macro.
42026
f75286c6
ST
42027 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42028 SIGRTMIN and SIGRTMAX and print information in that case only when
42029 SIGRTMIN is defined.
42030
c1d0e639
JJ
420312011-02-11 Jakub Jelinek <jakub@redhat.com>
42032
42033 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42034 arginfo fn returning -1.
42035
42036 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42037 and thousands string is zero terminated.
42038
edf9294e
AS
420392011-02-03 Andreas Schwab <schwab@redhat.com>
42040
42041 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42042 sysdeps/unix/sysv/linux/bits/socket.h.
42043
2b7e92df
ST
420442011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
42045
edf9294e
AS
42046 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42047 (__CPU_COUNT): Remove old macros.
42048 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42049 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42050 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
42051 (__sched_cpualloc, __sched_cpufree): Add declarations.
42052
a4c7ea7b
UD
420532011-02-05 Ulrich Drepper <drepper@gmail.com>
42054
42055 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42056 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42057 * nscd/aicache.c (addhstaiX): Return timeout of added value.
42058 (readdhstai): Return value of addhstaiX call.
42059 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42060 (addgrbyX): Return value returned by cache_addgr.
42061 (readdgrbyname): Return value returned by addgrbyX.
42062 (readdgrbygid): Likewise.
42063 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42064 (addpwbyX): Return value returned by cache_addpw.
42065 (readdpwbyname): Return value returned by addhstbyX.
42066 (readdpwbyuid): Likewise.
42067 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42068 (addservbyX): Return value returned by cache_addserv.
42069 (readdservbyname): Return value returned by addservbyX:
42070 (readdservbyport): Likewise.
42071 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42072 (addhstbyX): Return value returned by cache_addhst.
42073 (readdhstbyname): Return value returned by addhstbyX.
42074 (readdhstbyaddr): Likewise.
42075 (readdhstbynamev6): Likewise.
42076 (readdhstbyaddrv6): Likewise.
42077 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42078 (readdinitgroups): Return value returned by addinitgroupsX.
42079 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42080 (prune_cache): Keep track of timeout value of re-added entries.
42081 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42082 * nscd/nscd.h: Adjust prototypes of readd* functions.
42083
a0bf67cc
RM
420842011-02-04 Roland McGrath <roland@redhat.com>
42085
42086 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42087 (nis_stats): Likewise.
42088 * nis/nis_modify.c (nis_modify): Likewise.
42089 * nis/nis_remove.c (nis_remove): Likewise.
42090 * nis/nis_add.c (nis_add): Likewise.
42091
42092 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42093
42094 * posix/fnmatch_loop.c: Add some consts.
42095
42096 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42097
435b95eb
L
420982011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42099
42100 [BZ #12460]
42101 * config.make.in (config-cflags-novzeroupper): Define.
42102 * configure.in: Substitute libc_cv_cc_novzeroupper.
42103 * elf/Makefile (AVX-CFLAGS): Define.
42104 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42105 (CFLAGS-tst-auditmod4a.c): Likewise.
42106 (CFLAGS-tst-auditmod4b.c): Likewise.
42107 (CFLAGS-tst-auditmod6b.c): Likewise.
42108 (CFLAGS-tst-auditmod6c.c): Likewise.
42109 (CFLAGS-tst-auditmod7b.c): Likewise.
42110 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42111
8517b15e
UD
421122011-02-02 Ulrich Drepper <drepper@gmail.com>
42113
42114 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42115 function to the callback.
42116 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42117
10a656fe
AS
421182011-02-02 Andreas Schwab <schwab@redhat.com>
42119
42120 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42121 of errno.
42122
968dad0a
UD
421232011-01-19 Ulrich Drepper <drepper@gmail.com>
42124
9f94d2ea 42125 [BZ #11724]
968dad0a
UD
42126 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42127 of constructors.
42128 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42129 of destructors.
42130 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42131
42132 [BZ #11724]
42133 * elf/Makefile: Add rules to build and run new test.
42134 * elf/tst-initorder.c: New file.
42135 * elf/tst-initorder.exp: New file.
42136 * elf/tst-initordera1.c: New file.
42137 * elf/tst-initordera2.c: New file.
42138 * elf/tst-initordera3.c: New file.
42139 * elf/tst-initordera4.c: New file.
42140 * elf/tst-initorderb1.c: New file.
42141 * elf/tst-initorderb2.c: New file.
42142 * elf/tst-order-a1.c: New file.
42143 * elf/tst-order-a2.c: New file.
42144 * elf/tst-order-a3.c: New file.
42145 * elf/tst-order-a4.c: New file.
42146 * elf/tst-order-b1.c: New file.
42147 * elf/tst-order-b2.c: New file.
42148 * elf/tst-order-main.c: New file.
42149 New test case by George Gensure <werkt0@gmail.com>.
42150
86e92359
UD
421512010-10-01 Andreas Schwab <schwab@redhat.com>
42152
42153 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42154 decoding ACE if AI_CANONIDN.
42155
5d5732b0
UD
421562011-01-18 Ulrich Drepper <drepper@gmail.com>
42157
42158 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42159
a77e8cbc
UD
421602011-01-17 Ulrich Drepper <drepper@gmail.com>
42161
6392473f
UD
42162 * version.h (RELEASE): Bump for 2.13 release.
42163 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42164
620a0529
UD
42165 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42166
18ba70a5
UD
42167 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42168 MADV_NOHUGEPAGE.
32465c3e
UD
42169 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42170 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42171 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42172 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42173 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42174 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42175
c0dafcf1
UD
42176 * posix/getconf.c: Update copyright year.
42177 * catgets/gencat.c: Likewise.
42178 * csu/version.c: Likewise.
42179 * debug/catchsegv.sh: Likewise.
42180 * debug/xtrace.sh: Likewise.
42181 * elf/ldconfig.c: Likewise.
42182 * elf/ldd.bash.in: Likewise.
42183 * elf/sprof.c (print_version): Likewise.
42184 * iconv/iconv_prog.c: Likewise.
42185 * iconv/iconvconfig.c: Likewise.
42186 * locale/programs/locale.c: Likewise.
42187 * locale/programs/localedef.c: Likewise.
42188 * malloc/memusage.sh: Likewise.
42189 * malloc/mtrace.pl: Likewise.
42190 * nscd/nscd.c (print_version): Likewise.
42191 * nss/getent.c: Likewise.
42192
a77e8cbc
UD
42193 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42194 PF_CAIF, and PF_ALG.
42195 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42196
77e8bddf
AS
421972011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42198
1f20b93a
AS
42199 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42200 (modules-names): Use them.
42201 (ifunc-test-modules, ifunc-pie-tests): Define.
42202 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42203 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42204 (test-extras): Likewise.
42205 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42206 $(compile-command.c).
42207 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42208 (all-built-dso): Define.
42209 (check-textrel.out, check-execstack.out): Depend on it.
42210
77e8bddf
AS
42211 * configure.in: Don't override --enable-multi-arch.
42212
bc425b33
UD
422132011-01-15 Ulrich Drepper <drepper@gmail.com>
42214
42215 [BZ #6812]
42216 * nscd/hstcache.c (tryagain): Define.
42217 (cache_addhst): Return tryagain not notfound for temporary errors.
42218 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42219 failed.
42220
794c3ad3
UD
422212011-01-14 Ulrich Drepper <drepper@gmail.com>
42222
70181fdd
UD
42223 [BZ #10563]
42224 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42225 to make the syscall.
42226 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42227
794c3ad3
UD
42228 [BZ #12378]
42229 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42230 and fall back to matching as normal character if the string ends before
42231 the matching ']' is found. This is what POSIX requires.
42232 * posix/testfnm.c: Adjust test result.
42233 * posix/globtest.sh: Adjust test result. Add new test.
42234 * posix/tst-fnmatch.input: Likewise.
42235 * posix/tst-fnmatch2.c: Add new test.
42236
68dc9497
AS
422372010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42238
42239 * elf/Makefile (check-execstack): Revert last change. Depend on
42240 check-execstack.h.
42241 (check-execstack.h): New target.
42242 (generated): Add check-execstack.h.
42243 * elf/check-execstack.c: Include "check-execstack.h".
42244 (main): Revert last change.
42245 (handle_file): Return zero if GNU_STACK is absent and
42246 DEFAULT_STACK_PERMS doesn't include PF_X.
42247
451f001b
UD
422482011-01-13 Ulrich Drepper <drepper@gmail.com>
42249
cfa28e56
UD
42250 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42251 in child fails because the descriptor is already closed.
8cf8ce17
UD
42252 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42253 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42254 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 42255
1086d70d
UD
42256 [BZ #12397]
42257 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42258 syscall.
42259
451f001b
UD
42260 [BZ #10484]
42261 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42262 temporary buffer used to handle multi lookups locally.
a85b5cb4 42263 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 42264
08769175
UD
422652011-01-12 Ulrich Drepper <drepper@gmail.com>
42266
42267 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42268 loader is ld.so.
42269
5e49c52e
UD
422702011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42271
42272 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42273 alignment for SSE2.
42274
60522a5f
UD
422752011-01-12 Ulrich Drepper <drepper@gmail.com>
42276
42277 [BZ #12394]
42278 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42279 characters. When rounding increased number of integer digits recompute
42280 number of groups.
42281 * stdio-common/tst-grouping.c: New file.
42282 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42283
f257bbd7
UD
422842011-01-09 Ulrich Drepper <drepper@gmail.com>
42285
42286 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42287 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42288
42289 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42290 void.
42291 * bits/select.h: Likewise.
42292
fa9c15cb
UD
422932011-01-08 Ulrich Drepper <drepper@gmail.com>
42294
42295 * po/ja.po: Update from translation team.
42296
16c2895f
DM
422972011-01-04 David S. Miller <davem@sunset.davemloft.net>
42298
42299 [BZ #11155]
42300 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42301 implementation just like for lxstat, fxstatat, et al.
42302
2543fef2
JM
423032010-12-27 Jim Meyering <meyering@redhat.com>
42304
42305 [BZ #12348]
42306 * posix/regexec.c (build_trtable): Return failure indication upon
42307 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42308
98727dbe
UD
423092010-12-25 Ulrich Drepper <drepper@gmail.com>
42310
5bd6dc5c
UD
42311 [BZ #12201]
42312 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42313 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42314 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42315 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42316
97983464
UD
42317 [BZ #12207]
42318 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42319
98727dbe
UD
42320 [BZ #12204]
42321 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42322 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42323
4a531bb0
L
423242010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42325
42326 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42327 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42328 script has SORT_BY_INIT_PRIORITY.
42329 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42330 NO_CTORS_DTORS_SECTIONS is defined.
42331 * elf/soinit.c: Likewise.
42332 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42333 NO_CTORS_DTORS_SECTIONS is defined.
42334 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42335 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42336 * sysdeps/sh/init-first.c: Likewise.
42337 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42338
07eb4b71
UD
423392010-12-24 Ulrich Drepper <drepper@gmail.com>
42340
42341 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42342 always use the slow path.
42343
30950a5f
RA
423442010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42345
42346 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42347 similar rule which adds the sysdep directories to the header search in
42348 order to pick up the correct platform stackinfo.h.
42349 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42350 perform test if it is, otherwise return successfully without testing.
42351 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42352 DEFAULT_STACK_PERMS define in stackinfo.h.
42353 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42354 defined in stackinfo.h.
42355 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42356 DEFAULT_STACK_PERMS defined in stackinfo.h.
42357 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42358 * sysdeps/ia64/stackinfo.h: Likewise.
42359 * sysdeps/s390/stackinfo.h: Likewise.
42360 * sysdeps/sh/stackinfo.h: Likewise.
42361 * sysdeps/sparc/stackinfo.h: Likewise.
42362 * sysdeps/x86_64/stackinfo.h: Likewise.
42363 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42364 PF_X for powerpc64. Retain PF_X for powerpc32.
42365
db753e2c
UD
423662010-12-19 Ulrich Drepper <drepper@gmail.com>
42367
14b697f7
UD
42368 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42369 accurately.
db753e2c
UD
42370 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42371 GETDENTS_64BIT_ALIGNED.
42372
28300719
UD
423732010-12-14 Ulrich Drepper <dreper@gmail.com>
42374
14b697f7 42375 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 42376
4f197237
AS
423772010-12-10 Andreas Schwab <schwab@redhat.com>
42378
dbb0472f
AS
42379 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42380 _GNU_SOURCE.
42381
4f197237
AS
42382 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42383 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42384 Remove __restrict.
42385 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42386 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42387
fb88ac72
UD
423882010-12-09 Ulrich Drepper <drepper@gmail.com>
42389
42390 [BZ #11655]
42391 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42392 are initialized.
42393
42acbb92
JJ
423942010-12-09 Jakub Jelinek <jakub@redhat.com>
42395
42396 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42397
c038d98d
UD
423982010-12-03 Ulrich Drepper <drepper@gmail.com>
42399
42400 * po/it.po: Update from translation team.
42401
3a4a2499
L
424022010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42403
42404 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42405 unused codes.
42406
1e24cf6e
UD
424072010-11-30 Ulrich Drepper <drepper@gmail.com>
42408
42409 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42410
a7690819
AS
424112010-11-24 Andreas Schwab <schwab@redhat.com>
42412
42413 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42414 specially.
42415 (gaih_getanswer_slice): Likewise.
42416
3bf8d1b1
JJ
424172010-10-20 Jakub Jelinek <jakub@redhat.com>
42418
42419 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42420
6db52fbb
PB
424212010-05-31 Petr Baudis <pasky@suse.cz>
42422
42423 [BZ #11149]
42424 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42425 silently even in the chroot mode.
42426
eaca7569
UD
424272010-11-22 Ulrich Drepper <drepper@gmail.com>
42428
42429 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42430 last patch a bit. Pretty printing
42431
3056dcdb
UD
424322010-05-31 Petr Baudis <pasky@suse.cz>
42433
42434 [BZ #10085]
42435 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42436 initialization of skip_initgroups_dyn.
42437
cf7c9078
UD
424382010-11-19 Ulrich Drepper <drepper@gmail.com>
42439
42440 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42441 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42442
a1fb5e3e
UD
424432010-11-16 Ulrich Drepper <drepper@gmail.com>
42444
42445 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42446
3540d66b
AS
424472010-11-11 Andreas Schwab <schwab@redhat.com>
42448
42449 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42450 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42451 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42452 ($(objpfx)tst-fnmatch-mem): New rule.
42453 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42454 * posix/tst-fnmatch.c (main): Call mtrace.
42455
13b69574
L
424562010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42457
42458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42459 Support Intel processor model 6 and model 0x2c.
42460
da93d214
LM
424612010-11-10 Luis Machado <luisgpm@br.ibm.com>
42462
42463 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42464 signed comparison.
42465
8ca52c6e
L
424662010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42467
42468 [BZ #12205]
42469 * string/test-strncasecmp.c (check_result): New function.
42470 (do_one_test): Use it.
42471 (check1): New function.
42472 (test_main): Use it.
42473 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42474 Support strcasecmp and strncasecmp.
42475
69da074d
UD
424762010-11-08 Ulrich Drepper <drepper@gmail.com>
42477
42478 [BZ #12194]
42479 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42480 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42481
ff02d528
L
424822010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42483
42484 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42485 IFUNC support.
42486 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42487 memset-x86-64.
42488 * sysdeps/x86_64/multiarch/bzero.S: New file.
42489 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42490 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42491 * sysdeps/x86_64/multiarch/memset.S: New file.
42492 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42494 Set bit_Prefer_SSE_for_memop for Intel processors.
42495 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42496 Define.
42497 (index_Prefer_SSE_for_memop): Define.
42498 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42499
344d0b54
LM
425002010-11-04 Luis Machado <luisgpm@br.ibm.com>
42501
42502 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42503 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42504
c0dde15b
UD
425052010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42506
42507 [BZ #12191]
42508 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42509 (__x86_64_raw_data_cache_size_half): Likewise.
42510 (__x86_64_raw_shared_cache_size): Likewise.
42511 (__x86_64_raw_shared_cache_size_half): Likewise.
42512
42513 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42514 (__x86_64_raw_data_cache_size_half): Likewise.
42515 (__x86_64_raw_shared_cache_size): Likewise.
42516 (__x86_64_raw_shared_cache_size_half): Likewise.
42517 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42518 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42519 and __x86_64_raw_shared_cache_size_half. Round
42520 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42521 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42522 to multiple of 256 bytes.
42523
0e516e0e
MS
425242010-11-03 Ulrich Drepper <drepper@gmail.com>
42525
42526 [BZ #12167]
42527 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42528 of inacessible symlinks. Verify result of symlink before returning it.
42529 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42530 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42531
0e012e87
ER
425322010-10-28 Erich Ritz <erichritz@gmail.com>
42533
42534 * math/math.h (isinf): Fix typo in comment.
42535
de0ff7bc
UD
425362010-11-01 Ulrich Drepper <drepper@gmail.com>
42537
42538 * po/da.po: Update from translation team.
42539
fa41c84d
UD
425402010-10-26 Ulrich Drepper <drepper@gmail.com>
42541
42542 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42543 is added to the list.
42544
f0967738
AK
425452010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42546 Ulrich Drepper <drepper@gmail.com>
42547
42548 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42549 the global list here. Move code to...
42550 (_dl_add_to_namespace_list): ...here. New function.
42551 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42552 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42553 * elf/dl-load.c (lose): Don't remove the element from the list.
42554 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42555 (_dl_map_object): Likewise.
42556
425572010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
42558
42559 [BZ #12159]
42560 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42561 into all bytes of SSE register.
42562 Patch by Richard Li <richardpku@gmail.com>.
42563
f0967738 425642010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
42565
42566 [BZ #12140]
42567 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42568 perturbing.
42569
d0b9e94f
MB
425702010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42571
42572 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42573 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42574 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42575 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42577 submachine.
42578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42579
8e9f92e9
AS
425802010-10-22 Andreas Schwab <schwab@redhat.com>
42581
42582 * include/dlfcn.h (__RTLD_SECURE): Define.
42583 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42584 mode & __RTLD_SECURE instead.
42585 (open_path): Rename preloaded parameter to secure.
42586 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42587 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42588 * elf/dl-deps.c (openaux): Likewise.
42589 * elf/rtld.c (struct map_args): Remove is_preloaded.
42590 (map_doit): Don't use it.
42591 (dl_main): Likewise.
42592 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42593 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42594
bc96fbda
AS
425952010-09-09 Andreas Schwab <schwab@redhat.com>
42596
42597 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42598 (sysd-rules-targets): Remove duplicates.
42599 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42600 rtld-%.$o dependency.
42601
22cd1c9b
AS
426022010-10-18 Andreas Schwab <schwab@redhat.com>
42603
42604 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42605 _dl_map_object do it.
42606
18edac48
UD
426072010-10-19 Ulrich Drepper <drepper@gmail.com>
42608
42609 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42610 fast fma builtins, define the macros in the C99 standard.
42611 (FP_FAST_FMAF): Likewise.
42612 (FP_FAST_FMAL): Likewise.
42613 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42614
42615 * bits/mathdef.h: Update copyright year.
42616 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42617
d2050124
MM
426182010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42619
42620 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42621 builtins, define the macros in the C99 standard.
42622 (FP_FAST_FMAF): Likewise.
42623 (FP_FAST_FMAL): Likewise.
42624 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42625 multiply/add.
42626 (FP_FAST_FMAF): Likewise.
42627
475facd1
JJ
426282010-10-15 Jakub Jelinek <jakub@redhat.com>
42629
42630 [BZ #3268]
42631 * math/libm-test.inc (fma_test): Some new testcases.
42632 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42633 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42634 y and infinite z. Do multiplication by C already in long double.
42635 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42636 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42637 y and infinite z. Do bitwise or of inexact bit into u.d.
42638 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42639 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42640 * sysdeps/i386/fpu/s_fma.S: Removed.
42641 * sysdeps/i386/fpu/s_fmal.S: Removed.
42642
7c08a05c
JJ
426432010-10-16 Jakub Jelinek <jakub@redhat.com>
42644
42645 [BZ #3268]
42646 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42647 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42648 computation is not scheduled after fetestexcept. Fix value
42649 of minimum denormal long double.
42650
f3f7372d
JJ
426512010-10-14 Jakub Jelinek <jakub@redhat.com>
42652
42653 [BZ #3268]
42654 * math/libm-test.inc (fma_test): Add some more tests.
42655 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42656 correctly.
42657
14d43591
AS
426582010-10-15 Andreas Schwab <schwab@redhat.com>
42659
42660 * scripts/data/localplt-s390-linux-gnu.data: New file.
42661 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42662
5e908464
JJ
426632010-10-13 Jakub Jelinek <jakub@redhat.com>
42664
42665 [BZ #3268]
42666 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42667 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42668 instead of dbl-64.
42669 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42670 inlines.
42671 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42672 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42673 if one of x and y is very large and the other is subnormal.
42674 * sysdeps/s390/fpu/s_fmaf.c: New file.
42675 * sysdeps/s390/fpu/s_fma.c: New file.
42676 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42677 * sysdeps/powerpc/fpu/s_fma.S: New file.
42678 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42679 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42680 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42681
426822010-10-12 Jakub Jelinek <jakub@redhat.com>
42683
42684 [BZ #3268]
42685 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42686 fma tests.
42687 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42688 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42689 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42690 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42691 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42692 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42693 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42694
b833d51f
UD
426952010-10-12 Ulrich Drepper <drepper@redhat.com>
42696
42697 [BZ #12078]
42698 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42699 * posix/bug-regex31.input: Add test case.
42700
1751705d
UD
427012010-10-11 Ulrich Drepper <drepper@gmail.com>
42702
e9b9cbf5
UD
42703 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42704 * posix/bug-regex31.input: New file.
42705
42706 [BZ #12078]
42707 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42708 (parse_sub_exp): Fix last change, use postorder.
42709
ef06edbe
UD
42710 * posix/bug-regex31.c: New file.
42711 * posix/Makefile: Add rules to build and run bug-regex31.
42712
a129c80d
UD
42713 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42714
42715 [BZ #12078]
42716 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42717
b76b818e
UD
42718 [BZ #12108]
42719 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42720 to have entries in sys_siglist.
42721
1751705d
UD
42722 [BZ #12093]
42723 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42724 be NULL.
42725
9ff8d36f
JJ
427262010-10-07 Jakub Jelinek <jakub@redhat.com>
42727
42728 [BZ #3268]
42729 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42730 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42731 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42732 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42733 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42734 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42735 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42736 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42737 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42738 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42739 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42740 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42741 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42742 * math/ftestexcept.c (fetestexcept): Likewise.
42743 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42744 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42745 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42746 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42747 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42748 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42749 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42750
af325969
UD
427512010-10-11 Ulrich Drepper <drepper@gmail.com>
42752
c579b202 42753 [BZ #12107]
af325969
UD
42754 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42755 newline.
42756
67a67b95
UD
427572010-10-06 Ulrich Drepper <drepper@gmail.com>
42758
42759 * string/bug-strstr1.c: New file.
42760 * string/Makefile: Add rules to build and run bug-strstr1.
42761
5fb308bc
EB
427622010-10-05 Eric Blake <eblake@redhat.com>
42763
42764 [BZ #12092]
42765 * string/str-two-way.h (two_way_long_needle): Always clear memory
42766 when skipping input due to the shift table.
42767
45db99c7
UD
427682010-10-03 Ulrich Drepper <drepper@gmail.com>
42769
3b111893
UD
42770 [BZ #12005]
42771 * malloc/mcheck.c: Handle large requests.
42772
45db99c7
UD
42773 [BZ #12077]
42774 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42775 for strncmp and strncasecmp.
42776 * string/stratcliff.c: Add tests for strcmp and strncmp.
42777 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42778
cf7a1eb8
NI
427792010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42780
42781 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42782 __set_fpscr.
42783
6484ba5e
AJ
427842010-09-30 Andreas Jaeger <aj@suse.de>
42785
42786 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42787 (CGROUP_SUPER_MAGIC): Define.
42788 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42789 Handle btrfs and cgroup file systems.
42790 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42791 Likewise.
42792
91c42559
LM
427932010-09-27 Luis Machado <luisgpm@br.ibm.com>
42794
42795 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42796 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42797
87a97932
AK
427982010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42799
42800 [BZ #12067]
42801 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42802 trying to locate the ELF header.
42803
c21cc9bc
AS
428042010-09-27 Andreas Schwab <schwab@redhat.com>
42805
42806 [BZ #11611]
42807 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42808 Mask out sign-bit copies when constructing f_fsid.
42809
315970f6
PB
428102010-09-24 Petr Baudis <pasky@suse.cz>
42811
42812 * debug/stack_chk_fail_local.c: Add missing licence exception.
42813 * debug/warning-nop.c: Likewise.
42814
1ac7a2c7
JM
428152010-09-15 Joseph Myers <joseph@codesourcery.com>
42816
42817 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42818 implementing getdents64 using getdents syscall, set d_type if
42819 __ASSUME_GETDENTS32_D_TYPE.
42820
56801c50
AS
428212010-09-16 Andreas Schwab <schwab@redhat.com>
42822
42823 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42824 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42825
dda51327
UD
428262010-09-21 Ulrich Drepper <drepper@redhat.com>
42827
42828 [BZ #12037]
42829 * posix/unistd.h: Undo change of feature selection for ftruncate from
42830 2010-01-11.
42831
8ffcee4a
UD
428322010-09-20 Ulrich Drepper <drepper@redhat.com>
42833
a545ecd9 42834 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42835 detection.
42836
e24f0a8b
AS
428372010-09-20 Andreas Schwab <schwab@redhat.com>
42838
42839 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42840 fanotify_mark.
42841 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42842
7291c56f
AS
428432010-09-14 Andreas Schwab <schwab@redhat.com>
42844
42845 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42846 variables after CHECK_SP call.
42847 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42848
bc5fb037
AS
428492010-09-13 Andreas Schwab <schwab@redhat.com>
42850 Ulrich Drepper <drepper@redhat.com>
42851
42852 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42853 re-relocationg ld.so.
42854 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42855 _dl_init_paths call.
42856 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42857 here anymore.
42858
e66e7419
UD
428592010-09-14 Ulrich Drepper <drepper@redhat.com>
42860
42861 * resolv/res_init.c (__res_vinit): Count the default server we added.
42862
c044aa75
CLT
428632010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42864 Ulrich Drepper <drepper@redhat.com>
42865
42866 [BZ #11968]
42867 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42868 (____longjmp_chk): Use %ebx for saving value across system call.
42869 Add unwind info.
42870
32cf4069
AS
428712010-09-06 Andreas Schwab <schwab@redhat.com>
42872
42873 * manual/Makefile: Don't mix pattern rules with normal rules.
42874
817328ee
AS
428752010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42876
42877 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42878 operation.
42879 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42880 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42881 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42882 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42883 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42884 Likewise.
42885
29fddf61
UD
428862010-09-04 Ulrich Drepper <drepper@redhat.com>
42887
42888 [BZ #11979]
42889 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42890 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42891
0959ffc9
UD
428922010-09-02 Ulrich Drepper <drepper@redhat.com>
42893
42894 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42895 * sysdeps/x86_64/addmul_1.S: Likewise.
42896 * sysdeps/x86_64/lshift.S: Likewise.
42897 * sysdeps/x86_64/mul_1.S: Likewise.
42898 * sysdeps/x86_64/rshift.S: Likewise.
42899 * sysdeps/x86_64/sub_n.S: Likewise.
42900 * sysdeps/x86_64/submul_1.S: Likewise.
42901
ece29840
ST
429022010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42903
0959ffc9
UD
42904 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42905 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42906 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42907 * bits/sched.h [__need_schedparam]
ece29840 42908 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42909 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42910 (__defined_schedparam): Define to 1.
ece29840
ST
42911 (__sched_param): New structure, identical to sched_param.
42912 (__need_schedparam): Undefine.
42913
e53a31fe
MF
429142010-08-31 Mike Frysinger <vapier@gentoo.org>
42915
fdc0c10d
MF
42916 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42917 (epoll_create1): Declare.
42918
e53a31fe
MF
42919 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42920
a726d796
AS
429212010-08-31 Andreas Schwab <schwab@redhat.com>
42922
42923 [BZ #7066]
42924 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42925 shifting retval into place.
42926
2f3e3dc7
UD
429272010-09-01 Ulrich Drepper <drepper@redhat.com>
42928
f2933da9
UD
42929 * nis/rpcsvc/nis.h: Update copyright notice.
42930 * nis/rpcsvc/nis.x: Likewise.
42931 * nis/rpcsvc/nis_callback.h: Likewise.
42932 * nis/rpcsvc/nis_callback.x: Likewise.
42933 * nis/rpcsvc/nis_object.x: Likewise.
42934 * nis/rpcsvc/nis_tags.h: Likewise.
42935 * nis/rpcsvc/yp.h: Likewise.
42936 * nis/rpcsvc/yp.x: Likewise.
42937 * nis/rpcsvc/ypupd.h: Likewise.
42938 * nis/yp_xdr.c: Likewise.
42939 * nis/ypupdate_xdr.c: Likewise.
42940
2f3e3dc7
UD
42941 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42942 mainly the body of pmap_getport. Add parameters to specify timeouts.
42943 (pmap_getport): Use __libc_rpc_getport.
42944 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42945 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42946 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42947
f3dcc2f9
AS
429482010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42949
42950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42951 fanotify_mark.
42952
6d34eb5b
RM
429532010-08-27 Roland McGrath <roland@redhat.com>
42954
42955 * sysdeps/i386/i686/multiarch/Makefile
42956 (CFLAGS-varshift.c): New variable.
42957
9ea3de11
UD
429582010-08-27 Ulrich Drepper <drepper@redhat.com>
42959
c96d23fc
UD
42960 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42961 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42962
9ea3de11
UD
42963 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42964
42965 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42966
623aac7f
L
429672010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42968
42969 * sysdeps/x86_64/strlen.S: Unroll the loop.
42970 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42971 strlen-sse2 strlen-sse2-bsf.
42972 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42973 __strlen_no_bsf if bit_Slow_BSF is set.
42974 (__strlen_sse42): Removed.
42975 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42976 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42977
8b2b7715
RM
429782010-08-25 Roland McGrath <roland@redhat.com>
42979
42980 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42981 * sysdeps/x86_64/multiarch/varshift.c: New file.
42982 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42983 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42984 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42985 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42986
e73015f2
L
429872010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42988
42989 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42990 strlen-sse2 strlen-sse2-bsf.
42991 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42992 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42993 (__strlen_sse2): Removed.
42994 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42995 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42997 bit_Slow_BSF for Atom.
42998 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42999 (index_Slow_BSF): Define.
43000 (HAS_SLOW_BSF): Define.
43001
df24a73e
UD
430022010-08-25 Ulrich Drepper <drepper@redhat.com>
43003
43004 [BZ #10851]
43005 * resolv/res_init.c (__res_vinit): When no server address at all
43006 is given default to loopback.
43007
f2ac4868
RM
430082010-08-24 Roland McGrath <roland@redhat.com>
43009
09055553
RM
43010 * configure.in: Remove config-name.h generation.
43011 * configure: Regenerated.
43012 * config-name.in: File removed.
43013 * scripts/config-uname.sh: New file.
43014 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43015 ($(objdir)config-name.h): New target.
43016
f2ac4868
RM
43017 * sunrpc/rpc_parse.h: Avoid nested comment.
43018
73f27d5e
RH
430192010-08-24 Richard Henderson <rth@redhat.com>
43020 Ulrich Drepper <drepper@redhat.com>
43021 H.J. Lu <hongjiu.lu@intel.com>
43022
43023 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43025 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43026 Replace _mm_srli_si128 with __m128i_shift_right. Replace
43027 _mm_alignr_epi8 with _mm_loadu_si128.
43028 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43029 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43030 (__m128i_shift_right): Removed.
43031 * sysdeps/i386/i686/multiarch/varshift.h: New file.
43032 * sysdeps/i386/i686/multiarch/varshift.S: New file.
43033 * sysdeps/x86_64/multiarch/varshift.h: New file.
43034 * sysdeps/x86_64/multiarch/varshift.S: New file.
43035
84b9230c
MF
430362010-08-21 Mike Frysinger <vapier@gentoo.org>
43037
43038 * configure.in: Move assembler checks to before sysdep dir checking.
43039
9bbd0ddc
PB
430402010-08-20 Petr Baudis <pasky@suse.cz>
43041
43042 * LICENSES: Sync the sunrpc license.
43043
9da4bb31
UD
430442010-08-19 Ulrich Drepper <drepper@redhat.com>
43045
a7ab6ec8
UD
43046 * sunrpc/auth_des.c: Update copyright notice once again.
43047 * sunrpc/auth_none.c: Likewise.
43048 * sunrpc/auth_unix.c: Likewise.
43049 * sunrpc/authdes_prot.c: Likewise.
43050 * sunrpc/authuxprot.c: Likewise.
43051 * sunrpc/bindrsvprt.c: Likewise.
43052 * sunrpc/clnt_gen.c: Likewise.
43053 * sunrpc/clnt_perr.c: Likewise.
43054 * sunrpc/clnt_raw.c: Likewise.
43055 * sunrpc/clnt_simp.c: Likewise.
43056 * sunrpc/clnt_tcp.c: Likewise.
43057 * sunrpc/clnt_udp.c: Likewise.
43058 * sunrpc/clnt_unix.c: Likewise.
43059 * sunrpc/des_crypt.c: Likewise.
43060 * sunrpc/des_soft.c: Likewise.
43061 * sunrpc/get_myaddr.c: Likewise.
43062 * sunrpc/getrpcport.c: Likewise.
43063 * sunrpc/key_call.c: Likewise.
43064 * sunrpc/key_prot.c: Likewise.
43065 * sunrpc/openchild.c: Likewise.
43066 * sunrpc/pm_getmaps.c: Likewise.
43067 * sunrpc/pm_getport.c: Likewise.
43068 * sunrpc/pmap_clnt.c: Likewise.
43069 * sunrpc/pmap_prot.c: Likewise.
43070 * sunrpc/pmap_prot2.c: Likewise.
43071 * sunrpc/pmap_rmt.c: Likewise.
43072 * sunrpc/rpc/auth.h: Likewise.
43073 * sunrpc/rpc/auth_unix.h: Likewise.
43074 * sunrpc/rpc/clnt.h: Likewise.
43075 * sunrpc/rpc/des_crypt.h: Likewise.
43076 * sunrpc/rpc/key_prot.h: Likewise.
43077 * sunrpc/rpc/netdb.h: Likewise.
43078 * sunrpc/rpc/pmap_clnt.h: Likewise.
43079 * sunrpc/rpc/pmap_prot.h: Likewise.
43080 * sunrpc/rpc/pmap_rmt.h: Likewise.
43081 * sunrpc/rpc/rpc.h: Likewise.
43082 * sunrpc/rpc/rpc_des.h: Likewise.
43083 * sunrpc/rpc/rpc_msg.h: Likewise.
43084 * sunrpc/rpc/svc.h: Likewise.
43085 * sunrpc/rpc/svc_auth.h: Likewise.
43086 * sunrpc/rpc/types.h: Likewise.
43087 * sunrpc/rpc/xdr.h: Likewise.
43088 * sunrpc/rpc_clntout.c: Likewise.
43089 * sunrpc/rpc_cmsg.c: Likewise.
43090 * sunrpc/rpc_common.c: Likewise.
43091 * sunrpc/rpc_cout.c: Likewise.
43092 * sunrpc/rpc_dtable.c: Likewise.
43093 * sunrpc/rpc_hout.c: Likewise.
43094 * sunrpc/rpc_main.c: Likewise.
43095 * sunrpc/rpc_parse.c: Likewise.
43096 * sunrpc/rpc_parse.h: Likewise.
43097 * sunrpc/rpc_prot.c: Likewise.
43098 * sunrpc/rpc_sample.c: Likewise.
43099 * sunrpc/rpc_scan.c: Likewise.
43100 * sunrpc/rpc_scan.h: Likewise.
43101 * sunrpc/rpc_svcout.c: Likewise.
43102 * sunrpc/rpc_tblout.c: Likewise.
43103 * sunrpc/rpc_util.c: Likewise.
43104 * sunrpc/rpc_util.h: Likewise.
43105 * sunrpc/rpcinfo.c: Likewise.
43106 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43107 * sunrpc/rpcsvc/key_prot.x: Likewise.
43108 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43109 * sunrpc/rpcsvc/mount.x: Likewise.
43110 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43111 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43112 * sunrpc/rpcsvc/rex.x: Likewise.
43113 * sunrpc/rpcsvc/rstat.x: Likewise.
43114 * sunrpc/rpcsvc/rusers.x: Likewise.
43115 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43116 * sunrpc/rpcsvc/spray.x: Likewise.
43117 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43118 * sunrpc/rtime.c: Likewise.
43119 * sunrpc/svc.c: Likewise.
43120 * sunrpc/svc_auth.c: Likewise.
43121 * sunrpc/svc_authux.c: Likewise.
43122 * sunrpc/svc_raw.c: Likewise.
43123 * sunrpc/svc_run.c: Likewise.
43124 * sunrpc/svc_simple.c: Likewise.
43125 * sunrpc/svc_tcp.c: Likewise.
43126 * sunrpc/svc_udp.c: Likewise.
43127 * sunrpc/svc_unix.c: Likewise.
43128 * sunrpc/svcauth_des.c: Likewise.
43129 * sunrpc/xcrypt.c: Likewise.
43130 * sunrpc/xdr.c: Likewise.
43131 * sunrpc/xdr_array.c: Likewise.
43132 * sunrpc/xdr_float.c: Likewise.
43133 * sunrpc/xdr_mem.c: Likewise.
43134 * sunrpc/xdr_rec.c: Likewise.
43135 * sunrpc/xdr_ref.c: Likewise.
43136 * sunrpc/xdr_sizeof.c: Likewise.
43137 * sunrpc/xdr_stdio.c: Likewise.
43138
9da4bb31
UD
43139 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43140 handling.
43141
bdaa77bc
AS
431422010-08-19 Andreas Schwab <schwab@redhat.com>
43143
43144 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43145
fe2f79db
LM
431462010-08-19 Luis Machado <luisgpm@br.ibm.com>
43147
43148 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43149 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43150 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43151 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43152 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43153 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43154 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43155 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43156 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43157 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43158 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43159 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43160 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43161 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43162
b9b42ee0
AB
431632010-07-26 Anton Blanchard <anton@samba.org>
43164
43165 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43166 * malloc/arena.c (heap_trim): Likewise.
43167
1c06ba31
UD
431682010-08-16 Ulrich Drepper <drepper@redhat.com>
43169
43170 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43171 here. Not...
43172 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43173 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43174
f8392f40
L
431752010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43176
43177 * sysdeps/i386/elf/Makefile: New file.
43178
3162f12e
AS
431792010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43180
43181 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43182 from fanotify_init.
43183 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43184 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43185
28c90b2c
UD
431862010-08-15 Ulrich Drepper <drepper@redhat.com>
43187
43188 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43189 of strncasecmp_l.
1feccb6c 43190 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 43191
ca6bb004
UD
431922010-08-14 Ulrich Drepper <drepper@redhat.com>
43193
e9f82e0d
UD
43194 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43195 strncase_l-nonascii.
43196 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43197 Add strncase_l-ssse3.
43198 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43199 * sysdeps/x86_64/strcmp.S: Likewise.
43200 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43201 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43202 * sysdeps/x86_64/strncase.S: New file.
43203 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43204 * sysdeps/x86_64/strncase_l.S: New file.
43205 * string/Makefile (strop-tests): Add strncasecmp.
43206 * string/test-strncasecmp.c: New file.
43207
43208 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43209 warning.
43210
ca6bb004
UD
43211 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43212 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43213
052fa7b3
AS
432142010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43215
43216 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43217
962dba78
UD
432182010-08-12 Ulrich Drepper <drepper@redhat.com>
43219
43220 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43221 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43222 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43223
bebff237
AM
432242010-05-01 Alan Modra <amodra@gmail.com>
43225
43226 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43227 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43228 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43229 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43230 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43231 tidying. Don't tail-call __sigjmp_save for static lib.
43232 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43233 save location.
43234 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43235 (CALL_MCOUNT): Add eh info, and nop after bl.
43236 (TAIL_CALL_SYSCALL_ERROR): New macro.
43237 (PSEUDO_RET): Use it.
43238 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43239 Correct save location of integer regs and cr.
43240 (_dl_profile_resolve): Correct cr save location. Delete nops
43241 after bl when SHARED. Reduce cfi size a little by better
43242 placement of cfi directives.
43243 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43244 make a stack frame. Instead use parm save area as a temp.
43245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43246 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43248 Don't make a stack frame for parent, use parm save area.
43249 Increase child stack frame to 112 bytes. Don't save unused reg,
43250 and adjust reg usage. Set up cfi on error recovery and
43251 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43253 (__makecontext): Add dummy nop after jump to exit.
43254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43255 Use correct parm save area and cr save, reduce stack frame.
43256 Correct cfi for possible PSEUDO_RET frame setup.
43257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43258 Branch to local label emitted by PSEUDO_RET rather than
43259 __syscall_error.
43260
02637374
AS
432612010-08-12 Andreas Schwab <schwab@redhat.com>
43262
43263 [BZ #11904]
43264 * locale/programs/locale.c (print_assignment): New function.
43265 (show_locale_vars): Use it.
43266
c3e2f19b
UD
432672010-08-11 Ulrich Drepper <drepper@redhat.com>
43268
3cdaa6ad
UD
43269 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43270 field.
43271 (struct statfs64): Likewise.
43272 (_STATFS_F_FLAGS): Define.
43273 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43274 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43275 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43276 (ST_VALID): Define locally.
43277 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43278 __statvfs_getflags, use the provided value.
43279 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43280 __ASSUME_STATFS_F_FLAGS.
43281
754f7da3
UD
43282 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43283
10b3bedc
UD
43284 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43285 Add sys/fanotify.h.
43286 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43287 fanotify_mask for GLIBC_2.13.
43288 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43289 fanotify_init and fanotify_mark.
43290 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43291 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43292
c08fb0d7
UD
43293 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43294 Add prlimit.
43295 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43296 prlimit64 for GLIBC_2.13.
43297 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43298 prlimit64.
43299 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43300 syscall.
43301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43302 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43303 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43304 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43305 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43306 add prlimit alias.
43307 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43308
15bac72b
UD
43309 [BZ #11903]
43310 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43311 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43312
c3e2f19b
UD
43313 * nss/Makefile: Add rules to build and run tst-nss-test1.
43314 * shlib-versions: Add entry for libnss_test1.
43315 * nss/nss_test1.c: New file.
43316 * nss/tst-nss-test1.c: New file.
43317
43318 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43319 (__nss_configure_lookup): Set appropriate entry in
43320 __nss_configure_lookup to true.
43321 * nss/nsswitch.h: Define enum with indeces of databases in
43322 databases and __nss_database_custom arrays. Declare
43323 __nss_database_custom.
43324 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43325 to avoid using nscd when custom rules are installed.
43326 * nss/getXXbyYY_r.c: Likewise.
43327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43328
43329 * nss/nss_files/files-parse.c: Whitespace fixes.
43330
f15ce4d8
UD
433312010-08-09 Ulrich Drepper <drepper@redhat.com>
43332
43333 [BZ #11883]
43334 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43335 * posix/fnmatch_loop.c: Likewise.
43336
d22e4cc9
AK
433372010-07-17 Andi Kleen <ak@linux.intel.com>
43338
43339 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43340 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43341 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43342 * Versions.def [GLIBC_2.13]: Add.
43343
805bc17d
UD
433442010-08-06 Ulrich Drepper <drepper@redhat.com>
43345
43346 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43347 Also fail if tpwd after pwuid call is NULL.
43348
5a42321d
ST
433492010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43350
43351 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43352 when converting to ms.
43353
fd3ebeda
ST
433542010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43355
43356 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43357 EOPNOTSUPP errors with ENOTTY.
43358 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43359 EOPNOTSUPP errors with ENOTTY.
43360
73507d3a
UD
433612010-07-31 Ulrich Drepper <drepper@redhat.com>
43362
43363 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43364 Add strcasecmp_l-ssse3.
43365 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43366 strcasecmp.
43367 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43368 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43369 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43370
fe36dd02
UD
433712010-07-30 Ulrich Drepper <drepper@redhat.com>
43372
66f6765a
UD
43373 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43374
42e08a54
UD
43375 * string/Makefile (strop-tests): Add strcasecmp.
43376 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43377 strcasecmp_l-nonascii.
43378 (gen-as-const-headers): Add locale-defines.sym.
43379 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43380 * sysdeps/x86_64/strcasecmp.S: New file.
43381 * sysdeps/x86_64/strcasecmp_l.S: New file.
43382 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43383 * sysdeps/x86_64/locale-defines.sym: New file.
43384 * string/test-strcasecmp.c: New file.
43385
fe36dd02
UD
43386 * string/test-strcasestr.c: Test both ends of the range of characters.
43387 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43388
48cbc0d6
RM
433892010-07-29 Roland McGrath <roland@redhat.com>
43390
76e6d6bc 43391 [BZ #11856]
48cbc0d6
RM
43392 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43393
880113d9
UD
433942010-07-27 Ulrich Drepper <drepper@redhat.com>
43395
43396 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43397 for ld.so.
43398
deb9cabb
AS
433992010-07-27 Andreas Schwab <schwab@redhat.com>
43400
43401 * manual/memory.texi (Malloc Tunable Parameters): Document
43402 M_PERTURB.
43403
1c7570ff
RM
434042010-07-26 Roland McGrath <roland@redhat.com>
43405
43406 [BZ #11840]
43407 * configure.in (-fgnu89-inline check): Set and substitute
43408 gnu89_inline, not libc_cv_gnu89_inline.
43409 * configure: Regenerated.
43410 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43411
24fb0f88
UD
434122010-07-26 Ulrich Drepper <drepper@redhat.com>
43413
43414 * string/test-strnlen.c: New file.
43415 * string/Makefile (strop-tests): Add strnlen.
43416 * string/tester.c (test_strnlen): Add a few more test cases.
43417 * string/tst-strlen.c: Better error reporting.
43418
43419 * sysdeps/x86_64/strnlen.S: New file.
43420
8e96b93a
UD
434212010-07-24 Ulrich Drepper <drepper@redhat.com>
43422
43423 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43424 lower-latency instructions.
43425
dbc676d4
UD
434262010-07-23 Ulrich Drepper <drepper@redhat.com>
43427
43428 * string/test-strcasestr.c: New file.
43429 * string/test-strstr.c: New file.
43430 * string/Makefile (strop-tests): Add strstr and strcasestr.
43431 * string/str-two-way.h: Don't undefine MAX.
43432 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43433
f6a31e0e
AS
434342010-07-21 Andreas Schwab <schwab@redhat.com>
43435
43436 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43437 strcasestr-nonascii.
43438 (CFLAGS-strcasestr-nonascii.c): Define.
43439 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43440 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43441 Remove unused attribute.
43442
5dbc3b6c
RM
434432010-07-20 Roland McGrath <roland@redhat.com>
43444
43445 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43446 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43447 ld.so.cache was broken. With it, there is no way to disable dsocaps
43448 like LD_HWCAP_MASK can disable hwcaps.
43449
23d101d8
EPM
434502010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43451
43452 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43453
cc9f2e47
UD
434542010-07-16 Ulrich Drepper <drepper@redhat.com>
43455
43456 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43457 call in strcasestr.
43458 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43459 __strcasestr_sse42_nonascii.
43460 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43461 strcasestr-nonascii.c.
43462 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43463
77c1b069
LM
434642010-06-15 Luis Machado <luisgpm@br.ibm.com>
43465
43466 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43467 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43468 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43469 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43470
440566c3
UD
434712010-07-09 Ulrich Drepper <drepper@redhat.com>
43472
43473 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43474 fcntl.
43475
5be9d05d
AS
434762010-07-06 Andreas Schwab <schwab@redhat.com>
43477
c30b7ee2 43478 [BZ #11577]
5be9d05d
AS
43479 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43480 dl_signal_cerror.
43481
8a492a67
UD
434822010-07-06 Ulrich Drepper <drepper@redhat.com>
43483
43484 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43485 _PC_PIPE_BUF using F_GETPIPE_SZ.
43486
713df3d5
RM
434872010-07-05 Roland McGrath <roland@redhat.com>
43488
43489 * manual/arith.texi (Rounding Functions): Fix rint description
43490 implicit in round description.
43491
702e8f14
UD
434922010-07-02 Ulrich Drepper <drepper@redhat.com>
43493
43494 * elf/Makefile: Fix linking for a few tests to make recent linker
43495 happy.
43496
52ed8be9
AS
434972010-06-30 Andreas Schwab <schwab@redhat.com>
43498
43499 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43500 $(common-objpfx)libc_nonshared.a.
43501
f47c9a11
LM
435022010-06-21 Luis Machado <luisgpm@br.ibm.com>
43503
43504 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43505 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43506 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43507 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43508 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43509 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43510 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43511 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43526 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43527 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43528 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43529 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43530 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43531 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43532 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43533 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43534 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43535 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43536 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43537 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43552
6fb8cbcb
L
435532010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43554
43555 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43556 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43557 * string/memmove.c (memmove): Renamed to ...
43558 (MEMMOVE): ...this. Default to memmove.
43559 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43560 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43561 (END_CHK): Define.
43562 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43563 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43564 mempcpy-ssse3-back memmove-ssse3-back.
43565 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43566 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43567 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43568 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43569 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43570 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43571 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43572 * sysdeps/x86_64/multiarch/memmove.c: New file.
43573 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43574 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43575 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43576 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43577 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43578 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43579 Define.
43580 (index_Fast_Copy_Backward): Define.
43581 (HAS_ARCH_FEATURE): Define.
43582 (HAS_FAST_REP_STRING): Define.
43583 (HAS_FAST_COPY_BACKWARD): Define.
43584
4e733bac 435852010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
43586
43587 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43588 Restore proper fallback handling.
43589
63c4ed22
UD
435902010-06-19 Ulrich Drepper <drepper@redhat.com>
43591
ac2b484c
UD
43592 [BZ #11701]
43593 * posix/group_member.c (__group_member): Correct checking loop.
43594
63c4ed22
UD
43595 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43596 OOM in getpwuid_r correctly. Return error number when the caller
43597 should return, otherwise -1.
43598 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43599 call returning > 0 value.
43600 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43601
765ade4b
AS
436022010-06-07 Andreas Schwab <schwab@redhat.com>
43603
43604 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43605 libc_nonshared.a from targets in modules-names.
43606
80da2e09
KS
436072010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43608
43609 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43610 requires it.
43611
158db122
LM
436122010-06-10 Luis Machado <luisgpm@br.ibm.com>
43613
43614 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43615 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43616 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43617 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43618
caa78cf8
AS
436192010-06-02 Andreas Schwab <schwab@redhat.com>
43620
43621 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43622
b2ef2c01
UD
436232010-06-14 Ulrich Drepper <drepper@redhat.com>
43624
43625 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43626 and F_GETPIPE_SZ.
43627 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43628 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43629 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43630 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43631 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43632 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43633
fbd643b6
RM
436342010-06-14 Roland McGrath <roland@redhat.com>
43635
43636 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43637
f32f2869
JJ
436382010-06-07 Jakub Jelinek <jakub@redhat.com>
43639
43640 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43641 __REDIRECT followed by __THROW.
43642 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43643 * posix/getopt.h (getopt): Likewise.
43644
2a50c078
EPM
436452010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43646
43647 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43648 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43649 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43650 in AT_FLAGS.
43651 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43652 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43653
eb5ad2eb
LM
436542010-05-28 Luis Machado <luisgpm@br.ibm.com>
43655
43656 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43657
3c88fe1e
L
436582010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43659
43660 [BZ #11640]
43661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43662 Properly check family and model.
43663
d2f73151
TY
436642010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43665
43666 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43667
ebd2e13d
LM
436682010-05-24 Luis Machado <luisgpm@br.ibm.com>
43669
43670 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43671
b32b8b45
UD
436722010-05-21 Ulrich Drepper <drepper@redhat.com>
43673
43674 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43675 symbol reference.
43676
9acbe24d
AS
436772010-05-19 Andreas Schwab <schwab@redhat.com>
43678
43679 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43680 symbol reference.
43681
f0ccf6ea
AS
436822010-05-21 Andreas Schwab <schwab@redhat.com>
43683
3d04ff3a
AS
43684 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43685 and internal_recvmmsg.
43686 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43687 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43688 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43689 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43690
f0ccf6ea
AS
43691 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43692 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43693 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43694
5b08ac57
AS
436952010-05-20 Andreas Schwab <schwab@redhat.com>
43696
43697 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43698
4828935d
LM
436992010-05-17 Luis Machado <luisgpm@br.ibm.com>
43700
43701 POWER7 optimizations.
43702 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43703 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43704
373d545e
UD
437052010-05-19 Ulrich Drepper <drepper@redhat.com>
43706
43707 * version.h: Update for 2.13 development version.
43708
21a2b1ae
AS
437092010-05-12 Andrew Stubbs <ams@codesourcery.com>
43710
43711 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43712 exceptions. Return 0.
43713
3f7dcb2b
RM
437142010-05-07 Roland McGrath <roland@redhat.com>
43715
43716 * elf/ldconfig.c (main): Add a const.
43717
5f24d53a 437182010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43719
a160f8d8
UD
43720 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43721 (args_options): Add no-idn option.
43722 (ahosts_keys_int): Add idn_flags to ai_flags.
43723 (parse_option): Handle 'i' option to clear idn_flags.
43724
5f24d53a
UD
43725 * malloc/malloc.c (_int_free): Possible race in the most recently
43726 added check. Only act on the data if no current modification
43727 happened.
265bb1ce
UD
43728
43729See ChangeLog.17 for earlier changes.