]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
MIPS - Remove mips lowlevellock.h.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
e5292691
BO
12014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2
3 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4
5b4bd2d4
WN
52014-08-04 Will Newton <will.newton@linaro.org>
6
7 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8 file.
9
fcadaeef
MF
102014-08-04 Mike Frysinger <vapier@gentoo.org>
11
12 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
13 variants for each function.
14
43a94c64
RM
152014-08-04 Roland McGrath <roland@hack.frob.com>
16
17 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
18 appended ...
19 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
20 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
21 appended ...
22 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
23 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
24 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
25 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
26 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
27 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
28 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
29 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
30 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
31 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
32 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
33 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
34 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
35 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
36 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
37 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
38 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
39 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
40 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
41 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
42 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
43 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
44 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
45 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
46 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
47 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
48 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
49 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
50 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
51 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
52 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
53 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
54 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
55 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
56 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
57 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
58 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
59 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
60 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
61 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
62 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
63 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
64 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
65 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
66 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
67 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
68 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
69 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
70 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
71 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
72 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
73 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
74 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
75 Update #include.
76 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
77 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
78
8f3c1fa4
RM
792014-08-04 Roland McGrath <roland@hack.frob.com>
80
81 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
82 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
83 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
84 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
85 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
86 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
87
ca08746f
RM
882014-08-04 Roland McGrath <roland@hack.frob.com>
89
90 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
91 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
92 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
93 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
94
9c925ff9
RM
952014-08-04 Roland McGrath <roland@hack.frob.com>
96
97 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
98 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
99 (__libc_vfork): Define function under this name.
100 (__vfork): Define as an alias.
101 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
102 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
103
e641054c
RM
1042014-08-04 Roland McGrath <roland@hack.frob.com>
105
106 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
107 that was previously under [RESET_PID].
108 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
109
dacdc867
AS
1102014-08-04 Andreas Schwab <schwab@suse.de>
111
112 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
113
41f725ff
MF
1142014-08-03 Mike Frysinger <vapier@gentoo.org>
115
116 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
117 (main): Likewise.
118
277cfb31
RM
1192014-08-01 Roland McGrath <roland@hack.frob.com>
120
121 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
122
4896f049
RH
1232014-08-01 Richard Henderon <rth@redhat.com>
124
125 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
126 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
127 typo in exact zero test.
128 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
129 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
130 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
131
6f64e7d7
RM
1322014-08-01 Roland McGrath <roland@hack.frob.com>
133
134 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
135 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
136 * sysdeps/arm/sysdep.h: ... here.
137 [!__ASSEMBLER__]: Include <stdint.h>.
138
3f3dd810
SP
1392014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
140
a476ac4b
SP
141 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
142 (HAVE_WCTYPE_H): Likewise.
143 (HAVE_ISWCTYPE): Likewise.
144 (ENABLE_NLS): Likewise.
145 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
146 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
147
78dd658a
SP
148 * posix/regex_internal.c: Check if DEBUG is defined and is
149 set.
150
3f3dd810
SP
151 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
152 (HAVE_MBSRTOWCS): Likewise.
153 * posix/fnmatch.c: Include string.h unconditionally.
154
95ee7fb1
SL
1552014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
156
157 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
158 reversal.
159
23fe486b
RM
1602014-07-31 Roland McGrath <roland@hack.frob.com>
161
f61a113f
RM
162 * sysdeps/generic/safe-fatal.h: New file.
163 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
164 * nptl/forward.c: Include it.
165 (__pthread_unwind): Use __safe_fatal as default action, rather
166 than a bogus use of INTERNAL_SYSCALL that could never work.
167
9fe7e787
RM
168 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
169 * configure.ac (libc_cv_builtin_trap): New test.
170 * configure: Regenerated.
171 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
172 (ABORT_INSTRUCTION): Define using __builtin_trap.
173
23fe486b
RM
174 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
175 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
176 * sysdeps/nptl/nptl-signals.h: New file.
177 * nptl/pthreadP.h: Include <nptl-signals.h>.
178
f349489e
SL
1792014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
180
181 * sysdeps/s390/s390-64/utf16-utf32-z9.c
182 (ONE_DIRECTION): Define.
183 * sysdeps/s390/s390-64/utf8-utf16-z9.c
184 (ONE_DIRECTION): Define.
185 * sysdeps/s390/s390-64/utf8-utf32-z9.c
186 (ONE_DIRECTION): Define.
187
2f438e20
SL
1882014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
189
190 * sysdeps/s390/Makefile: Delete file.
191 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
192 * sysdeps/s390/__longjmp.c: Delete file.
193 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
194 Remove fields __flags and __reserved.
195 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
196 and add versioning.
197 * sysdeps/s390/rtld-__longjmp.c: Delete file.
198 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
199 * sysdeps/s390/rtld-setjmp.S: Likewise.
200 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
201 * sysdeps/s390/s390-32/__longjmp.c: ... here.
202 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
203 * sysdeps/s390/s390-32/setjmp.S: ... here.
204 Add versioning.
205 (__sigsetjmp): Remove setting __flags field.
206 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
207 * sysdeps/s390/s390-64/__longjmp.c: ... here.
208 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
209 * sysdeps/s390/s390-64/setjmp.S: ... here.
210 Add versioning.
211 (__sigsetjmp): Remove setting __flags field.
212 * sysdeps/s390/setjmp.S: Delete file.
213 * sysdeps/s390/sigjmp.c: Likewise.
214 * sysdeps/s390/v1-longjmp.c: Likewise.
215 * sysdeps/s390/v1-setjmp.h: Likewise.
216 * sysdeps/s390/v1-sigjmp.c: Likewise.
217 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
218 Remove v1-longjmp_chk.
219 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
220 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
221 Include debug/longjmp_chk.c and add versioning.
222 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
223 Include nptl/pt-longjmp.c and add versioning.
224 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
225 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
226 Include __longjmp.c.
227 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
228 Move to ...
229 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
230 (__getcontext): Remove setting __flags field.
231 Add versioning.
232 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
233 Don't restore upper high grps.
234 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
235 Likewise.
236 (__swapcontext): Remove setting uc_flags field.
237 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
238 Delete file.
239 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
240 Include __longjmp.c.
241 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
242 Move to ...
243 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
244 (__getcontext): Remove setting __flags field.
245 Add versioning.
246 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
247 (__swapcontext): Remove setting uc_flags field.
248 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
249 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
250 Remove fields uc_high_gprs and __reserved.
251 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
252 New file with reverted content.
253 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
254 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
255 Regenerated.
256 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
257 Regenerated.
258
6c9578a2
AS
2592014-07-31 Andreas Schwab <schwab@suse.de>
260
261 * config.h.in (HAVE_IFUNC): Define to 0.
262 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
263 definedness.
264
05f3633d
LM
2652014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
266
267 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
268 memmove-avx-unaligned, memcpy-avx-unaligned and
269 mempcpy-avx-unaligned.
270 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
271 Add tests for AVX memcpy functions.
272 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
273 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
274 memcpy_chk.
275 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
276 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
277 memmove_chk.
278 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
279 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
280 mempcpy_chk.
281 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
282 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
283 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
284
a53fbd8e
AZ
2852013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
286
287 [BZ #17213]
288 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
289 powerpc64le.
290
0961f7e1
JL
2912014-07-29 Jeff Layton <jlayton@poochiereds.net>
292
293 [BZ #16839]
294 * manual/llio.texi: Add section about open file description locks.
295 * manual/examples/ofdlocks.c: Example of open file description
296 lock usage.
297 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
298 F_OFD_SETLK, and F_OFD_SETLKW.
299
cc5fb300
AM
3002014-07-23 Allan McRae <allan@archlinux.org>
301
302 * po/es.po: Update Spanish translation from translation project.
303
23329dca
AS
3042014-07-18 Andreas Schwab <schwab@linux-m68k.org>
305
306 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
307
9c82da17
MR
3082014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
309
310 [BZ #17078]
311 * sysdeps/arm/dl-machine.h (elf_machine_rela)
312 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
313 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
314
29c4f53e
JM
3152014-07-17 Joseph Myers <joseph@codesourcery.com>
316
831b9896
JM
317 [BZ #17088]
318 * math/fesetenv.c (__fesetenv)
319 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
320 * math/feupdateenv.c (__feupdateenv)
321 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
322
b21c2d50
JM
323 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
324 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
325 (__ASSUME_SOCKETCALL): Do not define.
326
067764ef
JM
327 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
328 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
329 (__ASSUME_SOCKETCALL): Do not define.
330 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
331 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
332 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
333 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
334 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
335 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
336 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
337 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
338
642530c1
JM
339 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
340 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
341 (__ASSUME_SOCKETCALL): Do not define.
342 (__ASSUME_IPC64): Define unconditionally.
343 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
344 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
345 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
346 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
347 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
348 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
349 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
350 Likewise.
351
03f77315
JM
352 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
353 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
354 (__ASSUME_SOCKETCALL): Do not define.
355 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
356 (__ASSUME_FUTEX_LOCK_PI): Likewise.
357 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
358 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
359 (__ASSUME_REQUEUE_PI): Define unconditionally.
360 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
361 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
362 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
363 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
364 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
365 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
366
083b1f7c
JM
367 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
368 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
369 (__ASSUME_SOCKETCALL): Do not define.
370 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
371 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
372 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
373 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
374 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
375 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
376
5be44ea6
JM
377 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
378 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
379 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
380 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
381 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
382 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
383 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
384 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
385 (__ASSUME_GETCPU_SYSCALL): Likewise.
386
d95ffd4c
JM
387 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
388 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
389 cases for individual architectures.
390 * sysdeps/gnu/configure: Regenerated.
391 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
392 LIBC_SLIBDIR_RTLDDIR.
393 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
394 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
395 LIBC_SLIBDIR_RTLDDIR.
396 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
398 LIBC_SLIBDIR_RTLDDIR.
399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
400 Regenerated.
401 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
402 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
403 file.
404 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
405 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
406 file.
407 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
408 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
409 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
410 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
411
29c4f53e
JM
412 * sysdeps/aarch64/shlib-versions: Move to ...
413 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
414 * sysdeps/alpha/shlib-versions: Move to ...
415 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
416 * sysdeps/arm/shlib-versions: Move to ...
417 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
418 * sysdeps/hppa/shlib-versions: Move all contents except for
419 libgcc_s entry to ...
420 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
421 entry from ...
422 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
423 * sysdeps/ia64/shlib-versions: Move to ...
424 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
425 entry from ...
426 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
427 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
428 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
429 * sysdeps/microblaze/shlib-versions: Move to ...
430 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
431 * sysdeps/mips/shlib-versions: Move to ...
432 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
433 entry from ...
434 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
435 * sysdeps/tile/shlib-versions: Move to ...
436 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
437 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
438 from ...
439 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
440 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
441 entry from ...
442 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
443
32bead5b
WN
4442014-07-17 Will Newton <will.newton@linaro.org>
445
57977c4b
WN
446 * sysdeps/arm/bits/atomic.h
447 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
448 (__arch_compare_and_exchange_bool_16_int): Likewise.
449 (__arch_compare_and_exchange_bool_64_int): Likewise.
450
32bead5b
WN
451 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
452 into an #else block.
453
37fccd41
RM
4542014-07-16 Roland McGrath <roland@hack.frob.com>
455
456 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
457 just Linux configurations. Test empirically that the compiler sets
458 __ARM_EABI__, rather than using the tuple to decide.
459 * sysdeps/arm/preconfigure: Regenerated.
460 * sysdeps/unix/sysv/linux/arm/configure: File removed.
461 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
462 contents appended ...
463 * sysdeps/arm/configure.ac: ... here.
464 * sysdeps/arm/configure: Regenerated.
465
b365f3ec
RM
4662014-07-15 Roland McGrath <roland@hack.frob.com>
467
8badf496
RM
468 * nptl/pthread_kill.c: New file.
469 * nptl/pthread_sigmask.c: New file.
470 * nptl/pthread_sigqueue.c: New file.
471
3df6f22e
RM
472 * sysdeps/nptl/lowlevellock.h: New file.
473 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
474 * sysdeps/nptl/lowlevellock-futex.h: New file.
475
b365f3ec
RM
476 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
477 Remove dead declarations.
478
f2fef657
L
4792014-07-14 H.J. Lu <hongjiu.lu@intel.com>
480
481 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
482 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
483 config-cflags-avx2.
484 * sysdeps/x86_64/configure.ac: Likewise.
485 * sysdeps/i386/configure: Regenerated.
486 * sysdeps/x86_64/configure: Likewise.
487 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
488 memset-avx2 only if config-cflags-avx2 is yes.
489 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
490 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
491 defined.
492 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
493 only if HAVE_AVX2_SUPPORT is defined.
494 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
495
f6c44d47
AM
4962014-07-14 Alan Modra <amodra@gmail.com>
497
498 [BZ #17153]
499 * elf/elf.h (DT_PPC64_NUM): Correct value.
500 * NEWS: Add to fixed bug list.
501
7ee03f00
JM
5022014-07-13 Jim Meyering <meyering@fb.com>
503
504 [BZ 17150]
505 regex: don't deref NULL upon heap allocation failure
506 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
507 failure in one more place.
508 To trigger the segfault, configure grep -with-included-regex,
509 build it, and run these commands:
510 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
511
9d39d517
AS
5122014-07-13 Andreas Schwab <schwab@linux-m68k.org>
513
514 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
515
a75b89b7
RH
5162014-07-11 Richard Henderson <rth@redhat.com>
517
518 * sysdeps/aarch64/libm-test-ulps: Update.
519
771eb141
FW
5202014-07-10 Florian Weimer <fweimer@redhat.com>
521
522 [BZ #17135]
523 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
524 * nptl/allocatestack.c (__nptl_setxid_error): New function.
525 (__nptl_setxid): Initialize error member. Call
526 __nptl_setxid_error.
527 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
528 * nptl/descr.h (struct xid_command): Add error member.
529 * nptl/tst-setuid3.c: New file.
530 * nptl/Makefile (tests): Add it.
531
bc1da176
AZ
5322014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
533
534 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
535 New define.
536 (__lll_trylock): Use __lll_base_trylock.
537 (__lll_cond_trylock): Likewise.
538
887865fc
RM
5392014-07-10 Roland McGrath <roland@hack.frob.com>
540
c0c6bac9
RM
541 * nptl/pthread_create.c (start_thread): Use atomic_or and
542 lll_futex_wake directly rather than lll_robust_dead.
543 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
544 (lll_robust_dead): Macro removed.
6a42be57 545 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
546 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
547 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
548 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
549 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
550 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
551 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
552 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
553 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
554 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
555 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
556 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
557 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
558 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
559 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
560
887865fc
RM
561 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
562 Use atomic_compare_and_exchange_val_acq directly rather than
563 lll_robust_trylock.
564 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
565 (__lll_robust_trylock, lll_robust_trylock): Removed.
566 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
567 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
568 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
569 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
570 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
571 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
572 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
573 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
574 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
575 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
576 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
577 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
578 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
579 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
580
58536726
FW
5812014-07-02 Florian Weimer <fweimer@redhat.com>
582
583 * manual/locale.texi (Locale Names): New section documenting
584 locale name syntax. Adjust menu and node chaining accordingly.
585 (Choosing Locale): Reference Locale Names, Locale Categories.
586 Mention setting LC_ALL=C. Reflect that name syntax is now
587 documented.
588 (Locale Categories): New section title. Reference Locale Names.
589 LC_ALL is an environment variable, but not a category.
590 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
591 description, now in Locale Name. Reference that section. Locale
592 name syntax is now documented.
593
4e8f95a0
FW
5942014-07-02 Florian Weimer <fweimer@redhat.com>
595
596 [BZ #17137]
597 * locale/findlocale.c (name_present, valid_locale_name): New
598 functions.
599 (_nl_find_locale): Use the loc_name variable to store name
600 candidates. Call name_present and valid_locale_name to check and
601 validate locale names. Return an error if the locale is invalid.
602
d1836456
FW
6032014-07-02 Florian Weimer <fweimer@redhat.com>
604
605 * locale/setlocale.c (setlocale): Use strdup for allocating
606 composite name copy.
607
d69b7f5a
SP
6082014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
609
888c679b
SP
610 Sync up with gnulib.
611 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
612 [!_LIBC && ENABLE_NLS]: Include gettext.h.
613 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
614 and _GL_ARG_NONNULL.
615 [USE_UNLOCKED_IO]: Include unlocked-io.h.
616 [!_LIBC]: Include code for Windows and Cygwin.
617 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
618 Include prototype for int strerror_r.
619 [!_LIBC] (is_open): New function.
620 (flush_stdout): New function.
621 (print_errno_message): Use it.
622 (error): Likewise.
623 (error_at_line): Likewise.
624 (error_tail) Add function attribute macros. Use
625 __builtin_expect.
626
180e0e4b
SP
627 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
628
d22f1fe2
SP
629 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
630
12f2254b
SP
631 * io/ftw.c: Include sys/param.h unconditionally.
632
c3c7c360
SP
633 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
634
d62aa75a
SP
635 [BZ #17125]
636 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
637 libc_freeres_ptr.
638 (freecache): New function to free CACHE on exit.
639
d69b7f5a
SP
640 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
641 initialization.
642
5efe06a1
DM
6432014-07-09 David S. Miller <davem@davemloft.net>
644
645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
646
7000d82e
DM
647 * sysdeps/sparc/nptl/internaltypes.h: Delete.
648 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
649 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
650 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
651 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
652 * sysdeps/sparc/nptl/sem_init.c: Likewise.
653 * sysdeps/sparc/nptl/sem_post.c: Likewise.
654 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
655 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
656 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
657 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
658 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
659 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
660
c213442d
AS
6612014-07-09 Andreas Schwab <schwab@suse.de>
662
4a2552c3
AS
663 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
664 output.
665 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
666 (do_test): Likewise.
667
c213442d
AS
668 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
669
82374e65
WN
6702014-07-09 Will Newton <will.newton@linaro.org>
671
672 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
673 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
674 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
675 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
676 * sysdeps/hppa/start.S (_start): Likewise.
677
6680738a
SP
6782014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
679
6ee3eab4
SP
680 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
681
6680738a
SP
682 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
683 defined.
684
80b5c505
SP
6852014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
686
e35c53e3
SP
687 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
688 after checking that it is non-NULL.
689
80b5c505
SP
690 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
691
91f4b564
AZ
6922014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
693
27b75f56
AZ
694 * sysdeps/powerpc/memmove.c: Remove file.
695 * sysdeps/powerpc/powerpc32/power4/memcopy.h
696 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
697 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
698 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
699 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
700 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
701 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
702 string memmove instead of removed powerpc one.
703
e7f95bb5
AZ
704 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
705 [weak_alias]: Fix compiler warning due trailing data.
706 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
707 [weak_alias]: Likewise.
708 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
709 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
710
91f4b564
AZ
711 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
712 (__libc_ifunc_impl_list): Add memmove functions.
713
7c33f1e5
SP
7142014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
715
716 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
717 Remove code.
718 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
719 Likewise
720 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
721 Likewise
722 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
723 Likewise
724 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
725 Likewise
726 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
727 Likewise
728 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
729 Likewise
730 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
731 Likewise
732 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
733 Likewise
734 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
735 Likewise
736 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
737 Likewise
738 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
739 Likewise
740 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
741 Likewise
742 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
743 Likewise
744 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
745 Likewise
746 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
747 Likewise
748 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
749 Likewise
750
3f17b03b
AZ
7512014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
752
87868c24
AZ
753 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
754 to avoid alignment traps in non-cacheable memory.
755 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
756
07aedd78
AZ
757 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
758 multiarch objects.
759 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
760 file: multiarch power7 memmove.
761 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
762 multiarch default memmove.
763 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
764 multiarch memove for powerpc32/power4.
765
17762f66
AZ
766 * string/bcopy.c: Use full path to include memmove.c.
767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
768 multiarch objects.
769 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
770 bcopy for powerpc64.
771 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
772 bcopy for powerpc64.
773 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
774 and memmove implementations.
775 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
776 optimized multiarch memmove for POWER7/powerpc64.
777 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
778 default multiarch memmove for powerpc64.
779 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
780 multiarch for powerpc64.
781 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
782 for POWER7/powerpc64.
783 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
784 memmove for POWER7/powerpc64.
785
d6f68bbe
AZ
786 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
787 glibc default one.
788
3f17b03b
AZ
789 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
790 __ELF_NATIVE_CLASS equal to 64.
791
08192659
RM
7922014-07-07 Roland McGrath <roland@hack.frob.com>
793
f4c4021b
RM
794 * sysdeps/nptl/lowlevellock.h: File removed.
795
f083450f
RM
796 * NEWS: NPTL is no longer an add-on!
797 * nptl/internaltypes.h: Moved ...
798 * sysdeps/nptl/internaltypes.h: ... here.
799 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
800 * sysdeps/nptl/fork.c: Likewise.
801 * sysdeps/nptl/gai_misc.h: Likewise.
802 * sysdeps/nptl/librt-cancellation.c: Likewise.
803 * sysdeps/nptl/jmp-unwind.c: Likewise.
804 * sysdeps/nptl/setxid.h: Likewise.
805 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
806 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
807 * sysdeps/unix/sysv/linux/arm/Implies: New file.
808 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
809 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
810 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
811 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
812 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
813 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
814 * sysdeps/unix/sysv/linux/mips/Implies: New file.
815 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
816 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
817 * sysdeps/unix/sysv/linux/sh/Implies: New file.
818 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
819 * sysdeps/unix/sysv/linux/tile/Implies: New file.
820 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
821 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
822 * nptl/Makeconfig: Moved ...
823 * sysdeps/nptl/Makeconfig: ... here.
824 * nptl/configure: File removed.
825 * nptl/ANNOUNCE: File removed.
826 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
827 * sysdeps/unix/sysv/linux/configure: Regenerated.
828
08192659
RM
829 * nptl/Makefile (routines): Add libc_pthread_init,
830 libc_multiple_threads, register-atfork and unregister-atfork.
831 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
832 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
833 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
834 pthread-pi-defines.sym, structsem.sym.
835 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
836 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
837 [$(subdir) = nptl] (tests): Add tst-setgetname.
838 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
839 * sysdeps/unix/sysv/linux/sigaction.c: Just include
840 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
841 [!LIBC_SIGACTION]: Remove aliases.
842 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
843 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
844 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
845 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
846 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
847 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
848 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
849 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
850 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
851 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
852 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
853 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
854 __libc_allocate_rtsig_private.
855 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
856 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
857 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
858 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
859 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
860 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
861 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
862 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
863 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
864 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
865 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
866 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
867 * nptl/internaltypes.h: ... here.
868 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
869 * sysdeps/nptl/jmp-unwind.c: ... here.
870 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
871 * nptl/libc-lowlevellock.c: ... here.
872 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
873 * nptl/libc_multiple_threads.c: ... here.
874 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
875 * nptl/libc_pthread_init.c: ... here.
876 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
877 * nptl/lowlevelbarrier.sym: ... here.
878 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
879 * nptl/lowlevelcond.sym: ... here.
880 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
881 * nptl/lowlevellock.c: ... here.
882 * nptl/lowlevellock.h: Moved ...
883 * sysdeps/nptl/lowlevellock.h: ... here.
884 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
885 * nptl/lowlevelrobustlock.c: ... here.
886 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
887 * nptl/lowlevelrobustlock.sym: ... here.
888 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
889 * nptl/lowlevelrwlock.sym: ... here.
890 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
891 * nptl/pt-fork.c: ... here.
892 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
893 * nptl/pthread-pi-defines.sym: ... here.
894 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
895 * nptl/pthread_attr_getaffinity.c: ... here.
896 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
897 * nptl/pthread_attr_setaffinity.c: ... here.
898 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
899 * nptl/pthread_mutex_cond_lock.c: ... here.
900 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
901 Update #include.
902 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
903 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
904 * nptl/pthread_once.c: ... here, replacing old file.
905 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
906 * nptl/pthread_yield.c: ... here.
907 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
908 * nptl/register-atfork.c: ... here.
909 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
910 * nptl/sem_post.c: ... here.
911 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
912 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
913 * nptl/sem_timedwait.c: ... here.
914 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
915 * nptl/sem_trywait.c: ... here.
916 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
917 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
918 * nptl/sem_wait.c: ... here.
919 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
920 * nptl/structsem.sym: ... here.
921 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
922 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
923 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
924 * nptl/unregister-atfork.c: ... here.
925 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
926 * nptl/unwindbuf.sym: ... here.
927 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
928 * sysdeps/nptl/fork.c: ... here.
929 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
930 * sysdeps/nptl/fork.h: ... here.
931 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
932 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
933 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
934 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
935 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
936 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
937 * sysdeps/unix/sysv/linux/getpid.c: ... here.
938 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
939 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
940 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
941 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
942 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
943 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
944 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
945 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
946 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
947 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
948 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
949 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
950 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
951 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
952 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
953 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
954 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
955 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
956 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
957 * sysdeps/unix/sysv/linux/raise.c: ... here.
958 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
959 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
960 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
961 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
962 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
963 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
964 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
965 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
966 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
967 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
968 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
969 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
970 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
971 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
972 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
973
96baf6ff
SP
9742014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
975
976 * sysdeps/generic/memcopy.h: Add comment for
977 MEMCPY_OK_FOR_FWD_MEMMOVE.
978
6b7b14b2
WN
9792014-07-04 Will Newton <will.newton@linaro.org>
980
1570a72b
WN
981 * string/memchr.c: Merge from gnulib.
982 [_LIBC]: Remove conditionals.
983 (__ptr_t): Remove define.
984 (LONG_MAX_32_BITS): Likewise.
985 (LONG_MAX): Likewise.
986 (MEMCHR): Use ANSI prototype and optimize algorithm.
987
6b7b14b2
WN
988 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
989
38851324
SP
9902014-07-03 Roland McGrath <roland@hack.frob.com>
991
3d9eb57c
RM
992 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
993 (lll_futex_timed_wait_bitset): Fix syscall argument count.
994
78b984ae
RM
995 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
996 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
997 in a bare environment with no <stdlib.h> installed.
998 * sysdeps/nptl/configure: Regenerated.
999
2d5976a5
RM
1000 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1001
c1f5acd4
RM
1002 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1003 AC_EGREP_CPP for kernel header checks, so they only succeed if
1004 including <linux/version.h> actually works right.
1005 * sysdeps/unix/sysv/linux/configure: Regenerated.
1006
4d614fe5
RM
1007 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1008 value so it's not diagnosed as unused.
1009
38851324
SP
1010 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1011 thing) with "ifeq ($(subdir),rt)".
1012
b3ec00e5
RH
10132014-07-03 Richard Henderson <rth@redhat.com>
1014
69862e25
RH
1015 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1016 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1017 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1018
d5e16ade
RH
1019 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1020 (math_force_eval): New.
1021
ca7b945c
RH
1022 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1023 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1024
cd1175a3
RH
1025 * sysdeps/alpha/fpu/s_round.c: Remove file.
1026 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1027
b3ec00e5
RH
1028 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1029 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1030 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1031 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1032 (_dl_start, print_statistics): Likewise.
1033 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1034 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1035
1036 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1037 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1038 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1039 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1040 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1041 (HP_SMALL_TIMING_AVAIL): Define.
1042 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1043 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1044 (HP_SMALL_TIMING_AVAIL): Define.
1045 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1046 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1047
1048 * sysdeps/aarch64/hp-timing.h: New file.
1049
1050 * sysdeps/generic/hp-timing.h: Remove dead comment.
1051 * sysdeps/generic/hp-timing-common.h: New file.
1052 * sysdeps/alpha/hp-timing.h: Include it.
1053 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1054 * sysdeps/i386/i686/hp-timing.h: Likewise.
1055 * sysdeps/ia64/hp-timing.h: Likewise.
1056 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1057 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1058 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1059 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1060 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1061 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1062 (hp_timing_t): New.
1063
1064 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1065 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1066 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1067 * elf/rtld.c (_dl_start_final): Likewise.
1068 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1069 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1070 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1071 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1072 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1073 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1074 (HP_TIMING_DIFF_INIT): Remove.
1075 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1076 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1077 (HP_TIMING_DIFF_INIT): Remove.
1078 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1079 * sysdeps/i386/i686/hp-timing.c: Remove file.
1080 * sysdeps/x86_64/hp-timing.c: Remove file.
1081 * sysdeps/ia64/hp-timing.c: Remove file.
1082 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1083 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1084 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1085 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1086
1087 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1088 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1089 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1090 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1091 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1092 (HP_TIMING_ACCUM): Remove.
1093 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1094 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1095 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1096
1097 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1098 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1099 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1100 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1101 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1102 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1103 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1104 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1105
1106 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1107
225f410f
MR
11082014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1109
1110 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1111
3247f285
SP
11122014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1113
1114 Sync up with gettext.
1115 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1116 [_MSC_VER]: Include malloc.h
1117 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1118 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1119 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1120 TEMP_FAILURE_RETRY. Cast return of alloca.
1121 [!_LIBC] Call gl_rwlock_init.
1122 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1123
d12704c7
SP
11242014-07-02 Roland McGrath <roland@hack.frob.com>
1125
1126 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1127 before checking its value.
1128
99f8dc92
SP
11292014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1130
05fdac77
SP
1131 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1132
99f8dc92
SP
1133 * debug/memcpy_chk.c: Don't include pagecopy.h.
1134 * debug/mempcpy_chk.c: Likewise.
1135 * string/memcpy.c: Likewise.
1136 * string/memmove.c: Likewise.
1137 * sysdeps/powerpc/memmove.c: Likewise.
1138 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1139 definition of PAGE_COPY_FWD_MAYBE here...
1140 * sysdeps/generic/pagecopy.h: ... from here.
1141 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1142
bc8ea385
VR
11432014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1144 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1145
1146 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1148 optimizations.
1149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1150 (__libc_ifunc_impl_list): Likewise.
1151 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1152 multiarch strcat for PPC64.
1153 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1154 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1155
fe5f34e4
RM
11562014-07-02 Roland McGrath <roland@hack.frob.com>
1157
1158 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1159
256aa665
SP
11602014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1161
d4eb8195
SP
1162 * intl/loadmsgcat.c: Remove declaration of
1163 get_sysdep_segment_value.
1164 (get_sysdep_segment_value): Use ISO C style.
1165 (_nl_load_domain): Use ISO C style. Get rid of redundant
1166 semicolon. Fix typo and formatting in comment.
1167 (_nl_unload_domain): Use ISO C style.
1168
256aa665
SP
1169 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1170
b100f9aa
WN
11712014-07-02 Will Newton <will.newton@linaro.org>
1172
1173 * malloc/obstack.c: Merge from gnulib master.
1174 [HAVE_CONFIG_H]: Remove conditional code.
1175 [!_LIBC]: Include config.h.
1176 [!ELIDE_CODE]: Don't include inttypes.h, include
1177 stdint.h unconditionally.
1178 (print_and_abort): Mark as _Noreturn.
1179 (_obstack_allocated_p): Mark as __attribute_pure__.
1180 (obstack_free): Rename to __obstack_free.
1181 [!__attribute__]: Remove conditional code.
1182 * malloc/obstack.h: Merge from gnulib master.
1183 [__cplusplus]: Move conditional down.
1184 [!__attribute_pure__]: Define __attribute_pure__ here
1185 if it is not already defined.
1186 (_obstack_memory_used): Mark as __attribute_pure__.
1187 [!__obstack_free]: Define as obstack_free.
1188 [__GNUC__]: Remove check for ancient NeXT gcc.
1189
c4c41244
PE
11902014-07-02 Will Newton <will.newton@linaro.org>
1191 Paul Eggert <eggert@cs.ucla.edu>
1192
1193 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1194
e1e041c4
SP
11952014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1196
1197 * resolv/gethnamaddr.c: Add comment warning that the file is
1198 not maintained.
1199
ccf431ff
CD
12002014-07-01 Carlos O'Donell <carlos@redhat.com>
1201
d34570a6
CD
1202 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1203 entries.
1204
ccf431ff
CD
1205 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1206 entry for aio_cancel and aio_cancel64.
1207 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1208 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1209 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1210 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1211 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1212 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1213 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1214 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1215 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1216 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1217 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1218 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1219 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1220
ca06321d
RM
12212014-07-01 Roland McGrath <roland@hack.frob.com>
1222
1223 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1224 * nptl/pthread_mutex_lock.c: Likewise.
1225 * nptl/pthread_mutex_timedlock.c: Likewise.
1226 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1227
a1ac3184
RH
12282014-07-01 Richard henderson <rth@redhat.com>
1229
631021e0
RH
1230 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1231 (__isnan, __isnanl): Remove.
1232 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1233
a1ac3184
RH
1234 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1235
0c1d731f
SL
12362014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1237
1238 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1239
76985d3e
SP
12402014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1241
1242 * resolv/nss_dns/dns-host.c (getanswer_r)
1243 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1244
b0cb3096
JM
12452014-07-01 Joseph Myers <joseph@codesourcery.com>
1246
1247 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1248 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1249 undefine.
1250 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1251 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1252
4d76cb39
RM
12532014-07-01 Roland McGrath <roland@hack.frob.com>
1254
1255 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1256 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1257
1258 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1259 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1260
1261 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1262 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1263 ... here.
1264 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1265 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1266
1267 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1268 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1269 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1270 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1271
1272 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1273 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1274 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1275 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1276 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1277 Moved ...
1278 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1279 ... here.
1280 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1281 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1282 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1283 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1284 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1285 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1286 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1287 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1288 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1289 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1290 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1291 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1292 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1293 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1294 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1295 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1296 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1297 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1298 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1299 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1300 ... here.
1301 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1302 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1303 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1304 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1305 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1306 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1307 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1308 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1309
0cdcad17
DH
13102014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1311
1312 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1313 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1314 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1315 Add sysdep.
1316
9b71d0e3
AZ
13172014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1318
1319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1320
665390c2
JM
13212014-06-30 Joseph Myers <joseph@codesourcery.com>
1322
ae05a9d7
JM
1323 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1324 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1325
a7672a2f
JM
1326 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1327
665390c2
JM
1328 * sysdeps/arm/libm-test-ulps: Regenerated.
1329
d7a05d07
MR
13302014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1331 Roland McGrath <roland@hack.frob.com>
1332
1333 * test-skeleton.c (signal_handler): Kill the whole process group
1334 before killing the child individually.
1335 (main): Report any failure on `setpgid'.
1336
46f1d8a6
RM
13372014-06-30 Roland McGrath <roland@hack.frob.com>
1338
1339 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1340 from _TLS_H to _ARM_NPTL_TLS_H.
1341 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1342 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1343
9c37ec0b
JM
13442014-06-30 Joseph Myers <joseph@codesourcery.com>
1345
ce9c5b3e
JM
1346 [BZ #16539]
1347 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1348 (__expm1l): Return argument unchanged when small but not
1349 subnormal.
1350
3a6e9887
JM
1351 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1352 include macro name.
1353 (_FP_UNPACK_RAW_1_P): Likewise.
1354 (_FP_PACK_RAW_1): Likewise.
1355 (_FP_PACK_RAW_1_P): Likewise.
1356 (_FP_MUL_MEAT_1_wide): Likewise.
1357 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1358 (_FP_MUL_MEAT_1_hard): Likewise.
1359 (_FP_DIV_MEAT_1_imm): Likewise.
1360 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1361 (_FP_DIV_MEAT_1_udiv): Likewise.
1362 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1363 (_FP_UNPACK_RAW_2): Likewise.
1364 (_FP_UNPACK_RAW_2_P): Likewise.
1365 (_FP_PACK_RAW_2): Likewise.
1366 (_FP_PACK_RAW_2_P): Likewise.
1367 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1368 (_FP_MUL_MEAT_2_wide): Likewise.
1369 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1370 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1371 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1372 (_FP_MUL_MEAT_2_gmp): Likewise.
1373 (_FP_DIV_MEAT_2_udiv): Likewise.
1374 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1375 (_FP_FRAC_SRL_4): Likewise.
1376 (_FP_FRAC_SRST_4): Likewise.
1377 (_FP_FRAC_SRS_4): Likewise.
1378 (_FP_UNPACK_RAW_4): Likewise.
1379 (_FP_UNPACK_RAW_4_P): Likewise.
1380 (_FP_PACK_RAW_4): Likewise.
1381 (_FP_PACK_RAW_4_P): Likewise.
1382 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1383 (_FP_MUL_MEAT_4_wide): Likewise.
1384 (_FP_MUL_MEAT_4_gmp): Likewise.
1385 (umul_ppppmnnn): Likewise.
1386 (_FP_DIV_MEAT_4_udiv): Likewise.
1387 (__FP_FRAC_ADD_4): Likewise.
1388 (__FP_FRAC_SUB_3): Likewise.
1389 (__FP_FRAC_SUB_4): Likewise.
1390 (__FP_FRAC_DEC_3): Likewise.
1391 (__FP_FRAC_DEC_4): Likewise.
1392 (__FP_FRAC_ADDI_4): Likewise.
1393 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1394 (_FP_FRAC_SRL_8): Likewise.
1395 (_FP_FRAC_SRS_8): Likewise.
1396
9c37ec0b
JM
1397 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1398 include macro name.
1399 (FP_UNPACK_RAW_EP): Likewise.
1400 (FP_PACK_RAW_E): Likewise.
1401 (FP_PACK_RAW_EP): Likewise.
1402 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1403 (_FP_ISSIGNAN): Likewise.
1404 (_FP_ADD_INTERNAL): Likewise.
1405 (_FP_FMA): Likewise.
1406 (_FP_CMP): Likewise.
1407 (_FP_SQRT): Likewise.
1408 (_FP_TO_INT): Likewise.
1409 (_FP_FROM_INT): Likewise.
1410 (FP_EXTEND): Likewise.
1411 (_FP_DIV_MEAT_N_loop): Likewise.
1412
2125f674
MR
14132014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1414
1415 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1416 throughout.
1417
edea4028
JM
14182014-06-29 Joseph Myers <joseph@codesourcery.com>
1419
1420 [BZ #17097]
1421 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1422 result with correct sign in case of exponents that produce
1423 overflow except for X very close to 1.
1424
dd0ba018
PE
14252014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1426
1427 mktime: merge #if/#ifdef usage from glibc
1428 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1429 as that works with both Glibc's and Gnulib's style.
1430 See thread starting at Siddhesh Poyarekar's bug report at:
1431 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1432
64df73c2
SP
14332014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1434
1435 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1436 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1437 * sysdeps/tile/tilegx/memmove.c: Remove file.
1438
f1eafb41
JM
14392014-06-27 Joseph Myers <joseph@codesourcery.com>
1440
1441 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1442 abi-name definition.
1443 * scripts/soversions.awk: Do not handle or generate ABI lines.
1444 * shlib-versions: Remove ABI entries.
1445 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1446 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1447
58eb0862
RM
14482014-06-27 Roland McGrath <roland@hack.frob.com>
1449
37caf178
RM
1450 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1451 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1452 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1453 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1454 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1455 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1456 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1457 Moved ...
1458 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1459 ... here.
1460 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1461 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1462 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1463 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1464 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1465 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1466 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1467 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1468 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1469 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1470 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1471 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1472 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1473 Moved ...
1474 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1475 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1476 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1477 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1478 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1479 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1480 Moved ...
1481 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1482 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1483 Moved ...
1484 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1485 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1486 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1487 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1488 Moved ...
1489 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1490 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1491 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1492 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1493 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1494 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1495 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1496 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1497 Moved ...
1498 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1499 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1500 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1501 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1502 Moved ...
1503 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1504 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1505 Moved ...
1506 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1507 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1508 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1509 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1510 Moved ...
1511 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1512 ... here.
1513 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1514 Identical file removed.
1515 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1516 Moved ...
1517 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1518 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1519 Identical file removed.
1520 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1521 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1522 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1523 Moved ...
1524 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1525 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1526 Identical file removed.
1527 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1528 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1529 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1530 Identical file removed.
1531 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1532 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1533 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1534 Identical file removed.
1535 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1536 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1537 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1538 Identical file removed.
1539 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1540 Moved ...
1541 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1542 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1543 Identical file removed.
1544 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1545 Moved ...
1546 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1547 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1548 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1549 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1550 Identical file removed.
1551 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1552 Moved ...
1553 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1554 ... here.
1555 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1556 Identical file removed.
1557 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1558 Moved ...
1559 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1560 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1561 Identical file removed.
1562 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1563 Moved ...
1564 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1565 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1566 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1567 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1568 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1569 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1570 Moved ...
1571 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1572 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1573 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1574
58eb0862
RM
1575 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1576 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1577 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1578 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1579 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1580
6f12d062
AS
15812014-06-27 Arjun Shankar <arjun.is@lostca.se>
1582
1583 [BZ #17092]
1584 * nscd/nscd.c (monitor_child): Return exit status of child
1585 instead of return value from wait syscall.
1586
be254932
JM
15872014-06-27 Joseph Myers <joseph@codesourcery.com>
1588
cb403c34
JM
1589 * configure.ac (libc_commonpagesize): Remove variable.
1590 (libc_relro_required): Likewise.
1591 (libc_cv_z_relro): Remove configure test.
1592 * configure: Regenerated.
1593 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1594 variable.
1595 (libc_relro_required): Likewise.
1596 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1597 (libc_relro_required): Likewise.
1598 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1599 (libc_relro_required): Likewise.
1600 * sysdeps/arm/preconfigure: Regenerated.
1601 * sysdeps/ia64/preconfigure: Remove file.
1602 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1603 variable.
1604 (libc_relro_required): Likewise.
1605
be254932
JM
1606 [BZ #16561]
1607 [BZ #16562]
1608 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1609 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1610 recompute overflowing results in original rounding mode.
1611 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1612 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1613 recompute overflowing results in original rounding mode.
1614 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1615 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1616 recompute overflowing results in original rounding mode.
1617 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1618 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1619 recompute overflowing results in original rounding mode.
1620 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1621 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1622 recompute overflowing results in original rounding mode.
1623 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1624 (libc_feholdsetround_ctx): New macro.
1625 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1626 * sysdeps/i386/fpu/libm-test-ulps: Update.
1627 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1628
b351d85a
JM
16292014-06-26 Joseph Myers <joseph@codesourcery.com>
1630
1631 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1632 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1633 corresponding .cpsetup call.
1634
3cb4de47
RM
16352014-06-26 Roland McGrath <roland@hack.frob.com>
1636
1637 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1638 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1639 * sysdeps/arm/Makefile [$(subdir) = csu]
1640 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1641 (static-only-routines): Add aeabi_read_tp here.
1642 (shared-only-routines): Add libc-aeabi_read_tp here.
1643 (CFLAGS-libc-start.c): Add -fexceptions here.
1644 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1645 (sysdep_routines, static-only-routines, shared-only-routines):
1646 Don't add to these here.
1647 (CFLAGS-libc-start.c): Likewise.
1648
1649 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1650 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1651 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1652 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1653 * sysdeps/arm/Makefile [$(subdir) = rt]
1654 (librt-sysdep_routines, librt-shared-only-routines):
1655 Append rt-aeabi_unwind_cpp_pr1 here.
1656 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1657 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1658 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1659 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1660 Append nptl-aeabi_unwind_cpp_pr1 here.
1661 (tests): Filter out tst-cleanupx4 here.
1662 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1663 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1664 Don't do those here.
1665
354426bb
JM
16662014-06-26 Joseph Myers <joseph@codesourcery.com>
1667
1668 * scripts/list-sources.sh: Do not handle ports specially.
1669
28b0a8c9
RM
16702014-06-26 Roland McGrath <roland@hack.frob.com>
1671
a3dd035d
RM
1672 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1673 * sysdeps/arm/feupdateenv.c: Likewise.
1674
28b0a8c9
RM
1675 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1676
e66a8203
JM
16772014-06-26 Joseph Myers <joseph@codesourcery.com>
1678
1679 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1680 trailing whitespace removed.
1681 * scripts/config.guess: Update to version 2014-03-23.
1682 * scripts/config.sub: Update to version 2014-05-01
1683 * scripts/install-sh: Update to version 2013-12-25.23.
1684 * scripts/move-if-change: Update from gnulib.
1685
74171115
SP
16862014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1687
b97c9ce5
SP
1688 * debug/memmove_chk.c: Remove pagecopy.h include.
1689
4000f892
SP
16902014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1691
74171115
SP
1692 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1693 identical to gnulib mktime.
1694
a8779c28
JM
16952014-06-26 Joseph Myers <joseph@codesourcery.com>
1696
e64708de
JM
1697 * configure.ac: Do not test for machine being rs6000. Do not test
1698 for powerpc*-*soft.
1699 * configure: Regenerated.
1700
a8779c28
JM
1701 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1702 test.
1703 * configure: Regenerated.
1704 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1705 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1706 Remove configure test.
1707 * sysdeps/arm/configure: Regenerated.
1708 * sysdeps/nptl/configure.ac: Do not check
1709 libc_cv_asm_cfi_directives.
1710 * sysdeps/nptl/configure: Regenerated.
1711 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1712 * sysdeps/x86_64/nptl/configure: Remove generated file.
1713 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1714 unconditional.
1715 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1716
2aac0a86
SP
17172014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1718
059bf913
SP
1719 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1720 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1721 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1722 it is defined.
1723
4cf5b6d0
SP
1724 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1725 instead of whether it is defined.
1726 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1727 * sysdeps/hppa/dl-machine.h: Likewise.
1728 * sysdeps/ia64/dl-machine.h: Likewise.
1729 * sysdeps/m68k/dl-machine.h: Likewise.
1730 * sysdeps/microblaze/dl-machine.h: Likewise.
1731 * sysdeps/mips/dl-machine.: Likewise.
1732 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1733 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1734 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1735 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1736 * sysdeps/sh/dl-machine.h: Likewise.
1737 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1738 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1739 * sysdeps/tile/dl-machine.h: Likewise.
1740 * sysdeps/x86_64/dl-machine.h: Likewise.
1741
2aac0a86
SP
1742 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1743 code.
1744 (verify_persistent_db): Likewise.
1745
6ad2df0b
RM
17462014-06-26 Roland McGrath <roland@hack.frob.com>
1747
d8a483f3
RM
1748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1749 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1751 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1753 Moved ...
1754 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1755 ... here.
1756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1757 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1759 Identical file removed.
1760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1761 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1763 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1765 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1767 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1769 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1771 Moved ...
1772 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1774 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1776 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1778 Moved ...
1779 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1781 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1783 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1785 Identical file removed.
1786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1787 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1789 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1791 Moved ...
1792 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1793 ... here.
1794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1795 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1797 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1799 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1801 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1803 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1805 Moved ...
1806 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1808 Moved ...
1809 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1811 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1812 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1813 Moved ...
1814 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1816 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1817
52ae23b4
RM
1818 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1819 folded into ...
1820 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1821 * sysdeps/unix/sysv/linux/s390/Versions
1822 (libpthread: GLIBC_2.19): New version set.
1823 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1824 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1825 (librt: GLIBC_2.3.3): New version set.
1826 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1827 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1828 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1829 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1830 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1831 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1832 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1833 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1834 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1835 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1836 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1837 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1838 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1839 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1840 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1841 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1842 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1843 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1844 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1845 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1846 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1847 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1848 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1849 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1850 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1851 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1852 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1853 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1854 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1855 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1856 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1857 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1858 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1859 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1860 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1861 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1862 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1863 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1864 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1865 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1866 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1867 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1868 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1869 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1870 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1871
39507e4a
RM
1872 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1873 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1874 (__libc_vfork): Define the function under this name.
1875 [!NOT_IN_libc] (__vfork): Make this an alias.
1876 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1877 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1878 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1879 (__libc_vfork): Define the function under this name.
1880 [!NOT_IN_libc] (__vfork): Make this an alias.
1881 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1882 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1883 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1884 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1885 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1886 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1887
e549ee56
RM
1888 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1889 code that was previously under [RESET_PID].
1890 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1891 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1892 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1893
6ad2df0b
RM
1894 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1895 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1896 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1897 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1898 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1899 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1900 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1901 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1902 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1903 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1904 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1905 Moved ...
1906 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1907 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1908 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1909 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1910 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1911 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1912 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1913 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1914 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1915 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1916 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1917 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1918 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1919 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1920 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1921 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1922 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1923 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1924 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1925 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1926 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1927 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1928 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1929 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1930 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1931 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1932 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1933 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1934 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1935
7c1c1d8e
RM
19362014-06-25 Roland McGrath <roland@hack.frob.com>
1937
1938 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1939 that was previously under [RESET_PID].
1940 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1941
3e239be6
JM
19422014-06-25 Joseph Myers <joseph@codesourcery.com>
1943
74385da5
JM
1944 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1945 not undefine and redefine.
1946 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1947 [O_CLOEXEC]: Make code unconditional.
1948 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1949 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1950 <kernel-features.h>.
1951 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1952 conditional variable definition.
1953 (shm_open) [O_CLOEXEC]: Make code unconditional.
1954 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1955 code.
1956
c2570a0b
JM
1957 * configure.ac (USE_REGPARMS): Don't define here.
1958 * configure: Regenerated.
1959 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1960 * sysdeps/i386/configure: Regenerated.
1961
11b076bb
JM
1962 * nptl/createthread.c: Don't include kernel-features.h.
1963 * nptl/pthread_cancel.c: Likewise.
1964 * nptl/pthread_condattr_setclock.c: Likewise.
1965 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1966 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1967 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1968 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1969 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1970 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1971 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1972 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1973 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1974 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1975 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1976 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1977 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1978 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1979 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1980 * nscd/gai.c: Likewise.
1981 * nss/nss_db/db-open.c: Likewise.
1982 * sysdeps/generic/ldsodefs.h: Likewise.
1983 * sysdeps/sh/nptl/tls.h: Likewise.
1984 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1985 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1986 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1987 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1988 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1989 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1990 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1991 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1992 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1993 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1994 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1995 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1996 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1997 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1998 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1999 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2000 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2001 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2002 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2003 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2004 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2005 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2006 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2007 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2008 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2009 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2010 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2011 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2012 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2013 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2014 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2015 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2016 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2017 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2018 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2019 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2020 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2021 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2022 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2023 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2024 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2025 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2026 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2027 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2028 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2029 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2030 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2031 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2032 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2033 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2034 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2035 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2036 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2037 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2038 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2039 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2040 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2041 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2064 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2065 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2066 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2067 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2068 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2069 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2070 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2071 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2072 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2073 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2074 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2075 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2076 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2077 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2078 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2079 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2080 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2081 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2082 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2083 * sysdeps/unix/sysv/linux/system.c: Likewise.
2084 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2085 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2086 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2087 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2088 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2089 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2090 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2091
92072d57
JM
2092 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2093 * configure: Regenerated.
2094 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2095
3e239be6
JM
2096 * configure.ac (base_machine): Do not set specially for particular
2097 machines here.
2098 * configure: Regenerated.
2099 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2100 settings from configure.ac.
2101 * sysdeps/i386/preconfigure: New file.
2102 * sysdeps/s390/preconfigure: Likewise.
2103 * sysdeps/sh/preconfigure: Likewise.
2104 * sysdeps/sparc/preconfigure: Likewise.
2105
06d50baa
RM
21062014-06-25 Roland McGrath <roland@hack.frob.com>
2107
74836003
RM
2108 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2109 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2110 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2111 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2112 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2113 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2114 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2115 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2116 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2117 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2118 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2119 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2120 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2121 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2122 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2123 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2124 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2125 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2126 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2127
2128 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2129 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2130 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2131 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2132 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2133 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2134 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2135 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2136 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2137 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2138 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2139 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2140 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2141 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2142 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2143 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2144 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2145 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2146 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2147 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2148 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2149 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2150 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2151 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2152 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2153 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2154 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2155 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2156 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2157 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2158 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2159 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2160 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2161 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2162 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2163 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2164 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2165 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2166
06d50baa
RM
2167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2168 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2170 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2172 Moved ...
2173 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2174 ... here.
2175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2176 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2178 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2180 Moved ...
2181 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2183 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2185 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2187 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2189 Moved ...
2190 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2192 Moved ...
2193 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2195 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2197 Moved ...
2198 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2200 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2202 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2204 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2206 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2208 Moved ...
2209 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2210 ... here.
2211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2212 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2214 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2216 Moved ...
2217 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2219 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2221 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2223 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2225 Moved ...
2226 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2228 Moved ...
2229 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2231 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2233 Moved ...
2234 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2236 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2238 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2239
a4ccbc9b
JM
22402014-06-25 Joseph Myers <joseph@codesourcery.com>
2241
0828edbf
JM
2242 * timezone/checktab.awk: Update from tzcode 2014e.
2243 * timezone/private.h: Likewise.
2244 * timezone/tzfile.h: Likewise.
2245 * timezone/zdump.c: Likewise.
2246 * timezone/zic.c: Likewise.
2247
a4ccbc9b
JM
2248 * sysdeps/unix/sysv/linux/kernel-features.h
2249 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2250 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2251 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2252 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2253 Remove conditional code.
2254
9aea0cb8
WN
22552014-06-25 Will Newton <will.newton@linaro.org>
2256
2257 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2258 (_dl_arm_cap_flags): Add HWCAP2 values.
2259 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2260 (_DL_HWCAP_COUNT): Increase to 37.
2261 (_DL_HWCAP_LAST): New define.
2262 (_DL_HWCAP2_LAST): New define.
2263 (_dl_procinfo): Add support for printing
2264 AT_HWCAP2 entries.
2265 (_dl_string_hwcap): Use _dl_hwcap_string.
2266
6eaa65ce
AZ
22672014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2268
2269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2270
0f5b7185
JM
22712014-06-25 Joseph Myers <joseph@codesourcery.com>
2272
cfd2ea50
JM
2273 * README: Do not mention ports directory.
2274
cecf2ed4
JM
2275 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2276 Remove macro.
2277 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2278 <kernel-features.h>.
2279 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2280 conditional variable definition.
2281 (__futimes): Update comment.
2282 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2283 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2284
a638de82
JM
2285 [BZ #16560]
2286 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2287 arguments close to 0.
2288 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2289 Likewise.
2290 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2291 Likewise.
2292 * math/auto-libm-test-in: Add more tests of exp10.
2293 * math/auto-libm-test-out: Regenerated.
2294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2295
0f5b7185
JM
2296 * sysdeps/unix/sysv/linux/kernel-features.h
2297 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2298 * sysdeps/unix/sysv/linux/readv.c: Do not include
2299 <kernel-features.h>.
2300 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2301 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2302 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2303 unconditional.
2304 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2305 conditional code.
2306 * sysdeps/unix/sysv/linux/writev.c: Do not include
2307 <kernel-features.h>.
2308 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2309 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2310 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2311 unconditional.
2312 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2313 conditional code.
2314
c7aec4be
WN
23152014-06-25 Will Newton <will.newton@linaro.org>
2316
2317 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2318 comment changes throughout the file. Remove checks
2319 for HAVE_*_H definitions that are not required.
2320 (__gen_tempname): Call abort if an unknown kind value is
2321 passed.
2322
c5241f95
AS
23232014-06-25 Andreas Schwab <schwab@suse.de>
2324
2325 [BZ #17086]
2326 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2327 scalbln, scalblnf, scalblnl in libc.
2328
911422da
SP
23292014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2330
2331 [BZ #17086]
2332 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2333 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2334 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2335
0d749bbe
RM
23362014-06-24 Roland McGrath <roland@hack.frob.com>
2337
2338 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2339 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2340 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2341 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2342 Update #include.
2343 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2344 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2345 Update #include.
2346 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2347 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2348 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2349 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2350 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2351 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2352 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2353 * sysdeps/x86/bits/semaphore.h: ... here.
2354 * sysdeps/x86/nptl/elide.h: Moved ...
2355 * sysdeps/x86/elide.h: ... here.
2356 * sysdeps/x86_64/nptl/Implies: File removed.
2357 * sysdeps/i386/nptl/Implies: File removed.
2358
0ea5d373
JM
23592014-06-24 Joseph Myers <joseph@codesourcery.com>
2360
4060283d
JM
2361 [BZ #16539]
2362 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2363 return the argument for normal arguments with exponent below -64.
2364 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2365 Likewise.
2366 * math/auto-libm-test-in: Add another test of expm1.
2367 * math/auto-libm-test-out: Regenerated.
2368
e7dd3c8c
JM
2369 [BZ #16287]
2370 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2371 calling __erfcl for arguments at least 16.
2372 * math/auto-libm-test-in: Add more tests of erf.
2373 * math/auto-libm-test-out: Regenerated.
2374
0ea5d373
JM
2375 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2376 individual architectures.
2377 * sysdeps/unix/sysv/linux/configure: Regenerated.
2378 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2379 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2380 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2381 (ldd_rewrite_script): Define variable.
2382 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2384 file.
2385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2386 generated file.
2387 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2388 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2389 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2390 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2391 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2392 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2393 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2394 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2395
2307e126
SP
23962014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2397
2398 [BZ #17084]
2399 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2400 Rename member __data.d to __data.__elision_data.
2401
c0a4ed77
W
24022014-06-24 Wilco <wdijkstr@arm.com>
2403
2404 * NEWS: Add 16918 to fixed bug list.
2405
b8c00573
W
24062014-06-24 Wilco <wdijkstr@arm.com>
2407
2408 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2409
b5570d92
W
24102014-06-24 Wilco <wdijkstr@arm.com>
2411
2412 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2413 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2414 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2415 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2416 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2417 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2418 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2419 Use _FPU_MASK_RM.
2420
947bdca2
W
24212014-06-24 Wilco <wdijkstr@arm.com>
2422
2423 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2424
00f669ed
W
24252014-06-24 Wilco <wdijkstr@arm.com>
2426
2427 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2428 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2429 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2430 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2431
db59bad3
W
24322014-06-24 Wilco <wdijkstr@arm.com>
2433
2434 [BZ #16918]
2435 * sysdeps/arm/feupdateenv.c (feupdateenv):
2436 Rewrite to reduce FPSCR accesses and fix return value.
2437
001f7b77
W
24382014-06-24 Wilco <wdijkstr@arm.com>
2439
2440 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2441 Optimize to avoid unnecessary FPSCR writes.
2442 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2443 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2444 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2445 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2446
4841e6a6
W
24472014-06-24 Wilco <wdijkstr@arm.com>
2448
2449 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2450 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2451 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2452 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2453 Call libc_fetestexcept_vfp.
2454 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2455 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2456 __SOFTFP__ ifdef so that they can be built for softfp.
2457
0813022c
SP
24582014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2459
08e5862f
SP
2460 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2461 argument type signed char.
2462
0813022c
SP
2463 * Makerules (check-abi): Dump diff of symlist if the test
2464 fails.
2465
3fc7236a
RM
24662014-06-23 Roland McGrath <roland@hack.frob.com>
2467
aba8ef95
RM
2468 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2469 using abort.
2470
3fc7236a
RM
2471 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2472 Remove unused variable ST.
2473
4da6db51
JM
24742014-06-23 Joseph Myers <joseph@codesourcery.com>
2475
4648909d
JM
2476 [BZ #16354]
2477 [BZ #17061]
2478 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2479 small arguments before calling __expm1.
2480 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2481 small arguments before calling __expm1f.
2482 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2483 small arguments before calling __expm1l.
2484 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2485 Likewise.
2486 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2487 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2488 spurious underflow for some cosh tests.
2489 * math/auto-libm-test-out: Regenerated.
2490 * sysdeps/i386/fpu/libm-test-ulps: Update.
2491
46a3d3c7
JM
2492 [BZ #17050]
2493 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2494 (__ieee754_y1): Set errno if return value overflows.
2495 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2496 (__ieee754_y1f): Set errno if return value overflows.
2497 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2498 (__ieee754_y1l): Set errno if return value overflows.
2499 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2500 (__ieee754_y1l): Set errno if return value overflows.
2501 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2502 * math/auto-libm-test-out: Regenerated.
2503
863893ec
JM
2504 * math/gen-auto-libm-tests.c: Document use of
2505 ignore-zero-inf-sign.
2506 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2507 (input_flags): Add ignore-zero-inf-sign.
2508 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2509 * math/gen-libm-test.pl (generate_testfile): Handle
2510 ignore-zero-inf-sign.
2511 * math/auto-libm-test-in: Mark some cpow tests with
2512 ignore-zero-inf-sign and some with xfail-rounding.
2513 * math/auto-libm-test-out: Regenerated.
2514 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2515 * sysdeps/i386/fpu/libm-test-ulps: Update.
2516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2517
4da6db51
JM
2518 [BZ #16315]
2519 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2520 overflowing or underflowing operations take place with sign of
2521 result.
2522 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2523 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2524 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2525 (__ieee754_pow): Recompute overflowing and underflowing results in
2526 original rounding mode.
2527 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2528 (__powl_helper): Allow negative argument X and scale negated value
2529 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2530 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2531 overflowing or underflowing operations take place with sign of
2532 result.
2533 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2534 Include <math.h>.
2535 * math/auto-libm-test-in: Add more tests of pow.
2536 * math/auto-libm-test-out: Regenerated.
2537 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2538 (pow_tonearest_test_data): Remove.
2539 (pow_test_tonearest): Likewise.
2540 (pow_towardzero_test_data): Likewise.
2541 (pow_test_towardzero): Likewise.
2542 (pow_downward_test_data): Likewise.
2543 (pow_test_downward): Likewise.
2544 (pow_upward_test_data): Likewise.
2545 (pow_test_upward): Likewise.
2546 (main): Don't call removed functions.
2547 * sysdeps/i386/fpu/libm-test-ulps: Update.
2548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2549
5686b236
RM
25502014-06-23 Roland McGrath <roland@hack.frob.com>
2551
2552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2553 Moved ...
2554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2556 Moved ...
2557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2559 Moved ...
2560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2562 Moved ...
2563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2565 File removed.
2566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2567 File removed.
2568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2569 File removed.
2570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2571 File removed.
2572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2573 File removed.
2574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2575 File removed.
2576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2577 File removed.
2578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2579 File removed.
2580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2581 File removed.
2582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2583 File removed.
2584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2585 File removed.
2586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2587 File removed.
2588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2589 Moved ...
2590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2592 Moved ...
2593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2594 ... here.
2595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2596 Moved ...
2597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2599 Moved ...
2600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2602 Moved ...
2603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2605 Moved ...
2606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2608 Moved ...
2609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2611 Moved ...
2612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2614 Moved ...
2615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2618 ... here.
2619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2620 Moved ...
2621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2623 Moved ...
2624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2625 ... here.
2626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2627 Moved ...
2628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2629 ... here.
2630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2631 Moved ...
2632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2633 ... here.
2634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2635 Moved ...
2636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2638 Moved ...
2639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2643 Moved ...
2644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2645 ... here.
2646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2647 Moved ...
2648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2649 ... here.
2650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2651 Moved ...
2652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2654 Moved ...
2655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2657 Moved ...
2658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2660 Moved ...
2661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2663 Moved ...
2664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2665 ... here.
2666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2667 Moved ...
2668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2670 Moved ...
2671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2673 Moved ...
2674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2676 Moved ...
2677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2681 Moved ...
2682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2684 Moved ...
2685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2687 Moved ...
2688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2689 ... here.
2690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2691 Moved ...
2692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2693 ... here.
2694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2695 Moved ...
2696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2697 ... here.
2698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2699 Moved ...
2700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2702 Moved ...
2703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2705 Moved ...
2706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2708 Moved ...
2709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2710 ... here.
2711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2712 Moved ...
2713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2714 ... here.
2715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2716 Moved ...
2717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2718 ... here.
2719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2720 Moved ...
2721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2723 Moved ...
2724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2725
e6d90d67
WD
27262014-06-23 Will Newton <will.newton@linaro.org>
2727 Wilco <wdijkstr@arm.com>
2728
2729 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2730 implementation. Include get-rounding-mode.h.
2731 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2732 [!libc_feholdsetround_noex_ctx]: Define
2733 libc_feholdsetround_noex_ctx.
2734 [!libc_feholdsetround_noexf_ctx]: Define
2735 libc_feholdsetround_noexf_ctx.
2736 [!libc_feholdsetround_noexl_ctx]: Define
2737 libc_feholdsetround_noexl_ctx.
2738 (libc_feholdsetround_ctx): New function.
2739 (libc_feresetround_ctx): New function.
2740 (libc_feholdsetround_noex_ctx): New function.
2741 (libc_feresetround_noex_ctx): New function.
2742
d42df555
RM
27432014-06-23 Roland McGrath <roland@hack.frob.com>
2744
88a46474
RM
2745 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2746 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2747 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2748 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2749 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2750 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2751
15bed472
RM
2752 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2753 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2754 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2755 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2756 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2757 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2758 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2759 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2760 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2761 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2762 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2763 Moved ...
2764 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2765 ... here.
2766 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2767 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2768 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2769 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2770 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2771 Moved ...
2772 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2773 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2774 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2775 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2776 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2777 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2778 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2779 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2780 Moved ...
2781 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2782 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2783 Moved ...
2784 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2785 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2786 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2787 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2788 Moved ...
2789 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2790 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2791 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2792 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2793 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2794 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2795 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2796 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2797 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2798 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2799 Moved ...
2800 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2801 ... here.
2802 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2803 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2804 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2805 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2806 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2807 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2808 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2809 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2810 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2811 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2812 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2813 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2814 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2815 Moved ...
2816 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2817 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2818 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2819 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2820 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2821 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2822 Moved ...
2823 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2824 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2825 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2826 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2827 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2828
d42df555
RM
2829 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2830 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2831 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2832 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2833 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2834 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2835 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2836 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2837 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2838 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2839 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2840 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2841 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2842 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2843 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2844 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2845 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2846 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2847 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2848 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2849 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2850 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2851 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2852 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2853 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2854 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2855 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2856 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2857
76e5216e
JM
28582014-06-23 Joseph Myers <joseph@codesourcery.com>
2859
2860 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2861 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2862 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2863 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2864 (IPV6_PMTUDISC_INTERFACE): Likewise.
2865 (IPV6_PMTUDISC_OMIT): Likewise.
2866
7a81cbcc
AS
28672014-06-23 Andreas Schwab <schwab@suse.de>
2868
2869 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2870 Remove unused errout label.
2871
db224009
AZ
28722014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2873
2874 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2875 macro: hardware supports Vector Crypto instructions.
2876
f393b4aa
WN
28772014-06-23 Will Newton <will.newton@linaro.org>
2878
cc7d0447
WN
2879 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2880 rather than __builtin_expect.
2881
d6d06225
WN
2882 * elf/dl-lookup.c (undefined_msg): Remove variable.
2883 (_dl_lookup_symbol_x): Replace undefined_msg with string
2884 literal.
2885
f393b4aa
WN
2886 * elf/dl-lookup.c (do_lookup_unique): New function.
2887 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2888 to a separate function.
2889
ac60763e
AS
28902014-06-23 Andreas Schwab <schwab@suse.de>
2891
2892 [BZ #17079]
2893 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2894 before reading the next line.
2895
c5c13355
WN
28962014-06-23 Will Newton <will.newton@linaro.org>
2897
2898 * test-skeleton.c (signal_handler): Use printf and %m
2899 rather than perror. Use printf rather than fprintf to
2900 stderr. Use puts rather than fputs to stderr.
2901 (main): Likewise.
2902
bd3675f9
LC
29032014-06-22 Ludovic Courtès <ludo@gnu.org>
2904
2905 * nscd/nscd.c (thread_info_t): Remove typedef.
2906 (thread_info): Remove variable.
2907
d03efb2f
AM
29082014-06-21 Allan McRae <allan@archlinux.org>
2909
2910 * NEWS: Mention CVE-2014-4043.
2911
bc4a86fa
RM
29122014-06-20 Roland McGrath <roland@hack.frob.com>
2913
dc9a54f8
RM
2914 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2915 * nptl/smp.h: ... here.
2916
bd7022c4
RM
2917 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2918
26ffd5e6
RM
2919 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2920 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2921 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2922 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2923
93a6d082
RM
2924 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2925 * nptl/stack-aliasing.h: New file.
2926 * sysdeps/i386/i686/stack-aliasing.h: New file.
2927 * sysdeps/i386/i686/nptl/Makefile: File removed.
2928 * sysdeps/x86_64/stack-aliasing.h: New file.
2929 * sysdeps/x86_64/nptl/Makefile
2930 (CFLAGS-pthread_create.c): Variable removed.
2931
bc4a86fa
RM
2932 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2933 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2934 old file.
2935 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2936 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2937 old file.
2938
2272ffc1
JM
29392014-06-21 Joseph Myers <joseph@codesourcery.com>
2940
2941 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2942 (__ASSUME_SIGFRAME_V2): Remove macro.
2943 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2944 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2945 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2946 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2947 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2948 Declare as function. Remove conditional macro definitions.
2949 (__default_rt_sa_restorer): Likewise.
2950 (__default_sa_restorer_v1): Remove declaration.
2951 (__default_sa_restorer_v2): Likewise.
2952 (__default_rt_sa_restorer_v1): Likewise.
2953 (__default_rt_sa_restorer_v2): Likewise.
2954 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2955 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2956 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2957
4b88139b
RM
29582014-06-20 Roland McGrath <roland@hack.frob.com>
2959
2960 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2961 (libpthread-routines): Add sysdep.
2962 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2963 * sysdeps/unix/sysv/linux/sparc/Versions
2964 (libpthread: GLIBC_2.3.3): New version set.
2965 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2966 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2967 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2968 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2969 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2970 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2971 Moved ...
2972 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2973 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2974 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2975 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2976 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2977 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2978 * sysdeps/sparc/nptl/sem_init.c: ... here.
2979 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2980 * sysdeps/sparc/nptl/sem_post.c: ... here.
2981 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2982 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2983 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2984 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2985 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2986 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2987 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2988 (libpthread-routines): Add cpu_relax.
2989 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2990 File removed.
2991 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2992 (librt: GLIBC_2.3.3): New version set.
2993 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2994 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2995 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2996 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2997 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2998 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2999 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3000 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3001 Moved ...
3002 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3003 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3004 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3005 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3006 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3007 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3008 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3009 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3010 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3011 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3012 Moved ...
3013 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3014 Update #include.
3015 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3016 Moved ...
3017 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3018 Update #include.
3019 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3020 Moved ...
3021 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3022 Update #include.
3023 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3024 Moved ...
3025 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3026 Update #include.
3027 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3028 Moved ...
3029 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3030 Update #include.
3031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3032 Moved ...
3033 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3034 Update #include.
3035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3036 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3038 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3039 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3040 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3041 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3042 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3043 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3044 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3045 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3046 Moved ...
3047 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3048 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3049 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3050 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3051 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3052
d7109027
JM
30532014-06-20 Joseph Myers <joseph@codesourcery.com>
3054
9bc6103d
JM
3055 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3056 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3057 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3058 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3059 * nscd/nscd.c: Likewise.
3060 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3061 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3062 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3063 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3064
d7109027
JM
3065 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3066 <kernel-features.h>.
3067 (init_mq_netlink): Remove conditional have_sock_cloexec
3068 definitions. Remove code conditional on have_sock_cloexec < 0.
3069 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3070 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3071 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3072 <kernel-features.h>.
3073 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3074 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3075
d92d8f8a
L
30762014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3077
3078 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3079 Add tests for memset_chk and memset.
3080
3081 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3082 with AVX2_Usable.
3083
4e6d2347
MR
30842014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3085
257ce712
MR
3086 [BZ #16046]
3087 * elf/tst-dl-iter-static.c: New file.
3088 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3089
4e6d2347
MR
3090 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3091 error.
3092
a2a76afe
JM
30932014-06-20 Joseph Myers <joseph@codesourcery.com>
3094
7fd00f99
JM
3095 * sysdeps/unix/sysv/linux/kernel-features.h
3096 (__ASSUME_F_GETOWN_EX): Remove macro.
3097 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3098 <kernel-features.h>.
3099 (miss_F_GETOWN_EX): Remove variable or macro.
3100 (do_fcntl): Do not check miss_F_GETOWN_EX.
3101 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3102
4a103975
JM
3103 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3104 Remove macro.
3105 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3106 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3107 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3108
a2a76afe
JM
3109 * sysdeps/unix/sysv/linux/kernel-features.h
3110 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3111 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3112 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3113 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3114
90e5dd48
MR
31152014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3116
3117 [BZ #17075]
3118 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3119 Fix calculation of the symbol's value.
3120 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3121 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3122 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3123 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3124 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3125 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3126 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3127 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3128 (modules-names): Add `tst-armtlsdescmod',
3129 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3130 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3131 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3132 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3133 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3134 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3135 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3136 ($(objpfx)tst-armtlsdescloc): New dependency.
3137 ($(objpfx)tst-armtlsdescextnow): Likewise.
3138 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3139 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3140 TLS scheme support.
3141 * sysdeps/arm/configure: Regenerate.
3142
809fdf0d
JM
31432014-06-20 Joseph Myers <joseph@codesourcery.com>
3144
3145 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3146 (__atfct_seterrno_2): Likewise.
3147 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3148 <kernel-features.h>.
3149 (__ASSUME_ATFCTS): Do not undefine and redefine.
3150 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3151 (__have_atfcts): Remove conditional definition.
3152 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3153 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3154 unreachable if [__ASSUME_ATFCTS].
3155 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3156 not undefine and redefine.
3157 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3158 <kernel-features.h>.
3159 (faccessat) [__NR_faccessat]: Make code unconditional.
3160 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3161 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3162 <kernel-features.h>.
3163 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3164 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3165 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3166 <kernel-features.h>.
3167 (fchownat) [__NR_fchownat]: Make code unconditional.
3168 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3169 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3170 <kernel-features.h>.
3171 (futimesat) [__NR_futimesat]: Make code unconditional.
3172 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3173 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3174 <kernel-features.h>.
3175 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3176 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3177 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3178 <kernel-features.h>.
3179 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3180 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3181 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3182 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3183 <kernel-features.h>.
3184 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3185 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3186 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3187 <kernel-features.h>.
3188 (linkat) [__NR_linkat]: Make code unconditional.
3189 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3190 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3191 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3192 <kernel-features.h>.
3193 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3194 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3195 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3196 <kernel-features.h>.
3197 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3198 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3199 * sysdeps/unix/sysv/linux/openat.c: Do not include
3200 <kernel-features.h>.
3201 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3202 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3203 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3204 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3205 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3206 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3207 <kernel-features.h>.
3208 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3209 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3210 result of INLINE_SYSCALL directly, not via int variable.
3211 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3212 <kernel-features.h>.
3213 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3214 (renameat) [__NR_renameat]: Make code unconditional.
3215 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3216 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3217 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3218 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3219 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3220 (__ASSUME_ATFCTS): Do not undefine and redefine.
3221 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3222 <kernel-features.h>.
3223 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3224 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3225 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3226 <kernel-features.h>.
3227 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3228 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3229 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3230 (__ASSUME_ATFCTS): Do not undefine and redefine.
3231 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3232 <kernel-features.h>.
3233 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3234 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3235 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3236 <kernel-features.h>.
3237 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3238 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3239
224c6c51
L
32402014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3241
3242 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3243
aa6ec754
AS
32442014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3245
3246 [BZ #17069]
3247 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3248 constructed tree before returning error.
3249 * posix/bug-regexp36.c: Expand test case.
3250
d8c2869d
SL
32512014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3252
3ef6b850
SL
3253 [BZ #6803]
3254 * math/libm-test.inc (scalbln_test_date):
3255 Add errno expectations.
3256 * math/w_scalblnf.c: New File.
3257 Add wrapper which checks for setting errno to ERANGE.
3258 Add weak_alias for corresponding scalbln function.
3259 * math/w_scalbln.c: Likewise.
3260 * math/w_scalblnl.c: Likewise.
3261 * math/Makefile (libm-calls): Add w_scalbln.
3262 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3263 Remove weak_alias for corresponding scalbln function.
3264 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3265 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3266 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3267 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3268 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3269 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3270 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3271 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3272 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3273 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3274 Remove long_double_symbol for scalblnl function in libm, libc.
3275 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3276 Add wrapper which checks for setting errno to ERANGE.
3277 Add long_double_symbol for scalblnl function in libm, libc.
3278 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3279 Remove long_double_symbol for scalblnl in libm.
3280 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3281 Add wrapper which checks for setting errno to ERANGE.
3282 Add long_double_symbol for scalblnl function in libm.
3283 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3284 Do not use wrapper because of own implementation.
3285
c8daec5c
L
32862014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3287
3288 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3289 3 bytes for __pad1 for x32.
3290 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3291
5c74e47c
LM
32922014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3293 H.J. Lu <hongjiu.lu@intel.com>
3294
3295 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3296 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3297 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3298 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3299 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3300
4d43ef1e
AS
33012014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3302
3303 [BZ #17069]
3304 * posix/regcomp.c (parse_expression): Deallocate partially
3305 constructed tree before returning error.
3306 * posix/Makefile.c (tests): Add bug-regex36.
3307 (generated): Add bug-regex36.mtrace.
3308 (tests-special): Add $(objpfx)bug-regex36-mem.out
3309 (bug-regex36-ENV): New variable.
3310 ($(objpfx)bug-regex36-mem.out): New rule.
3311 * posix/bug-regex36.c: New file.
3312
51a7380b
WN
33132014-06-19 Will Newton <will.newton@linaro.org>
3314
3315 * malloc/malloc.c (systrim): If extra is zero then return
3316 early.
3317
91b84fe5
SP
33182014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3319
3320 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3321
f940b965
RE
33222014-06-19 Richard Earnshaw <rearnsha@arm.com>
3323
3324 * sysdeps/aarch64/strchr.S: New file.
3325
4ba7a00f
JM
33262014-06-18 Joseph Myers <joseph@codesourcery.com>
3327
3328 [BZ #17022]
3329 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3330 from arguments -2 or below.
3331 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3332 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3333
b3a9f56b
AS
33342014-06-18 Andreas Schwab <schwab@suse.de>
3335
3336 [BZ #17062]
3337 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3338 of a bracket expr not to run off the end of the string.
3339 * posix/Makefile (tests): Add tst-fnmatch3.
3340 * posix/tst-fnmatch3.c: New file.
3341
85d89278
JM
33422014-06-18 Joseph Myers <joseph@codesourcery.com>
3343
3344 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3345 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3346 [$(cross-compiling) = no]: Likewise.
3347 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3348 [$(cross-compiling) = no]: Likewise.
3349
754c5a08
RS
33502014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3351
3352 [BZ #17031]
3353 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3354 double, adjusted for any remainder from the high double.
3355 * math/libm-test.inc (nearbyint): Add tests.
3356 (rint): Likewise.
3357
556f529d
AZ
33582014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3359
3360 * nptl/sysdeps/powerpc/Makefile: Moved ...
3361 * sysdeps/powerpc/nptl/Makefile: ... here.
3362 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3363 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3364 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3365 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3366 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3367 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3368 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3369 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3370 * nptl/sysdeps/powerpc/tls.h: Moved ...
3371 * sysdeps/powerpc/nptl/tls.h: ... here.
3372
91c03c53
JM
33732014-06-16 Joseph Myers <joseph@codesourcery.com>
3374
3375 [BZ #16681]
3376 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3377 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3378 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3379 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3380 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3381 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3382 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3383 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3384 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3385
a76e63c5
AS
33862014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3387
3388 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3389
f2f6d82f
AS
33902014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3391
ea8a15f6
AS
3392 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3393 defined operator.
3394
f2f6d82f
AS
3395 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3396 $TIMEOUTFACTOR.
3397
a7291117
FW
33982014-06-16 Florian Weimer <fweimer@redhat.com>
3399
3400 [BZ #17058]
3401 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3402 non-executed part of the test.
3403
3d7c00e3
AS
34042014-06-16 Andreas Schwab <schwab@suse.de>
3405
3406 * string/bits/string2.h (strdup, strndup): Update feature guard.
3407
6957fb31
DM
34082014-06-14 David S. Miller <davem@davemloft.net>
3409
3410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3411
11b9e55b
AS
34122014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3413
1d2a0492
AS
3414 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3415 that was previously under [RESET_PID].
3416 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3417
11b9e55b
AS
3418 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3419 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3420 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3421 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3422 (__libc_vfork): New strong alias.
3423 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3424
0f6901d0
AK
34252014-06-14 Andi Kleen <ak@linux.intel.com>
3426
3427 * sysdeps/generic/elide.h: New file.
3428
38bbbb9f
SL
34292014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3430
3431 * Makefile (installed-headers): Adjust path of pthread.h header.
3432
45193bb8
RM
34332014-06-13 Roland McGrath <roland@hack.frob.com>
3434
9a25fd1e
RM
3435 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3436 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3437 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3438 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3439
4004f7e4
RM
3440 * nptl/sysdeps/s390/Makefile: Moved ...
3441 * sysdeps/s390/nptl/Makefile: ... here.
3442 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3443 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3444 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3445 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3446 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3447 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3448 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3449 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3450 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3451 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3452 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3453 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3454 * nptl/sysdeps/s390/tls.h: Moved ...
3455 * sysdeps/s390/nptl/tls.h: ... here.
3456
45193bb8
RM
3457 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3458 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3459
f6fdf533
DM
34602014-06-13 David S. Miller <davem@davemloft.net>
3461
3462 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3463 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3464 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3465 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3466 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3467 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3468 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3469 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3470 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3471 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3472 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3473 Remove RESET_PID cpp guards.
3474 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3475 Remove RESET_PID cpp guards.
3476 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3477
f5d71e14
AS
34782014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3479
3480 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3481 __sp to uintptr_t.
3482
b7aa8caa
AK
34832014-06-13 Andi Kleen <ak@linux.intel.com>
3484
4b266200
AZ
3485 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3486 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3487 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3488 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3489 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3490 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3491 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3492 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3493 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3494 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3495 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3496 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3497 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3498 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3499 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3500 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3501 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3502 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3503 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3504 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
3505
3506 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
3507 (pthread_rwlock_rdlock): Add elision.
3508 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3509 (pthread_rwlock_wrlock): Add elision.
3510 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3511 (pthread_rwlock_trywrlock): Add elision.
3512 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3513 (pthread_rwlock_tryrdlock): Add elision.
3514 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3515 (pthread_rwlock_tryrdlock): Add elision unlock.
3516 * nptl/sysdeps/pthread/pthread.h:
3517 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3518 (PTHREAD_RWLOCK_INITIALIZER,
3519 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3520 Handle new elision field.
3521 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3522 * sysdeps/arm/nptl/bits/pthreadtypes.h
3523 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3524 * sysdeps/sh/nptl/bits/pthreadtypes.h
3525 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3526 * sysdeps/tile/nptl/bits/pthreadtypes.h
3527 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3528 * sysdeps/a/nptl/bits/pthreadtypes.h
3529 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3530 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3531 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3532 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3533 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3534 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3535 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3536 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3537 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3538 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3539 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3540 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3541 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3542 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3543 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3544 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3545 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3546 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3547 (elision_init): Set try_xbegin to zero when no RTM.
3548 * sysdeps/x86/nptl/bits/pthreadtypes.h
3549 (pthread_rwlock_t): Change __pad1 to __rwelision.
3550 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 3551
a832bdd3
AK
35522014-06-13 Andi Kleen <ak@linux.intel.com>
3553
3554 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3555 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3556 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3557 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3558
995a46bb
MI
35592014-06-13 Meador Inge <meadori@codesourcery.com>
3560
3561 [BZ #16996]
03ed7738 3562 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
3563 that the cached result has been set before returning it.
3564
45262aee
RM
35652014-06-12 Roland McGrath <roland@hack.frob.com>
3566
febf6cc5
RM
3567 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3568 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3569 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3570 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3571 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3572 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3573
e2682246
RM
3574 * nptl/sysdeps/sparc/Makefile: Moved ...
3575 * sysdeps/sparc/nptl/Makefile: ... here.
3576 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3577 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3578 * nptl/sysdeps/sparc/tls.h: Moved ...
3579 * sysdeps/sparc/nptl/tls.h: ... here.
3580 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3581 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3582 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3583 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3584 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3585 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3586 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3587 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3588 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3589 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3590 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3591 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3592 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3593 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3594 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3595 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3596 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3597 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3598 Update #include.
3599 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3600 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3601 Update #include.
3602 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3603 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3604 Update #include.
3605 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3606 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3607 Update #include.
3608
b0725f43
RM
3609 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3610
b14368b8
RM
3611 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3612 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3613
c5620eb3
RM
3614 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3615 (struct list_links): Type removed.
3616 (struct thread_node, struct timer_node): Replace struct list_links
3617 with struct list_head.
3618 (list_unlink_ip): Likewise.
3619 * sysdeps/pthread/timer_routines.c
3620 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3621 (list_append, list_insbefore): Likewise.
3622 (list_init): Function removed.
3623 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
3624 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3625 * sysdeps/pthread/Makefile: ... here, new file.
3626
3627 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3628 * sysdeps/nptl/Implies: ... here.
3629 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3630 * nptl/sysdeps/pthread/list.h: Moved ...
3631 * include/list.h: ... here.
3632 * nptl/sysdeps/pthread/createthread.c: Moved ...
3633 * nptl/createthread.c: ... here.
3634 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3635 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3636 * nptl/pt-longjmp.c: ... here.
3637 * nptl/sysdeps/pthread/Makefile: Moved ...
3638 * sysdeps/nptl/Makefile: ... here.
3639 * nptl/sysdeps/pthread/Subdirs: Moved ...
3640 * sysdeps/nptl/Subdirs: ... here.
3641 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3642 * sysdeps/nptl/aio_misc.h: ... here.
3643 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3644 * sysdeps/nptl/bits/libc-lock.h: ... here.
3645 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3646 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3647 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3648 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3649 * nptl/sysdeps/pthread/configure: Moved ...
3650 * sysdeps/nptl/configure: ... here.
3651 * nptl/sysdeps/pthread/configure.ac: Moved ...
3652 * sysdeps/nptl/configure.ac: ... here.
3653 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3654 * sysdeps/nptl/gai_misc.h: ... here.
3655 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3656 * sysdeps/nptl/librt-cancellation.c: ... here.
3657 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3658 * sysdeps/nptl/malloc-machine.h: ... here.
3659 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3660 * sysdeps/nptl/pthread-functions.h: ... here.
3661 * nptl/sysdeps/pthread/pthread.h: Moved ...
3662 * sysdeps/nptl/pthread.h: ... here.
3663 * nptl/sysdeps/pthread/setxid.h: Moved ...
3664 * sysdeps/nptl/setxid.h: ... here.
3665 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3666 * sysdeps/nptl/sigfillset.c: ... here.
3667 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3668 * sysdeps/nptl/tcb-offsets.h: ... here.
3669 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3670 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3671 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3672 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3673 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3674 * sysdeps/pthread/allocalim.h: ... here.
3675 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3676 * sysdeps/pthread/bits/sigthread.h: ... here.
3677 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3678 * sysdeps/pthread/flockfile.c: ... here.
3679 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3680 * sysdeps/pthread/ftrylockfile.c: ... here.
3681 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3682 * sysdeps/pthread/funlockfile.c: ... here.
3683 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3684 * sysdeps/pthread/posix-timer.h: ... here.
3685 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3686 * sysdeps/pthread/timer_create.c: ... here.
3687 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3688 * sysdeps/pthread/timer_delete.c: ... here.
3689 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3690 * sysdeps/pthread/timer_getoverr.c: ... here.
3691 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3692 * sysdeps/pthread/timer_gettime.c: ... here.
3693 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3694 * sysdeps/pthread/timer_routines.c: ... here.
3695 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3696 * sysdeps/pthread/timer_settime.c: ... here.
3697 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3698 * sysdeps/pthread/tst-timer.c: ... here.
3699 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3700 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3701
e876b090
RM
3702 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3703 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3704
f6b07b3d
RM
3705 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3706 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3707 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3708 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3709 Update #include target.
3710 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3711 * sysdeps/i386/i686/nptl/Makefile: ... here.
3712 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3713 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3714 Update #include target.
3715 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3716 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3717 * nptl/sysdeps/i386/Makefile: Moved ...
3718 * sysdeps/i386/nptl/Makefile: ... here.
3719 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3720 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3721 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3722 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3723 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3724 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3725 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3726 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3727 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3728 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3729 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3730 * nptl/sysdeps/i386/tls.h: Moved ...
3731 * sysdeps/i386/nptl/tls.h: ... here.
3732
45262aee
RM
3733 * sysdeps/sh/Makefile [$(subdir) = csu]
3734 (gen-as-const-headers): Add tcb-offsets.sym.
3735 * nptl/sysdeps/sh/Makefile: File removed.
3736 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3737 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3738 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3739 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3740 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3741 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3742 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3743 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3744 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3745 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3746 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3747 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3748 * nptl/sysdeps/sh/tls.h: Moved ...
3749 * sysdeps/sh/nptl/tls.h: ... here.
3750 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3751 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3752 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3753 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3754 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3755 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3756 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3757 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3758 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3759 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3760 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3761 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3762 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3763 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3764 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3765 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3766 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3767 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3768 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3769 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3770 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3771 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3772 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3773 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3774 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3775 Moved ...
3776 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3777 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3778 Moved ...
3779 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3780 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3781 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3782 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3783 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3784 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3785 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3786 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3787 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3788 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3789 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3790 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3791 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3792 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3793 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3794 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3795 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3796 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3797 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3798
35a5e3e3
SL
37992014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3800
3801 * posix/spawn_faction_addopen.c: Include string.h.
3802
14642b85
RM
38032014-06-11 Roland McGrath <roland@hack.frob.com>
3804
3805 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3806 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3807 * nptl/sysdeps/x86_64/Makefile: Moved ...
3808 * sysdeps/x86_64/nptl/Makefile: ... here.
3809 * nptl/sysdeps/x86_64/configure: Moved ...
3810 * sysdeps/x86_64/nptl/configure: ... here.
3811 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3812 * sysdeps/x86_64/nptl/configure.ac: ... here.
3813 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3814 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3815 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3816 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3817 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3818 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3819 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3820 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3821 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3822 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3823 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3824 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3825 * nptl/sysdeps/x86_64/tls.h: Moved ...
3826 * sysdeps/x86_64/nptl/tls.h: ... here.
3827 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3828 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3829 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3830 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3831
3832 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3833
31c44fea
AZ
38342014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3835
3836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3837
e81a4f9a
JM
38382014-06-11 Joseph Myers <joseph@codesourcery.com>
3839
3840 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3841 type.
3842 [POSIX] (off_t): Likewise.
3843 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3844 [POSIX] (S_ISBLK): Require macro.
3845 [POSIX] (S_ISCHR): Likewise.
3846 [POSIX] (S_ISDIR): Likewise.
3847 [POSIX] (S_ISFIFO): Likewise.
3848 [POSIX] (S_ISREG): Likewise.
3849 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3850 optional-macro.
3851 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3852 type.
3853 [POSIX] (time_t): Likewise.
3854 [POSIX] (timer_t): Likewise.
3855
89e435f3
FW
38562014-06-11 Florian Weimer <fweimer@redhat.com>
3857
3858 [BZ #17048]
3859 * posix/spawn_int.h (struct __spawn_action): Make the path string
3860 non-const to support deallocation.
3861 * posix/spawn_faction_addopen.c
3862 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3863 * posix/spawn_faction_destroy.c
3864 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3865 path in all spawn_do_open actions.
3866 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3867 posix_spawn_file_actions_addopen.
3868
c3a2ebe1
CM
38692014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3870
3871 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3872 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3873 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3874 conditional code always true.
3875 (__libc_vfork): New alias.
3876
9503784a
RM
38772014-06-11 Roland McGrath <roland@hack.frob.com>
3878
c9cab3d2
RM
3879 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3880 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3881
d3996c79
RM
3882 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3883
ba5ec611
RM
3884 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3885 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3886
f12b4814
RM
3887 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3888 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3889
9503784a
RM
3890 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3891 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3892
e23d3d26
VR
38932014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3894
3895 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3896 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3897 multiarch strcmp for PPC64.
3898 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3899 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3901 multiarch optimizations.
3902 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3903 (__libc_ifunc_impl_list): Likewise.
3904
42b1161e
SP
39052014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3906
3907 * benchtests/scripts/validate_benchout.py: New script.
3908 * benchtests/Makefile (bench-func): Call it.
3909 * benchtests/scripts/benchout.schema.json: New file.
3910
2d0fc4dc
CM
39112014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3912
4a594c34
AZ
3913 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3914 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3915 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3916 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3917 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3918 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3919 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3920 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3921 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3922 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3923 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3924 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3925 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3926 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3927 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3928 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 3930 Moved ...
4a594c34 3931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 3932 ... here.
4a594c34 3933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 3934 Moved ...
4a594c34
AZ
3935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 3937 Moved ...
4a594c34 3938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 3939 ... here.
4a594c34 3940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 3941 Moved ...
4a594c34 3942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 3943 ... here.
4a594c34 3944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 3945 Moved ...
4a594c34
AZ
3946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 3948 Moved ...
4a594c34 3949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 3950 ... here.
4a594c34 3951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 3952 Moved ...
4a594c34 3953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 3954 ... here.
4a594c34 3955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 3956 Moved ...
4a594c34
AZ
3957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 3959 Moved ...
4a594c34 3960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 3961 ... here.
4a594c34 3962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 3963 Moved ...
4a594c34 3964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 3965 ... here.
4a594c34 3966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 3967 Moved ...
4a594c34 3968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 3969 ... here.
4a594c34 3970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 3971 Moved ...
4a594c34
AZ
3972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 3974 Moved ...
4a594c34 3975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 3976 ... here.
4a594c34 3977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 3978 Moved ...
4a594c34 3979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 3980 ... here.
4a594c34 3981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 3982 Moved ...
4a594c34 3983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 3984 ... here.
4a594c34 3985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 3986 Moved ...
4a594c34
AZ
3987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 3989 Moved ...
4a594c34 3990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 3991 ... here.
4a594c34 3992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 3993 Moved ...
4a594c34 3994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 3995 ... here.
4a594c34 3996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 3997 Moved ...
4a594c34
AZ
3998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 4000 Moved ...
4a594c34 4001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 4002 ... here.
4a594c34 4003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 4004 Moved ...
4a594c34
AZ
4005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 4007 Moved ...
4a594c34
AZ
4008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 4010 Moved ...
4a594c34 4011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 4012 ... here.
4a594c34 4013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 4014 Moved ...
4a594c34 4015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 4016 ... here.
4a594c34 4017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 4018 Moved ...
4a594c34 4019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 4020 ... here.
4a594c34 4021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 4022 Moved ...
4a594c34
AZ
4023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 4025 Moved ...
4a594c34 4026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 4027 ... here.
4a594c34 4028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 4029 Moved ...
4a594c34 4030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 4031 ... here.
4a594c34
AZ
4032 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4033 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4034 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4035 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4036 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 4037 Moved ...
4a594c34 4038 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 4039 ... here.
4a594c34
AZ
4040 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4041 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4042 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4043 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4044 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4045 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4046 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4047 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4048 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4049 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4050 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4051 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4052 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 4053 Moved ...
4a594c34
AZ
4054 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4055 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 4056 Moved ...
4a594c34
AZ
4057 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4058 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4059 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4060 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 4061 Moved ...
4a594c34
AZ
4062 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4063 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4064 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4065 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4066 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4067 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4068 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 4069
0570cfed
W
40702014-06-10 Wilco <wdijkstr@arm.com>
4071
4072 * math/test-fenv-return.c: New file.
4073 * math/Makefile: Add new test test-fenv-return.
4074
f8ba1b56
JM
40752014-06-10 Joseph Myers <joseph@codesourcery.com>
4076
4077 [BZ #17042]
4078 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4079 when x - 1 is zero.
4080 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4081 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4082 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4083 0.0L for an argument of 1.0L.
4084 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4085 Likewise.
4086 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4087 value when x - 1 is zero.
4088 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4089 * sysdeps/i386/fpu/libm-test-ulps: Update.
4090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4091
2c3520d9
BO
40922014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4093
4094 [BZ #15119]
4095 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4096
acaa4d24
RM
40972014-06-09 Roland McGrath <roland@hack.frob.com>
4098
4099 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4100 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4101
962b744d
RM
41022014-06-09 Roland McGrath <roland@hack.frob.com>
4103
d752f0cc
RM
4104 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4105 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4106
34eda6d1
RM
4107 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4108 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4109
50f0a637
RM
4110 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4111 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4112
08f41f04
RM
4113 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4114 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4115
962b744d
RM
4116 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4117 if not already defined.
4118 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4119 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4120 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4121 (TLS_INIT_TP): Use it.
4122 (TLS_DEFINE_INIT_TP): New macro.
4123 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4124
09f19b05
JM
41252014-06-09 Joseph Myers <joseph@codesourcery.com>
4126
4127 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4128 constant.
4129 [POSIX] (IXANY): Likewise.
4130 [POSIX] (OLCUC): Likewise.
4131 [POSIX || POSIX2008] (CBAUD): Do not allow.
4132 [POSIX || POSIX2008] (DEFECHO): Likewise.
4133 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4134 [POSIX || POSIX2008] (ECHOKE): Likewise.
4135 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4136 [POSIX || POSIX2008] (EXTA): Likewise.
4137 [POSIX || POSIX2008] (EXTB): Likewise.
4138 [POSIX || POSIX2008] (FLUSHO): Likewise.
4139 [POSIX || POSIX2008] (LOBLK): Likewise.
4140 [POSIX || POSIX2008] (PENDIN): Likewise.
4141 [POSIX || POSIX2008] (SWTCH): Likewise.
4142 [POSIX || POSIX2008] (VDISCARD): Likewise.
4143 [POSIX || POSIX2008] (VDSUSP): Likewise.
4144 [POSIX || POSIX2008] (VLNEXT): Likewise.
4145 [POSIX || POSIX2008] (VREPRINT): Likewise.
4146 [POSIX || POSIX2008] (VSTATUS): Likewise.
4147 [POSIX || POSIX2008] (VWERASE): Likewise.
4148 (B*): Change to B[0123456789]*.
4149 * conform/data/time.h-data [POSIX || UNIX98]
4150 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4151 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4152 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4153 [POSIX] (tm_*): Do not allow.
4154
686554bf
JM
41552014-06-07 Joseph Myers <joseph@codesourcery.com>
4156
4157 * Makefile (install): Don't set LANGUAGE.
4158 * Makefile.in (install): Likewise.
4159 * assert/Makefile (test-assert-ENV): Remove variable.
4160 (test-assert-perr-ENV): Likewise.
4161 * elf/Makefile (neededtest4-ENV): Likewise.
4162 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4163 [$(cross-compiling) = no]: Don't set LANGUAGE.
4164 * io/ftwtest-sh (LANG): Remove variable.
4165 * libio/Makefile (tst-widetext-ENV): Likewise.
4166 * manual/install.texi (Running make install): Don't refer to
4167 environment settings for make install.
4168 * INSTALL: Regenerated.
4169 * nptl/tst-tls6.sh: Don't set LANG.
4170 * posix/globtest.sh (LANG): Remove variable.
4171 * string/Makefile (tester-ENV): Likewise.
4172 (inl-tester-ENV): Likewise.
4173 (noinl-tester-ENV): Likewise.
4174 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4175 [$(cross-compiling) = no]: Don't set LANGUAGE.
4176 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4177 without explicit environment settings.
4178
68e6b6b1
RM
41792014-06-06 Roland McGrath <roland@hack.frob.com>
4180
4181 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4182 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4183 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4184 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4185
4d3ae034
CM
41862014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4187
4188 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4189 other files in the crypt directory.
4190 * crypt/crypt.c: Remove duplicate includes.
4191 * crypt/crypt-entry.c: Likewise.
4192 * crypt/crypt_util.c: Likewise.
4193
8540f6d2
JM
41942014-06-06 Joseph Myers <joseph@codesourcery.com>
4195
4196 * Makeconfig (run-program-env): New variable.
4197 (run-program-prefix-before-env): Likewise.
4198 (run-program-prefix-after-env): Likewise.
4199 (run-program-prefix): Define in terms of new variables.
4200 (built-program-cmd-before-env): New variable.
4201 (built-program-cmd-after-env): Likewise.
4202 (built-program-cmd): Define in terms of new variables.
4203 (test-program-prefix-before-env): New variable.
4204 (test-program-prefix-after-env): Likewise.
4205 (test-program-prefix): Define in terms of new variables.
4206 (test-program-cmd-before-env): New variable.
4207 (test-program-cmd-after-env): Likewise.
4208 (test-program-cmd): Define in terms of new variables.
4209 * Rules (make-test-out): Use $(run-program-env).
4210 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4211 (help): Do not mention environment variables. Mention
4212 --timeoutfactor option.
4213 (timeoutfactor): New variable.
4214 (blacklist_exports): Remove function.
4215 (exports): Remove variable.
4216 (command): Do not include ${exports}.
4217 * manual/install.texi (Configuring and compiling): Do not mention
4218 test wrappers preserving environment variables. Mention that last
4219 assignment to a variable must take precedence.
4220 * INSTALL: Regenerated.
4221 * benchtests/Makefile (run-bench): Use $(run-program-env).
4222 * catgets/Makefile ($(objpfx)test1.cat): Use
4223 $(built-program-cmd-before-env), $(run-program-env) and
4224 $(built-program-cmd-after-env).
4225 ($(objpfx)test2.cat): Do not specify environment variables
4226 explicitly.
4227 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4228 $(run-program-env) and $(built-program-cmd-after-env).
4229 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4230 $(run-program-env) and $(test-program-cmd-after-env).
4231 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4232 explicitly.
4233 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4234 run_program_env and test_program_cmd_after_env arguments.
4235 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4236 * elf/tst-pathopt.sh: Use run_program_env argument.
4237 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4238 $(test-wrapper-env) and $(run-program-env).
4239 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4240 run_program_env arguments.
4241 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4242 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4243 $(test-program-prefix-before-env), $(run-program-env) and
4244 $(test-program-prefix-after-env).
4245 ($(objpfx)tst-gettext2.out): Likewise.
4246 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4247 run_program_env and test_program_prefix_after_env arguments.
4248 * intl/tst-gettext2.sh: Likewise.
4249 * intl/tst-gettext4.sh: Do not set environment variables
4250 explicitly.
4251 * intl/tst-gettext6.sh: Likewise.
4252 * intl/tst-translit.sh: Likewise.
4253 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4254 $(test-program-prefix-before-env), $(run-program-env) and
4255 $(test-program-prefix-after-env).
4256 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4257 run_program_env and test_program_prefix_after_env arguments.
4258 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4259 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4260 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4261 explicitly with each use of ${test_wrapper_env}.
4262 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4263 $(test-program-prefix-before-env), $(run-program-env) and
4264 $(test-program-prefix-after-env).
4265 * posix/tst-getconf.sh: Do not set environment variables
4266 explicitly.
4267 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4268 run_program_env and test_program_prefix_after_env arguments.
4269 * stdio-common/tst-printf.sh: Do not set environment variables
4270 explicitly.
4271 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4272 $(test-program-prefix-before-env), $(run-program-env) and
4273 $(test-program-prefix-after-env).
4274 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4275 run_program_env and test_program_prefix_after_env arguments.
4276 Split $test calls into $test_pre and $test.
4277 * timezone/Makefile (build-testdata): Use
4278 $(built-program-cmd-before-env), $(run-program-env) and
4279 $(built-program-cmd-after-env).
4280
ed36bfa1
AZ
42812014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4282
4283 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4284 strlen for non SHARED builds.
4285
fc75bf46
SP
42862014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4287
4288 * nptl/allocatestack.c (check_list): Inlined function...
4289 (__reclaim_stacks): ... here.
4290
d89b3d80
OB
42912014-06-05 Ondřej Bílka <neleai@seznam.cz>
4292
4293 [BZ #15698]
4294 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4295 memory overrun.
4296
2bf18041
JM
42972014-06-05 Joseph Myers <joseph@codesourcery.com>
4298
4299 * Rules (make-test-out): Include
4300 LOCPATH=$(common-objpfx)localedata in default environment.
4301 * debug/Makefile (tst-chk1-ENV): Remove variable.
4302 (tst-chk2-ENV): Likewise.
4303 (tst-chk3-ENV): Likewise.
4304 (tst-chk4-ENV): Likewise.
4305 (tst-chk5-ENV): Likewise.
4306 (tst-chk6-ENV): Likewise.
4307 (tst-lfschk1-ENV): Likewise.
4308 (tst-lfschk2-ENV): Likewise.
4309 (tst-lfschk3-ENV): Likewise.
4310 (tst-lfschk4-ENV): Likewise.
4311 (tst-lfschk5-ENV): Likewise.
4312 (tst-lfschk6-ENV): Likewise.
4313 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4314 (tst-iconv7-ENV): Likewise.
4315 * intl/Makefile (LOCPATH-ENV): Likewise.
4316 (tst-codeset-ENV): Likewise.
4317 (tst-gettext3-ENV): Likewise.
4318 (tst-gettext5-ENV): Likewise.
4319 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4320 (tst-fopenloc-ENV): Likewise.
4321 (tst-fgetws-ENV): Remove variable.
4322 (tst-ungetwc1-ENV): Likewise.
4323 (tst-ungetwc2-ENV): Likewise.
4324 (bug-ungetwc2-ENV): Likewise.
4325 (tst-swscanf-ENV): Likewise.
4326 (bug-ftell-ENV): Likewise.
4327 (tst-fgetwc-ENV): Likewise.
4328 (tst-fseek-ENV): Likewise.
4329 (tst-ftell-partial-wide-ENV): Likewise.
4330 (tst-ftell-active-handler-ENV): Likewise.
4331 (tst-ftell-append-ENV): Likewise.
4332 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4333 (tst-regexloc-ENV): Likewise.
4334 (bug-regex1-ENV): Likewise.
4335 (tst-regex-ENV): Likewise.
4336 (tst-regex2-ENV): Likewise.
4337 (bug-regex5-ENV): Likewise.
4338 (bug-regex6-ENV): Likewise.
4339 (bug-regex17-ENV): Likewise.
4340 (bug-regex18-ENV): Likewise.
4341 (bug-regex19-ENV): Likewise.
4342 (bug-regex20-ENV): Likewise.
4343 (bug-regex22-ENV): Likewise.
4344 (bug-regex23-ENV): Likewise.
4345 (bug-regex25-ENV): Likewise.
4346 (bug-regex26-ENV): Likewise.
4347 (bug-regex30-ENV): Likewise.
4348 (bug-regex32-ENV): Likewise.
4349 (bug-regex33-ENV): Likewise.
4350 (bug-regex34-ENV): Likewise.
4351 (bug-regex35-ENV): Likewise.
4352 (tst-rxspencer-ENV): Likewise.
4353 (tst-rxspencer-no-utf8-ENV): Likewise.
4354 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4355 (tst-sscanf-ENV): Likewise.
4356 (tst-swprintf-ENV): Likewise.
4357 (tst-swscanf-ENV): Likewise.
4358 (test-vfprintf-ENV): Likewise.
4359 (scanf13-ENV): Likewise.
4360 (bug14-ENV): Likewise.
4361 (tst-grouping-ENV): Likewise.
4362 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4363 (tst-strtod3-ENV): Likewise.
4364 (tst-strtod4-ENV): Likewise.
4365 (tst-strtod5-ENV): Likewise.
4366 (testmb2-ENV): Likewise./
4367 * string/Makefile (tst-strxfrm-ENV): Likewise.
4368 (tst-strxfrm2-ENV): Likewise.
4369 (bug-strcoll1-ENV): Likewise.
4370 (test-strcasecmp-ENV): Likewise.
4371 (test-strncasecmp-ENV): Likewise.
4372 * time/Makefile (tst-strptime-ENV): Likewise.
4373 (tst-ftime_l-ENV): Likewise.
4374 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4375 (tst-mbrtowc-ENV): Likewise.
4376 (tst-wcrtomb-ENV): Likewise.
4377 (tst-mbrtowc2-ENV): Likewise.
4378 (tst-c16c32-1-ENV): Likewise.
4379 (tst-mbsnrtowcs-ENV): Likewise.
4380
cd1fb604
OB
43812014-06-05 Ondřej Bílka <neleai@seznam.cz>
4382
4383 * manual/resource.texi (How to get information about the memory
4384 subsystem?): Fix typo.
4385 Reported by Peon de la Parra Ivan <peon@keba.com>
4386
b42eca7d
GY
43872014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4388
4389 [BZ #16882]
4390 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4391 (pthread_spin_lock): Branch out of spin loop to proper location.
4392 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4393 (pthread_spin_lock): Likewise.
4394
902b71f9
DM
4395 * nptl/tst-spin4.c: New test.
4396 * nptl/Makefile (tests): Add tst-spin4.
4397
f9d2d032
AS
43982014-06-03 Andreas Schwab <schwab@suse.de>
4399
4400 [BZ #15946]
4401 * resolv/res_send.c (send_dg): Reload file descriptor after
4402 calling reopen.
4403
cf7bfd28
SL
44042014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4405
4406 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4407
111cc714
RH
44082014-06-03 Richard Henderson <rth@redhat.com>
4409
89b4bd6b
RH
4410 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4411 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4412 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4413 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4414 in the SAVE_PID block.
4415 (__libc_vfork): New alias.
71840409 4416 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 4417
111cc714
RH
4418 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4419 child in registers, not on the stack. Remove RESET_PID conditionals.
4420 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4421
ccc39911
MS
44222014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4423
4424 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4425
693096cc
W
44262014-06-03 Wilco <wdijkstr@arm.com>
4427
4428 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4429 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4430 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4431 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4432 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4433 Likewise.
4434
0b4366bc
W
44352014-06-03 Wilco <wdijkstr@arm.com>
4436
4437 * sysdeps/aarch64/fpu/math_private.h
4438 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4439 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4440 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4441 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4442 Fix declarations.
4443
8747cd03
KS
44442014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4445
4446 * crypt/crypt-private.h: Include ufc-crypt.h.
4447 (__b64_from_24bit): Declare extern.
4448 * crypt/crypt_util.c(__b64_from_24bit): New function.
4449 (b64t): New static const variable.
4450 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4451 (b64t): Remove variable.
4452 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4453 * crypt/sha256-crypt.c: Include crypt-private.h.
4454 (b64t): Remove variable.
4455 (__sha256_crypt_r): Remove b64_from_24bit and replace
4456 with __b64_from_24bit.
4457 * crypt/sha512-crypt.c: Likewise.
4458
d936d379
RM
44592014-06-02 Roland McGrath <roland@hack.frob.com>
4460
4461 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4462 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4463 Label the code __libc_vfork rather than __vfork.
4464 [!NOT_IN_libc] (vfork): Define as weak alias.
4465 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4466 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4467 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4468
9fa76613
SP
44692014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4470
4471 * malloc/malloc.c (malloc_info): Fix format specifier for
4472 n_mmaps.
4473
a88dadbe
W
44742014-06-02 Wilco <wdijkstr@arm.com>
4475
4476 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4477 FPCR write.
4478
c95b3011
W
44792014-06-02 Wilco <wdijkstr@arm.com>
4480
4481 [BZ #17009]
4482 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4483 Rewrite to reduce FPCR/FPSR accesses.
4484
6b4d7a90
DM
44852014-06-01 David S. Miller <davem@davemloft.net>
4486
4487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4488
30f3d07c
DM
44892014-05-31 David S. Miller <davem@davemloft.net>
4490
4491 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4492 to occur in round to nearest mode when |x| >= 2.0
4493
74f31c18
RH
44942014-05-30 Richard Henderson <rth@twiddle.net>
4495
f0712b54
RH
4496 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4497 (PSEUDO_RET_NOERRNO): Remove.
4498 (ret): Don't redefine.
4499 (ret_NOERRNO): Define in terms of ret.
4500 (ret_ERRVAL): Likewise.
4501
74f31c18
RH
4502 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4503 use of PSEUDO_RET; perform the error check directly.
4504
30477995
MM
45052014-05-30 Marko Myllynen <myllynen@redhat.com>
4506
4507 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4508 with __int128_t.
4509
62a58816
SP
45102014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4511
4512 * malloc/malloc (malloc_info): Fix formatting.
4513
4d653a59
SP
45142014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4515 Roland McGrath <roland@hack.frob.com>
4516
4517 * malloc/malloc (malloc_info): Also print mmapped statistics.
4518
5190c17f
RM
45192014-05-30 Roland McGrath <roland@hack.frob.com>
4520
4521 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4522 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4523
987c0269
OB
45242014-05-30 Ondřej Bílka <neleai@seznam.cz>
4525
4526 * malloc/malloc.c (malloc_info): Inline mi_arena.
4527
af4e8ef9
RH
45282014-05-29 Richard Henderson <rth@twiddle.net>
4529
1670e207
RH
4530 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4531 Remove comma before expanding ASM_ARGS_##nr.
4532 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4533 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4534 of ASM_ARGS_##nr.
4535 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4536 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4537 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4538 (ASM_ARGS_1): Add leading comma.
4539
11a28aee
RH
4540 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4541 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4542 to __errno_location.
4543 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4544 Remove the expected plt for __errno_location.
4545
a17e5ffb 4546 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 4547 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
4548 call to __read_tp.
4549
b5be4597
RH
4550 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4551 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4552 it and break it down.
4553 (DOCARGS_0, DOCARGS_1): Do nothing.
4554 (DOCARGS_2): Update to store into the new stack frame.
4555 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4556 (UNDOCARGS_1): Update to restore from the new stack frame.
4557 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4558 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4559
645d44ab
RH
4560 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4561 (SINGLE_THREAD_P): New parameter for result regno.
4562 (PSEUDO): Update to match; use cbz instead of beq.
4563
a8b4f04a
RH
4564 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4565 Use ENTRY to define the _nocancel entry point. Share the syscall
4566 and syscall error check paths with the cancel path.
4567 (PSEUDO_END): New.
4568
af4e8ef9
RH
4569 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4570 whitespace; tabs before and after asm mnemonics.
4571
26b0d2e1
EW
45722014-05-29 Eric Wong <normalperson@yhbt.net>
4573
4574 [BZ #15132]
4575 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4576 Call fstat64 or stat64 internally, depending on arguments passed.
4577 Replace stat buffer argument with file descriptor argument.
4578 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4579 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4580 Pass fd to __internal_statvfs instead of calling fstat64.
4581 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4582 Pass fd to __internal_statvfs64 instead of calling fstat64.
4583 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4584 Pass -1 to __internal_statvfs instead of calling stat64.
4585 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4586 Pass -1 to __internal_statvfs64 instead of calling stat64.
4587
1efe2bd9
RM
45882014-05-28 Roland McGrath <roland@hack.frob.com>
4589
0d3b7a19
RM
4590 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4591 that was previously under [RESET_PID].
4592 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4593
1efe2bd9
RM
4594 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4595 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4596
a6bea3ca
RM
45972014-05-27 Roland McGrath <roland@hack.frob.com>
4598
30b6629e
RM
4599 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4600
a6bea3ca
RM
4601 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4602 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4603
3dfb9a5c
OB
46042014-05-27 Ondřej Bílka <neleai@seznam.cz>
4605
4606 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4607
774f9285
AS
46082014-05-27 Andreas Schwab <schwab@suse.de>
4609
4610 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4611 TLS_INIT_TP macro.
4612 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4613 * elf/rtld.c (init_tls, dl_main): Likewise.
4614 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4615 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4616 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4617 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4618 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4619 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4620 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4621 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4622 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4623 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4624 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4625 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4626 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4627 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4628 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4629 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4630 * sysdeps/generic/tls.h: Update description.
4631
36ffe739
WN
46322014-05-27 Will Newton <will.newton@linaro.org>
4633
4634 [BZ #16990]
4635 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4636 and restore r2 rather than just restoring.
4637
2482ae43
SP
46382014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4639
4640 [BZ #16724]
4641 * libio/tst-ftell-append.c: New test case.
4642 * libio/Makefile (tests): Add test case.
4643 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4644 append mode.
4645 * libio/wfileops.c (do_ftell_wide): Likewise.
4646
3d1024e8
AZ
46472014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4648
bab90016
AZ
4649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4650
c7a8d667
AZ
4651 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4652 ...
4653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4655 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4656 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4657 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4658 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4659 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4660 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4661 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4662 Moved ...
4663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4664 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4665 Moved ...
4666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4667 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4668 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4669 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4670 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4671 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4672 ...
4673 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4674 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4675 Moved ...
4676 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4677 here.
4678 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4679 ...
4680 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4681 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4682 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4683
daee7851
AZ
4684 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4685 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4686 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4687 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4688
50a40819
AZ
4689 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4690 merge into ...
4691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4692 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4693 ...
4694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4695 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4696 ...
4697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4698 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4699 Moved ...
4700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4701 here.
4702 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4703 Moved ...
4704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4705 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4706 Moved ...
4707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4708
8464c2a1
AZ
4709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4710 conditional [RESET_PID].
4711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4712 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4713 removed.
4714 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4715 removed.
4716
3d1024e8
AZ
4717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4718 <tcb-offsets.h>.
4719 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4720 (__libc_vfork): New strong alias.
4721 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4722 removed.
4723 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4724 Removed.
4725
4726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4727 <tcb-offsets.h>.
4728 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4729 (__libc_vfork): New strong alias.
4730 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4731 removed.
4732 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4733 removed.
4734
fdfd175d
CD
47352014-05-26 Carlos O'Donell <carlos@redhat.com>
4736
4737 * malloc/malloc.c (mi_arena): New function.
4738 (malloc_info): Remove nested function mi_arena. Call non-nosted
4739 function mi_arena.
4740
d298c416
AZ
47412014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4742
4743 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4744 by insrwi.
4745 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4746 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4747 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4748 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4749 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4750 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4751 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4752
b60ea6ff
AS
47532014-05-26 Andreas Schwab <schwab@suse.de>
4754
4755 [BZ #16984]
4756 * locale/programs/repertoire.c (repertoire_read): Add slash
4757 between I18NPATH element and file name.
4758 * locale/programs/locfile.c (locfile_read): Likewise.
4759
67365926
SL
47602014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4761
4762 * nptl/pthread_mutexattr_settype.c
4763 (__pthread_mutexattr_settype):
4764 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4765
f8bdf1f0
SL
47662014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4767
4768 * nptl/tst-mutex5 (do_test):
4769 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4770
15eaf6ff
SP
47712014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4772
4773 * benchtests/README: Document 'init' directive.
4774 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4775 BENCH_INIT.
4776 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4777 (parse_file): Recognize 'init' directive.
4778
75f11331
KM
47792014-05-26 Kyle McMartin <kyle@redhat.com>
4780
4781 [BZ #16796]
4782 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4783 alignment of struct pthread.
4784
c3ec475c
SP
47852014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4786
4787 [BZ #16878]
4788 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4789 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4790 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4791 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4792
82aab97c
RH
47932014-05-25 Richard Henderson <rth@twiddle.net>
4794
aa2f176d
RH
4795 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4796 (SINGLE_THREAD_P_PIC): Remove.
4797 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4798 (SINGLE_THREAD_P_PIC): Remove.
4799
ca3cfa40
RH
4800 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4801 branch to syscall error ...
4802 (PSEUDO): ... here.
4803 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4804 from __local_syscall_error to .Lsyscall_error.
4805 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4806 (SYSCALL_ERROR): Update label name.
4807
6e6c2d01
RH
4808 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4809 Do not use DOARGS/UNDOARGS.
4810 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4811 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4812 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4813 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4814 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4815
c69abcee
RH
4816 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4817 block comment.
4818
82aab97c
RH
4819 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4820 define if !NOT_IN_libc.
4821 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4822 define with non-default symbol versions.
4823
8820e3ac
RH
48242014-05-23 Richard Henderson <rth@twiddle.net>
4825
900e445f
RH
4826 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4827 (vfork, __vfork): Define via compat_symbol.
4828
8820e3ac
RH
4829 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4830 [!HAVE_IFUNC] (vfork_compat): Remove.
4831 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4832
e59252a5
JM
48332014-05-23 Joseph Myers <joseph@codesourcery.com>
4834
4835 [BZ #16978]
4836 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4837 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4838 variable.
4839
132c7f5f
RH
48402014-05-23 Richard Henderson <rth@twiddle.net>
4841
bc89e962
RH
4842 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4843 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4844 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4845 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4846
4847 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4848 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4849 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4850 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4851 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4852 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4853 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4854 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4855 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4856 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4857 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4858 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4859 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4860 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4861 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4862 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4863 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4864 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4865 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4866 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4867 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4868 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4869 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4870 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4871 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4872 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4873 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4874 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4875 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4876 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4877 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4878 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4879 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4880 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4881 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4882 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4883 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4884 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4885 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4886 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4887 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4888 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4889 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4890 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4891 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4892 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4893 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4894 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4895 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4896 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4897 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4898 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4899 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4900 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4901 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4902 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4903
e2fa4bc2
RH
4904 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4905 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4906 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4907 before exiting on error.
4908 (__libc_vfork): New strong alias.
4909 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4910 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4911
279b24e2
RH
4912 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4913 that was previously under [RESET_PID].
4914 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4915
132c7f5f
RH
4916 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4917
b72592e7
JM
49182014-05-23 Joseph Myers <joseph@codesourcery.com>
4919
4920 [BZ #16977]
4921 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4922 value when x - 1 is zero.
4923 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4924 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4925 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4926 0.0L for an argument of 1.0L.
4927 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4928 Likewise.
4929 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4930 value when x - 1 is zero.
4931 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4932 * sysdeps/i386/fpu/libm-test-ulps: Update.
4933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4934
2302d679
RV
49352014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4936
4937 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4938 alphasort and versionsort.
4939
32999d63
AZ
49402014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4941
4942 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4943 macro.
4944 [copysignf]: Likewise.
4945
019324d0
SP
49462014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4947
4948 * crypt/md5-crypt.c: Fix formatting.
4949
34fff5c2
KS
49502014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4951
4952 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4953 (b64_from_24bit): New function.
4954
3d2badac
AZ
49552014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4956
4957 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4958 libc_hidden_builtin_def to ifunc.
4959 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4960 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4961
f7bb179f 49622014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
4963
4964 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4965 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4966
4134b50d
JM
49672014-05-21 Joseph Myers <joseph@codesourcery.com>
4968
bb7d0337
JM
4969 * nscd/Depend (linuxthreads): Remove.
4970 (nptl): Add.
4971 * resolv/Depend (linuxthreads): Remove.
4972 * rt/Depend (linuxthreads): Remove.
4973
4134b50d
JM
4974 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4975 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4976 $(common-objpfx)elf/.
4977 (link-libc-before-gnulib): Likewise.
4978 (elfobjdir): Remove variable.
4979 * Makefile (install): Use $(elf-objpfx) instead of
4980 $(common-objpfx)elf/.
4981 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4982 $(elfobjdir)/.
4983 (link-libc-deps): Likewise.
4984 ($(common-objpfx)libc.so): Likewise.
4985 ($(common-objpfx)linkobj/libc.so): Likewise.
4986 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4987 instead of $(common-objpfx)elf/.
4988 (symbolic-link-list): Likewise.
4989 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4990 [$(cross-compiling) = no]: Likewise.
4991 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4992 $(elfobjdir)/.
4993 (static-gnulib-arch): Likewise.
4994 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4995 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4996 $(common-objpfx)elf/.
4997
3612eb8f
RH
49982014-05-21 Richard Henderson <rth@redhat.com>
4999
a6b3657b
RH
5000 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5001 (SINGLE_THREAD_P): Use the correct width load. Fold
5002 into the ldr offset.
5003
3612eb8f
RH
5004 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5005 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5006
175cef41
JM
50072014-05-20 Joseph Myers <joseph@codesourcery.com>
5008
5009 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5010 (libgcc_s_resume): Use __attribute_used__.
5011 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5012 Likewise.
5013
e13bccd3
AZ
50142014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5015
5016 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5017 optimization when used with float constants.
5018
7c112a38
AZ
5019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5020
ae75a883
AJ
50212014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5022
5023 [BZ #16915]
5024 * locale/nl_langinfo_l.c: Make direct reference to every
5025 _nl_current_CATEGORY symbol.
5026 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5027 (tests-static): Add tst-langinfo-static.
5028 (tests-special): Add tst-langinfo-static.out.
5029 ($(objpfx)tst-langinfo.out): Redirect output.
5030 ($(objpfx)tst-langinfo-static.out): New.
5031 * localedata/tst-langinfo.sh: Send output to stdout.
5032 * localedata/tst-langinfo-static.c: New file.
5033
4406c41c
AJ
5034 [BZ #16965]
5035 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5036 when the shift amount is modulo the limb size.
5037
4c0a1e63
RH
50382014-05-20 Richard Henderson <rth@redhat.com>
5039
de9d8f20
RH
5040 [BZ #16967]
5041 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5042 Change type of sa_flags from unsigned int to int.
5043
4c0a1e63
RH
5044 [BZ #16966]
5045 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
5046
5047 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5048
a60339aa
WN
50492014-05-20 Will Newton <will.newton@linaro.org>
5050
5051 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5052 Test the return value of the system call in the nocancel case.
5053
7d05a816
YR
50542014-05-20 Will Newton <will.newton@linaro.org>
5055 Yvan Roux <yvan.roux@linaro.org>
5056
5057 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5058 #include of asm/ptrace.h.
5059 (PTRACE_GET_THREAD_AREA): Remove #undef.
5060 (PTRACE_GETHBPREGS): Likewise.
5061 (PTRACE_SETHBPREGS): Likewise.
5062 (struct user_regs_struct): New structure.
5063 (struct user_fpsimd_struct): New structure.
5064 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5065 #include of asm/ptrace.h and second #include of sys/user.h.
5066 (PTRACE_GET_THREAD_AREA): Remove #undef.
5067 (PTRACE_GETHBPREGS): Likewise.
5068 (PTRACE_SETHBPREGS): Likewise.
5069 (ELF_NGREG): Use new struct user_regs_struct.
5070 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5071
af121e37
AZ
50722014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5073
5074 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5075 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5076
834caf06
JM
50772014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5078
5079 [BZ #16958]
5080 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5081 membar to avoid block loads/stores to overlap previous stores.
5082
e184a918
RH
50832014-05-17 Richard Henderson <rth@redhat.com>
5084
5085 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5086 Create the __##syscall_name##_nocancel entry point.
5087 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5088 Remove; let the sysdep-cancel.h code create it.
5089
f56c7a6a
DM
50902014-05-17 David S. Miller <davem@davemloft.net>
5091
5092 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5093 Protect with __USE_GNU.
5094 (TIOCSET_TEMPT): Likewise.
5095 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5096 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5097 these are already provided in bits/ioctl-types.h
5098
f75616b2
RM
50992014-05-16 Roland McGrath <roland@hack.frob.com>
5100
3edeca86
RM
5101 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5102 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5103
f75616b2
RM
5104 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5105 Use wait4 regardless of [__NR_waitpid].
5106
deb0f7f6
MR
51072014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5108
5109 PR libgcc/60166
5110 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5111 (_FP_NANSIGN_Q): Set the quiet bit.
5112
79520f4b
JM
51132014-05-16 Joseph Myers <joseph@codesourcery.com>
5114
5115 * benchtests/Makefile
5116 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5117 not $(common-objpfx)math/libm.so.
5118 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5119 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5120 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5121 $(common-objpfx)dlfcn/libdl.so.
5122 ($(objpfx)tst-audit8): Depend on $(libm), not
5123 $(common-objpfx)math/libm.so.
5124 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5125 not $(common-objpfx)dlfcn/libdl.so.
5126 * math/Makefile
5127 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5128 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5129 [$(build-shared) = yes].
5130 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5131 $(common-objpfx)nptl/libpthread.so.
5132 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5133 $(common-objpfx)math/libm.so$(libm.so-version) or
5134 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5135 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5136 $(common-objpfx)dlfcn/libdl.so.
5137 * setjmp/Makefile (link-libm): Remove variable.
5138 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5139 * stdio-common/Makefile (link-libm): Remove variable.
5140 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5141 * stdlib/Makefile (link-libm): Remove variable.
5142 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5143 ($(objpfx)tst-strtod-round): Likewise.
5144 ($(objpfx)tst-tininess): Likewise.
5145 ($(objpfx)tst-strtod-underflow): Likewise.
5146 ($(objpfx)tst-strtod6): Likewise.
5147 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5148 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5149 $(common-objpfx)dlfcn/libdl.so.
5150
026b0fe4
AZ
51512014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5152
5153 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5154 BSD terminal modes definitions.
5155
def4bcb2
RM
51562014-05-16 Roland McGrath <roland@hack.frob.com>
5157
fe39b021
RM
5158 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5159 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5160
1d1fc46e 5161 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
5162 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5163 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5164 Don't do #include_next.
5165 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5166 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5167 Don't do #include_next.
5168 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5169 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5170 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5171 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5172
c72399fb
AM
51732014-05-16 Allan McRae <allan@archlinux.org>
5174
d51d659d
AM
5175 * po/sv.po: Update Swedish translation from translation project.
5176
c72399fb
AM
5177 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5178 in sed expression.
5179
d0583c40
AJ
51802014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5181
5182 [BZ #16917]
5183 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5184 errno if the TIOCGPTN ioctl fails with an error different than
5185 EINVAL.
5186 * login/tst-ptsname.c: New file.
5187 * login/Makefile (tests): Add tst-ptsname.
5188
d16e6ec7
AJ
5189 [BZ #16943]
5190 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5191 and prlimit64.
5192
cf26a0cb
SP
51932014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5194
5195 [BZ #16849]
5196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5197 herrno to return EAI_AGAIN.
5198
5675da1e
RM
51992014-05-14 Roland McGrath <roland@hack.frob.com>
5200
a5d87b3d
RM
5201 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5202 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5203 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5204 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5205 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5206 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5207 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5208 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5209 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5210 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5211 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5212 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5213 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5214 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5215 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5216 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5217 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5218 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5219 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5220 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5221 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5222 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5223 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5224 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5225 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5226 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5227 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5228 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5229 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5230 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5232 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5234 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5236 Moved ...
5237 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5239 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5241 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5243 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5245 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5247 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5248 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5249 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5251 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5253 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5255 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5257 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5259 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5261 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5263 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5265 Moved ...
5266 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5268 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5270 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5272 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5273 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5274 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5275 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5276 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5277 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5278 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5280 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5281 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5282 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5283 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5284 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5285 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5286 Moved ...
5287 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5289 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5290
039890a6
RM
5291 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5292 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5293 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5294 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5295 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5296 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5297 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5298 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5299 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5300 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5301 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5302 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5303 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5304 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5305 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5306 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5307 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5308 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5309 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5310 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5311 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5312 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5313 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5314 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5315 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5316 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5317 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5318 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5319 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5320 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5321 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5322
65c89320
RM
5323 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5324 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5325
348f8e8c
RM
5326 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5327 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5328 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5329 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5330 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5331 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5332 Moved ...
5333 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5334 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5335 Moved ...
5336 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5337 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5338 Moved ...
5339 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5340 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5341 Moved ...
5342 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5343 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5344 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5345 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5346 Moved ...
5347 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5348 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5349 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5350 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5351 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5352 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5353 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5354 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5355 Moved ...
5356 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5357 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5358 Moved ...
5359 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5360 ... here.
5361 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5362 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5363 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5364 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5365 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5366 Moved ...
5367 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5368 ... here.
5369 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5370 Moved ...
5371 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5372 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5373 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5374 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5375 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5376 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5377 Moved ...
5378 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5379 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5380 Moved ...
5381 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5382 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5383 Moved ...
5384 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5385 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5386 Moved ...
5387 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5388 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5389 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5390 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5391 Moved ...
5392 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5393 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5394 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5395 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5396 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5397 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5398 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5399 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5400 Moved ...
5401 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5402 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5403 Moved ...
5404 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5405 ... here.
5406 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5407 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5408 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5409 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5410 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5411 Moved ...
5412 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5413 ... here.
5414 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5415 Moved ...
5416 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5417 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5418 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5419 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5420 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5421 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5422 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5423 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5424 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5425 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5426 Moved ...
5427 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5428 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5429 Moved ...
5430 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5431 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5432 Moved ...
5433 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5434 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5435 Moved ...
5436 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5437 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5438 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5439 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5440 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5441 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5442 Moved ...
5443 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5444 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5445 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5446 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5447 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5448 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5449 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5450 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5451 Moved ...
5452 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5453 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5454 Moved ...
5455 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5456 ... here.
5457 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5458 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5459 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5460 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5461 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5462 Moved ...
5463 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5464 ... here.
5465 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5466 Moved ...
5467 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5468 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5469 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5470 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5471 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5472 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5473 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5474 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5475 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5476 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5477 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5478
5085af05
RM
5479 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5480 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5481
708f0813
RM
5482 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5483 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5484
c96067bc
RM
5485 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5486 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5487 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5488 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5489 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5490 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5491 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5492 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5493 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5494 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5495 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5496 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5497 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5498 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5499 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5500 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5501 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5502 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5503 Moved ...
5504 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5505 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5506 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5507 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5508 Moved ...
5509 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5510 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5511 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5512 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5513 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5514 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5515 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5516 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5517 Moved ...
5518 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5519 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5520 Moved ...
5521 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5522 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5523 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5524 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5525 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5526 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5527 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5528 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5529 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5530 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5531 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5532 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5533 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5534 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5535 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5536 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5537 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5538
ec136444
RM
5539 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5540 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5541 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5542 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5543 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5544
2fbdf533
RM
5545 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5546 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5547 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5548 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5549 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5550 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5551 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5552 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5553 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5554 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5555
4c68138b
RM
5556 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5557 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5558
4eaae765
RM
5559 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5560 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
5561 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5562 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5563 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5564 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5565 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5566 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5567 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5568 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5569 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5570 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5571 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5572 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5573 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5574 Update #include.
5575 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5576 Likewise.
5577 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5578 Likewise.
5579 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5580 Likewise.
5581 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5582 Likewise.
5583 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5584 Likewise.
5585 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5586 Likewise.
5587 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5588 Likewise.
5589 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5590 Likewise.
5591 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5592 Likewise.
4ef6befa
RM
5593 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5594 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5595 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5596 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5597 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
5598 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5599 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5600 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5601 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5602 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5603 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5604 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5605 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5606 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5607 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 5608
941d7dfd
RM
5609 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5610 that was previously under [RESET_PID].
5611 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5612 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5613 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5614
1b731c35
RM
5615 * sysdeps/i386/nptl/Implies: New file.
5616 * sysdeps/x86_64/nptl/Implies: New file.
5617 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5618 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5619 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5620 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5621
e2787137
RM
5622 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5623 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5624 (__libc_vfork): New strong alias.
5625 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5626 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5627
5628 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5629 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5630 (__libc_vfork): New strong alias.
5631 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5632 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5633
5675da1e
RM
5634 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5635 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5636 (__libc_vfork): New strong alias.
5637 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5638 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5639 * nptl/pt-vfork.c: New file.
5640 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5641 (libpthread: GLIBC_2.20): New version set (empty).
5642
4f02e2b8
WN
56432014-05-14 Will Newton <will.newton@linaro.org>
5644
5645 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5646 rather than #if.
5647
0bf061d3
JM
56482014-05-14 Joseph Myers <joseph@codesourcery.com>
5649
1a84c3d6
JM
5650 [BZ #16564]
5651 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5652 arguments with exponent 65 or above.
5653 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5654 arguments 0x1p113L or above.
5655 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5656 to arguments 0x1p107L or above.
5657 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5658 positive arguments with exponent 65 or above.
5659 * math/auto-libm-test-in: Add more tests of log1p.
5660 * math/auto-libm-test-out: Regenerated.
5661
01dbacd2
JM
5662 [BZ #16928]
5663 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5664 non-finite arguments is +0.
5665 * math/s_cacosf.c (__cacosf): Likewise.
5666 * math/s_cacosl.c (__cacosl): Likewise.
5667 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5668 * sysdeps/i386/fpu/libm-test-ulps: Update.
5669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5670
913d03c8
JM
5671 [BZ #16927]
5672 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5673 value.
5674 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5675 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5676 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5677 for explicit high bit of mantissa when testing for argument equal
5678 to 1.
5679 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5680 * sysdeps/i386/fpu/libm-test-ulps: Update.
5681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5682
0bf061d3
JM
5683 [BZ #16516]
5684 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5685 (__erf): Scale by 16 instead of 8 in potentially underflowing
5686 case. Ensure exception if result actually underflows.
5687 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5688 (__erff): Scale by 16 instead of 8 in potentially underflowing
5689 case. Ensure exception if result actually underflows.
5690 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5691 (efx8): Remove variable.
5692 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5693 case. Ensure exception if result actually underflows.
5694 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5695 (efx8): Remove variable.
5696 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5697 case. Ensure exception if result actually underflows.
5698 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5699 (efx8): Remove variable.
5700 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5701 case. Ensure exception if result actually underflows.
5702 * math/auto-libm-test-in: Add more tests of erf.
5703 * math/auto-libm-test-out: Regenerated.
5704
73ba67cb
AS
57052014-05-14 Andreas Schwab <schwab@suse.de>
5706
3d8c8bff
AS
5707 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5708 Remove code conditionalized on USE___THREAD.
5709
73ba67cb
AS
5710 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5711 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5712 not definedness.
5713
5c521ecd
JM
57142014-05-14 Joseph Myers <joseph@codesourcery.com>
5715
5e7698c6
JM
5716 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5717 Define unconditionally.
5718 (__ASSUME_O_CLOEXEC): Likewise.
5719 (__ASSUME_SOCK_CLOEXEC): Likewise.
5720 (__ASSUME_IN_NONBLOCK): Likewise.
5721 (__ASSUME_PIPE2): Likewise.
5722 (__ASSUME_EVENTFD2): Likewise.
5723 (__ASSUME_SIGNALFD4): Likewise.
5724 (__ASSUME_DUP3): Likewise.
5725 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5726 (__ASSUME_DUP3): Do not define.
5727 (__ASSUME_EVENTFD2): Likewise.
5728 (__ASSUME_IN_NONBLOCK): Likewise.
5729 (__ASSUME_O_CLOEXEC): Likewise.
5730 (__ASSUME_PIPE2): Likewise.
5731 (__ASSUME_SIGNALFD4): Likewise.
5732 (__ASSUME_SOCK_CLOEXEC): Likewise.
5733 (__ASSUME_UTIMES): Undefine.
5734 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5735 (__ASSUME_UTIMES): Do not define.
5736 (__ASSUME_O_CLOEXEC): Likewise.
5737 (__ASSUME_SOCK_CLOEXEC): Likewise.
5738 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5739 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5740 0x020621].
5741 (__ASSUME_PIPE2): Likewise.
5742 (__ASSUME_EVENTFD2): Likewise.
5743 (__ASSUME_SIGNALFD4): Likewise.
5744 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5745 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5746 Do not define.
5747 (__ASSUME_EVENTFD2): Likewise.
5748 (__ASSUME_SIGNALFD4): Likewise.
5749 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5750 (__ASSUME_32BITUIDS): Likewise.
5751 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5752 (__ASSUME_IPC64): Likewise.
5753 (__ASSUME_ST_INO_64_BIT): Likewise.
5754 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5755 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5756 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5757 (__ASSUME_UTIMES): Do not define.
5758 (__ASSUME_PSELECT): Likewise.
5759 (__ASSUME_PPOLL): Likewise.
5760 (__ASSUME_O_CLOEXEC): Likewise.
5761 (__ASSUME_SOCK_CLOEXEC): Likewise.
5762 (__ASSUME_IN_NONBLOCK): Likewise.
5763 (__ASSUME_PIPE2): Likewise.
5764 (__ASSUME_EVENTFD2): Likewise.
5765 (__ASSUME_SIGNALFD4): Likewise.
5766 (__ASSUME_DUP3): Likewise.
5767 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5768 (__ASSUME_UTIMES): Likewise.
5769 (__ASSUME_O_CLOEXEC): Likewise.
5770 (__ASSUME_SOCK_CLOEXEC): Likewise.
5771 (__ASSUME_IN_NONBLOCK): Likewise.
5772 (__ASSUME_PIPE2): Likewise.
5773 (__ASSUME_EVENTFD2): Likewise.
5774 (__ASSUME_SIGNALFD4): Likewise.
5775 (__ASSUME_DUP3): Likewise.
5776 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5777 (__ASSUME_UTIMES): Likewise.
5778 (__ASSUME_O_CLOEXEC): Likewise.
5779 (__ASSUME_SOCK_CLOEXEC): Likewise.
5780 (__ASSUME_IN_NONBLOCK): Likewise.
5781 (__ASSUME_PIPE2): Likewise.
5782 (__ASSUME_EVENTFD2): Likewise.
5783 (__ASSUME_SIGNALFD4): Likewise.
5784 (__ASSUME_DUP3): Likewise.
5785 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5786 Likewise.
5787 (__ASSUME_UTIMES): Likewise.
5788 (__ASSUME_EVENTFD2): Likewise.
5789 (__ASSUME_SIGNALFD4): Likewise.
5790 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5791 (__ASSUME_O_CLOEXEC): Likewise.
5792 (__ASSUME_SOCK_CLOEXEC): Likewise.
5793 (__ASSUME_IN_NONBLOCK): Likewise.
5794 (__ASSUME_PIPE2): Likewise.
5795 (__ASSUME_EVENTFD2): Likewise.
5796 (__ASSUME_SIGNALFD4): Likewise.
5797 (__ASSUME_DUP3): Likewise.
5798 (__ASSUME_UTIMES): Undefine.
5799
5c521ecd
JM
5800 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5801 feclearexcept. Remove symbol versioning code.
5802 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5803 symbol versioning code.
5804 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5805 symbol versioning code.
5806 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5807 feupdateenv. Remove symbol versioning code.
5808 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5809 fegetexceptflag. Remove symbol versioning code.
5810 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5811 fesetexceptflag. Remove symbol versioning code.
5812 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5813 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5814 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5815 (__posix_fadvise64_l32): Remove prototype.
5816 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5817 code.
5818
5da9dfad
RM
58192014-05-13 Roland McGrath <roland@hack.frob.com>
5820
5821 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5822 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5823 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5824 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5825
893b4f37
SK
58262014-05-13 Sami Kerola <kerolasa@iki.fi>
5827
5828 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5829 current working directory
5830
e0db6517
RM
58312014-05-13 Roland McGrath <roland@hack.frob.com>
5832
58aa195d
RM
5833 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5834 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5835 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5836 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5837 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5838 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5839 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5840 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5841 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5842 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5843 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5844 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5845 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5846 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5847 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5848 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5849 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5850 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5851 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5852 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5853 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5854 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5855 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5856 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5857 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5858 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5859 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5860 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5861 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5862 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5863 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5864 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5865 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5866 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5867 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5868 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5869 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5870 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5871 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5872 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5873 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5874 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5875
8c6d01f0
RM
5876 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5877 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5878
5879 * sysdeps/unix/sysv/linux/arm/Makefile
5880 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5881 Add rt-aeabi_unwind_cpp_pr1.
5882 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5883 Add nptl-aeabi_unwind_cpp_pr1.
5884 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5885 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5886 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5887 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5888 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5889 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5890
5891 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5892 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5893 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5894 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5895
bba6da4e
RM
5896 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5897 Deconditionalize the code that was previously under [RESET_PID].
5898 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5899
e0db6517
RM
5900 * sysdeps/generic/exit-thread.h: New file.
5901 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5902 * include/unistd.h (__exit_thread): Remove declaration.
5903 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5904 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5905 * csu/libc-start.c: Include <exit-thread.h>.
5906 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5907 * nptl/pthread_create.c: Include <exit-thread.h>.
5908 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5909 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5910 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5911 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5912 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5913 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5914 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5915 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5916 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5917 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5918 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5919 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5920 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5921 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5922 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5923 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5924 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5925
01eb16fd
AS
59262014-05-13 Andreas Schwab <schwab@suse.de>
5927
5928 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5929
637461d9
JM
59302014-05-12 Joseph Myers <joseph@codesourcery.com>
5931
5932 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5933 (__ASSUME_UTIMES): Do not condition on kernel version.
5934 (__ASSUME_PSELECT): Define unconditionally.
5935 (__ASSUME_PPOLL): Likewise.
5936 (__ASSUME_ATFCTS): Likewise.
5937 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5938 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5939 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5940 (__ASSUME_UTIMENSAT): Define unconditionally.
5941 (__ASSUME_PRIVATE_FUTEX): Likewise.
5942 (__ASSUME_FALLOCATE): Likewise.
5943 (__ASSUME_O_CLOEXEC): Likewise.
5944 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5945 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5946 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5947 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5948 (__ASSUME_IN_NONBLOCK): Likewise.
5949 (__ASSUME_PIPE2): Likewise.
5950 (__ASSUME_EVENTFD2): Likewise.
5951 (__ASSUME_SIGNALFD4): Likewise.
5952 (__ASSUME_DUP3): Likewise.
5953 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5954 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5955 (__ASSUME_AT_RANDOM): Likewise.
5956 (__ASSUME_PREADV): Likewise.
5957 (__ASSUME_PWRITEV): Likewise.
5958 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5959 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5960 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5961 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5962 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5963 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5964 (__ASSUME_O_CLOEXEC): Define unconditionally.
5965 (__ASSUME_PSELECT): Do not undefine conditionally.
5966 (__ASSUME_PPOLL): Likewise.
5967 (__ASSUME_ATFCTS): Likewise.
5968 (__ASSUME_SET_ROBUST_LIST): Likewise.
5969 (__ASSUME_UTIMENSAT): Likewise.
5970 (__ASSUME_FDATASYNC): Define unconditionally.
5971 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5972 (__ASSUME_SIGFRAME_V2): Likewise.
5973 )__ASSUME_EVENTFD2): Likewise.
5974 (__ASSUME_SIGNALFD4): Likewise.
5975 (__ASSUME_PSELECT): Do not undefine conditionally.
5976 (__ASSUME_PPOLL): Likewise.
5977 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5978 (__ASSUME_PSELECT): Define unconditionally.
5979 (__ASSUME_PPOLL): Likewise.
5980 (__ASSUME_O_CLOEXEC): Likewise.
5981 (__ASSUME_SOCK_CLOEXEC): Likewise.
5982 (__ASSUME_IN_NONBLOCK): Likewise.
5983 (__ASSUME_PIPE2): Likewise.
5984 (__ASSUME_EVENTFD2): Likewise.
5985 (__ASSUME_SIGNALFD4): Likewise.
5986 (__ASSUME_DUP3): Likewise.
5987 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5988 (__ASSUME_O_CLOEXEC): Likewise.
5989 (__ASSUME_SOCK_CLOEXEC): Likewise.
5990 (__ASSUME_IN_NONBLOCK): Likewise.
5991 (__ASSUME_PIPE2): Likewise.
5992 (__ASSUME_EVENTFD2): Likewise.
5993 (__ASSUME_SIGNALFD4): Likewise.
5994 (__ASSUME_DUP3): Likewise.
5995 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5996 (__ASSUME_EVENTFD2): Likewise.
5997 (__ASSUME_SIGNALFD4): Likewise.
5998 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5999
315eb1d8
AS
60002014-05-12 Andreas Schwab <schwab@suse.de>
6001
6002 [BZ #16932]
6003 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6004 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6005 than maximum RPC packet size.
6006 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6007 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6008 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6009 (_nss_nis_getservbyport_r): Likewise.
6010
91df99f7
WN
60112014-05-12 Will Newton <will.newton@linaro.org>
6012
6013 * malloc/Makefile (tests): Add tst-mallopt.
6014 * malloc/tst-mallopt.c: New file.
6015
0a982a29
RM
60162014-05-09 Roland McGrath <roland@hack.frob.com>
6017
6018 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6019 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6020
0ded08a5
AZ
60212014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6022
6023 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6024 (tst-tlsmod6.so): Likewise.
6025
55d4d550
RM
60262014-05-09 Roland McGrath <roland@hack.frob.com>
6027
6028 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6029
77d08aca
JM
60302014-05-09 Joseph Myers <joseph@codesourcery.com>
6031
6032 [BZ #16064]
6033 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6034 and <dl-procinfo.h>.
6035 (__fegetenv): Save SSE state in envp->__eip if supported.
6036 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6037 envp->__eip if supported.
6038 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6039 and <dl-procinfo.h>.
6040 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6041 __data_offset and __data_selector in environment to 0. Set SSE
6042 state if supported.
6043 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6044 test-fenv-sse.
6045 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6046 -mfpmath=sse.
6047 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6048
28162f4d
WN
60492014-05-09 Will Newton <will.newton@linaro.org>
6050
6051 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6052 and libc_relro_required for ARM.
6053 * sysdeps/arm/preconfigure: Regenerate.
6054
5a414ff7
DV
60552014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6056 Stefan Liebler <stli@linux.vnet.ibm.com>
6057
6058 * config.make.in (enable-lock-elision): New Makefile variable.
6059 * configure.ac: Likewise.
6060 * configure: Regenerate.
6061 * sysdeps/s390/configure.ac:
6062 Add check for gcc transactions support.
6063 * sysdeps/s390/configure: Regenerate.
6064 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6065 Build elision files if enabled.
6066 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6067 Add lock elision support for s390.
6068 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6069 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6070 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6071 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6072 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6073 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6074 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6075 Likewise.
6076 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6077 Likewise.
6078 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6079 Likewise.
6080 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6081 Likewise.
6082 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6083 (__lll_timedlock_elision, __lll_lock_elision)
6084 (__lll_unlock_elision, __lll_trylock_elision)
6085 (lll_timedlock_elision, lll_lock_elision)
6086 (lll_unlock_elision, lll_trylock_elision): Add.
6087 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6088 (pthread_mutex_t): Add lock elision support for s390.
6089
1a2f40e5
W
60902014-05-14 Wilco <wdijkstr@arm.com>
6091
6092 * sysdeps/arm/fclrexcpt.c: Cleanup.
6093 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6094 * sysdeps/arm/feenablxcpt.c: Cleanup.
6095 * sysdeps/arm/fegetenv.c: Cleanup.
6096 * sysdeps/arm/fegetexcept.c: Cleanup.
6097 * sysdeps/arm/fegetround.c: Cleanup.
6098 * sysdeps/arm/feholdexcpt.c: Cleanup.
6099 * sysdeps/arm/fesetenv.c: Cleanup.
6100 * sysdeps/arm/fesetround.c: Cleanup.
6101 * sysdeps/arm/feupdateenv.c: Cleanup.
6102 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6103 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6104 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6105 * sysdeps/arm/ftestexcept.c: Cleanup.
6106 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6107 * sysdeps/arm/setfpucw.c: Cleanup.
6108
f63c86fe
WN
61092014-05-09 Will Newton <will.newton@linaro.org>
6110
6111 * sysdeps/arm/armv7/strcmp.S: New file.
6112 * NEWS: Mention addition of ARMv7 optimized strcmp.
6113
7a1a51b5
RM
61142014-05-08 Roland McGrath <roland@hack.frob.com>
6115
95afbbe5
RM
6116 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6117 look for %.ac rather than %.in.
6118
6119 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6120 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6121 * sysdeps/mach/hurd/configure: Regenerated.
6122 * sysdeps/unix/sysv/linux/configure: Regenerated.
6123
7a1a51b5
RM
6124 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6125
5057ad3b
SE
61262014-05-07 Steve Ellcey <sellcey@mips.com>
6127
6128 [BZ# 16922]
6129 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6130 (LONG_SUB): Ditto.
6131 (PTR_SUB): Ditto.
6132
8dc97517
AS
61332014-05-07 Andreas Schwab <schwab@suse.de>
6134
6135 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6136 when skipping over non-matching result from nscd.
6137
ce0c5b8f
OB
61382014-05-07 Ondřej Bílka <neleai@seznam.cz>
6139
6140 [BZ #16876]
6141 * nptl/sockperf.c (client): Check socket return value.
8dc97517 6142
a1189263
OB
6143 [BZ #16877]
6144 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6145 nscd security class.
ce0c5b8f 6146
0f58d252
RM
61472014-05-06 Roland McGrath <roland@hack.frob.com>
6148
6149 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6150 * sysdeps/arm/unwind.h: ... here.
6151
83df9ad0
AJ
61522014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6153
ce0c5b8f
OB
6154 [BZ# 16916]
6155 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6156 Define.
83df9ad0 6157
f360f94a
VR
61582014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6159
6160 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6161 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6162 multiarch strncpy for PPC64.
6163 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6164 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6166 multiarch optimizations.
6167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6168 (__libc_ifunc_impl_list): Likewise.
6169 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6170 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6171 multiarch stpncpy for PPC64.
6172 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6173 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6174
978a41c3
AS
61752014-05-06 Andreas Schwab <schwab@suse.de>
6176
6177 [BZ #16912]
6178 * gmon/mcount.c (_MCOUNT_DECL): Use
6179 atomic_compare_and_exchange_bool_acq instead of
6180 catomic_compare_and_exchange_bool_acq.
6181
eb1ed03d
RM
61822014-05-05 Roland McGrath <roland@hack.frob.com>
6183
fe658845
RM
6184 * elf/Makefile (others, install-bin): Remove pldd.
6185 (pldd-modules): Variable removed.
6186 ($(objpfx)pldd): Target removed.
6187 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6188 (others, install-bin): Append pldd here.
6189 ($(objpfx)pldd): New target.
6190
eb1ed03d
RM
6191 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6192 to 0, so the first #if test emitted later doesn't see it undefined.
6193 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6194 * sysdeps/gnu/errlist.c: Regenerated.
6195
19c4bec0
AZ
61962014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6197
6198 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6199 [libc_hidden_builtin_def]: Define to empty value.
6200 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6201 [libc_hidden_builtin_def]: Likewise.
6202 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6203 [libc_hidden_builtin_def]: Likewise.
6204 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6205 [libc_hidden_builtin_def]: Likewise.
6206 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6207 __redirect_memcpy and define ifunc as default hidden symbol.
6208 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6209 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6210
7776e669
AC
62112014-05-04 Adam Conrad <adconrad@0c3.net>
6212
6213 * locale/iso-4217.def: Reintroduce XDR currency.
6214
d69aeb12
AM
62152014-05-04 Allan McRae <allan@archlinux.org>
6216
6217 * po/eo.po: Update Esperanto translation from translation project.
6218
8f1df5cf
CD
62192014-05-02 Carlos O'Donell <carlos@redhat.com>
6220
6221 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6222 and FEATURE_INDEX_MAX to 1.
6223 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6224
13e402e7
SE
62252014-05-01 Steve Ellcey <sellcey@mips.com>
6226
6227 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6228 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6229 * iconvdata/big5.c (ONE_DIRECTION): Define.
6230 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6231 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6232 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6233 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6234 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6235 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6236 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6237 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6238 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6239 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6240 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6241 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6242 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6243 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6244 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6245 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6246 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6247 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6248 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6249 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6250 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6251 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6252 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6253 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6254 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6255 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6256 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6257 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6258 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6259 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6260 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6261 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6262 * iconvdata/johab.c (ONE_DIRECTION): Define.
6263 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6264 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6265 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6266 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6267 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6268 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6269 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6270 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6271 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6272 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6273
c727f032
RM
62742014-05-01 Roland McGrath <roland@hack.frob.com>
6275
8f2f08d0
RM
6276 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6277 (_IO_JUMPS_OFFSET): Define to 0.
6278
c727f032
RM
6279 * nptl/sysdeps/pthread/bits/libc-lock.h
6280 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6281 (__libc_lock_define_initialized_recursive): Always define using
6282 initializer. Modern compilers treat uninitialized (implicit zero) and
6283 explicit zero initializers the same (i.e. put the datum in bss).
6284
a849e800
AS
62852014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6286
6287 * nscd/nscd-client.h: Include <string.h>.
6288
5331255b
DM
62892014-05-01 David S. Miller <davem@davemloft.net>
6290
6291 [BZ #16885]
6292 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6293 multiple zero bytes exist at the end of a string.
6294 Reported by Aurelien Jarno <aurelien@aurel32.net>
6295
6296 * string/test-strcmp.c (check): Add explicit test for situations where
6297 there are multiple zero bytes after the first.
6298
4fdfe821
AS
62992014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6300
6301 [BZ #16890]
6302 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6303 when compiling wprintf.
6304 * stdio-common/tstdiomisc.c (t3): New function.
6305 (main): Call it.
6306
0cdddc25
SE
63072014-05-01 Steve Ellcey <sellcey@mips.com>
6308
6309 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6310 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6311 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6312 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6313
6426d77e
SE
63142014-05-01 Steve Ellcey <sellcey@mips.com>
6315
6316 * stdlib/longlong.h: Updated from GCC.
6317
6d96f5e4
WN
63182014-05-01 Will Newton <will.newton@linaro.org>
6319 Bernard Ogden <bernie.ogden@linaro.org>
6320
7470db0c
WN
6321 * NEWS: Update fixed bug list.
6322
6d96f5e4
WN
6323 [BZ #15119]
6324 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6325
211d653c
DM
63262014-04-30 David S. Miller <davem@davemloft.net>
6327
4fa262fa
DM
6328 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6329 (libc_feholdexcept_setround_sparc_ctx): New function.
6330 (libc_fesetenv_sparc_ctx): Likewise.
6331 (libc_feupdateenv_sparc_ctx): Likewise.
6332 (libc_feholdsetround_sparc_ctx): Likewise.
6333 (libc_feholdexcept_setround_ctx): Define.
6334 (libc_feholdexcept_setroundf_ctx): Likewise.
6335 (libc_feholdexcept_setroundl_ctx): Likewise.
6336 (libc_fesetenv_ctx): Likewise.
6337 (libc_fesetenvf_ctx): Likewise.
6338 (libc_fesetenvl_ctx): Likewise.
6339 (libc_feupdateenv_ctx): Likewise.
6340 (libc_feupdateenvf_ctx): Likewise.
6341 (libc_feupdateenvl_ctx): Likewise.
6342 (libc_feresetround_ctx): Likewise.
6343 (libc_feresetroundf_ctx): Likewise.
6344 (libc_feresetroundl_ctx): Likewise.
6345 (libc_feholdsetround_ctx): Likewise.
6346 (libc_feholdsetroundf_ctx): Likewise.
6347 (libc_feholdsetroundl_ctx): Likewise.
6348
1d3d93ef
DM
6349 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6350 with __USE_GNU instead of XOPEN cpp guards.
6351
8aa583c3
DM
6352 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6353 0.
6354
211d653c
DM
6355 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6356 with XOPEN cpp guards.
6357
60c8f1f6
JB
63582014-04-30 Julian Brown <julian@codesourcery.com>
6359
6360 [BZ #16888]
6361 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6362 handling.
6363
9a461d46
JM
63642014-04-30 Joseph Myers <joseph@codesourcery.com>
6365
d0f5b3f8
JM
6366 [BZ #9894]
6367 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6368 Change to 2.6.32.
6369 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6370 * sysdeps/unix/sysv/linux/configure: Regenerated.
6371 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6372 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6373 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6374 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6375 * README: Update reference to required Linux kernel version.
6376 * manual/install.texi (Linux): Update reference to required Linux
6377 kernel headers version.
6378 * INSTALL: Regenerated.
6379
9a461d46
JM
6380 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6381 header inclusion.
6382 [POSIX] (limits.h): Likewise.
6383 [POSIX] (math.h): Likewise.
6384 [POSIX] (sys/wait.h): Likewise.
6385 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6386 function.
6387 [POSIX] (stddef.h): Do not allow header inclusion.
6388
1775babf
AZ
63892014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6390
57f41c40 6391 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 6392
8f630cca
YY
63932014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6394
6395 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6396 Return immediately after lll_futex_wake.
6397
1cdeb237
SP
63982014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6399
bc8f194c
SP
6400 [BZ #16791]
6401 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6402 structure.
6403 (datahead_init_pos): Call datahead_init_common early.
6404 (datahead_init_neg): Likewise.
6405
1cdeb237
SP
6406 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6407 datahead_init_neg): New functions.
6408 * nscd/aicache.c (addhstaiX): Use them.
6409 * nscd/grpcache.c (cache_addgr): Likewise.
6410 * nscd/hstcache.c (cache_addhst): Likewise.
6411 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6412 * nscd/netgroupcache.c (do_notfound): Likewise.
6413 (addgetnetgrentX): Likewise.
6414 (addinnetgrX): Likewise.
6415 * nscd/pwdcache.c (cache_addpw): Likewise.
6416 * nscd/servicescache.c (cache_addserv): Likewise.
6417
16b293a7
SP
64182014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6419 Atsushi Onoe <atsushi@onoe.org>
6420
6421 [BZ #14308]
6422 [BZ #12994]
6423 [BZ #13651]
6424 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6425 one response is valid.
6426 * resolv/res_send.c (send_dg): Check for validity of other
6427 response if the current response is a referral.
6428
a28a9b94
SE
64292014-04-29 Steve Ellcey <sellcey@mips.com>
6430
6431 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6432
2ca180e9
SL
64332014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6434
6435 [BZ #16823]
6436 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6437 Always divide by positive zero when computing -Inf result.
6438 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6439 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6440
18f2945a
AZ
64412014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6442
6443 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6444 FPSCR if value do not change.
6445 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6446 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6447 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6448 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6449 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6450 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6451 function.
6452
5abebba4
CD
64532014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6454
6455 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6456 * sysdeps/unix/sysv/linux/hppa: Move directory from
6457 ports/systeps/unix/sysv/linux/hppa.
6458 * README: Update listing for hppa-*-linux-gnu.
6459
f7ed60c2
OB
64602014-04-28 Ondřej Bílka <neleai@seznam.cz>
6461
fff763a5
OB
6462 [BZ #16754]
6463 * manual/stdio.texi (Hook functions): Fix types of stream hook
6464 functions.
f7ed60c2
OB
6465 [BZ #16854]
6466 * socket/sys/socket.h: Fix typo in comment.
6467
df639d73
WD
64682014-04-28 Wilco <wdijkstr@arm.com>
6469
f7ed60c2 6470 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
6471 * sysdeps/arm/math_private.h: New file.
6472 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6473
48332d82
L
64742014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6475
6476 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6477 with __int128_t.
6478 (La_x86_64_retval): Likewise.
6479
e5e0d9a4
IB
64802014-04-24 Ian Bolton <ian.bolton@arm.com>
6481
6482 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6483 fpsr if value didn't change.
6484 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6485 to fpcr if value didn't change.
6486 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6487 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6488 fpsr or fpcr if value didn't change.
6489 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6490 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6491 fpcr if value didn't change.
6492 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6493 to fpsr if value didn't change.
6494
bacc75f7
SP
64952014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6496
6497 * nptl/tst-sem3.c: Use test-skeleton.c
6498 (main): Rename to do_test. Use return instead of
6499 exit.
6500 * nptl/tst-sem4.c: Use test-skeleton.c
6501 (main): Rename to do_test.
6502
a059d359
DM
65032014-04-22 David S. Miller <davem@davemloft.net>
6504
6505 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6506 (struct sigaction): New struct member __glibc_reserved0, change
6507 type of sa_flags to int.
6508
ea6c92f3
YZ
65092014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6510
6511 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6512 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6513
766c4a36
SP
65142014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6515
6516 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6517 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6518
140cc7ab
VK
65192014-04-22 Will Newton <will.newton@linaro.org>
6520 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6521
6522 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6523 (__longjmp): Add longjmp and longjmp_target SystemTap
6524 probes.
6525 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6526 (__sigsetjmp): Add setjmp SystemTap probe.
6527
c54e5cf7
CD
65282014-04-17 Carlos O'Donell <carlos@redhat.com>
6529
6530 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6531 match manual order.
6532
75ffb047
AZ
65332014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6534
6535 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6536
2cd925f7
AZ
6537 * sysdeps/powerpc/fpu/fenv_private.h
6538 (libc_feholdexcept_setroundl_ctx): Define to
6539 libc_feholdexcept_setround_ppc_ctx.
6540 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6541 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6542 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6543 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6544
39e6cd8d
IB
65452014-04-17 Ian Bolton <ian.bolton@arm.com>
6546
6547 * sysdeps/aarch64/math-tests.h: New file.
6548
f9281df9
SY
65492014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6550
6551 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6552 New.
6553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6554 Check and set bit_AVX2_Usable.
6555 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6556 macro.
6557 (bit_AVX2): Likewise.
6558 (index_AVX2_Usable): Likewise.
6559 (CPUID_AVX2): Likewise.
6560 (HAS_AVX2): Likewise.
6561
37d35007
WN
65622014-04-17 Will Newton <will.newton@linaro.org>
6563
7c677662
WN
6564 * manual/setjmp.texi (System V contexts): Add note that
6565 calling setcontext on a context created by a call to a
6566 signal handler is undefined. Update text to note that
6567 setcontext from a signal handler is possible but not
6568 recommended.
6569
37d35007 6570 [BZ #16629]
e04a4e9d
WN
6571 * stdlib/tst-setcontext.c: Include signal.h.
6572 (main): Check that the signal stack before and
6573 after swapcontext is the same.
6574
37d35007
WN
6575 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6576 Re-implement to restore registers in user code and avoid
6577 rt_sigreturn system call.
6578
423a7160
W
65792014-04-17 Wilco <wdijkstr@arm.com>
6580
6581 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6582 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6583 * math/test-fenv.c: Skip exception trap tests on targets which only
6584 support non-stop mode.
6585
bc93ab29
IB
65862014-04-17 Ian Bolton <ian.bolton@arm.com>
6587 Wilco Dijkstra <wilco.dijkstra@arm.com>
6588
6589 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6590 (libc_feholdsetround_aarch64_ctx)
6591 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6592 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6593 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6594 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6595 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6596 (libc_feresetround_noexl_ctx): Define.
6597
95fc5fa3
RH
65982014-04-16 Richard Henderson <rth@redhat.com>
6599
ddb04724
RH
6600 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6601
d77c0899
RH
6602 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6603 unwind tables.
6604
a3df56fc
RH
6605 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6606 const from the non-libc, non-ldso copy.
6607
95fc5fa3
RH
6608 * sysdeps/alpha/libm-test-ulps: Regenerate.
6609
7e0b6763
IB
66102014-04-16 Ian Bolton <ian.bolton@arm.com>
6611 Wilco Dijkstra <wilco.dijkstra@arm.com>
6612
6613 * sysdeps/aarch64/fpu/math_private.h: New file.
6614
a9ea2e0c
MS
66152014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6616
6617 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6618
ea8ba7cd
IZ
66192014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6620
6621 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6622 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6623 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6624 Intel MPX bound registers before _dl_profile_fixup.
6625 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6626 registers after _dl_profile_fixup. Save and restore bound
6627 registers bnd0/bnd1 when calling _dl_call_pltexit.
6628 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6629 (LR_BND_OFFSET): Likewise.
6630 (LRV_BND0_OFFSET): Likewise.
6631 (LRV_BND1_OFFSET): Likewise.
6632
9f2a4fbc
ST
66332014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6634
6635 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6636 to...
6637 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
6638 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6639 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6640 fields.
9f2a4fbc 6641
fd15a59b
ST
66422014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6643
6644 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6645
f19dfa0a
SL
66462014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6647
6648 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6649
4fa8bc3b
SL
66502014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6651
6652 [BZ #14770]
6653 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6654 * sysdeps/s390/configure: Regenerate.
6655
8ea587db
SL
6656 [BZ #16824]
6657 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6658 Set round-to-nearest internally to reduce error accumulation.
6659
aa5f0ff1
AM
66602014-04-16 Alan Modra <amodra@gmail.com>
6661
6662 [BZ #16740]
6663 [BZ #16619]
6664 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6665 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 6666 * NEWS: Update fixed bug list.
aa5f0ff1 6667
bb9c256f
SP
66682014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6669
6670 * benchtests/Makefile: Depend on libraries in build directory.
6671 (bench-math): Separate out math tests.
6672 (bench-pthread): Separate out pthread tests.
6673 (bench): Include math and pthread tests.
6674
f737dfd0
CD
66752014-04-14 Carlos O'Donell <carlos@redhat.com>
6676
6677 [BZ #16831]
6678 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6679 _dl_debug_initialize.
6680
0699f766
CD
6681 * configure.ac: Remove SELinux header check.
6682 * configure: Regenerate.
6683 * nscd/selinux.c (perms): Array of const char* to permission names.
6684 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6685 default policy. Call string_to_security_class and string_to_av_perm to
6686 translate strings. Enforce default policy and call avs_has_perm with
6687 results of translated strings.
6688
809bd45f
DM
66892014-04-13 David S. Miller <davem@davemloft.net>
6690
6691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6692
89e691f2
AM
66932014-04-12 Allan McRae <allan@archlinux.org>
6694
6695 [BZ #16838]
6696 * manual/string.texi (Collation Functions): Fix qsort argument
6697 order in example.
6698 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6699
9c9daaeb
CM
67002014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6701
6702 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6703 Make the test a no-op if there are no exceptions defined.
6704
95561fb9
PP
67052014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6706
fe8d072c 6707 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
6708 enable-hardcoded-path-in-tests
6709
970c602a
WN
67102014-04-11 Will Newton <will.newton@linaro.org>
6711
6712 * benchtests/Makefile (extra-objs): Add json-lib.o.
6713 (bench-func): Tidy up JSON output.
6714 * benchtests/bench-skeleton.c: Include json-lib.h.
6715 (main): Use JSON library functions to do output of
6716 benchmark results.
6717 * benchtests/bench-timing-type.c (main): Output the
6718 timing type simply, leaving formatting to the user.
6719 * benchtests/json-lib.c: New file.
6720 * benchtests/json-lib.h: Likewise.
6721
36875b06
TR
67222014-04-11 Torvald Riegel <triegel@redhat.com>
6723
6724 [BZ #15215]
6725 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6726 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6727 memory barriers. Add comments.
6728 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6729 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6730 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6731 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6732 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6733 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6734
579db35a
SL
67352014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6736
6737 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6738 * sysdeps/s390/s390-64/configure.ac: ... this ...
6739 * sysdeps/s390/configure.ac: ... to here.
6740 * sysdeps/s390/s390-32/configure: Delete file.
6741 * sysdeps/s390/s390-64/configure: Delete file.
6742 * sysdeps/s390/configure: Regenerate.
6743
c12e9f37
JAPH
67442014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6745
6746 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6747
439bda32
WN
67482014-04-11 Will Newton <will.newton@linaro.org>
6749
6750 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6751 to zero if it is not defined elsewhere. (mtrim): Test
6752 the value of MALLOC_DEBUG with #if rather than #ifdef.
6753
6a5d6ea1
TR
67542014-04-10 Torvald Riegel <triegel@redhat.com>
6755
6756 * benchtests/pthread_once-inputs: New file.
6757 * benchtests/pthread_once-source.c: New file.
6758 * benchtests/README: Update documentation.
6759
a4c75cfd
IZ
67602014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6761 H.J. Lu <hongjiu.lu@intel.com>
6762
6763 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6764 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6765 * sysdeps/x86_64/configure: Regenerated.
6766 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6767 macro.
6768 (REGISTER_SAVE_RAX): Likewise.
6769 (REGISTER_SAVE_RCX): Likewise.
6770 (REGISTER_SAVE_RDX): Likewise.
6771 (REGISTER_SAVE_RSI): Likewise.
6772 (REGISTER_SAVE_RDI): Likewise.
6773 (REGISTER_SAVE_R8): Likewise.
6774 (REGISTER_SAVE_R9): Likewise.
6775 (REGISTER_SAVE_BND0): Likewise.
6776 (REGISTER_SAVE_BND1): Likewise.
6777 (REGISTER_SAVE_BND2): Likewise.
6778 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6779 bound registers when calling _dl_fixup.
6780
27822ce6
AZ
67812014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6782
6783 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
6784 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6785 of its definition.
27822ce6
AZ
6786 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6787 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6788 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6789 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6790 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6791 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6792 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6793
a88ddc90
PTB
67942014-04-09 Peter Brett <peter@peter-b.co.uk>
6795
6796 [BZ #15514]
6797 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6798 pathconf(_PC_NAME_MAX).
6799
01f8eac2
AZ
68002014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6801
6802 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6803 Remove macro usage.
6804 (__PTHREAD_SPINS): Move definition to ...
6805 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6806 (__PTHREAD_SPINS): ... here.
6807 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6808 (__PTHREAD_SPIN): Likewise.
6809 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6810 (__PTHREAD_SPIN): Likewise.
6811 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6812 (__PTHREAD_SPIN): Likewise.
6813 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6814 (__PTHREAD_SPIN): Likewise.
6815 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6816 (__PTHREAD_SPIN): Likewise.
6817 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6818 (__PTHREAD_SPIN): Likewise.
6819 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6820 (__PTHREAD_SPIN): Likewise.
6821 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6822 (__PTHREAD_SPIN): Likewise.
6823 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6824 (__PTHREAD_SPIN): Likewise.
6825 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6826 (__PTHREAD_SPIN): Likewise.
6827 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6828 (__PTHREAD_SPIN): Likewise.
6829 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6830 (__PTHREAD_SPIN): Likewise.
6831
de21c33c
AZ
6832 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6833 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6834 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6835 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6836 imply folder.
6837 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6838 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6839 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6840 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6841 correct imply path.
6842 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6843 strlen symbol for non multi-arch builds.
6844 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6845 missing hidden_def and weak_alias.
6846
862c472e
CD
68472014-04-08 Carlos O'Donell <carlos@redhat.com>
6848
6849 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6850
8667f90e
WN
68512014-04-07 Will Newton <will.newton@linaro.org>
6852
6853 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6854 and contents. [!_LIBC] Remove #ifndef and contents.
6855 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6856 * string/memccpy.c (__memccpy): Use ANSI prototype.
6857 * string/memfrob.c (memfrob): Likewise.
6858 * string/strcoll.c (STRCOLL): Likewise.
6859 * string/strlen.c (strlen): Likewise.
6860 * string/strtok.c (STRTOK): Likewise.
6861 * string/strcat.c: Remove unused #include of memcopy.h.
6862 (strcat): Use ANSI prototype.
6863 * string/strchr.c: Remove unused #include of memcopy.h.
6864 (strchr): Use ANSI prototype.
6865 * string/strcmp.c: Remove unused #include of memcopy.h.
6866 (strcmp): Use ANSI prototype.
6867 * string/strcpy.c: Remove unused #include of memcopy.h.
6868 (strcpy): Use ANSI prototype.
6869
7ffa9423
AZ
68702014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6871
6872 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6873 * config.make.in (config-extra-cppflags): Set it from
6874 libc_extra_cppflags.
6875 * configure.ac (libc_extra_cflags): Make it accumulate over
6876 configure fragments.
6877 (libc_extra_cppflags): New flag.
6878 * configure. Regenerate.
6879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
6880 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6881 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
6882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6883
8bd70862
AZ
6884 [BZ #16815]
6885 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6886 result for FE_DOWNWARD rounding mode.
6887 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6888 Likewise.
6889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6890
d42f3448
CM
68912014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6892
6893 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6894 in function argument name.
6895
1c21d115
DS
68962014-04-03 David Svoboda <svoboda@cert.org>
6897
6898 [BZ #5666]
6899 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6900 explicitly.
6901
fcccd512
RM
69022014-04-03 Roland McGrath <roland@hack.frob.com>
6903
6904 * elf/dl-unmap-segments.h: New file.
6905 * sysdeps/generic/ldsodefs.h
6906 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6907 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6908 * elf/dl-fptr.c: Likewise.
6909 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6910 * sysdeps/aarch64/tlsdesc.c: Likewise.
6911 * sysdeps/arm/tlsdesc.c: Likewise.
6912 * sysdeps/i386/tlsdesc.c: Likewise.
6913 * sysdeps/tile/dl-runtime.c: Likewise.
6914 * sysdeps/x86_64/tlsdesc.c: Likewise.
6915 * elf/dl-load.h: New file.
6916 * elf/dl-load.c: Include it.
6917 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6918 Macros moved to dl-load.h.
6919 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6920 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6921 Use _dl_unmap_segments in place of __munmap.
6922 Break out segment-mapping loop into ...
6923 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6924
f6488e2b
WN
69252014-04-03 Will Newton <will.newton@linaro.org>
6926
6927 * elf/dl-lookup.c (do_lookup_x): Remove comment
6928 referring to nested function and move variable
6929 declarations down to before first use.
6930
6f05bafe
JM
69312014-04-02 Joseph Myers <joseph@codesourcery.com>
6932
a84e78c8
JM
6933 [BZ #16799]
6934 [BZ #16800]
6935 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6936 with 0 numerator.
6937 * math/s_catanf.c (__catanf): Likewise.
6938 * math/s_catanh.c (__catanh): Likewise.
6939 * math/s_catanhf.c (__catanhf): Likewise.
6940 * math/s_catanhl.c (__catanhl): Likewise.
6941 * math/s_catanl.c (__catanl): Likewise.
6942 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6943 by positive zero when computing -Inf result.
6944 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6945 (catanh_test): Likewise.
6946 * sysdeps/i386/fpu/libm-test-ulps: Update.
6947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6948
6f05bafe
JM
6949 [BZ #16789]
6950 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6951 instead of using underflowing value in computing result.
6952 * math/s_clog10.c (__clog10): Likewise.
6953 * math/s_clog10f.c (__clog10f): Likewise.
6954 * math/s_clog10l.c (__clog10l): Likewise.
6955 * math/s_clogf.c (__clogf): Likewise.
6956 * math/s_clogl.c (__clogl): Likewise.
6957 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6958 (clog10_test): Likewise.
6959 * sysdeps/i386/fpu/libm-test-ulps: Update.
6960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6961
b0abbc21
AM
69622014-04-02 Alan Modra <amodra@gmail.com>
6963
6964 [BZ #16739]
6965 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6966 output when value is near a power of two. Use int64_t for lx and
6967 remove casts. Use decimal rather than hex exponent constants.
6968 Don't use long double multiplication when double will suffice.
6969 * math/libm-test.inc (nextafter_test_data): Add tests.
6970 * NEWS: Add 16739 and 16786 to bug list.
6971
af6b1797
AM
6972 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6973
483818d7
AM
6974 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6975
f6c55796
WN
69762014-04-01 Will Newton <will.newton@linaro.org>
6977
6978 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6979 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6980
13f7fe35
FW
69812014-04-01 Florian Weimer <fweimer@redhat.com>
6982
6983 [BZ #13347]
6984 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6985 * nptl/tst-setuid2.c: New file.
6986 * nptl/Makefile (xtests): Add tst-setuid2.
6987
c859b32e
AM
69882014-04-01 Alan Modra <amodra@gmail.com>
6989
6990 [BZ #16786]
6991 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6992
54fa2475
JM
69932014-03-31 Joseph Myers <joseph@codesourcery.com>
6994
8795b4a4
JM
6995 [BZ #6803]
6996 [BZ #6804]
6997 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6998 set errno as appropriate.
6999 * math/w_scalbf.c (__scalbf): Likewise.
7000 * math/w_scalbl.c (__scalbl): Likewise.
7001 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7002 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7003 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7004 Add more NaN tests.
7005
54fa2475
JM
7006 [BZ #16349]
7007 * math/w_atan2.c: Include <errno.h>.
7008 (__atan2): Set errno for result underflowing to zero.
7009 * math/w_atan2f.c: Include <errno.h>.
7010 (__atan2f): Set errno for result underflowing to zero.
7011 * math/w_atan2l.c: Include <errno.h>.
7012 (__atan2l): Set errno for result underflowing to zero.
7013 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7014 tests.
7015 * math/auto-libm-test-out: Regenerated.
7016
757d9dd5
AZ
70172014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7018
7019 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7020 Encode instruction correctly in little endian.
7021 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7022 Likewise.
7023 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7024 Likewise.
7025 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7026 Likewise.
7027 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7028 Likewise.
7029
d7a68734
JM
70302014-03-31 Joseph Myers <joseph@codesourcery.com>
7031
47c5adeb
JM
7032 [BZ #9894]
7033 * sysdeps/unix/sysv/linux/kernel-features.h
7034 [__sparc__ && !__arch64__ && !__sparc_v9__]
7035 (__ASSUME_SET_ROBUST_LIST): Do not define.
7036 [__sparc__ && !__arch64__ && !__sparc_v9__]
7037 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7038 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7039 Likewise.
7040 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7041 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7042 (__ASSUME_REQUEUE_PI): Likewise.
7043 (__ASSUME_SET_ROBUST_LIST): Likewise.
7044 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7045 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7046 Undefine.
7047 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7048 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7049 Likewise.
7050 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7051 Likewise.
7052 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7053 Likewise.
7054 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7055 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7056 Undefine.
7057 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7058 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7059 Likewise.
7060
d7a68734
JM
7061 [BZ #16648]
7062 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7063 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7064 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7065
c760f5c2
WN
70662014-03-31 Will Newton <will.newton@linaro.org>
7067
7068 * benchtests/Makefile (bench): Add ffs and ffsll to list
7069 of tests.
7070 * benchtests/ffs-inputs: New file.
7071 * benchtests/ffsll-inputs: Likewise.
7072
ea6029b1
JM
70732014-03-29 Joseph Myers <joseph@codesourcery.com>
7074
7075 [BZ #16770]
7076 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7077 too large before casting to int.
7078 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7079 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7080 * math/libm-test.inc (scalb_test_data): Add more tests.
7081
cf806aff
SP
70822014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7083
56737508
SP
7084 * benchtests/Makefile (DETAILED_OPT): New make option.
7085 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7086 set.
7087 * benchtests/bench-skeleton.c: Include stdbool.h.
7088 (main): Store and print timings per input.
7089 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7090 member to each argument value.
7091 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7092 (_print_arg_data): Initialize per-input timing to 0.
7093
cb5e4aad
SP
7094 * benchtests/Makefile (timing-type): New binary.
7095 (bench-clean): Also remove bench-timing-type.
7096 (bench): New target for timing-type.
7097 (bench-func): Print output in JSON format.
7098 * benchtests/bench-skeleton.c (main): Print output in JSON
7099 format.
7100 * benchtests/bench-timing-type.c: New file.
7101 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7102 (TIMING_PRINT_STATS): Remove.
7103 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7104 name separately.
7105
cf806aff
SP
7106 * benchtests/bench-modf.c: Remove.
7107 * benchtests/modf-inputs: New inputs file.
7108
289e0779
JM
71092014-03-28 Joseph Myers <joseph@codesourcery.com>
7110
7111 [BZ #16362]
7112 * math/s_clog10.c (M_PI_LOG10E): New macro.
7113 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7114 imaginary parts are 0.
7115 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7116 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7117 imaginary parts are 0.
7118 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7119 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7120 imaginary parts are 0.
7121 * math/libm-test.inc (clog10_test_data): Update expected results
7122 for when real and imaginary parts are 0.
7123
277ae3f1
PP
71242014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7125
7126 * elf/dl-load.c: Finish conversion of __builtin_expect into
7127 __glibc_{un}likely.
7128
03a7091f
JM
71292014-03-27 Joseph Myers <joseph@codesourcery.com>
7130
7131 [BZ #16348]
7132 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7133 1+x for argument with exponent below -67.
7134 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7135 Likewise.
7136 * math/auto-libm-test-in: Add more tests of exp.
7137 * math/auto-libm-test-out: Regenerated.
7138
ea7d8b95
SP
71392014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7140
dd3022d7
SP
7141 [BZ #16759]
7142 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7143 (nscd_getnetgrent): Use it.
7144
ea7d8b95
SP
7145 [BZ #16760]
7146 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7147 of stpcpy.
7148
df5b85da
AK
71492014-03-27 Andi Kleen <ak@linux.intel.com>
7150
57f41c40
AS
7151 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7152 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7153 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7154 (lll_robust_unlock): Remove out of line section. Use cfi
7155 intrinsics.
df5b85da 7156 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
7157 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7158 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7159 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7160 (lll_robust_unlock): Remove out of line section. Use cfi
7161 intrinsics.
df5b85da
AK
7162 (LLL_STUB_UNWIND_INFO*): Remove.
7163
fbd6b5a4
SP
71642014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7165
7166 [BZ #16758]
7167 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7168 blank values.
7169
1b26b855
PP
71702014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7171
7172 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7173
9be36fb8
JM
71742014-03-26 Joseph Myers <joseph@codesourcery.com>
7175
7176 [BZ #16198]
7177 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7178 fnstenv.
7179 * math/test-fenv-preserve.c: New file.
7180 * math/Makefile (tests): Add test-fenv-preserve.
7181
60a2f3c1
WN
71822014-03-26 Will Newton <will.newton@linaro.org>
7183
7184 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7185
a5e5f1e2
RM
71862014-03-25 Roland McGrath <roland@hack.frob.com>
7187
7188 * scripts/versionlist.awk: Partition the version sets and emit all
7189 GLIBC_* (sorted) before all others (sorted).
7190
00f4012a
JM
71912014-03-25 Joseph Myers <joseph@codesourcery.com>
7192
7193 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7194 GLIBC_2.2.5 version.
7195
7bc5a741
AZ
71962014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7197
7198 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7199 calls.
7200
7578473b
AZ
7201 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7202 previous change.
7203
f3f1dab3
AZ
7204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7205
6da36183
AS
72062014-03-25 Andreas Schwab <schwab@suse.de>
7207
7208 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7209 label to be used after in6ailist is initialized.
7210
f3f1dab3 72112014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 7212
7578473b 7213 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
7214 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7215
046651c1
JM
72162014-03-25 Joseph Myers <joseph@codesourcery.com>
7217
7218 [BZ #16357]
7219 [BZ #16599]
7220 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7221 min_plus_half.
7222 (fp_formats): Update initializers.
7223 (init_fp_formats): Initialize new field.
7224 (output_for_one_input_case): Allow underflow for results up to
7225 min_plus_half.
7226 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7227 * math/auto-libm-test-in: Don't mark some underflows from asin and
7228 atanh as spurious.
7229 * math/auto-libm-test-out: Regenerated.
7230 * sysdeps/i386/fpu/libm-test-ulps: Update.
7231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7232
003e49ed
AS
72332014-03-25 Andreas Schwab <schwab@suse.de>
7234
7235 * libio/Makefile (tst-ftell-partial-wide-ENV)
7236 (tst-ftell-active-handler-ENV): Define.
7237
de031874
SL
72382014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7239
7240 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7241
55a81e3b
PP
72422014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7243
7244 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7245
f3426898
JM
72462014-03-24 Joseph Myers <joseph@codesourcery.com>
7247
7248 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7249 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7250 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7251
a42faf59
PP
72522014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7253
7254 [BZ #16634]
a42faf59 7255 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
7256 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7257 (open_path): Change from boolean 'secure' to complete flag 'mode'
7258 (_dl_map_object): Adjust.
a42faf59
PP
7259 * elf/Makefile (tests): Add tst-dlopen-aout.
7260 * elf/tst-dlopen-aout.c: New test.
7261
50936127
SL
72622014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7263
7264 [BZ #16714]
7265 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7266 (struct stat): Rename member pad0 to __glibc_reserved0.
7267
26011b5c
SL
7268 [BZ #16712]
7269 * sysdeps/s390/s390-32/bits/wordsize.h
7270 (__WORDSIZE32_SIZE_ULONG): New define.
7271 * sysdeps/s390/s390-64/bits/wordsize.h
7272 (__WORDSIZE32_SIZE_ULONG): Likewise.
7273 * sysdeps/generic/stdint.h (SIZE_MAX):
7274 Define as UL if __WORDSIZE32_SIZE_ULONG.
7275
a2d86bf1
SL
7276 [BZ #16713]
7277 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7278 (__glibc_reserved0): New variable.
7279 (sa_flags): Change type to int.
7280
78b6eebc
SL
7281 * posix/Makefile (before-compile): Use += before-compile instead
7282 of a :=.
7283
f1399b5a
SL
7284 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7285 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7286
a071766e
AS
72872014-03-20 Andreas Schwab <schwab@suse.de>
7288
7289 [BZ #16743]
7290 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7291 non-matching result from nscd.
7292
27c673b8
SP
72932014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7294
7295 * scripts/bench.py: Moved to ...
7296 * benchtests/scripts/bench.py: ... here.
7297 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7298
44152e4b
AS
72992014-03-24 Andreas Schwab <schwab@suse.de>
7300
7301 [BZ #16002]
7302 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7303 alloca_account and account alloca use for struct in6ailist.
7304
b376a11a
JM
73052014-03-24 Joseph Myers <joseph@codesourcery.com>
7306
7307 [BZ #16284]
7308 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7309 rounding mode to recompute results that overflow to infinity or
7310 underflow to zero.
7311 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7312 bug 16284.
7313 * math/auto-libm-test-out: Regenerated.
7314 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7315 (ccosh_test): Likewise.
7316 (csin_test_data): Use plus_oflow.
7317 (csin_test): Use ALL_RM_TEST.
7318 (csinh_test_data): Use plus_oflow.
7319 (csinh_test): Use ALL_RM_TEST.
7320 * sysdeps/i386/fpu/libm-test-ulps: Update.
7321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7322
f7be7376
JM
73232014-03-21 Joseph Myers <joseph@codesourcery.com>
7324
1ca2d03e
JM
7325 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7326 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7327 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7328
f7be7376
JM
7329 [BZ #16731]
7330 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7331 when x - 1 is zero.
7332 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7333 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7334 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7335 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7336 argument is 1.
7337 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7338 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7339 zero.
7340 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7341 * sysdeps/i386/fpu/libm-test-ulps: Update.
7342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7343
fdf4534d
SP
73442014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7345
df26ea53
SP
7346 * scripts/bench.pl: Remove file.
7347 * scripts/bench.py: New benchmark script.
7348 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7349 * benchtests/README: Mention python dependency.
7350 * scripts/pylintrc: New file.
7351 * scripts/pylint: New file.
7352
fdf4534d
SP
7353 * bits/mathdef.h: Use #ifdef instead of #if.
7354 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7355 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7356 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7357 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7358 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7359 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7360
6f23d093
AZ
73612014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7362 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7363
7364 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7365 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7366 and strpbrk-ppc64 objects.
7367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7368 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7369 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7370 multiarch strpbrk for POWER7.
7371 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7372 multiarch strpbrk for PPC64.
7373 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7374 ifunc selector.
7375 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7376 strpbrk for POWER7.
7377
8c92dfff
JM
73782014-03-20 Joseph Myers <joseph@codesourcery.com>
7379
7380 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7381 (atan_test): Likewise.
7382 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7383 (atanh_test): Use ALL_RM_TEST.
7384 (atan2_test_data): Likewise.
7385 (cabs_test): Likewise.
7386 (cacosh_test): Likewise.
7387 (carg_test): Likewise.
7388 (casin_test): Likewise.
7389 (casinh_test): Likewise.
7390 (cbrt_test): Likewise.
7391 (csqrt_test): Likewise.
7392 (erf_test): Likewise.
7393 (erfc_test): Likewise.
7394 (pow10_test): Likewise.
7395 (exp2_test): Likewise.
7396 (hypot_test): Likewise.
7397 (j0_test): Likewise.
7398 (j1_test): Likewise.
7399 (lgamma_test): Likewise.
7400 (gamma_test): Likewise.
7401 (sincos_test): Likewise.
7402 (tanh_test): Likewise.
7403 (y0_test): Likewise.
7404 (y1_test): Likewise.
7405 * sysdeps/i386/fpu/libm-test-ulps: Update.
7406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7407
6eaf95cb
AZ
74082014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7409
a387428c
SP
7410 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7411 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
7412 and strcspn-ppc64 objects.
7413 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7414 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7415 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7416 multiarch strcspn for POWER7.
7417 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7418 multiarch strcspn for PPC64.
7419 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7420 ifunc selector.
7421 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7422 strcspn for POWER7.
7423
ae3a5dff
JM
74242014-03-20 Joseph Myers <joseph@codesourcery.com>
7425
7426 * math/gen-libm-test.pl (generate_testfile): Expect only function
7427 name as argument to AUTO_TESTS_* and pass results for all rounding
7428 modes to parse_args.
7429 (parse_auto_input): Separate inputs of automatic tests from
7430 outputs before storing in %auto_tests.
7431 * math/libm-test.inc (acos_test_data): Update call to
7432 AUTO_TESTS_f_f.
7433 (acos_test): Use ALL_RM_TEST.
7434 (acos_tonearest_test_data): Remove.
7435 (acos_test_tonearest): Likewise.
7436 (acos_towardzero_test_data): Likewise.
7437 (acos_test_towardzero): Likewise.
7438 (acos_downward_test_data): Likewise.
7439 (acos_test_downward): Likewise.
7440 (acos_upward_test_data): Likewise.
7441 (acos_test_upward): Likewise.
7442 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7443 (asin_test_data): Likewise.
7444 (asin_test): Use ALL_RM_TEST.
7445 (asin_tonearest_test_data): Remove.
7446 (asin_test_tonearest): Likewise.
7447 (asin_towardzero_test_data): Likewise.
7448 (asin_test_towardzero): Likewise.
7449 (asin_downward_test_data): Likewise.
7450 (asin_test_downward): Likewise.
7451 (asin_upward_test_data): Likewise.
7452 (asin_test_upward): Likewise.
7453 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7454 (atan_test_data): Likewise.
7455 (atanh_test_data): Likewise.
7456 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7457 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7458 (carg_test_data): Likewise.
7459 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7460 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7461 (ccosh_test_data): Likewise.
7462 (cexp_test_data): Likewise.
7463 (clog_test_data): Likewise.
7464 (clog10_test_data): Likewise.
7465 (cos_test_data): Update call to AUTO_TESTS_f_f.
7466 (cos_test): Use ALL_RM_TEST.
7467 (cos_tonearest_test_data): Remove.
7468 (cos_test_tonearest): Likewise.
7469 (cos_towardzero_test_data): Likewise.
7470 (cos_test_towardzero): Likewise.
7471 (cos_downward_test_data): Likewise.
7472 (cos_test_downward): Likewise.
7473 (cos_upward_test_data): Likewise.
7474 (cos_test_upward): Likewise.
7475 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7476 (cosh_test): Use ALL_RM_TEST.
7477 (cosh_tonearest_test_data): Remove.
7478 (cosh_test_tonearest): Likewise.
7479 (cosh_towardzero_test_data): Likewise.
7480 (cosh_test_towardzero): Likewise.
7481 (cosh_downward_test_data): Likewise.
7482 (cosh_test_downward): Likewise.
7483 (cosh_upward_test_data): Likewise.
7484 (cosh_test_upward): Likewise.
7485 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7486 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7487 (ctan_test_data): Likewise.
7488 (ctan_test): Use ALL_RM_TEST.
7489 (ctan_tonearest_test_data): Remove.
7490 (ctan_test_tonearest): Likewise.
7491 (ctan_towardzero_test_data): Likewise.
7492 (ctan_test_towardzero): Likewise.
7493 (ctan_downward_test_data): Likewise.
7494 (ctan_test_downward): Likewise.
7495 (ctan_upward_test_data): Likewise.
7496 (ctan_test_upward): Likewise.
7497 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7498 (ctanh_test): Use ALL_RM_TEST.
7499 (ctanh_tonearest_test_data): Remove.
7500 (ctanh_test_tonearest): Likewise.
7501 (ctanh_towardzero_test_data): Likewise.
7502 (ctanh_test_towardzero): Likewise.
7503 (ctanh_downward_test_data): Likewise.
7504 (ctanh_test_downward): Likewise.
7505 (ctanh_upward_test_data): Likewise.
7506 (ctanh_test_upward): Likewise.
7507 (erf_test_data): Update call to AUTO_TESTS_f_f.
7508 (erfc_test_data): Likewise.
7509 (exp_test_data): Likewise.
7510 (exp_test): Use ALL_RM_TEST.
7511 (exp_tonearest_test_data): Remove.
7512 (exp_test_tonearest): Likewise.
7513 (exp_towardzero_test_data): Likewise.
7514 (exp_test_towardzero): Likewise.
7515 (exp_downward_test_data): Likewise.
7516 (exp_test_downward): Likewise.
7517 (exp_upward_test_data): Likewise.
7518 (exp_test_upward): Likewise.
7519 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7520 (exp10_test): Use ALL_RM_TEST.
7521 (exp10_tonearest_test_data): Remove.
7522 (exp10_test_tonearest): Likewise.
7523 (exp10_towardzero_test_data): Likewise.
7524 (exp10_test_towardzero): Likewise.
7525 (exp10_downward_test_data): Likewise.
7526 (exp10_test_downward): Likewise.
7527 (exp10_upward_test_data): Likewise.
7528 (exp10_test_upward): Likewise.
7529 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7530 (expm1_test_data): Likewise.
7531 (expm1_test): Use ALL_RM_TEST.
7532 (expm1_tonearest_test_data): Remove.
7533 (expm1_test_tonearest): Likewise.
7534 (expm1_towardzero_test_data): Likewise.
7535 (expm1_test_towardzero): Likewise.
7536 (expm1_downward_test_data): Likewise.
7537 (expm1_test_downward): Likewise.
7538 (expm1_upward_test_data): Likewise.
7539 (expm1_test_upward): Likewise.
7540 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7541 (fma_test): Use ALL_RM_TEST.
7542 (fma_towardzero_test_data): Remove.
7543 (fma_test_towardzero): Likewise.
7544 (fma_downward_test_data): Likewise.
7545 (fma_test_downward): Likewise.
7546 (fma_upward_test_data): Likewise.
7547 (fma_test_upward): Likewise.
7548 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7549 (j0_test_data): Update call to AUTO_TESTS_f_f.
7550 (j1_test_data): Likewise.
7551 (jn_test_data): Update call to AUTO_TESTS_if_f.
7552 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7553 (log_test_data): Update call to AUTO_TESTS_f_f.
7554 (log10_test_data): Likewise.
7555 (log1p_test_data): Likewise.
7556 (log2_test_data): Likewise.
7557 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7558 (pow_tonearest_test_data): Likewise.
7559 (sin_test_data): Update call to AUTO_TESTS_f_f.
7560 (sin_test): Use ALL_RM_TEST.
7561 (sin_tonearest_test_data): Remove.
7562 (sin_test_tonearest): Likewise.
7563 (sin_towardzero_test_data): Likewise.
7564 (sin_test_towardzero): Likewise.
7565 (sin_downward_test_data): Likewise.
7566 (sin_test_downward): Likewise.
7567 (sin_upward_test_data): Likewise.
7568 (sin_test_upward): Likewise.
7569 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7570 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7571 (sinh_test): Use ALL_RM_TEST.
7572 (sinh_tonearest_test_data): Remove.
7573 (sinh_test_tonearest): Likewise.
7574 (sinh_towardzero_test_data): Likewise.
7575 (sinh_test_towardzero): Likewise.
7576 (sinh_downward_test_data): Likewise.
7577 (sinh_test_downward): Likewise.
7578 (sinh_upward_test_data): Likewise.
7579 (sinh_test_upward): Likewise.
7580 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7581 (sqrt_test): Use ALL_RM_TEST.
7582 (sqrt_tonearest_test_data): Remove.
7583 (sqrt_test_tonearest): Likewise.
7584 (sqrt_towardzero_test_data): Likewise.
7585 (sqrt_test_towardzero): Likewise.
7586 (sqrt_downward_test_data): Likewise.
7587 (sqrt_test_downward): Likewise.
7588 (sqrt_upward_test_data): Likewise.
7589 (sqrt_test_upward): Likewise.
7590 (tan_test_data): Update call to AUTO_TESTS_f_f.
7591 (tan_test): Use ALL_RM_TEST.
7592 (tan_tonearest_test_data): Remove.
7593 (tan_test_tonearest): Likewise.
7594 (tan_towardzero_test_data): Likewise.
7595 (tan_test_towardzero): Likewise.
7596 (tan_downward_test_data): Likewise.
7597 (tan_test_downward): Likewise.
7598 (tan_upward_test_data): Likewise.
7599 (tan_test_upward): Likewise.
7600 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7601 (tgamma_test_data): Likewise.
7602 (y0_test_data): Likewise.
7603 (y1_test_data): Likewise.
7604 (yn_test_data): Update call to AUTO_TESTS_if_f.
7605 (main): Do not call removed functions.
7606
d71aeee8
JM
76072014-03-19 Joseph Myers <joseph@codesourcery.com>
7608
7609 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7610 (ldexp_test_data): Remove.
7611 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7612 scalbn_test_data.
7613 (scalb_test): Use ALL_RM_TEST.
7614
baaf1ded
AS
76152014-03-19 Andreas Schwab <schwab@suse.de>
7616
7617 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7618
b1115e91
JM
76192014-03-19 Joseph Myers <joseph@codesourcery.com>
7620
7621 [BZ #16649]
7622 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7623 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7624 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7625 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7626 (__ASSUME_PREADV): Undefine.
7627 (__ASSUME_PWRITEV): Likewise.
7628
0283ecca
RM
76292014-03-18 Roland McGrath <roland@hack.frob.com>
7630
7d375303
RM
7631 * bits/mman-linux.h: Add comment about non-Linux use.
7632 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7633 bits/mman-linux.h resting place.
7634
0283ecca
RM
7635 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7636 * bits/mman-linux.h: ... here.
7637
aebe1003
AZ
76382014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7639
7640 * conform/conformtest.pl: Add standard definition when calling C
7641 preprocessor on data files.
7642 (checknamespace): Remove unused variable.
7643
b29b6bb8
JM
76442014-03-18 Joseph Myers <joseph@codesourcery.com>
7645
7646 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7647 minus_oflow, plus_uflow and minus_uflow in expected results.
7648 * math/libm-test.inc (scalbn_test_data): Add more tests of
7649 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7650 minus_uflow.
7651 (scalbn_test): Use ALL_RM_TEST.
7652 (scalbln_test_data): Add more tests of negative arguments. Use
7653 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7654 (scalbln_test): Use ALL_RM_TEST.
7655
c8f8fa15
RM
76562014-03-18 Roland McGrath <roland@hack.frob.com>
7657
7658 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7659
fede7a5f
WN
76602014-03-18 Will Newton <will.newton@linaro.org>
7661
7662 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7663 inaccurate comment.
7664
80cf0a58
JM
76652014-03-18 Joseph Myers <joseph@codesourcery.com>
7666
7667 * Makerules [!subdir] (check-abi): Exit with error status if a
7668 test failed.
7669
b3620862
JM
76702014-03-17 Joseph Myers <joseph@codesourcery.com>
7671
7672 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7673 for rint. Include results for all rounding modes.
7674 (nearbyint_test): Use ALL_RM_TEST.
7675 (rint_test_data): Include all tests used for nearbyint.
7676
788bba36
WN
76772014-03-17 Will Newton <will.newton@linaro.org>
7678
04ec140a
WN
7679 * nptl/sysdeps/pthread/pthread.h: Revert previous
7680 change.
7681
7579d8d5
WN
7682 * sysdeps/generic/ldsodefs.h: Revert previous
7683 change.
7684
c15cf13a
WN
7685 * libio/genops.c: Revert previous change.
7686 * libio/libioP.h: Likewise.
7687 * stdio-common/vfprintf.c: Likewise.
7688
d0ac1324
WN
7689 * sysdeps/generic/math_private.h: Revert previous
7690 change.
7691
9290130a
WN
7692 * sysdeps/generic/math_private.h: Check whether
7693 HAVE_RM_CTX is defined with #ifdef rather
7694 than #if.
7695
afb466fc
WN
7696 * argp/argp-fmtstream.h: Check whether
7697 __STRICT_ANSI__ is defined with #ifdef rather
7698 than #if.
7699 * argp/argp.h: Likewise.
7700
f7efd7c3
WN
7701 * libio/genops.c: Check whether
7702 _IO_JUMPS_OFFSET is defined with #ifdef rather
7703 than #if.
7704 * libio/libioP.h: Likewise.
7705 * stdio-common/vfprintf.c: Likewise.
7706
53f1bed3
WN
7707 * sysdeps/generic/ldsodefs.h: Check whether
7708 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7709 than #if.
7710
788bba36
WN
7711 * nptl/sysdeps/pthread/pthread.h: Check
7712 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7713 its value.
7714
fcd89ebe
SP
77152014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7716
ae42bbc5
SP
7717 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7718 setting O_APPEND.
7719 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7720 test case.
7721
ea33158c
SP
7722 [BZ #16680]
7723 * libio/fileops.c (_IO_file_open): Seek to end of file but
7724 don't cache the offset.
7725 (get_file_offset): Remove function.
7726 (do_ftell): Use cached offset when available.
7727 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7728 don't cache the offset.
7729 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7730 case.
7731 (do_one_test): Call it.
7732 (do_ftell_test): Fix up expected old offset for a+ mode.
7733 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7734 available.
7735
b1dbb426
SP
7736 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7737 up test status with function return status.
7738 (do_write_test): Likewise.
7739 (do_append_test): Likewise.
7740
fcd89ebe
SP
7741 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7742 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7743 Remove.
7744
9962a2d3
JM
77452014-03-17 Joseph Myers <joseph@codesourcery.com>
7746
7747 * math/gen-libm-test.pl (parse_args): Handle results specified for
7748 each rounding mode separately.
7749 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7750 tests and results from lrint_tonearest_test_data,
7751 lrint_towardzero_test_data, lrint_downward_test_data and
7752 lrint_upward_test_data.
7753 (lrint_test): Use ALL_RM_TEST.
7754 (lrint_tonearest_test_data): Remove.
7755 (lrint_test_tonearest): Likewise.
7756 (lrint_towardzero_test_data): Likewise.
7757 (lrint_test_towardzero): Likewise.
7758 (lrint_downward_test_data): Likewise.
7759 (lrint_test_downward): Likewise.
7760 (lrint_upward_test_data): Likewise.
7761 (lrint_test_upward): Likewise.
7762 (llrint_test_data): Merge in per-rounding-mode tests and results
7763 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7764 llrint_downward_test_data and llrint_upward_test_data.
7765 (llrint_test): Use ALL_RM_TEST.
7766 (llrint_tonearest_test_data): Remove.
7767 (llrint_test_tonearest): Likewise.
7768 (llrint_towardzero_test_data): Likewise.
7769 (llrint_test_towardzero): Likewise.
7770 (llrint_downward_test_data): Likewise.
7771 (llrint_test_downward): Likewise.
7772 (llrint_upward_test_data): Likewise.
7773 (llrint_test_upward): Likewise.
7774 (rint_test_data): Merge in per-rounding-mode tests and results
7775 from rint_tonearest_test_data, rint_towardzero_test_data,
7776 rint_downward_test_data and rint_upward_test_data. Add
7777 per-rounding-mode results for tests not in those arrays.
7778 (rint_test): Use ALL_RM_TEST.
7779 (rint_tonearest_test_data): Remove.
7780 (rint_test_tonearest): Likewise.
7781 (rint_towardzero_test_data): Likewise.
7782 (rint_test_towardzero): Likewise.
7783 (rint_downward_test_data): Likewise.
7784 (rint_test_downward): Likewise.
7785 (rint_upward_test_data): Likewise.
7786 (rint_test_upward): Likewise.
7787 (main): Don't call removed functions.
7788
5006148e
RM
77892014-03-14 Roland McGrath <roland@hack.frob.com>
7790
7791 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7792 "Compiled on ..." crapola. It is anti-useful.
7793
d6fe5e58
JM
77942014-03-14 Joseph Myers <joseph@codesourcery.com>
7795
7796 * scripts/evaluate-test.sh: Handle fourth argument to determine
7797 whether test run should stop on failure.
7798 * Makeconfig (stop-on-test-failure): New variable.
7799 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7800 $(stop-on-test-failure).
7801 * Makefile (tests): Give a summary of results from testing and
7802 exit with failure status if they include an ERROR or FAIL.
7803 (xtests): Likewise.
7804 * manual/install.texi (Configuring and compiling): Mention
7805 stop-on-test-failure=y.
7806 * INSTALL: Regenerated.
7807
498a2233
RM
78082014-03-14 Roland McGrath <roland@hack.frob.com>
7809
22dbc19d
RM
7810 * scripts/versionlist.awk: New file.
7811 * Makerules [$(build-shared) = yes]
7812 (postclean-generated): Add Versions.def, not Versions.def.v and
7813 Versions.def.v.i.
7814 ($(common-objpfx)Versions.def.v.i): Target removed.
7815 ($(common-objpfx)Versions.def): New target.
7816 ($(common-objpfx)Versions.all): Depend on that rather that
7817 $(common-objpfx)Versions.def.v.
7818 * Versions.def: File removed.
7819
498a2233
RM
7820 * Makeconfig (+gccwarn): Add -Wundef.
7821 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7822 a dl-sysdep.h breaking its contract.
7823 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7824 * include/stackinfo.h: New file.
7825 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7826 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7827 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7828 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7829 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7830 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7831 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7832 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7833 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7834 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7835 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7836 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7837 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7838 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7839 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7840
c7de5025
AZ
78412014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7842
7843 [BZ #16707]
7844 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7845 implementation.
7846 * math/libm-test.inc (round_test_data): Add more tests.
7847
98fb27a3
AZ
7848 [BZ #16706]
7849 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7850 implementation.
7851 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7852
374f7f61
AZ
7853 [BZ #16701]
7854 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7855 implementation.
7856 * math/libm-test.inc (ceil_test_data): Add more tests.
7857
4655c291
AZ
7858 * math/libm-test.inc (trunc_test_data): Add more tests related to
7859 BZ#16414.
7860
d7329d4b
RM
78612014-03-14 Roland McGrath <roland@hack.frob.com>
7862
7863 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7864 with #if rather than #ifdef.
7865 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7866
aa4de9ce
L
78672014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7868
7869 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7870 first. Disable AVX-512 GCC support if assembler doesn't support
7871 it.
7872 * sysdeps/x86_64/configure: Regenerated.
7873
2e03fae7
CD
78742014-03-13 Carlos O'Donell <carlos@redhat.com>
7875
7876 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7877 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7878 (__old_pthread_attr_setstack): Likewise.
7879 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7880 [!_STACK_GROWS_DOWN]: Likewise.
7881
43ca83ec
MF
78822014-03-13 Mike Frysinger <vapier@gentoo.org>
7883
7884 * config.make.in (have-bash2): Delete.
7885 * configure.ac (libc_cv_have_bash2): Delete.
7886 * configure: Regenerate.
7887 * elf/Makefile (common-ldd-rewrite): Rename to ...
7888 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7889 (sh-ldd-rewrite): Delete.
7890 (bash-ldd-rewrite): Delete.
7891 (have-bash2): Delete checks.
57f41c40
AS
7892 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7893 ldd-rewrite.
c66e48b4
MF
7894
7895 * config.make.in (have-ksh): Delete.
7896 (KSH): Delete.
7897 * configure.ac (libc_cv_have_ksh): Delete.
7898 * configure: Regenerate.
7899
b93834ef
MF
7900 * elf/Makefile: Delete $(have-ksh) check.
7901 ($(objpfx)sotruss): Change KSH to BASH.
7902 * elf/sotruss.ksh: Rename to ...
7903 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7904 function style to match POSIX. Drop ksh vim mode setting.
7905
f3a4632a
MF
7906 * manual/time.texi (Specifying the Time Zone with TZ): Change
7907 Tuesday to Thursday.
7908
5896c8bd
MF
7909 * debug/tst-longjmp_chk2.c: Update header comment.
7910 (stackoverflow_handler): Add comment. Call assert on pass value.
7911
2d63a517
IZ
79122014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7913
7914 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7915 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7916 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7917 (La_x86_64_vector): Add zmm.
7918 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7919 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7920 ($(objpfx)tst-audit10): New target.
7921 ($(objpfx)tst-audit10.out): Likewise.
7922 (tst-audit10-ENV): New.
7923 (AVX512-CFLAGS): Likewise.
7924 (CFLAGS-tst-audit10.c): Likewise.
7925 (CFLAGS-tst-auditmod10a.c): Likewise.
7926 (CFLAGS-tst-auditmod10b.c): Likewise.
7927 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7928 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7929 * sysdeps/x86_64/configure: Regenerated.
7930 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7931 AVX-512 zmm register support.
7932 (_dl_x86_64_save_sse): Likewise.
7933 (_dl_x86_64_restore_sse): Likewise.
7934 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7935 size vector registers.
7936 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7937 (ZMM_SIZE): Likewise.
7938 * sysdeps/x86_64/tst-audit10.c: New file.
7939 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7940 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7941
44c4e5d5
RM
79422014-03-13 Roland McGrath <roland@hack.frob.com>
7943
7944 * configure.ac (HAVE_EHDR_START): New check.
7945 * configure: Regenerated.
7946 * config.h.in (HAVE_EHDR_START): New #undef.
7947 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7948 assuming the lowest-addressed segment maps the start of the file.
7949
acd6e389
JM
79502014-03-13 Joseph Myers <joseph@codesourcery.com>
7951
7952 * INSTALL: Regenerated.
7953
6f918f36
WN
79542014-03-13 Will Newton <will.newton@linaro.org>
7955
7956 * manual/setjmp.texi (System V contexts): Improve
7957 clarity and grammar of documentation.
7958
798212a0
PP
79592014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7960
7961 [BZ #16381]
798212a0 7962 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 7963 (tests-pie): Add tst-pie2.
798212a0
PP
7964 * elf/tst-pie2.c: New file.
7965 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7966 for ET_EXEC.
7967 * elf/rtld.c (map_doit): Load executable as lt_executable.
7968 (dl_main): Likewise.
7969
abe6d90c
JM
79702014-03-12 Joseph Myers <joseph@codesourcery.com>
7971
7972 [BZ #16642]
7973 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7974 (__ASSUME_PSELECT): Undefine.
7975
dd3946c6
AZ
79762014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7977
7978 [BZ #16689]
7979 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7980 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7981 static build.
7982 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7983 selector for static builds.
7984
c44496df
SP
79852014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7986
7987 [BZ #16695]
7988 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7989 key in the buffer.
7990
27c7220a
AZ
79912014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7992
57f41c40
AS
7993 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7994 IFUNC selector for static builds.
27c7220a 7995
600fa361
JM
79962014-03-11 Joseph Myers <joseph@codesourcery.com>
7997
76c96cf7
JM
7998 * sysdeps/mips/math_private.h [__mips_hard_float]
7999 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8000 libc_feresetround_mips_ctx.
8001 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8002 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8003 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8004
600fa361
JM
8005 [BZ #16677]
8006 * math/s_nextafter.c (__nextafter): Do not return value from
8007 overflowing computation.
8008 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8009 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8010 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8011 Likewise.
8012 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8013 Likewise.
8014 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8015 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8016
d7706c32
RM
80172014-03-11 Roland McGrath <roland@hack.frob.com>
8018
8019 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8020 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8021 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8022 the new mov targetting sp.
8023
4facea47
AZ
80242014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8025
8026 [BZ #16683]
8027 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8028 Define it for static builds as well.
8029 (NO_BZERO_IMPL): Likewise.
8030
e65caf1f
VR
80312014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8032
8033 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8034 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8035 multiarch strspn for PPC64.
8036 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8037 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8038 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8039 (__libc_ifunc_impl_list): Likewise.
8040 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8041 multiarch optimizations
8042 * string/strspn.c (strspn): Using macro to redefine symbol name.
8043
ba9cc071
AZ
80442014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8045 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8046
8047 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8048 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8049 multiarch strncat for PPC64.
8050 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8051 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8052 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8053 (__libc_ifunc_impl_list): Likewise.
8054 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8055 multiarch optimizations
8056
8b4ff974
SP
80572014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8058
8059 [BZ #16639]
8060 * nscd/nscd.service: Make service type forking.
8061
54b46a4b
AZ
80622014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8063
8064 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8065 sign in non default rounding modes.
8066 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8067
e9996ef7
JM
80682014-03-08 Joseph Myers <joseph@codesourcery.com>
8069
8070 * math/libm-test.inc (ALL_RM_TEST): New macro.
8071 (ceil_test): Use ALL_RM_TEST.
8072 (cimag_test): Likewise.
8073 (conj_test): Likewise.
8074 (copysign_test): Likewise.
8075 (cproj_test): Likewise.
8076 (creal_test): Likewise.
8077 (fabs_test): Likewise.
8078 (floor_test): Likewise.
8079 (fmax_test): Likewise.
8080 (fmin_test): Likewise.
8081 (fmod_test): Likewise.
8082 (fpclassify_test): Likewise.
8083 (frexp_test): Likewise.
8084 (ilogb_test): Likewise.
8085 (isfinite_test): Likewise.
8086 (finite_test): Likewise.
8087 (isgreater_test): Likewise.
8088 (isgreaterequal_test): Likewise.
8089 (isinf_test): Likewise.
8090 (isless_test): Likewise.
8091 (islessequal_test): Likewise.
8092 (islessgreater_test): Likewise.
8093 (isnan_test): Likewise.
8094 (isnormal_test): Likewise.
8095 (issignaling_test): Likewise.
8096 (isunordered_test): Likewise.
8097 (logb_test): Likewise.
8098 (logb_downward_test_data): Remove.
8099 (logb_test_downward): Likewise.
8100 (lround_test): Use ALL_RM_TEST.
8101 (llround_test): Likewise.
8102 (modf_test): Likewise.
8103 (nexttoward_test): Likewise.
8104 (remainder_test): Likewise.
8105 (drem_test): Likewise.
8106 (remainder_tonearest_test_data): Likewise.
8107 (remainder_test_tonearest): Likewise.
8108 (drem_test_tonearest): Likewise.
8109 (remainder_towardzero_test_data): Likewise.
8110 (remainder_test_towardzero): Likewise.
8111 (drem_test_towardzero): Likewise.
8112 (remainder_downward_test_data): Likewise.
8113 (remainder_test_downward): Likewise.
8114 (drem_test_downward): Likewise.
8115 (remainder_upward_test_data): Likewise.
8116 (remainder_test_upward): Likewise.
8117 (drem_test_upward): Likewise.
8118 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8119 (round_test): Use ALL_RM_TEST.
8120 (signbit_test): Likewise.
8121 (trunc_test): Likewise.
8122 (significand_test): Likewise.
8123 (main): Don't call removed functions.
8124
bc61d27c
JM
81252014-03-07 Joseph Myers <joseph@codesourcery.com>
8126
5c780849
JM
8127 [BZ #16674]
8128 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8129 || __USE_XOPEN2K8].
8130 (ILL_ILLOPN): Likewise.
8131 (ILL_ILLADR): Likewise.
8132 (ILL_ILLTRP): Likewise.
8133 (ILL_PRVOPC): Likewise.
8134 (ILL_PRVREG): Likewise.
8135 (ILL_COPROC): Likewise.
8136 (ILL_BADSTK): Likewise.
8137 (FPE_INTDIV): Likewise.
8138 (FPE_INTOVF): Likewise.
8139 (FPE_FLTDIV): Likewise.
8140 (FPE_FLTOVF): Likewise.
8141 (FPE_FLTUND): Likewise.
8142 (FPE_FLTRES): Likewise.
8143 (FPE_FLTINV): Likewise.
8144 (FPE_FLTSUB): Likewise.
8145 (SEGV_MAPERR): Likewise.
8146 (SEGV_ACCERR): Likewise.
8147 (BUS_ADRALN): Likewise.
8148 (BUS_ADRERR): Likewise.
8149 (BUS_OBJERR): Likewise.
8150 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8151 (TRAP_TRACE): Likewise.
8152 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8153 __USE_XOPEN2K8].
8154 (CLD_KILLED): Likewise.
8155 (CLD_DUMPED): Likewise.
8156 (CLD_TRAPPED): Likewise.
8157 (CLD_STOPPED): Likewise.
8158 (CLD_CONTINUED): Likewise.
8159 (POLL_IN): Likewise.
8160 (POLL_OUT): Likewise.
8161 (POLL_MSG): Likewise.
8162 (POLL_ERR): Likewise.
8163 (POLL_PRI): Likewise.
8164 (POLL_HUP): Likewise.
8165 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8166 Likewise.
8167 (ILL_ILLOPN): Likewise.
8168 (ILL_ILLADR): Likewise.
8169 (ILL_ILLTRP): Likewise.
8170 (ILL_PRVOPC): Likewise.
8171 (ILL_PRVREG): Likewise.
8172 (ILL_COPROC): Likewise.
8173 (ILL_BADSTK): Likewise.
8174 (FPE_INTDIV): Likewise.
8175 (FPE_INTOVF): Likewise.
8176 (FPE_FLTDIV): Likewise.
8177 (FPE_FLTOVF): Likewise.
8178 (FPE_FLTUND): Likewise.
8179 (FPE_FLTRES): Likewise.
8180 (FPE_FLTINV): Likewise.
8181 (FPE_FLTSUB): Likewise.
8182 (SEGV_MAPERR): Likewise.
8183 (SEGV_ACCERR): Likewise.
8184 (BUS_ADRALN): Likewise.
8185 (BUS_ADRERR): Likewise.
8186 (BUS_OBJERR): Likewise.
8187 (BUS_MCEERR_AR): Likewise.
8188 (BUS_MCEERR_AO): Likewise.
8189 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8190 (TRAP_TRACE): Likewise.
8191 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8192 __USE_XOPEN2K8].
8193 (CLD_KILLED): Likewise.
8194 (CLD_DUMPED): Likewise.
8195 (CLD_TRAPPED): Likewise.
8196 (CLD_STOPPED): Likewise.
8197 (CLD_CONTINUED): Likewise.
8198 (POLL_IN): Likewise.
8199 (POLL_OUT): Likewise.
8200 (POLL_MSG): Likewise.
8201 (POLL_ERR): Likewise.
8202 (POLL_PRI): Likewise.
8203 (POLL_HUP): Likewise.
8204 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8205 (ILL_ILLOPN): Likewise.
8206 (ILL_ILLADR): Likewise.
8207 (ILL_ILLTRP): Likewise.
8208 (ILL_PRVOPC): Likewise.
8209 (ILL_PRVREG): Likewise.
8210 (ILL_COPROC): Likewise.
8211 (ILL_BADSTK): Likewise.
8212 (FPE_INTDIV): Likewise.
8213 (FPE_INTOVF): Likewise.
8214 (FPE_FLTDIV): Likewise.
8215 (FPE_FLTOVF): Likewise.
8216 (FPE_FLTUND): Likewise.
8217 (FPE_FLTRES): Likewise.
8218 (FPE_FLTINV): Likewise.
8219 (FPE_FLTSUB): Likewise.
8220 (SEGV_MAPERR): Likewise.
8221 (SEGV_ACCERR): Likewise.
8222 (BUS_ADRALN): Likewise.
8223 (BUS_ADRERR): Likewise.
8224 (BUS_OBJERR): Likewise.
8225 (BUS_MCEERR_AR): Likewise.
8226 (BUS_MCEERR_AO): Likewise.
8227 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8228 (TRAP_TRACE): Likewise.
8229 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8230 __USE_XOPEN2K8].
8231 (CLD_KILLED): Likewise.
8232 (CLD_DUMPED): Likewise.
8233 (CLD_TRAPPED): Likewise.
8234 (CLD_STOPPED): Likewise.
8235 (CLD_CONTINUED): Likewise.
8236 (POLL_IN): Likewise.
8237 (POLL_OUT): Likewise.
8238 (POLL_MSG): Likewise.
8239 (POLL_ERR): Likewise.
8240 (POLL_PRI): Likewise.
8241 (POLL_HUP): Likewise.
8242 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8243 Likewise.
8244 (ILL_ILLOPN): Likewise.
8245 (ILL_ILLADR): Likewise.
8246 (ILL_ILLTRP): Likewise.
8247 (ILL_PRVOPC): Likewise.
8248 (ILL_PRVREG): Likewise.
8249 (ILL_COPROC): Likewise.
8250 (ILL_BADSTK): Likewise.
8251 (ILL_BADIADDR): Likewise.
8252 (ILL_BREAK): Likewise.
8253 (FPE_INTDIV): Likewise.
8254 (FPE_INTOVF): Likewise.
8255 (FPE_FLTDIV): Likewise.
8256 (FPE_FLTOVF): Likewise.
8257 (FPE_FLTUND): Likewise.
8258 (FPE_FLTRES): Likewise.
8259 (FPE_FLTINV): Likewise.
8260 (FPE_FLTSUB): Likewise.
8261 (FPE_DECOVF): Likewise.
8262 (FPE_DECDIV): Likewise.
8263 (FPE_DECERR): Likewise.
8264 (FPE_INVASC): Likewise.
8265 (FPE_INVDEC): Likewise.
8266 (SEGV_MAPERR): Likewise.
8267 (SEGV_ACCERR): Likewise.
8268 (SEGV_PSTKOVF): Likewise.
8269 (BUS_ADRALN): Likewise.
8270 (BUS_ADRERR): Likewise.
8271 (BUS_OBJERR): Likewise.
8272 (BUS_MCEERR_AR): Likewise.
8273 (BUS_MCEERR_AO): Likewise.
8274 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8275 (TRAP_TRACE): Likewise.
8276 (TRAP_BRANCH): Likewise.
8277 (TRAP_HWBKPT): Likewise.
8278 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8279 __USE_XOPEN2K8].
8280 (CLD_KILLED): Likewise.
8281 (CLD_DUMPED): Likewise.
8282 (CLD_TRAPPED): Likewise.
8283 (CLD_STOPPED): Likewise.
8284 (CLD_CONTINUED): Likewise.
8285 (POLL_IN): Likewise.
8286 (POLL_OUT): Likewise.
8287 (POLL_MSG): Likewise.
8288 (POLL_ERR): Likewise.
8289 (POLL_PRI): Likewise.
8290 (POLL_HUP): Likewise.
8291 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8292 (ILL_ILLOPN): Likewise.
8293 (ILL_ILLADR): Likewise.
8294 (ILL_ILLTRP): Likewise.
8295 (ILL_PRVOPC): Likewise.
8296 (ILL_PRVREG): Likewise.
8297 (ILL_COPROC): Likewise.
8298 (ILL_BADSTK): Likewise.
8299 (FPE_INTDIV): Likewise.
8300 (FPE_INTOVF): Likewise.
8301 (FPE_FLTDIV): Likewise.
8302 (FPE_FLTOVF): Likewise.
8303 (FPE_FLTUND): Likewise.
8304 (FPE_FLTRES): Likewise.
8305 (FPE_FLTINV): Likewise.
8306 (FPE_FLTSUB): Likewise.
8307 (SEGV_MAPERR): Likewise.
8308 (SEGV_ACCERR): Likewise.
8309 (BUS_ADRALN): Likewise.
8310 (BUS_ADRERR): Likewise.
8311 (BUS_OBJERR): Likewise.
8312 (BUS_MCEERR_AR): Likewise.
8313 (BUS_MCEERR_AO): Likewise.
8314 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8315 (TRAP_TRACE): Likewise.
8316 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8317 __USE_XOPEN2K8].
8318 (CLD_KILLED): Likewise.
8319 (CLD_DUMPED): Likewise.
8320 (CLD_TRAPPED): Likewise.
8321 (CLD_STOPPED): Likewise.
8322 (CLD_CONTINUED): Likewise.
8323 (POLL_IN): Likewise.
8324 (POLL_OUT): Likewise.
8325 (POLL_MSG): Likewise.
8326 (POLL_ERR): Likewise.
8327 (POLL_PRI): Likewise.
8328 (POLL_HUP): Likewise.
8329 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8330 (ILL_ILLOPN): Likewise.
8331 (ILL_ILLADR): Likewise.
8332 (ILL_ILLTRP): Likewise.
8333 (ILL_PRVOPC): Likewise.
8334 (ILL_PRVREG): Likewise.
8335 (ILL_COPROC): Likewise.
8336 (ILL_BADSTK): Likewise.
8337 (FPE_INTDIV): Likewise.
8338 (FPE_INTOVF): Likewise.
8339 (FPE_FLTDIV): Likewise.
8340 (FPE_FLTOVF): Likewise.
8341 (FPE_FLTUND): Likewise.
8342 (FPE_FLTRES): Likewise.
8343 (FPE_FLTINV): Likewise.
8344 (FPE_FLTSUB): Likewise.
8345 (SEGV_MAPERR): Likewise.
8346 (SEGV_ACCERR): Likewise.
8347 (BUS_ADRALN): Likewise.
8348 (BUS_ADRERR): Likewise.
8349 (BUS_OBJERR): Likewise.
8350 (BUS_MCEERR_AR): Likewise.
8351 (BUS_MCEERR_AO): Likewise.
8352 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8353 (TRAP_TRACE): Likewise.
8354 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8355 __USE_XOPEN2K8].
8356 (CLD_KILLED): Likewise.
8357 (CLD_DUMPED): Likewise.
8358 (CLD_TRAPPED): Likewise.
8359 (CLD_STOPPED): Likewise.
8360 (CLD_CONTINUED): Likewise.
8361 (POLL_IN): Likewise.
8362 (POLL_OUT): Likewise.
8363 (POLL_MSG): Likewise.
8364 (POLL_ERR): Likewise.
8365 (POLL_PRI): Likewise.
8366 (POLL_HUP): Likewise.
8367 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8368 (ILL_ILLOPN): Likewise.
8369 (ILL_ILLADR): Likewise.
8370 (ILL_ILLTRP): Likewise.
8371 (ILL_PRVOPC): Likewise.
8372 (ILL_PRVREG): Likewise.
8373 (ILL_COPROC): Likewise.
8374 (ILL_BADSTK): Likewise.
8375 (FPE_INTDIV): Likewise.
8376 (FPE_INTOVF): Likewise.
8377 (FPE_FLTDIV): Likewise.
8378 (FPE_FLTOVF): Likewise.
8379 (FPE_FLTUND): Likewise.
8380 (FPE_FLTRES): Likewise.
8381 (FPE_FLTINV): Likewise.
8382 (FPE_FLTSUB): Likewise.
8383 (SEGV_MAPERR): Likewise.
8384 (SEGV_ACCERR): Likewise.
8385 (BUS_ADRALN): Likewise.
8386 (BUS_ADRERR): Likewise.
8387 (BUS_OBJERR): Likewise.
8388 (BUS_MCEERR_AR): Likewise.
8389 (BUS_MCEERR_AO): Likewise.
8390 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8391 (TRAP_TRACE): Likewise.
8392 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8393 __USE_XOPEN2K8].
8394 (CLD_KILLED): Likewise.
8395 (CLD_DUMPED): Likewise.
8396 (CLD_TRAPPED): Likewise.
8397 (CLD_STOPPED): Likewise.
8398 (CLD_CONTINUED): Likewise.
8399 (POLL_IN): Likewise.
8400 (POLL_OUT): Likewise.
8401 (POLL_MSG): Likewise.
8402 (POLL_ERR): Likewise.
8403 (POLL_PRI): Likewise.
8404 (POLL_HUP): Likewise.
8405 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8406 (ILL_ILLOPN): Likewise.
8407 (ILL_ILLADR): Likewise.
8408 (ILL_ILLTRP): Likewise.
8409 (ILL_PRVOPC): Likewise.
8410 (ILL_PRVREG): Likewise.
8411 (ILL_COPROC): Likewise.
8412 (ILL_BADSTK): Likewise.
8413 (ILL_DBLFLT): Likewise.
8414 (ILL_HARDWALL): Likewise.
8415 (FPE_INTDIV): Likewise.
8416 (FPE_INTOVF): Likewise.
8417 (FPE_FLTDIV): Likewise.
8418 (FPE_FLTOVF): Likewise.
8419 (FPE_FLTUND): Likewise.
8420 (FPE_FLTRES): Likewise.
8421 (FPE_FLTINV): Likewise.
8422 (FPE_FLTSUB): Likewise.
8423 (SEGV_MAPERR): Likewise.
8424 (SEGV_ACCERR): Likewise.
8425 (BUS_ADRALN): Likewise.
8426 (BUS_ADRERR): Likewise.
8427 (BUS_OBJERR): Likewise.
8428 (BUS_MCEERR_AR): Likewise.
8429 (BUS_MCEERR_AO): Likewise.
8430 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8431 (TRAP_TRACE): Likewise.
8432 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8433 __USE_XOPEN2K8].
8434 (CLD_KILLED): Likewise.
8435 (CLD_DUMPED): Likewise.
8436 (CLD_TRAPPED): Likewise.
8437 (CLD_STOPPED): Likewise.
8438 (CLD_CONTINUED): Likewise.
8439 (POLL_IN): Likewise.
8440 (POLL_OUT): Likewise.
8441 (POLL_MSG): Likewise.
8442 (POLL_ERR): Likewise.
8443 (POLL_PRI): Likewise.
8444 (POLL_HUP): Likewise.
8445 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8446 (ILL_ILLOPN): Likewise.
8447 (ILL_ILLADR): Likewise.
8448 (ILL_ILLTRP): Likewise.
8449 (ILL_PRVOPC): Likewise.
8450 (ILL_PRVREG): Likewise.
8451 (ILL_COPROC): Likewise.
8452 (ILL_BADSTK): Likewise.
8453 (FPE_INTDIV): Likewise.
8454 (FPE_INTOVF): Likewise.
8455 (FPE_FLTDIV): Likewise.
8456 (FPE_FLTOVF): Likewise.
8457 (FPE_FLTUND): Likewise.
8458 (FPE_FLTRES): Likewise.
8459 (FPE_FLTINV): Likewise.
8460 (FPE_FLTSUB): Likewise.
8461 (SEGV_MAPERR): Likewise.
8462 (SEGV_ACCERR): Likewise.
8463 (BUS_ADRALN): Likewise.
8464 (BUS_ADRERR): Likewise.
8465 (BUS_OBJERR): Likewise.
8466 (BUS_MCEERR_AR): Likewise.
8467 (BUS_MCEERR_AO): Likewise.
8468 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8469 (TRAP_TRACE): Likewise.
8470 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8471 __USE_XOPEN2K8].
8472 (CLD_KILLED): Likewise.
8473 (CLD_DUMPED): Likewise.
8474 (CLD_TRAPPED): Likewise.
8475 (CLD_STOPPED): Likewise.
8476 (CLD_CONTINUED): Likewise.
8477 (POLL_IN): Likewise.
8478 (POLL_OUT): Likewise.
8479 (POLL_MSG): Likewise.
8480 (POLL_ERR): Likewise.
8481 (POLL_PRI): Likewise.
8482 (POLL_HUP): Likewise.
8483 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8484 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8485
bc61d27c
JM
8486 [BZ #16670]
8487 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8488 before #include of <time.h>.
8489 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8490 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8491 (test-xfail-UNIX98/sched.h/conform): Likewise.
8492
302949e2
MS
84932014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8494
8495 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8496 error absence of trapping exception support.
8497 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8498
a00f522a
JM
84992014-03-07 Joseph Myers <joseph@codesourcery.com>
8500
6f99f280
JM
8501 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8502 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8503 * timezone/Makefile (testdata): Move definition above include of
8504 Rules.
8505 (test-zones): New variable.
8506 (tests-special): Add zone files.
8507 (build-testdata): Use $(evaluate-test).
8508
0b20a9e8
JM
8509 * elf/Makefile (tests-special): Rename tests to end with .out.
8510 ($(objpfx)noload-mem): Likewise.
8511 ($(objpfx)tst-leaks1-mem): Likewise.
8512 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8513 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8514 $(objpfx)test-iconvconfig.out.
8515 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8516 set -e inside subshell and redirect output to file.
8517 * iconvdata/Makefile (generated): Rename tests to end with .out.
8518 Correct type.
8519 (tests-special): Rename tests to end with .out.
8520 ($(objpfx)mtrace-tst-loading): Likewise.
8521 * intl/Makefile (generated): Likewise.
8522 (tests-special): Likewise.
8523 ($(objpfx)mtrace-tst-gettext): Likewise.
8524 * misc/Makefile (generated): Likewise.
8525 (tests-special): Likewise.
8526 ($(objpfx)tst-error1-mem): Likewise.
8527 * nptl/Makefile (tests-special): Likewise.
8528 ($(objpfx)tst-stack3-mem): Likewise.
8529 (generated): Likewise.
8530 * posix/Makefile (generated): Likewise.
8531 (tests-special): Likewise.
8532 (xtests-special): Likewise.
8533 ($(objpfx)tst-fnmatch-mem): Likewise.
8534 ($(objpfx)bug-regex2-mem): Likewise.
8535 ($(objpfx)bug-regex14-mem): Likewise.
8536 ($(objpfx)bug-regex21-mem): Likewise.
8537 ($(objpfx)bug-regex31-mem): Likewise.
8538 ($(objpfx)tst-vfork3-mem): Likewise.
8539 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8540 ($(objpfx)tst-pcre-mem): Likewise.
8541 ($(objpfx)tst-boost-mem): Likewise.
8542 ($(objpfx)bug-ga2-mem): Likewise.
8543 ($(objpfx)bug-glob2-mem): Likewise.
8544 * resolv/Makefile (generate): Likewise.
8545 (tests-special): Likewise.
8546 (xtests-special): Likewise.
8547 (generated): Likewise.
8548 ($(objpfx)mtrace-tst-leaks): Likewise.
8549 ($(objpfx)mtrace-tst-leaks2): Likewise.
8550
265d52ab
JM
8551 * scripts/merge-test-results.sh: New file.
8552 * Makefile (tests-special-notdir): New variable.
8553 (tests): Run merge-test-results.sh.
8554 (xtests): Likewise.
8555 * Rules (tests-special-notdir): New variable.
8556 (xtests-special-notdir): Likewise.
8557 (tests): Run merge-test-results.sh
8558 (xtests): Likewise.
8559
54ee292d
JM
8560 * Makeconfig (test-xfail-name): New variable.
8561 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8562 compute variable name for expected failures.
8563 * conform/Makefile (conformtest-headers-data): New variable.
8564 (conformtest-standards): Likewise.
8565 (conformtest-headers-ISO): Likewise.
8566 (conformtest-headers-ISO99): Likewise.
8567 (conformtest-headers-ISO11): Likewise.
8568 (conformtest-headers-POSIX): Likewise.
8569 (conformtest-headers-XPG3): Likewise.
8570 (conformtest-headers-XPG4): Likewise.
8571 (conformtest-headers-UNIX98): Likewise.
8572 (conformtest-headers-XOPEN2K): Likewise.
8573 (conformtest-headers-POSIX2008): Likewise.
8574 (conformtest-headers-XOPEN2K8): Likewise.
8575 (conformtest-header-list-base): Likewise.
8576 (conformtest-header-list-tests): Likewise.
8577 (conformtest-header-base): Likewise.
8578 (conformtest-header-tests): Likewise.
8579 (tests-special): Add $(conformtest-header-list-tests). If
8580 [$(fast-check) && !$(cross-compiling)], add
8581 $(conformtest-header-tests) instead of
8582 $(objpfx)run-conformtest.out.
8583 (generated): Add $(conformtest-header-list-base). If
8584 [$(fast-check) && !$(cross-compiling)], add
8585 $(conformtest-header-base). Remove previous setting.
8586 ($(conformtest-header-list-tests)): New target.
8587 (test-xfail-run-conformtest): Remove variable.
8588 ($(objpfx)run-conformtest.out): Remove target.
8589 (test-xfail-ISO11/complex.h/conform): New variable.
8590 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8591 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8592 (test-xfail-XPG3/varargs.h/conform): Likewise.
8593 (test-xfail-XPG4/varargs.h/conform): Likewise.
8594 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8595 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8596 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8597 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8598 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8599 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8600 (test-xfail-XPG3/ftw.h/conform): Likewise.
8601 (test-xfail-XPG3/grp.h/conform): Likewise.
8602 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8603 (test-xfail-XPG3/limits.h/conform): Likewise.
8604 (test-xfail-XPG3/pwd.h/conform): Likewise.
8605 (test-xfail-XPG3/search.h/conform): Likewise.
8606 (test-xfail-XPG3/signal.h/conform): Likewise.
8607 (test-xfail-XPG3/stdio.h/conform): Likewise.
8608 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8609 (test-xfail-XPG3/string.h/conform): Likewise.
8610 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8611 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8612 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8613 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8614 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8615 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8616 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8617 (test-xfail-XPG3/termios.h/conform): Likewise.
8618 (test-xfail-XPG3/time.h/conform): Likewise.
8619 (test-xfail-XPG3/unistd.h/conform): Likewise.
8620 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8621 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8622 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8623 (test-xfail-XPG4/netdb.h/conform): Likewise.
8624 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8625 (test-xfail-XPG4/signal.h/conform): Likewise.
8626 (test-xfail-XPG4/stdio.h/conform): Likewise.
8627 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8628 (test-xfail-XPG4/stropts.h/conform): Likewise.
8629 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8630 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8631 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8632 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8633 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8634 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8635 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8636 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8637 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8638 (test-xfail-XPG4/termios.h/conform): Likewise.
8639 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8640 (test-xfail-XPG4/unistd.h/conform): Likewise.
8641 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8642 (test-xfail-POSIX/sched.h/conform): Likewise.
8643 (test-xfail-POSIX/signal.h/conform): Likewise.
8644 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8645 (test-xfail-POSIX/tar.h/conform): Likewise.
8646 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8647 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8648 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8649 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8650 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8651 (test-xfail-UNIX98/sched.h/conform): Likewise.
8652 (test-xfail-UNIX98/signal.h/conform): Likewise.
8653 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8654 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8655 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8656 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8657 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8658 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8659 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8660 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8661 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8662 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8663 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8664 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8665 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8666 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8667 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8668 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8669 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8670 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8671 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8672 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8673 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8674 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8675 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8676 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8677 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8678 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8679 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8680 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8681 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8682 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8683 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8684 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8685 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8686 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8687 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8688 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8689 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8690 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8691 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8692 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8693 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8694 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8695 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8696 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8697 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8698 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8699 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8700 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8701 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8702 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8703 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8704 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8705 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8706 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8707 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8708 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8709 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8710 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8711 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8712 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8713 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8714 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8715 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8716 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8717 (conformtest-cc-flags): Likewise.
8718 ($(conformtest-header-tests): New target.
8719 * conform/check-header-lists.sh: New file.
8720 * conform/run-conformtest.sh: Remove.
8721
a00f522a
JM
8722 * conform/conformtest.pl: Allow ' and \ in values given for
8723 constants.
8724 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8725 inclusion.
8726 [POSIX] (sys/types.h): Likewise.
8727 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8728 inclusion.
8729 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8730 inclusion.
8731 * conform/data/signal.h-data (SIGIO): Remove expectation.
8732 [XPG3] (SIGBUS): Do not expect.
8733 [POSIX || XPG3] (SIGPOLL): Likewise.
8734 [POSIX || XPG3] (SIGPROF): Likewise.
8735 [POSIX || XPG3] (SIGSYS): Likewise.
8736 [XPG3] (SIGTRAP): Likewise.
8737 [POSIX || XPG3] (SIGURG): Likewise.
8738 [POSIX || XPG3] (SIGVTALRM): Likewise.
8739 [POSIX || XPG3] (SIGXCPU): Likewise.
8740 [POSIX || XPG3] (SIGXFSZ): Likewise.
8741 [POSIX] (SA_SIGINFO): Expect.
8742 [XPG3] (siginfo_t): Do not expect type or contents.
8743 [POSIX] (si_pid): Do not expect element.
8744 [POSIX] (si_uid): Likewise.
8745 [POSIX] (si_addr): Likewise.
8746 [POSIX] (si_status): Likewise.
8747 [POSIX] (si_band): Likewise.
8748 [XPG4] (si_value): Likewise.
8749 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8750 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8751 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8752 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8753 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8754 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8755 [POSIX || XPG3] (ILL_COPROC): Likewise.
8756 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8757 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8758 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8759 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8760 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8761 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8762 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8763 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8764 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8765 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8766 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8767 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8768 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8769 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8770 [POSIX || XPG3] (CLD_EXITED): Likewise.
8771 [POSIX || XPG3] (CLD_KILLED): Likewise.
8772 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8773 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8774 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8775 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8776 [POSIX || XPG3] (POLL_IN): Likewise.
8777 [POSIX || XPG3] (POLL_OUT): Likewise.
8778 [POSIX || XPG3] (POLL_MSG): Likewise.
8779 [POSIX || XPG3] (POLL_ERR): Likewise.
8780 [POSIX || XPG3] (POLL_PRI): Likewise.
8781 [POSIX || XPG3] (POLL_HUP): Likewise.
8782 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8783 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8784 (SIG*): Do not allow.
8785 [XPG3] (si_*): Likewise.
8786 [XPG3] (SI_*): Likewise.
8787 [XPG3 || XPG4] (sigev_*): Likewise.
8788 [XPG3 || XPG4] (SIGEV_*): Likewise.
8789 [XPG3 || XPG4] (sival_*): Likewise.
8790 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8791 [POSIX || XPG3] (BUS_*): Likewise.
8792 [POSIX || XPG3] (CLD_*): Likewise.
8793 [POSIX || XPG3] (FPE_*): Likewise.
8794 [POSIX || XPG3] (ILL_*): Likewise.
8795 [POSIX || XPG3] (POLL_*): Likewise.
8796 [POSIX || XPG3] (SEGV_*): Likewise.
8797 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8798 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8799 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8800 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8801 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8802 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8803 Specify type and value.
8804 (TVERSLEN): Likewise.
8805 (REGTYPE): Likewise.
8806 (AREGTYPE): Likewise.
8807 (LNKTYPE): Likewise.
8808 (SYMTYPE): Likewise.
8809 (CHRTYPE): Likewise.
8810 (BLKTYPE): Likewise.
8811 (DIRTYPE): Likewise.
8812 (FIFOTYPE): Likewise.
8813 (CONTTYPE): Likewise.
8814 (TSUID): Likewise.
8815 (TSGID): Likewise.
8816 (TSVTX): Likewise.
8817 (TUREAD): Likewise.
8818 (TUWRITE): Likewise.
8819 (TUEXEC): Likewise.
8820 (TGREAD): Likewise.
8821 (TGWRITE): Likewise.
8822 (TGEXEC): Likewise.
8823 (TOREAD): Likewise.
8824 (TOWRITE): Likewise.
8825 (TOEXEC): Likewise.
8826 [POSIX] (TSVTX): Expect constant.
8827
aa97dee1
JM
88282014-03-06 Joseph Myers <joseph@codesourcery.com>
8829
f214606a
JM
8830 * Makefile (tests): Change dependencies to ....
8831 (tests-special): ... additions to this variable.
8832 (tests): Depend on $(tests-special).
8833 * Makerules (check-abi-list): New variable.
8834 (check-abi): Depend on $(check-abi-list).
8835 [$(subdir) = elf] (tests-special): Add
8836 $(objpfx)check-abi-libc.out.
8837 [$(build-shared) = yes && subdir] (tests-special): Add
8838 $(check-abi-list).
8839 [$(build-shared) = yes && subdir] (tests): Do not depend on
8840 check-abi.
8841 * Rules (tests): Depend on $(tests-special).
8842 (xtests): Depend on $(xtests-special).
8843 * catgets/Makefile (tests): Change dependencies to ....
8844 (tests-special): ... additions to this variable.
8845 * conform/Makefile (tests): Change dependencies to ....
8846 (tests-special): ... additions to this variable.
8847 * elf/Makefile (tests): Change dependencies to ....
8848 (tests-special): ... additions to this variable.
8849 * grp/Makefile (tests): Change dependencies to ....
8850 (tests-special): ... additions to this variable.
8851 * iconv/Makefile (xtests): Change dependencies to ....
8852 (xtests-special): ... additions to this variable.
8853 * iconvdata/Makefile (tests): Change dependencies to ....
8854 (tests-special): ... additions to this variable.
8855 * intl/Makefile (tests): Change dependencies to ....
8856 (tests-special): ... additions to this variable. Also add
8857 $(objpfx)tst-gettext.out.
8858 * io/Makefile (tests): Change dependencies to ....
8859 (tests-special): ... additions to this variable.
8860 * libio/Makefile (tests): Change dependencies to ....
8861 (tests-special): ... additions to this variable.
8862 * malloc/Makefile (tests): Change dependencies to ....
8863 (tests-special): ... additions to this variable.
8864 * misc/Makefile (tests): Change dependencies to ....
8865 (tests-special): ... additions to this variable.
8866 * nptl/Makefile (tests): Change dependencies to ....
8867 (tests-special): ... additions to this variable.
8868 * nptl_db/Makefile (tests): Change dependencies to ....
8869 (tests-special): ... additions to this variable.
8870 * posix/Makefile (tests): Change dependencies to ....
8871 (tests-special): ... additions to this variable.
8872 (xtests): Change dependencies to ....
8873 (xtests-special): ... additions to this variable.
8874 * resolv/Makefile (tests): Change dependencies to ....
8875 (tests-special): ... additions to this variable.
8876 (xtests): Change dependencies to ....
8877 (xtests-special): ... additions to this variable.
8878 * stdio-common/Makefile (tests): Change dependencies to ....
8879 (tests-special): ... additions to this variable.
8880 (do-tst-unbputc): Remove target.
8881 (do-tst-printf): Likewise.
8882 * stdlib/Makefile (tests): Change dependencies to ....
8883 (tests-special): ... additions to this variable.
8884 * string/Makefile (tests): Change dependencies to ....
8885 (tests-special): ... additions to this variable.
8886 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8887 (tests-special): ... additions to this variable.
8888
81700b53
JM
8889 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8890 whole file.
8891 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8892 whole file.
8893 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8894 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8895
2ea18461
JM
8896 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8897 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8898 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8899 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8900 * conform/data/libgen.h-data [XPG3]: Likewise.
8901 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8902 * conform/data/ndbm.h-data [XPG3]: Likewise.
8903 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8904 * conform/data/netdb.h-data [XPG3]: Likewise.
8905 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8906 * conform/data/poll.h-data [XPG3]: Likewise.
8907 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8908 * conform/data/strings.h-data [XPG3]: Likewise.
8909 * conform/data/stropts.h-data [XPG3]: Likewise.
8910 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8911 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8912 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8913 Likewise.
8914 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8915 * conform/data/sys/time.h-data [XPG3]: Likewise.
8916 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8917 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8918 * conform/data/sys/un.h-data [XPG3]: Likewise.
8919 * conform/data/syslog.h-data [XPG3]: Likewise.
8920 * conform/data/ucontext.h-data [XPG3]: Likewise.
8921 * conform/data/utmpx.h-data [XPG3]: Likewise.
8922 * conform/data/varargs.h-data [UNIX98]: Enable file.
8923
355bc986
JM
8924 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8925
215db402
JM
8926 * math/libm-test.inc (struct test_f_f_data): Move expected results
8927 into structure for each rounding mode.
8928 (struct test_ff_f_data): Likewise.
8929 (struct test_ff_f_data_nexttoward): Likewise.
8930 (struct test_fi_f_data): Likewise.
8931 (struct test_fl_f_data): Likewise.
8932 (struct test_if_f_data): Likewise.
8933 (struct test_fff_f_data): Likewise.
8934 (struct test_c_f_data): Likewise.
8935 (struct test_f_f1_data): Likewise.
8936 (struct test_fF_f1_data): Likewise.
8937 (struct test_ffI_f1_data): Likewise.
8938 (struct test_c_c_data): Likewise.
8939 (struct test_cc_c_data): Likewise.
8940 (struct test_f_i_data): Likewise.
8941 (struct test_ff_i_data): Likewise.
8942 (struct test_f_l_data): Likewise.
8943 (struct test_f_L_data): Likewise.
8944 (struct test_fFF_11_data): Likewise.
8945 (RM_): New macro.
8946 (RM_FE_DOWNWARD): Likewise.
8947 (RM_FE_TONEAREST): Likewise.
8948 (RM_FE_TOWARDZERO): Likewise.
8949 (RM_FE_UPWARD): Likewise.
8950 (RUN_TEST_LOOP_f_f): Update references to expected results.
8951 (RUN_TEST_LOOP_2_f): Likewise.
8952 (RUN_TEST_LOOP_fff_f): Likewise.
8953 (RUN_TEST_LOOP_c_f): Likewise.
8954 (RUN_TEST_LOOP_f_f1): Likewise.
8955 (RUN_TEST_LOOP_fF_f1): Likewise.
8956 (RUN_TEST_LOOP_fI_f1): Likewise.
8957 (RUN_TEST_LOOP_ffI_f1): Likewise.
8958 (RUN_TEST_LOOP_c_c): Likewise.
8959 (RUN_TEST_LOOP_cc_c): Likewise.
8960 (RUN_TEST_LOOP_f_i): Likewise.
8961 (RUN_TEST_LOOP_f_i_tg): Likewise.
8962 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8963 (RUN_TEST_LOOP_f_b): Likewise.
8964 (RUN_TEST_LOOP_f_b_tg): Likewise.
8965 (RUN_TEST_LOOP_f_l): Likewise.
8966 (RUN_TEST_LOOP_f_L): Likewise.
8967 (RUN_TEST_LOOP_fFF_11): Likewise.
8968 * math/gen-libm-test.pl (parse_args): Output four copies of
8969 expected results for each test.
8970
67737b8f
JM
8971 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8972 (__ASSUME_UTIMES): Remove.
8973 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8974 (__ASSUME_UTIMES): Likewise.
8975
aa97dee1
JM
8976 * math/gen-auto-libm-tests.c: Update comment on output format.
8977 (output_for_one_input_case): Generate before-rounding and
8978 after-rounding information as conditions on output flags not
8979 floating-point format.
8980 * math/auto-libm-test-out: Regenerated.
8981 * math/gen-libm-test.pl (cond_value): New function.
8982 (or_cond_value): Use cond_value.
8983 (generate_testfile): Handle conditional exceptions.
8984
e6b6a857
JM
89852014-03-05 Joseph Myers <joseph@codesourcery.com>
8986
2f0a0f44
JM
8987 * math/libm-test.inc (max_valid_error): New variable.
8988 (init_max_error): Take new argument specifying whether function
8989 results are exactly determined. Set max_valid_error and bound
8990 other variables for errors based on this argument.
8991 (set_max_error): Do not record results above max_valid_error.
8992 (check_float_internal): Only accept errors of up to 0.5ulps if
8993 also at most max_valid_error.
8994 (START): Take new argument EXACT and pass it to init_max_error.
8995 (acos_test): Update call to START.
8996 (acos_test_tonearest): Likewise.
8997 (acos_test_towardzero): Likewise.
8998 (acos_test_downward): Likewise.
8999 (acos_test_upward): Likewise.
9000 (acosh_test): Likewise.
9001 (asin_test): Likewise.
9002 (asin_test_tonearest): Likewise.
9003 (asin_test_towardzero): Likewise.
9004 (asin_test_downward): Likewise.
9005 (asin_test_upward): Likewise.
9006 (asinh_test): Likewise.
9007 (atan_test): Likewise.
9008 (atanh_test): Likewise.
9009 (atan2_test): Likewise.
9010 (cabs_test): Likewise.
9011 (cacos_test): Likewise.
9012 (cacosh_test): Likewise.
9013 (carg_test): Likewise.
9014 (casin_test): Likewise.
9015 (casinh_test): Likewise.
9016 (catan_test): Likewise.
9017 (catanh_test): Likewise.
9018 (cbrt_test): Likewise.
9019 (ccos_test): Likewise.
9020 (ccosh_test): Likewise.
9021 (ceil_test): Likewise.
9022 (cexp_test): Likewise.
9023 (cimag_test): Likewise.
9024 (clog_test): Likewise.
9025 (clog10_test): Likewise.
9026 (conj_test): Likewise.
9027 (copysign_test): Likewise.
9028 (cos_test): Likewise.
9029 (cos_test_tonearest): Likewise.
9030 (cos_test_towardzero): Likewise.
9031 (cos_test_downward): Likewise.
9032 (cos_test_upward): Likewise.
9033 (cosh_test): Likewise.
9034 (cosh_test_tonearest): Likewise.
9035 (cosh_test_towardzero): Likewise.
9036 (cosh_test_downward): Likewise.
9037 (cosh_test_upward): Likewise.
9038 (cpow_test): Likewise.
9039 (cproj_test): Likewise.
9040 (creal_test): Likewise.
9041 (csin_test): Likewise.
9042 (csinh_test): Likewise.
9043 (csqrt_test): Likewise.
9044 (ctan_test): Likewise.
9045 (ctan_test_tonearest): Likewise.
9046 (ctan_test_towardzero): Likewise.
9047 (ctan_test_downward): Likewise.
9048 (ctan_test_upward): Likewise.
9049 (ctanh_test): Likewise.
9050 (ctanh_test_tonearest): Likewise.
9051 (ctanh_test_towardzero): Likewise.
9052 (ctanh_test_downward): Likewise.
9053 (ctanh_test_upward): Likewise.
9054 (erf_test): Likewise.
9055 (erfc_test): Likewise.
9056 (exp_test): Likewise.
9057 (exp_test_tonearest): Likewise.
9058 (exp_test_towardzero): Likewise.
9059 (exp_test_downward): Likewise.
9060 (exp_test_upward): Likewise.
9061 (exp10_test): Likewise.
9062 (exp10_test_tonearest): Likewise.
9063 (exp10_test_towardzero): Likewise.
9064 (exp10_test_downward): Likewise.
9065 (exp10_test_upward): Likewise.
9066 (pow10_test): Likewise.
9067 (exp2_test): Likewise.
9068 (expm1_test): Likewise.
9069 (expm1_test_tonearest): Likewise.
9070 (expm1_test_towardzero): Likewise.
9071 (expm1_test_downward): Likewise.
9072 (expm1_test_upward): Likewise.
9073 (fabs_test): Likewise.
9074 (fdim_test): Likewise.
9075 (floor_test): Likewise.
9076 (fma_test): Likewise.
9077 (fma_test_towardzero): Likewise.
9078 (fma_test_downward): Likewise.
9079 (fma_test_upward): Likewise.
9080 (fmax_test): Likewise.
9081 (fmin_test): Likewise.
9082 (fmod_test): Likewise.
9083 (fpclassify_test): Likewise.
9084 (frexp_test): Likewise.
9085 (hypot_test): Likewise.
9086 (ilogb_test): Likewise.
9087 (isfinite_test): Likewise.
9088 (finite_test): Likewise.
9089 (isgreater_test): Likewise.
9090 (isgreaterequal_test): Likewise.
9091 (isinf_test): Likewise.
9092 (isless_test): Likewise.
9093 (islessequal_test): Likewise.
9094 (islessgreater_test): Likewise.
9095 (isnan_test): Likewise.
9096 (isnormal_test): Likewise.
9097 (issignaling_test): Likewise.
9098 (isunordered_test): Likewise.
9099 (j0_test): Likewise.
9100 (j1_test): Likewise.
9101 (jn_test): Likewise.
9102 (ldexp_test): Likewise.
9103 (lgamma_test): Likewise.
9104 (gamma_test): Likewise.
9105 (lrint_test): Likewise.
9106 (lrint_test_tonearest): Likewise.
9107 (lrint_test_towardzero): Likewise.
9108 (lrint_test_downward): Likewise.
9109 (lrint_test_upward): Likewise.
9110 (llrint_test): Likewise.
9111 (llrint_test_tonearest): Likewise.
9112 (llrint_test_towardzero): Likewise.
9113 (llrint_test_downward): Likewise.
9114 (llrint_test_upward): Likewise.
9115 (log_test): Likewise.
9116 (log10_test): Likewise.
9117 (log1p_test): Likewise.
9118 (log2_test): Likewise.
9119 (logb_test): Likewise.
9120 (logb_test_downward): Likewise.
9121 (lround_test): Likewise.
9122 (llround_test): Likewise.
9123 (modf_test): Likewise.
9124 (nearbyint_test): Likewise.
9125 (nextafter_test): Likewise.
9126 (nexttoward_test): Likewise.
9127 (pow_test): Likewise.
9128 (pow_test_tonearest): Likewise.
9129 (pow_test_towardzero): Likewise.
9130 (pow_test_downward): Likewise.
9131 (pow_test_upward): Likewise.
9132 (remainder_test): Likewise.
9133 (drem_test): Likewise.
9134 (remainder_test_tonearest): Likewise.
9135 (drem_test_tonearest): Likewise.
9136 (remainder_test_towardzero): Likewise.
9137 (drem_test_towardzero): Likewise.
9138 (remainder_test_downward): Likewise.
9139 (drem_test_downward): Likewise.
9140 (remainder_test_upward): Likewise.
9141 (drem_test_upward): Likewise.
9142 (remquo_test): Likewise.
9143 (rint_test): Likewise.
9144 (rint_test_tonearest): Likewise.
9145 (rint_test_towardzero): Likewise.
9146 (rint_test_downward): Likewise.
9147 (rint_test_upward): Likewise.
9148 (round_test): Likewise.
9149 (scalb_test): Likewise.
9150 (scalbn_test): Likewise.
9151 (scalbln_test): Likewise.
9152 (signbit_test): Likewise.
9153 (sin_test): Likewise.
9154 (sin_test_tonearest): Likewise.
9155 (sin_test_towardzero): Likewise.
9156 (sin_test_downward): Likewise.
9157 (sin_test_upward): Likewise.
9158 (sincos_test): Likewise.
9159 (sinh_test): Likewise.
9160 (sinh_test_tonearest): Likewise.
9161 (sinh_test_towardzero): Likewise.
9162 (sinh_test_downward): Likewise.
9163 (sinh_test_upward): Likewise.
9164 (sqrt_test): Likewise.
9165 (sqrt_test_tonearest): Likewise.
9166 (sqrt_test_towardzero): Likewise.
9167 (sqrt_test_downward): Likewise.
9168 (sqrt_test_upward): Likewise.
9169 (tan_test): Likewise.
9170 (tan_test_tonearest): Likewise.
9171 (tan_test_towardzero): Likewise.
9172 (tan_test_downward): Likewise.
9173 (tan_test_upward): Likewise.
9174 (tanh_test): Likewise.
9175 (tgamma_test): Likewise.
9176 (trunc_test): Likewise.
9177 (y0_test): Likewise.
9178 (y1_test): Likewise.
9179 (yn_test): Likewise.
9180 (significand_test): Likewise.
9181
e6b6a857
JM
9182 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9183 individual tests in comment.
9184 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9185 (prev_max_error): New variable.
9186 (prev_real_max_error): Likewise.
9187 (prev_imag_max_error): Likewise.
9188 (compare_ulp_data): Don't refer to test names in comment.
9189 (find_test_ulps): Remove function.
9190 (find_function_ulps): Likewise.
9191 (find_complex_function_ulps): Likewise.
9192 (init_max_error): Take function name as argument. Look up ulps
9193 for that function.
9194 (print_ulps): Remove function.
9195 (print_max_error): Use prev_max_error instead of calling
9196 find_function_ulps.
9197 (print_complex_max_error): Use prev_real_max_error and
9198 prev_imag_max_error instead of calling find_complex_function_ulps.
9199 (check_float_internal): Take max_ulp parameter instead of calling
9200 find_test_ulps. Don't call print_ulps.
9201 (check_float): Update call to check_float_internal.
9202 (check_complex): Update calls to check_float_internal.
9203 (START): Pass argument to init_max_error.
9204 * math/gen-libm-test.pl (%results): Don't include "kind"
9205 information.
9206 (parse_ulps): Don't handle ulps of individual tests.
9207 (print_ulps_file): Likewise.
9208 (output_ulps): Likewise.
9209 * math/README.libm-test: Update.
9210 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9211 individual tests.
9212 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9213 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9214 * sysdeps/arm/libm-test-ulps: Likewise.
9215 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9216 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9217 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9218 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9219 * sysdeps/microblaze/libm-test-ulps: Likewise.
9220 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9221 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9222 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9223 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9224 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9225 * sysdeps/sh/libm-test-ulps: Likewise.
9226 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9227 * sysdeps/tile/libm-test-ulps: Likewise.
9228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9229
45adef3c
JM
92302014-03-04 Joseph Myers <joseph@codesourcery.com>
9231
9232 * math/libm-test.inc (print_complex_max_error): Check separately
9233 whether real and imaginary errors are within allowed range and
9234 pass 0 to print_complex_function_ulps instead of value within
9235 allowed range.
9236
000232b9
SP
92372014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9238
d4b17258
SP
9239 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9240 formatting.
9241 (get_handles_fopen): Likewise.
9242 (do_write_test): Likewise.
9243
091eff71
SP
9244 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9245
fa3cd248
SP
9246 * libio/fileops.c (do_ftell): Use cached offset when
9247 available.
9248 * libio/iofwide.c (do_ftell_wide): Likewise.
9249 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9250 _IO_file_attach.
9251 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9252
000232b9
SP
9253 [BZ #16532]
9254 * libio/libioP.h (get_file_offset): New function.
9255 * libio/fileops.c (get_file_offset): Likewise.
9256 (do_ftell): Likewise.
9257 (_IO_new_file_seekoff): Split out ftell logic.
9258 * libio/wfileops.c (do_ftell_wide): Likewise.
9259 (_IO_wfile_seekoff): Split out ftell logic.
9260 * libio/tst-ftell-active-handler.c: New test case.
9261 * libio/Makefile (tests): Add it.
9262
116f4d1a
RM
92632014-03-03 Roland McGrath <roland@hack.frob.com>
9264
9265 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9266 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9267
532a6035
SP
92682014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9269
9270 [BZ #16639]
9271 * nscd/connections.c (nscd_init): Call do_exit.
9272 (start_threads): Call do_exit and notify_parent.
9273 (begin_drop_privileges): Call do_exit.
9274 (finish_drop_privileges): Likewise.
9275 * nscd/selinux.c (preserve_capabilities): Likewise.
9276 (install_real_capabilities): Likewise.
9277 (nscd_selinux_enabled): Likewise.
9278 (avc_create_thread): Likewise.
9279 (avc_alloc_lock): Likewise.
9280 (nscd_avc_init): Likewise.
9281 * nscd/nscd.c (parent_fd): New static variable.
9282 (main): Create a pipe between parent and child processes.
9283 Skip closing parent_fd.
9284 (monitor_child): New function.
9285 (do_exit): Likewise.
9286 (notify_parent): Likewise.
9287 * nscd/nscd.h (notify_parent): Likewise.
9288 (do_exit): Likewise.
9289
d6285c9f
CD
92902014-03-03 Carlos O'Donell <carlos@redhat.com>
9291
9292 * malloc/malloc.c (__libc_calloc): Revert last change.
9293
2b85d2a0
AZ
92942014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9295
9296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9297
c7debbdf
RS
92982014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9299
9300 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9302 implementation.
9303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9304 (__libc_ifunc_impl_list): Likewise.
9305 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9306 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9307 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9308 * string/strrchr.c: Define STRRCHR.
9309
235eed86
OB
93102014-02-28 Ondřej Bílka <neleai@seznam.cz>
9311
9312 * benchtest/bench-strtok.c (simple_strtok): Delete.
9313 (strtok_string): Use as benchmark.
9314 * string/strtok (STRTOK): New macro.
9315
8e25d1e7
CD
93162014-02-28 Carlos O'Donell <carlos@redhat.com>
9317
ef563f92
CD
9318 * manual/threads.texi: Add header and standard comments to all
9319 functions.
9320
8e25d1e7
CD
9321 * elf/dl-lookup.c (check_match): New function.
9322 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9323 (do_lookup_x): Remove nested function check_match. Use non-nested
9324 function check_match.
9325
ff71cc37
RM
93262014-02-28 Roland McGrath <roland@hack.frob.com>
9327
f08e9a26
RM
9328 * csu/Makefile (generated, before-compile): Use += rather than =.
9329 * catgets/Makefile (generated, generated-dirs): Likewise.
9330 * debug/Makefile (generated): Likewise.
9331 * dlfcn/Makefile (generated): Likewise.
9332 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9333 * iconvdata/Makefile (before-compile, generated): Likewise.
9334 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9335 * libio/Makefile (generated): Likewise.
9336 * malloc/Makefile (generated): Likewise.
9337 * manual/Makefile (generated, generated-dirs): Likewise.
9338 * misc/Makefile (generated): Likewise.
9339 * posix/Makefile (generated): Likewise.
9340 * resolv/Makefile (generated): Likewise.
9341 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9342 * timezone/Makefile (generated, generated-dirs): Likewise.
9343
ff71cc37
RM
9344 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9345
fe13a20c
AZ
93462014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9347
57f41c40
AS
9348 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9349 power8 implementation.
9350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9351 file: POWER8 llround ifunc implementation.
9352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9353 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
9354 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9355 POWER8 llround implementation.
9356
57f41c40
AS
9357 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9358 power8 implementation.
9359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9360 file: POWER8 llrint ifunc implementation.
9361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9362 Add POWER8 implementation.
1ad8950a
AZ
9363 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9364 POWER8 llrint implementation.
9365
57f41c40
AS
9366 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9367 power8 implementation.
9368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9369 file: POWER8 finite ifunc implementation.
9370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9371 Add POWER8 implementation.
cac626d6
AZ
9372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9373 Likewise.
9374 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9375 POWER8 finite implementation.
9376 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9377
57f41c40
AS
9378 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9379 power8 implementation.
9380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9381 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
9382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9383 POWER8 implementation.
9384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9385 Likewise.
57f41c40
AS
9386 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9387 isinf implementation.
4393fc11
AZ
9388 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9389
57f41c40
AS
9390 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9391 (INIT_ARCH): Add hwcap2 initialization.
9392 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9393 power8 implementation.
9394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9395 file: POWER8 isnan ifunc implementation.
487972ae
AZ
9396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9397 POWER8 implementation.
9398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9399 Likewise.
57f41c40
AS
9400 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9401 isnan implementation.
487972ae
AZ
9402 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9403
7d92b787
JY
94042014-02-27 Joey Ye <joey.ye@arm.com>
9405
9406 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9407 (_FP_NANFRAC_Q): Set to zero.
9408
1cadc858
SP
94092014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9410
9411 [BZ #16623]
9412 * math/auto-libm-test-in: New test inputs.
9413 * math/auto-libm-test-out: Regenerate.
9414 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9415 and DA.
9416 (__cos): Likewise.
9417 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9418
f8c17e79
JM
94192014-02-27 Joseph Myers <joseph@codesourcery.com>
9420
9421 * scripts/evaluate-test.sh: Take new argument indicating whether
9422 failure is expected.
9423 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9424 indicating whether failure is expected.
9425 * conform/Makefile (test-xfail-run-conformtest): New variable.
9426 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9427 level.
9428 * posix/Makefile (test-xfail-annexc): New variable.
9429 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9430
a5f891ac
JM
94312014-02-26 Joseph Myers <joseph@codesourcery.com>
9432
9433 * argp/Makefile: Include Makeconfig immediately after defining
9434 subdir.
9435 * assert/Makefile: Likewise.
9436 * benchtests/Makefile: Likewise.
9437 * catgets/Makefile: Likewise.
9438 * conform/Makefile: Likewise.
9439 * crypt/Makefile: Likewise.
9440 * csu/Makefile: Likewise.
9441 (all): Remove target.
9442 * ctype/Makefile: Include Makeconfig immediately after defining
9443 subdir.
9444 * debug/Makefile: Likewise.
9445 * dirent/Makefile: Likewise.
9446 * dlfcn/Makefile: Likewise.
9447 * gmon/Makefile: Likewise.
9448 * gnulib/Makefile: Likewise.
9449 * grp/Makefile: Likewise.
9450 * gshadow/Makefile: Likewise.
9451 * hesiod/Makefile: Likewise.
9452 * hurd/Makefile: Likewise.
9453 (all): Remove target.
9454 * iconvdata/Makefile: Include Makeconfig immediately after
9455 defining subdir.
9456 * inet/Makefile: Likewise.
9457 * intl/Makefile: Likewise.
9458 * io/Makefile: Likewise.
9459 * libio/Makefile: Likewise.
9460 (all): Remove target.
9461 * locale/Makefile: Include Makeconfig immediately after defining
9462 subdir.
9463 * login/Makefile: Likewise.
9464 * mach/Makefile: Likewise.
9465 (all): Remove target.
9466 * malloc/Makefile: Include Makeconfig immediately after defining
9467 subdir.
9468 (all): Remove target.
9469 * manual/Makefile: Include Makeconfig immediately after defining
9470 subdir.
9471 * math/Makefile: Likewise.
9472 * misc/Makefile: Likewise.
9473 * nis/Makefile: Likewise.
9474 * nss/Makefile: Likewise.
9475 * po/Makefile: Likewise.
9476 (all): Remove target.
9477 * posix/Makefile: Include Makeconfig immediately after defining
9478 subdir.
9479 * pwd/Makefile: Likewise.
9480 * resolv/Makefile: Likewise.
9481 * resource/Makefile: Likewise.
9482 * rt/Makefile: Likewise.
9483 * setjmp/Makefile: Likewise.
9484 * shadow/Makefile: Likewise.
9485 * signal/Makefile: Likewise.
9486 * socket/Makefile: Likewise.
9487 * soft-fp/Makefile: Likewise.
9488 * stdio-common/Makefile: Likewise.
9489 * stdlib/Makefile: Likewise.
9490 * streams/Makefile: Likewise.
9491 * string/Makefile: Likewise.
9492 * sunrpc/Makefile: Likewise.
9493 (all): Remove target.
9494 * sysvipc/Makefile: Include Makeconfig immediately after defining
9495 subdir.
9496 * termios/Makefile: Likewise.
9497 * time/Makefile: Likewise.
9498 * timezone/Makefile: Likewise.
9499 (all): Remove target.
9500 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9501 subdir.
9502 * wctype/Makefile: Likewise.
9503
5b456e9d
SE
95042014-02-26 Steve Ellcey <sellcey@mips.com>
9505
9506 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9507 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9508 (libc_feholdexcept_setround_mips): Ditto.
9509 (libc_feholdsetround): New.
9510 (libc_feholdsetroundf): New.
9511 (libc_feholdsetroundl): New.
9512 (libc_feupdateenv_test_mips): New.
9513 (libc_feupdateenv_test): New.
9514 (libc_feupdateenv_testf): New.
9515 (libc_feupdateenv_testl): New.
9516 (libc_feresetround): New.
9517 (libc_feresetroundf): New.
9518 (libc_feresetroundl): New.
9519 (libc_fetestexcept_mips): New.
9520 (libc_fetestexcept): New.
9521 (libc_fetestexceptf): New.
9522 (libc_fetestexceptl): New.
9523 (HAVE_RM_CTX): New.
9524 (libc_feholdexcept_setround_mips_ctx): New.
9525 (libc_feholdexcept_setround_ctx): New.
9526 (libc_feholdexcept_setroundf_ctx): New.
9527 (libc_feholdexcept_setroundl_ctx): New.
9528 (libc_fesetenv_mips_ctx): New.
9529 (libc_fesetenv_ctx): New.
9530 (libc_fesetenv_ctxf): New.
9531 (libc_fesetenv_ctxl): New.
9532 (libc_feupdateenv_mips_ctx): New.
9533 (libc_feupdateenv_ctx): New.
9534 (libc_feupdateenvf_ctx): New.
9535 (libc_feupdateenvl_ctx): New.
9536 (libc_feholdsetround_mips_ctx): New.
9537 (libc_feholdsetround_ctx): New.
9538 (libc_feholdsetroundf_ctx): New.
9539 (libc_feholdsetroundl_ctx): New.
9540 (libc_feresetround_mips_ctx): New.
9541 (libc_feresetround_ctx): New.
9542 (libc_feresetroundf_ctx): New.
9543 (libc_feresetroundl_ctx): New.
9544
085d0e35
CD
95452014-02-26 Carlos O'Donell <carlos@redhat.com>
9546
f067bf1f
CD
9547 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9548
085d0e35
CD
9549 * manual/ipc.texi: New file.
9550 * manual/Makefile (chapters): Add ipc.
9551 * manual/job.texi: Add "Inter-Process Communication" to next.
9552 * manual/process.texi: Add "Inter-Process Communication" to prev.
9553
86e58c08
AZ
95542014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9555
9556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9557
4248f0da
OB
95582014-02-26 Ondřej Bílka <neleai@seznam.cz>
9559
9560 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9561
cf822e3c
OB
9562 * manual/arith.texi: Fix spaces after sentences.
9563 * manual/charset.texi: Likewise.
9564 * manual/errno.texi: Likewise.
9565 * manual/install.texi: Likewise.
9566 * manual/llio.texi: Likewise.
9567 * manual/locale.texi: Likewise.
9568 * manual/maint.texi: Likewise.
9569 * manual/math.texi: Likewise.
9570 * manual/memory.texi: Likewise.
9571 * manual/message.texi: Likewise.
9572 * manual/probes.texi: Likewise.
9573 * manual/resource.texi: Likewise.
9574 * manual/signal.texi: Likewise.
9575 * manual/socket.texi: Likewise.
9576 * manual/stdio.texi: Likewise.
9577 * manual/string.texi: Likewise.
9578 * manual/time.texi: Likewise.
9579 * manual/users.texi: Likewise.
9580
ade40b10
CD
95812014-02-25 Carlos O'Donell <carlos@redhat.com>
9582
9583 [BZ #16632]
9584 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9585 _DEFAULT_SOURCE is defined.
9586
d0503676
CD
95872014-02-25 Ulrich Drepper <drepper@gmail.com>
9588 Carlos O'Donell <carlos@redhat.com>
9589
9590 [BZ #16613]
9591 * elf/dl-tls.c (_dl_count_modids): New function.
9592 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9593 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9594 audit library and increment generation counter.
9595 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9596 * elf/tst-audit9.c: New file.
9597 * elf/tst-auditmod9a.c: New file.
9598 * elf/tst-auditmod9b.c: New file.
9599 * elf/Makefile: Add rules to build and run tst-audit9.
9600
4cbf380c
FW
96012014-02-25 Florian Weimer <fweimer@redhat.com>
9602
9603 [BZ #15347]
9604 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9605
80a56cc3
WN
96062014-02-25 Will Newton <will.newton@linaro.org>
9607
9608 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9609 (__longjmp): Restore sp and lr before restoring callee
9610 saved registers. Add longjmp and longjmp_target
9611 SystemTap probe point.
9612 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9613 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9614 Define to zero to match jmpbuf layout.
9615 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9616 (__sigsetjmp): Save sp and lr before saving callee
9617 saved registers. Add setjmp SystemTap probe point.
9618
3ea0f74e
SL
96192014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9620
9621 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9622
b04acb26
AS
96232014-02-24 Andreas Schwab <schwab@suse.de>
9624
9625 [BZ #15804]
9626 * elf/pldd.c (wait_for_ptrace_stop): New function.
9627 (main): Call it after attaching.
9628
098ad55c
RM
96292014-02-22 Roland McGrath <roland@hack.frob.com>
9630
d4ec6ae1
RM
9631 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9632 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9633 Versions files is now verboten.
9634 * hurd/Versions (libc: GLIBC_2.0):
9635 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9636 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9637 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9638 * mach/Versions: Likewise.
9639
098ad55c
RM
9640 * csu/Versions: Remove unused %include.
9641 * resolv/Versions: Likewise.
9642
acd7f096
JM
96432014-02-21 Joseph Myers <joseph@codesourcery.com>
9644
f0881698
JM
9645 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9646 ($(objpfx)check-local-headers.out): Likewise.
9647 ($(objpfx)begin-end-check.out): Likewise.
9648 * Makerules (check-abi-%.out): Likewise.
9649 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9650 ($(objpfx)test2.cat): Likewise.
9651 ($(objpfx)de/libc.cat): Likewise.
9652 ($(objpfx)test-gencat.out): Likewise.
9653 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9654 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9655 ($(objpfx)noload-mem): Likewise.
9656 ($(objpfx)tst-pathopt.out): Likewise.
9657 ($(objpfx)tst-rtld-load-self.out): Likewise.
9658 ($(objpfx)tst-array1-cmp.out): Likewise.
9659 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9660 ($(objpfx)tst-array2-cmp.out): Likewise.
9661 ($(objpfx)tst-array3-cmp.out): Likewise.
9662 ($(objpfx)tst-array4-cmp.out): Likewise.
9663 ($(objpfx)tst-array5-cmp.out): Likewise.
9664 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9665 ($(objpfx)check-textrel.out): Likewise.
9666 ($(objpfx)check-execstack.out): Likewise.
9667 ($(objpfx)check-localplt.out): Likewise.
9668 ($(objpfx)order2-cmp.out): Likewise.
9669 ($(objpfx)tst-leaks1-mem): Likewise.
9670 ($(objpfx)tst-leaks1-static-mem): Likewise.
9671 ($(objpfx)tst-initorder-cmp.out): Likewise.
9672 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9673 ($(objpfx)tst-unused-dep.out): Likewise.
9674 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9675 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9676 * iconv/Makefile (test-iconvconfig): Likewise.
9677 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9678 ($(objpfx)iconv-test.out): Likewise.
9679 ($(objpfx)tst-tables.out): Likewise.
9680 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9681 ($(objpfx)tst-gettext.out): Likewise.
9682 ($(objpfx)tst-translit.out): Likewise.
9683 ($(objpfx)tst-gettext2.out): Likewise.
9684 ($(objpfx)tst-gettext4.out): Likewise.
9685 ($(objpfx)tst-gettext6.out): Likewise.
9686 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9687 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9688 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9689 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9690 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9691 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9692 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9693 ($(objpfx)wordexp-tst.out): Likewise.
9694 ($(objpfx)annexc.out): Likewise.
9695 ($(objpfx)tst-fnmatch-mem): Likewise.
9696 ($(objpfx)bug-regex2-mem): Likewise.
9697 ($(objpfx)bug-regex14-mem): Likewise.
9698 ($(objpfx)bug-regex21-mem): Likewise.
9699 ($(objpfx)bug-regex31-mem): Likewise.
9700 ($(objpfx)tst-vfork3-mem): Likewise.
9701 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9702 ($(objpfx)tst-pcre-mem): Likewise.
9703 ($(objpfx)tst-boost-mem): Likewise.
9704 ($(objpfx)tst-getconf.out): Likewise.
9705 ($(objpfx)bug-ga2-mem): Likewise.
9706 ($(objpfx)bug-glob2-mem): Likewise.
9707 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9708 ($(objpfx)mtrace-tst-leaks2): Likewise.
9709 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9710 ($(objpfx)tst-printf.out): Likewise.
9711 ($(objpfx)tst-setvbuf1.out): Likewise.
9712 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9713 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9714 ($(objpfx)tst-fmtmsg.out): Likewise.
9715 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9716 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9717
acd7f096
JM
9718 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9719 * bits/sigaction.h [__USE_MISC]: Likewise.
9720 * bits/waitstatus.h: Update #endif comments.
9721 * ctype/ctype.h: Likewise.
9722 * dirent/dirent.h: Likewise.
9723 [__USE_MISC]: Remove redundant conditionals.
9724 * grp/grp.h: Update #endif comments.
9725 [__USE_GNU]: Remove redundant conditionals.
9726 [__USE_MISC]: Likewise.
9727 * inet/netinet/in.h [__USE_GNU]: Likewise.
9728 * io/sys/stat.h [__USE_MISC]: Likewise.
9729 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9730 * libio/bits/stdio.h: Update #endif comments.
9731 [__USE_MISC]: Remove redundant conditionals.
9732 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9733 * libio/stdio.h: Update #endif comments.
9734 [__USE_MISC]: Remove redundant conditionals.
9735 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9736 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9737 * math/math.h: Update #else and #endif comments.
9738 [__USE_MISC]: Remove redundant conditionals.
9739 * misc/sys/uio.h: Update #endif comments.
9740 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9741 * posix/glob.h [__USE_MISC]: Likewise.
9742 * posix/sys/types.h: Update #endif comments.
9743 [__USE_MISC]: Remove redundant conditionals.
9744 * posix/sys/wait.h: Update #endif comments.
9745 [__USE_MISC]: Remove redundant conditionals.
9746 * posix/unistd.h: Update #endif comments.
9747 [__USE_MISC]: Remove redundant conditionals.
9748 * pwd/pwd.h [__USE_GNU]: Likewise.
9749 [__USE_MISC]: Likewise.
9750 * resolv/netdb.h [__USE_GNU]: Likewise.
9751 * signal/signal.h: Update #endif comments.
9752 [__USE_MISC]: Remove redundant conditionals.
9753 * stdlib/stdlib.h: Update #else and #endif comments.
9754 [__USE_MISC]: Remove redundant conditionals.
9755 [__USE_GNU]: Likewise.
9756 * string/bits/string2.h [__USE_MISC]: Likewise.
9757 * string/string.h: Update #endif comments.
9758 [__USE_MISC]: Remove redundant conditionals.
9759 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9760 Likewise.
9761 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9762 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9763 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9764 Likewise.
9765 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9766 Likewise.
9767 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9768 comments.
9769 [__USE_MISC]: Remove redundant conditionals.
9770 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9771 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9772 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9773 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9774 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9775 Likewise.
9776 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9777 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9778 Likewise.
9779 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9780 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9781 Likewise.
9782 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9783 Likewise.
9784 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9785 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9786 Likewise.
9787 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9788 Likewise.
9789 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9790 * sysdeps/x86/bits/string.h: Update #endif comments.
9791 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9792 conditionals.
9793 * time/sys/time.h: Update #endif comments.
9794 * time/time.h: Likewise.
9795 [__USE_MISC]: Remove redundant conditionals.
9796
a5d82e4e
YG
97972014-02-21 Yury Gribov <y.gribov@samsung.com>
9798
9799 [BZ #16600]
9800 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9801
9a80491d
AS
98022014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9803
9804 * Versions.def (librt): Add GLIBC_2.17.
9805
105fa381
AC
98062014-02-21 Adam Conrad <adconrad@0c3.net>
9807
9808 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9809 synonym for _SYS_AUXV_H to allow direct inclusion.
9810 * sysdeps/sparc/bits/hwcap.h: Likewise.
9811 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9812 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9813 * sysdeps/sparc/sysdep.h: Likewise.
9814
b8cd1c4e
SP
98152014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9816
9817 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9818
bd939d23
RS
98192014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9820
9821 * benchtests/bench-strrchr.c: Print length instead of position.
9822
5d7b57ca
JM
98232014-02-20 Joseph Myers <joseph@codesourcery.com>
9824
bc688c10
JM
9825 [BZ #16611]
9826 * sysdeps/unix/sysv/linux/kernel-features.h
9827 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9828 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9829 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9830 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9831 Likewise.
9832 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9833 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9834 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9835 (__ASSUME_SENDMMSG): Define instead of using previous
9836 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9837 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9838 (__ASSUME_SENDMMSG_SYSCALL): Define.
9839 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9840 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9841 Likewise.
9842 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9843 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9844 Likewise.
9845 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9846 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9847 Likewise.
9848 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9849 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9850 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9851 [__ASSUME_SENDMMSG]: Change conditionals to
9852 [__ASSUME_SENDMMSG_SOCKETCALL].
9853 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9854 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9855 Define.
9856 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9857 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9858 Likewise.
9859 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9860 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9861 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9862 [!__ASSUME_SENDMMSG]: Change conditional to
9863 [!__ASSUME_SENDMMSG_SOCKETCALL].
9864 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9865 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9866 Define.
9867
0e31b18c
JM
9868 [BZ #16610]
9869 * sysdeps/unix/sysv/linux/kernel-features.h
9870 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9871 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9872 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9873 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9874 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9875 [__i386__ || __sparc__]
9876 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9877 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9878 (__ASSUME_RECVMMSG): Define instead of using previous
9879 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9880 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9881 (__ASSUME_RECVMMSG_SYSCALL): Define.
9882 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9883 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9884 Likewise.
9885 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9886 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9887 Likewise.
9888 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9889 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9890 Likewise.
9891 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9892 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9893 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9894 [__ASSUME_RECVMMSG]: Change condition to
9895 [__ASSUME_RECVMMSG_SOCKETCALL].
9896 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9897 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9898 Define.
9899 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9900 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9901 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9902 Likewise.
9903 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9904 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9905 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9906 [!__ASSUME_RECVMMSG]: Change condition to
9907 [!__ASSUME_RECVMMSG_SOCKETCALL].
9908 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9909 (__ASSUME_RECVMMSG_SYSCALL): Define.
9910
dd481ccf
JM
9911 [BZ #16609]
9912 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9913 __powerpc__ || __s390__ || __sh__ || __sparc__]
9914 (__ASSUME_SOCKETCALL): Define.
9915 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9916 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9917 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9918 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9919 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9920 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9921 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9922 (__ASSUME_ACCEPT4): Define instead of using previous
9923 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9924 __powerpc__ || __sparc__ || __s390__)] condition.
9925 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9926 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9927 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9928 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9929 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9930 [!__ASSUME_ACCEPT4]: Change condition to
9931 [!__ASSUME_ACCEPT4_SOCKETCALL].
9932 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9933 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9934 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9935 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9936 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9937 __ASSUME_ACCEPT4_SYSCALL.
9938 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9939 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9940 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9941 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9942 __ASSUME_ACCEPT4_SYSCALL.
9943 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9944 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9945 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9946 [__ASSUME_ACCEPT4]: Change condition to
9947 [__ASSUME_ACCEPT4_SOCKETCALL].
9948 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9949 (__ASSUME_SOCKETCALL): Define.
9950 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9951 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9952 (__ASSUME_SOCKETCALL): Define.
9953 (__ASSUME_ACCEPT4): Remove.
9954 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9955 Define.
9956 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9957 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9958 Likewise.
9959 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9960 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9961
5d7b57ca
JM
9962 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9963 macro.
9964 (HWCAP_ARM_LPAE): Likewise.
9965 (HWCAP_ARM_EVTSTRM): Likewise.
9966 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9967 Add vpfd32, lpae and evtstrm.
9968 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9969 Increase to 22.
9970
63689d61
JM
99712014-02-19 Joseph Myers <joseph@codesourcery.com>
9972
9973 * math/auto-libm-test-in: Add tests of clog10.
9974 * math/auto-libm-test-out: Regenerated.
9975 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9976 * sysdeps/i386/fpu/libm-test-ulps: Update.
9977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9978
ab09bf61
AS
99792014-02-18 Andreas Schwab <schwab@suse.de>
9980
9981 [BZ #16574]
9982 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9983 Store non-zero if the second buffer was newly allocated.
9984 (send_dg): Likewise.
9985 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9986 to send_vc and send_dg.
9987 (res_nsend): Pass NULL for ansp2_malloced.
9988 * resolv/res_query.c (__libc_res_nquery): Add parameter
9989 answerp2_malloced and pass it down to __libc_res_nsend.
9990 (res_nquery): Pass additional NULL to __libc_res_nquery.
9991 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9992 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9993 second answer buffer if answerp2_malloced was set.
9994 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9995 (__libc_res_nquerydomain): Add parameter
9996 answerp2_malloced and pass it down to __libc_res_nquery.
9997 (res_nquerydomain): Pass additional NULL to
9998 __libc_res_nquerydomain.
9999 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10000 additional NULL to __libc_res_nsend and __libc_res_nquery.
10001 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10002 additional NULL to __libc_res_nsearch.
10003 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10004 parameter of __libc_res_nsearch to check for separately allocated
10005 second buffer.
10006 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10007 __libc_res_nquery.
10008 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10009 additional NULL to __libc_res_nquery.
10010 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10011 __libc_res_nsearch.
10012 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10013 * include/resolv.h: Update prototypes of __libc_res_nquery,
10014 __libc_res_nsearch, __libc_res_nsend.
10015
a4fb7861
JM
100162014-02-18 Joseph Myers <joseph@codesourcery.com>
10017
c6af2d89
JM
10018 * math/auto-libm-test-in: Add tests of fma.
10019 * math/auto-libm-test-out: Regenerated.
10020 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10021 (fma_towardzero_test_data): Likewise.
10022 (fma_downward_test_data): Likewise.
10023 (fma_upward_test_data): Likewise.
10024 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10025 mpc_mode.
10026 (rounding_modes): Add values for new field.
10027 (func_calc_method): Add value mpfr_fff_f.
10028 (func_calc_desc): Add mpfr_fff_f union field.
10029 (test_function): Add field exact_args.
10030 (FUNC): Add macro argument EXACT_ARGS.
10031 (FUNC_mpfr_f_f): Update call to FUNC.
10032 (FUNC_mpfr_f_f): Likewise.
10033 (FUNC_mpfr_ff_f): Likewise.
10034 (FUNC_mpfr_if_f): Likewise.
10035 (FUNC_mpc_c_f): Likewise.
10036 (FUNC_mpc_c_c): Likewise.
10037 (test_functions): Add fma. Update calls to FUNC.
10038 (handle_input_arg): Add argument exact_args.
10039 (add_test): Update call to handle_input_arg.
10040 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10041 (output_for_one_input_case): Update call to calc_generic_results.
10042 Recalculate exact zero results in each rounding mode.
10043
a4fb7861
JM
10044 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10045 non-negative before setting low bit.
10046 * math/auto-libm-test-in: Mark one asin test possibly having
10047 spurious underflow.
10048 * math/auto-libm-test-out: Regenerated.
10049 * sysdeps/i386/fpu/libm-test-ulps: Update.
10050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10051
ef114eaf
DH
100522014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10053
2b7f4f2c
SP
10054 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10055 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10056 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
10057 * README: Add missing listing for microblaze*-*-linux-gnu.
10058
8125aedc
AM
100592014-02-16 Ondřej Bílka <neleai@seznam.cz>
10060
10061 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10062 duplicate code
10063
c70a4b1d
MF
100642014-02-16 Mike Frysinger <vapier@gentoo.org>
10065
10066 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10067 * sysdeps/unix/sysv/linux/ia64: Move directory from
10068 ports/sysdeps/unix/sysv/linux/ia64.
10069 * README: Update listing for ia64-*-linux-gnu.
10070
591aeaf7
TD
100712014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10072 Joseph Myers <joseph@codesourcery.com>
10073
10074 * Makeconfig (test-name): New variable.
10075 (evaluate-test): Likewise.
10076 * Makerules (do-test-clean): Remove .test-result files.
10077 (common-mostlyclean): Likewise.
10078 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10079 * scripts/evaluate-test.sh: New file.
10080
6e89caf1
JM
100812014-02-14 Joseph Myers <joseph@codesourcery.com>
10082
7f98f180
JM
10083 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10084 separate $(objpfx)tst-fopenloc-cmp.out and
10085 $(objpfx)tst-fopenloc-mem.out targets.
10086 (tests): Update dependencies.
10087 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10088 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10089 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10090 (tst-rxspencer-no-utf8-ARGS): New variable.
10091 (tst-rxspencer-no-utf8-ENV): Likewise.
10092 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10093 instead of $(objpfx)tst-rxspencer-mem.
10094 ($(objpfx)tst-rxspencer-mem): Change target to
10095 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10096 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10097 * posix/tst-rxspencer-no-utf8.c: New file.
10098
6e89caf1
JM
10099 * elf/Makefile ($(objpfx)order.out): Remove rule.
10100 [$(run-built-tests) = yes] (tests): Depend on
10101 $(objpfx)order-cmp.out.
10102 ($(objpfx)order-cmp.out): New rule.
10103 [$(run-built-tests) = yes] (tests): Depend on
10104 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10105 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10106 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10107 $(objpfx)tst-array5-static-cmp.out.
10108 ($(objpfx)tst-array1.out): Remove rule.
10109 ($(objpfx)tst-array1-cmp.out): New rule.
10110 ($(objpfx)tst-array1-static.out): Remove rule.
10111 ($(objpfx)tst-array1-static-cmp.out): New rule.
10112 ($(objpfx)tst-array2.out): Remove rule.
10113 ($(objpfx)tst-array2-cmp.out): New rule.
10114 ($(objpfx)tst-array3.out): Remove rule.
10115 ($(objpfx)tst-array3-cmp.out): New rule.
10116 ($(objpfx)tst-array4.out): Remove rule.
10117 ($(objpfx)tst-array4-cmp.out): New rule.
10118 ($(objpfx)tst-array5.out): Remove rule.
10119 ($(objpfx)tst-array5-cmp.out): New rule.
10120 ($(objpfx)tst-array5-static.out): Remove rule.
10121 ($(objpfx)tst-array5-static-cmp.out): New rule.
10122 [$(run-built-tests) = yes] (tests): Depend on
10123 $(objpfx)order2-cmp.out.
10124 ($(objpfx)order2.out): Remove rule.
10125 ($(objpfx)order2-cmp.out): New rule.
10126 ($(objpfx)tst-initorder.out): Remove rule.
10127 [$(run-built-tests) = yes] (tests): Depend on
10128 $(objpfx)tst-initorder-cmp.out.
10129 ($(objpfx)tst-initorder-cmp.out): New rule.
10130 ($(objpfx)tst-initorder2.out): Remove rule.
10131 [$(run-built-tests) = yes] (tests): Depend on
10132 $(objpfx)tst-initorder2-cmp.out.
10133 ($(objpfx)tst-initorder2-cmp.out): New rule.
10134 [$(run-built-tests) = yes] (tests): Depend on
10135 $(objpfx)tst-unused-dep-cmp.out.
10136 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10137 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10138 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10139 on $(objpfx)tst-setvbuf1-cmp.out.
10140 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10141 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10142 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10143 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10144 ($(objpfx)tst-svc.out): Remove rule.
10145 ($(objpfx)tst-svc-cmp.out): New rule.
10146
ed9a38e2
JM
101472014-02-13 Joseph Myers <joseph@codesourcery.com>
10148
10149 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10150 * ctype/ctype.h [__USE_MISC]: Likewise.
10151 * dirent/dirent.h [__USE_MISC]: Likewise.
10152 * grp/grp.h [__USE_MISC]: Likewise.
10153 * io/fcntl.h [__USE_MISC]: Likewise.
10154 * io/sys/stat.h [__USE_MISC]: Likewise.
10155 * libio/stdio.h [__USE_MISC]: Likewise.
10156 * posix/unistd.h [__USE_MISC]: Likewise.
10157 * pwd/pwd.h [__USE_MISC]: Likewise.
10158 * stdlib.h [__USE_MISC]: Likewise.
10159 * string/bits/string2.h [__USE_MISC]: Likewise.
10160 * string/string.h [__USE_MISC]: Likewise.
10161 * time/time.h [__USE_MISC]: Likewise.
10162
d6680619
AS
101632014-02-13 Andreas Schwab <schwab@suse.de>
10164
10165 [BZ #16574]
10166 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10167 second answer buffer if it was separately allocated.
10168
ace614b8
JM
101692014-02-12 Joseph Myers <joseph@codesourcery.com>
10170
743151ae
JM
10171 * sysdeps/mips/math-tests.h: Include <features.h>.
10172 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10173 (ROUNDING_TESTS_long_double): Do not define.
10174 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10175 (EXCEPTION_TESTS_long_double): Likewise.
10176 * sysdeps/mips/mips64/libm-test-ulps: Update.
10177
498afc54
JM
10178 * include/features.h (__USE_BSD): Remove macro definitions.
10179 (__USE_SVID): Likewise.
10180 (_BSD_SOURCE): Likewise.
10181 (_SVID_SOURCE): Likewise.
10182 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10183 from definition of _DEFAULT_SOURCE.
10184 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10185 [_DEFAULT_SOURCE].
10186 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10187 * bits/mman.h [__USE_BSD]: Likewise.
10188 * bits/termios.h [__USE_BSD]: Likewise.
10189 * bits/waitstatus.h [__USE_BSD]: Likewise.
10190 * ctype/ctype.h [__USE_SVID]: Likewise.
10191 * dirent/dirent.h [__USE_BSD]: Likewise.
10192 * grp/grp.h [__USE_SVID]: Likewise.
10193 [__USE_BSD]: Likewise.
10194 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10195 * io/fcntl.h [__USE_BSD]: Likewise.
10196 * io/ftw.h [__USE_BSD]: Likewise.
10197 * io/sys/stat.h [__USE_BSD]: Likewise.
10198 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10199 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10200 * libio/stdio.h [__USE_SVID]: Likewise.
10201 [__USE_BSD]: Likewise.
10202 * math/math.h [__USE_SVID]: Likewise.
10203 [__USE_BSD]: Likewise.
10204 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10205 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10206 * misc/search.h [__USE_SVID]: Likewise.
10207 * misc/sys/mman.h [__USE_BSD]: Likewise.
10208 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10209 * misc/sys/uio.h [__USE_BSD]: Likewise.
10210 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10211 * posix/glob.h [__USE_BSD]: Likewise.
10212 * posix/regex.h [__USE_BSD]: Likewise.
10213 * posix/sys/types.h [__USE_BSD]: Likewise.
10214 [__USE_SVID]: Likewise.
10215 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10216 * posix/sys/wait.h [__USE_BSD]: Likewise.
10217 [__USE_SVID]: Likewise.
10218 * posix/unistd.h [__USE_BSD]: Likewise.
10219 [__USE_SVID]: Likewise.
10220 * pwd/pwd.h [__USE_SVID]: Likewise.
10221 * resolv/netdb.h [__USE_BSD]: Likewise.
10222 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10223 * signal/signal.h [__USE_BSD]: Likewise.
10224 [__USE_SVID]: Likewise.
10225 * socket/sys/socket.h [__USE_BSD]: Likewise.
10226 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10227 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10228 [__USE_SVID]: Likewise.
10229 * string/bits/string2.h [__USE_BSD]: Likewise.
10230 [__USE_SVID]: Likewise.
10231 * string/bits/string3.h [__USE_BSD]: Likewise.
10232 * string/endian.h [__USE_BSD]: Likewise.
10233 * string/string.h [__USE_SVID]: Likewise.
10234 [__USE_BSD]: Likewise.
10235 * string/strings.h [__USE_BSD]: Likewise.
10236 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10237 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10238 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10239 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10240 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10241 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10242 Likewise.
10243 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10244 Likewise.
10245 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10246 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10247 Likewise.
10248 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10249 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10250 Likewise.
10251 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10252 Likewise.
10253 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10254 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10255 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10256 Likewise.
10257 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10258 Likewise.
10259 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10260 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10261 * termios/termios.h [__USE_BSD]: Likewise.
10262 * time/sys/time.h [__USE_BSD]: Likewise.
10263 * time/time.h [__USE_BSD]: Likewise.
10264 [__USE_SVID]: Likewise.
10265
dd7b064c
JM
10266 * Makefile (subdir_targets): Remove subdir_lint.out.
10267
a2c4c199
JM
10268 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10269 (do-tst-printf): Likewise.
10270 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10271 $(objpfx)tst-printf.out.
10272
8756f740
JM
10273 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10274
1b6dd3f1
JM
10275 * Makerules (check-abi-%): Change target to
10276 $(objpfx)check-abi-%.out.
10277 (check-abi target): Update dependencies.
10278 (check-abi-pattern variable): Redirect output of diff to $@.
10279 (check-abi variable): Likewise.
10280 * elf/Makefile (check-abi): Update dependencies.
10281
ace614b8
JM
10282 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10283 unused.
10284 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10285 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10286 subnormal range.
10287 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10288 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10289 value has largest subnormal exponent.
10290 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10291 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10292 * sysdeps/aarch64/soft-fp/sfp-machine.h
10293 (_FP_TININESS_AFTER_ROUNDING): New macro.
10294 * sysdeps/alpha/soft-fp/sfp-machine.h
10295 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10296 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10297 Likewise.
10298 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10299 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10300 * sysdeps/mips/soft-fp/sfp-machine.h
10301 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10302 * sysdeps/powerpc/soft-fp/sfp-machine.h
10303 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10304 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10305 Likewise.
10306 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10307 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10308 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10309 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10310 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10311 Likewise.
10312
fbfdf9cb
DAS
103132014-02-12 Dylan Alex Simon <dylan@dylex.net>
10314
10315 [BZ #16545]
10316 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10317 model 1.
10318
68b7efaa
RH
103192014-02-12 Richard Henderson <rth@redhat.com>
10320
c70a4b1d 10321 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
10322 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10323 * sysdeps/unix/sysv/linux/alpha: Move directory from
10324 ports/sysdeps/unix/sysv/linux/alpha.
10325 * README: Update listing for alpha-*-linux-gnu.
10326
cb4a2928
JM
103272014-02-11 Joseph Myers <joseph@codesourcery.com>
10328
c941736c
JM
10329 * include/features.h: Update comment documenting feature test
10330 macros.
10331 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10332 _DEFAULT_SOURCE.
10333 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10334 (_SVID_SOURCE): Likewise.
10335 (_DEFAULT_SOURCE): Update description of default features.
10336 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10337 with _GNU_SOURCE.
10338 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10339 (S_ISVTX): Likewise.
10340 * manual/math.texi (Mathematical Constants): Likewise.
10341 * manual/signal.texi (Interrupted Primitives): Likewise.
10342 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10343 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10344 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10345 Don't refer to _SVID_SOURCE in warning text.
10346
e8d8d7ec
JM
10347 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10348
cb4a2928
JM
10349 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10350 already defined.
10351 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10352 * sysdeps/mips/dl-lookup.c: Remove.
10353 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10354
7e6424e3
AK
103552014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10356
10357 [BZ #16447]
10358 * math/auto-libm-test-in: Add testcase for expl.
10359 * math/auto-libm-test-out: Regenerate.
10360 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10361 calculation of unsafe.
10362 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10363
75eff3fe
MS
103642014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10365
10366 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10367 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10368 ports/sysdeps/unix/sysv/linux/aarch64.
10369 * README: Update listing for aarch64*-*-linux-gnu.
10370
d35f1e80
WN
103712014-02-11 Will Newton <will.newton@linaro.org>
10372
10373 * manual/probes.texi (Mathematical Function Probes): Use
10374 "triggered" instead of "hit".
10375
7b3436d4
WN
10376 * manual/probes.texi (Internal Probes): Add documentation
10377 of setjmp, longjmp and longjmp_target probes.
10378
b4f12ca3
WN
10379 * include/stap-probe.h: Add comment about probe argument
10380 format.
10381
c13a72b7
WN
10382 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10383 definition. (tr_where, tr_freehook, tr_mallochook,
10384 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10385
195b8165
DM
103862014-02-11 David S. Miller <davem@davemloft.net>
10387
10388 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10389 processing int_tests.
10390
2ad7600b
JM
103912014-02-10 Joseph Myers <joseph@codesourcery.com>
10392
10393 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10394 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10395 * sysdeps/unix/sysv/linux/mips: Move directory from
10396 ports/sysdeps/unix/sysv/linux/mips.
10397 * README: Update listing for mips-*-linux-gnu and
10398 mips64-*-linux-gnu.
10399
73588a72
AS
104002014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10401
10402 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10403 * sysdeps/unix/sysv/linux/m68k: Move directory from
10404 ports/sysdeps/unix/sysv/linux/m68k.
10405 * README: Update listing for m68k-*-linux-gnu.
10406
4372980f
CM
104072014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10408
10409 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10410 * sysdeps/unix/sysv/linux/generic: Move directory from
10411 ports/sysdeps/unix/sysv/linux/generic.
10412 * sysdeps/unix/sysv/linux/tile: Move directory from
10413 ports/sysdeps/unix/sysv/linux/tile.
10414 * README: Update listing for tile*-*-linux-gnu.
10415
a1ffb40e
OB
104162014-02-10 Ondřej Bílka <neleai@seznam.cz>
10417
57f41c40
AS
10418 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10419 __builtin_expect.
a1ffb40e
OB
10420 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10421 * catgets/open_catalog.c (__open_catalog): Likewise.
10422 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10423 * debug/confstr_chk.c: Likewise.
10424 * debug/fread_chk.c (__fread_chk): Likewise.
10425 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10426 * debug/getgroups_chk.c: Likewise.
10427 * debug/mbsnrtowcs_chk.c: Likewise.
10428 * debug/mbsrtowcs_chk.c: Likewise.
10429 * debug/mbstowcs_chk.c: Likewise.
10430 * debug/memcpy_chk.c: Likewise.
10431 * debug/memmove_chk.c: Likewise.
10432 * debug/mempcpy_chk.c: Likewise.
10433 * debug/memset_chk.c: Likewise.
10434 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10435 * debug/strcat_chk.c (__strcat_chk): Likewise.
10436 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10437 * debug/strncat_chk.c (__strncat_chk): Likewise.
10438 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10439 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10440 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10441 * debug/wcpncpy_chk.c: Likewise.
10442 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10443 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10444 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10445 * debug/wcsncpy_chk.c: Likewise.
10446 * debug/wcsnrtombs_chk.c: Likewise.
10447 * debug/wcsrtombs_chk.c: Likewise.
10448 * debug/wcstombs_chk.c: Likewise.
10449 * debug/wmemcpy_chk.c: Likewise.
10450 * debug/wmemmove_chk.c: Likewise.
10451 * debug/wmempcpy_chk.c: Likewise.
10452 * debug/wmemset_chk.c: Likewise.
10453 * dirent/scandirat.c (SCANDIRAT): Likewise.
10454 * dlfcn/dladdr1.c (dladdr1): Likewise.
10455 * dlfcn/dladdr.c (dladdr): Likewise.
10456 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10457 * dlfcn/dlerror.c (__dlerror): Likewise.
10458 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10459 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10460 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10461 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10462 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10463 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10464 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10465 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10466 Likewise.
10467 * elf/dl-conflict.c: Likewise.
10468 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10469 * elf/dl-dst.h: Likewise.
10470 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10471 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10472 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10473 * elf/dl-init.c (call_init, _dl_init): Likewise.
10474 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
10475 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10476 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10477 Likewise.
a1ffb40e
OB
10478 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10479 Likewise.
10480 * elf/dl-minimal.c (__libc_memalign): Likewise.
10481 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10482 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10483 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10484 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
10485 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10486 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
10487 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10488 * elf/dl-writev.h (_dl_writev): Likewise.
10489 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
10490 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10491 (dl_main): Likewise.
a1ffb40e
OB
10492 * elf/setup-vdso.h (setup_vdso): Likewise.
10493 * grp/compat-initgroups.c (compat_call): Likewise.
10494 * grp/fgetgrent.c (fgetgrent): Likewise.
10495 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10496 * grp/putgrent.c (putgrent): Likewise.
10497 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10498 Likewise.
10499 * hurd/hurdinit.c: Likewise.
10500 * iconvdata/8bit-gap.c (struct): Likewise.
10501 * iconvdata/ansi_x3.110.c : Likewise.
10502 * iconvdata/big5.c : Likewise.
10503 * iconvdata/big5hkscs.c : Likewise.
10504 * iconvdata/cp1255.c: Likewise.
10505 * iconvdata/cp1258.c : Likewise.
10506 * iconvdata/cp932.c : Likewise.
10507 * iconvdata/euc-cn.c: Likewise.
10508 * iconvdata/euc-jisx0213.c : Likewise.
10509 * iconvdata/euc-jp.c: Likewise.
10510 * iconvdata/euc-jp-ms.c : Likewise.
10511 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10512 * iconvdata/gb18030.c : Likewise.
10513 * iconvdata/gbbig5.c (const): Likewise.
10514 * iconvdata/gbgbk.c: Likewise.
10515 * iconvdata/gbk.c : Likewise.
10516 * iconvdata/ibm1364.c : Likewise.
10517 * iconvdata/ibm930.c : Likewise.
10518 * iconvdata/ibm932.c: Likewise.
10519 * iconvdata/ibm933.c : Likewise.
10520 * iconvdata/ibm935.c : Likewise.
10521 * iconvdata/ibm937.c : Likewise.
10522 * iconvdata/ibm939.c : Likewise.
10523 * iconvdata/ibm943.c: Likewise.
10524 * iconvdata/iso_11548-1.c: Likewise.
10525 * iconvdata/iso-2022-cn.c : Likewise.
10526 * iconvdata/iso-2022-cn-ext.c : Likewise.
10527 * iconvdata/iso-2022-jp-3.c: Likewise.
10528 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10529 * iconvdata/iso-2022-kr.c : Likewise.
10530 * iconvdata/iso646.c (gconv_end): Likewise.
10531 * iconvdata/iso_6937-2.c : Likewise.
10532 * iconvdata/iso_6937.c : Likewise.
10533 * iconvdata/iso8859-1.c: Likewise.
10534 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10535 * iconvdata/shift_jisx0213.c : Likewise.
10536 * iconvdata/sjis.c : Likewise.
10537 * iconvdata/t.61.c : Likewise.
10538 * iconvdata/tcvn5712-1.c : Likewise.
10539 * iconvdata/tscii.c: Likewise.
10540 * iconvdata/uhc.c : Likewise.
10541 * iconvdata/unicode.c (gconv_end): Likewise.
10542 * iconvdata/utf-16.c (gconv_end): Likewise.
10543 * iconvdata/utf-32.c (gconv_end): Likewise.
10544 * iconvdata/utf-7.c (base64): Likewise.
10545 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10546 * iconv/gconv_close.c (__gconv_close): Likewise.
10547 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
10548 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10549 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10550 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10551 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10552 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
10553 * iconv/iconv.c (iconv): Likewise.
10554 * iconv/iconv_close.c: Likewise.
10555 * iconv/loop.c (SINGLE): Likewise.
10556 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10557 * include/atomic.h: Likewise.
10558 * inet/inet6_option.c (option_alloc): Likewise.
10559 * intl/bindtextdom.c (set_binding_values): Likewise.
10560 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10561 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10562 * intl/localealias.c (read_alias_file): Likewise.
10563 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
10564 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10565 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
10566 * libio/fmemopen.c (fmemopen): Likewise.
10567 * libio/iofgets.c (_IO_fgets): Likewise.
10568 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10569 * libio/iofgetws.c (fgetws): Likewise.
10570 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10571 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
10572 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10573 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
10574 * locale/findlocale.c (_nl_find_locale): Likewise.
10575 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10576 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10577 Likewise.
10578 * locale/setlocale.c (setlocale): Likewise.
10579 * login/programs/pt_chown.c (main): Likewise.
10580 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10581 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
10582 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10583 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
10584 * math/e_exp2l.c: Likewise.
10585 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10586 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10587 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10588 * math/s_catan.c (__catan): Likewise.
10589 * math/s_catanf.c (__catanf): Likewise.
10590 * math/s_catanh.c (__catanh): Likewise.
10591 * math/s_catanhf.c (__catanhf): Likewise.
10592 * math/s_catanhl.c (__catanhl): Likewise.
10593 * math/s_catanl.c (__catanl): Likewise.
10594 * math/s_ccosh.c (__ccosh): Likewise.
10595 * math/s_ccoshf.c (__ccoshf): Likewise.
10596 * math/s_ccoshl.c (__ccoshl): Likewise.
10597 * math/s_cexp.c (__cexp): Likewise.
10598 * math/s_cexpf.c (__cexpf): Likewise.
10599 * math/s_cexpl.c (__cexpl): Likewise.
10600 * math/s_clog10.c (__clog10): Likewise.
10601 * math/s_clog10f.c (__clog10f): Likewise.
10602 * math/s_clog10l.c (__clog10l): Likewise.
10603 * math/s_clog.c (__clog): Likewise.
10604 * math/s_clogf.c (__clogf): Likewise.
10605 * math/s_clogl.c (__clogl): Likewise.
10606 * math/s_csin.c (__csin): Likewise.
10607 * math/s_csinf.c (__csinf): Likewise.
10608 * math/s_csinh.c (__csinh): Likewise.
10609 * math/s_csinhf.c (__csinhf): Likewise.
10610 * math/s_csinhl.c (__csinhl): Likewise.
10611 * math/s_csinl.c (__csinl): Likewise.
10612 * math/s_csqrt.c (__csqrt): Likewise.
10613 * math/s_csqrtf.c (__csqrtf): Likewise.
10614 * math/s_csqrtl.c (__csqrtl): Likewise.
10615 * math/s_ctan.c (__ctan): Likewise.
10616 * math/s_ctanf.c (__ctanf): Likewise.
10617 * math/s_ctanh.c (__ctanh): Likewise.
10618 * math/s_ctanhf.c (__ctanhf): Likewise.
10619 * math/s_ctanhl.c (__ctanhl): Likewise.
10620 * math/s_ctanl.c (__ctanl): Likewise.
10621 * math/w_pow.c: Likewise.
10622 * math/w_powf.c: Likewise.
10623 * math/w_powl.c: Likewise.
10624 * math/w_scalb.c (sysv_scalb): Likewise.
10625 * math/w_scalbf.c (sysv_scalbf): Likewise.
10626 * math/w_scalbl.c (sysv_scalbl): Likewise.
10627 * misc/error.c (error_tail): Likewise.
10628 * misc/pselect.c (__pselect): Likewise.
10629 * nis/nis_callback.c (__nis_create_callback): Likewise.
10630 * nis/nis_call.c (__nisfind_server): Likewise.
10631 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10632 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10633 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10634 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10635 * nis/nis_lookup.c (nis_lookup): Likewise.
10636 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
10637 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10638 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 10639 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
10640 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10641 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10642 * nis/nss_compat/compat-initgroups.c (add_group)
10643 (internal_getgrent_r): Likewise.
10644 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10645 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10646 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10647 (internal_getspnam_r): Likewise.
10648 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10649 (_nss_nis_getaliasbyname_r): Likewise.
10650 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10651 (_nss_nis_getntohost_r): Likewise.
10652 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10653 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10654 (_nss_nis_getgrgid_r): Likewise.
10655 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10656 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10657 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10658 (_nss_nis_gethostbyname4_r): Likewise.
10659 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10660 (initgroups_netid): Likewise.
a1ffb40e 10661 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
10662 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10663 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10664 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10665 (_nss_nis_getprotobynumber_r): Likewise.
10666 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10667 (_nss_nis_getsecretkey): Likewise.
10668 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10669 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10670 (_nss_nis_getpwuid_r): Likewise.
10671 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10672 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10673 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10674 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10675 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10676 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
10677 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10678 Likewise.
57f41c40
AS
10679 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10680 (_nss_nisplus_getntohost_r): Likewise.
10681 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10682 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10683 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10684 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 10685 Likewise.
57f41c40
AS
10686 * nis/nss_nisplus/nisplus-initgroups.c
10687 (_nss_nisplus_initgroups_dyn): Likewise.
10688 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10689 (_nss_nisplus_getnetbyaddr_r): Likewise.
10690 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10691 (_nss_nisplus_getprotobynumber_r): Likewise.
10692 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10693 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
10694 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10695 Likewise.
57f41c40
AS
10696 * nis/nss_nisplus/nisplus-service.c
10697 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10698 (_nss_nisplus_getservbyport_r): Likewise.
10699 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10700 (_nss_nisplus_getspnam_r): Likewise.
10701 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10702 Likewise.
a1ffb40e
OB
10703 * nscd/aicache.c (addhstaiX): Likewise.
10704 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
10705 * nscd/connections.c (register_traced_file, send_ro_fd)
10706 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10707 (main_loop_epoll): Likewise.
a1ffb40e
OB
10708 * nscd/grpcache.c (addgrbyX): Likewise.
10709 * nscd/hstcache.c (addhstbyX): Likewise.
10710 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10711 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
10712 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10713 (addinnetgrX): Likewise.
10714 * nscd/nscd-client.h (__nscd_acquire_maplock)
10715 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
10716 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10717 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10718 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10719 Likewise.
10720 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10721 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
10722 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10723 (__nscd_get_map_ref): Likewise.
a1ffb40e 10724 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
10725 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10726 Likewise.
a1ffb40e
OB
10727 * nscd/pwdcache.c (addpwbyX): Likewise.
10728 * nscd/selinux.c (preserve_capabilities): Likewise.
10729 * nscd/servicescache.c (addservbyX): Likewise.
10730 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10731 * posix/fnmatch.c (fnmatch): Likewise.
10732 * posix/getopt.c (_getopt_internal_r): Likewise.
10733 * posix/glob.c (glob, glob_in_dir): Likewise.
10734 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
10735 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10736 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
10737 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10738 * resolv/res_init.c: Likewise.
10739 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10740 * resolv/res_query.c (__libc_res_nquery): Likewise.
10741 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10742 Likewise.
10743 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10744 * stdio-common/perror.c (perror): Likewise.
10745 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10746 * stdio-common/tmpnam.c (tmpnam): Likewise.
10747 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10748 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
10749 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10750 Likewise.
a1ffb40e
OB
10751 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10752 * stdlib/putenv.c (putenv): Likewise.
10753 * stdlib/setenv.c (__add_to_environ): Likewise.
10754 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10755 * stdlib/strtol_l.c (INTERNAL): Likewise.
10756 * string/memmem.c (memmem): Likewise.
10757 * string/strerror.c (strerror): Likewise.
10758 * string/strnlen.c (__strnlen): Likewise.
10759 * string/test-memmem.c (simple_memmem): Likewise.
10760 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10761 * sunrpc/pm_getport.c (__get_socket): Likewise.
10762 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10763 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
10764 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10765 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
10766 Likewise.
10767 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10768 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10769 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10770 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10771 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
10772 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10773 Likewise.
10774 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10775 Likewise.
a1ffb40e
OB
10776 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10777 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10778 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10779 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10780 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10781 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10782 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10783 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10784 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10785 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10786 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10787 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10788 Likewise.
10789 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10790 Likewise.
10791 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10792 Likewise.
10793 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10794 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10795 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10796 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10797 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10798 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10799 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10800 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10801 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10802 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10803 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10804 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10805 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10806 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10807 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
10808 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10809 Likewise.
a1ffb40e
OB
10810 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10811 Likewise.
10812 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10813 Likewise.
10814 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10815 Likewise.
10816 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10817 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10818 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10819 Likewise.
10820 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10821 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10822 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10823 * sysdeps/posix/sleep.c: Likewise.
10824 * sysdeps/posix/tempname.c: Likewise.
10825 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10826 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10827 Likewise.
57f41c40
AS
10828 * sysdeps/powerpc/powerpc32/dl-machine.h
10829 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
10830 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10831 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10832 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10833 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10834 Likewise.
10835 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10836 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10837 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10838 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10839 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10840 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10841 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10842 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10843 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10844 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10845 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10846 (elf_machine_lazy_rel): Likewise.
a1ffb40e 10847 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10848 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10849 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10850 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10851 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10852 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10853 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10854 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10855 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10856 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10857 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10858 Likewise.
10859 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10860 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10861 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10862 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10863 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10864 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10865 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10866 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10867 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10868 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10869 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10870 Likewise.
10871 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10872 (__posix_fallocate64_l64): Likewise.
10873 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10874 (posix_fallocate): Likewise.
57f41c40
AS
10875 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10876 Likewise.
a1ffb40e 10877 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
10878 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10879 (getifaddrs_internal): Likewise.
a1ffb40e
OB
10880 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10881 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10882 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10883 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10884 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10885 (__posix_fallocate64_l64): Likewise.
10886 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10887 Likewise.
10888 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
10889 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10890 (__get_clockfreq): Likewise.
a1ffb40e
OB
10891 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10892 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10893 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10894 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10895 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10896 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10897 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10898 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10899 Likewise.
10900 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10901 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10902 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10903 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10904 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10905 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10906 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10907 Likewise.
10908 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10909 (posix_fallocate): Likewise.
10910 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10911 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10912 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
10913 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10914 (elf_machine_rela, elf_machine_rela_relative)
10915 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
10916 * time/asctime.c (asctime_internal): Likewise.
10917 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10918 * time/tzset.c (__tzset_parse_tz): Likewise.
10919 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10920 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10921 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10922 * wcsmbs/wcsmbsload.h: Likewise.
10923
f3d338c9
OB
10924 [BZ #15894]
10925 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10926
57f41c40
AS
10927 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10928 (arena_get2): Remove THREAD_STATS conditionals.
10929 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10930 (__malloc_stats, int): Likewise.
bdfe308a 10931
d674667c
MF
109322014-02-08 Mike Frysinger <vapier@gentoo.org>
10933
10934 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10935 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10936
6349768c
MF
10937 * manual/setjmp.texi: Fix typos/grammar errors.
10938
0b7c7473
MF
10939 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10940 Only return early when n is <= 0. Delete unused return statement.
10941
ac8cc9e3
MF
10942 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10943 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10944 * debug/tst-longjmp_chk3.c: New file.
10945
c5bb8e23
MF
10946 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10947 (test_main): Replace code with set_fortify_handler call.
10948 * debug/test-strcpy_chk.c: Likewise.
10949 * debug/tst-chk1.c: Likewise.
10950 * debug/tst-longjmp_chk.c: Likewise.
10951 * test-skeleton.c: Include fcntl.h & paths.h
10952 (set_fortify_handler): Define.
10953
10444e42
MF
10954 * debug/tst-longjmp_chk.c: Add header comment and include
10955 ../test-skeleton.c.
10956 (do_test): Mark static.
10957 (TEST_FUNCTION): Define.
10958
1e805e8d
MF
10959 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10960 (IP_PMTUDISC_INTERFACE): Likewise.
10961 (IP_MULTICAST_IF): Likewise.
10962 (IP_MULTICAST_TTL): Likewise.
10963 (IP_MULTICAST_LOOP): Likewise.
10964 (IP_ADD_MEMBERSHIP): Likewise.
10965 (IP_DROP_MEMBERSHIP): Likewise.
10966 (IP_UNBLOCK_SOURCE): Likewise.
10967 (IP_BLOCK_SOURCE): Likewise.
10968 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10969 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10970 (IP_MSFILTER): Likewise.
10971 (MCAST_JOIN_GROUP): Likewise.
10972 (MCAST_BLOCK_SOURCE): Likewise.
10973 (MCAST_UNBLOCK_SOURCE): Likewise.
10974 (MCAST_LEAVE_GROUP): Likewise.
10975 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10976 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10977 (MCAST_MSFILTER): Likewise.
10978 (IP_MULTICAST_ALL): Likewise.
10979 (IP_UNICAST_IF): Likewise.
10980
73f79bb7
MF
10981 * timezone/Makefile: Delete $(have-ksh) check.
10982 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10983 * timezone/tzselect.ksh: Add +x mode bits.
10984
8da79b60
MF
10985 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10986 (ANON_INODE_FS_MAGIC): Likewise.
10987 (BDEVFS_MAGIC): Likewise.
10988 (BINFMTFS_MAGIC): Likewise.
10989 (BTRFS_TEST_MAGIC): Likewise.
10990 (CRAMFS_MAGIC_WEND): Likewise.
10991 (DEBUGFS_MAGIC): Likewise.
10992 (ECRYPTFS_SUPER_MAGIC): Likewise.
10993 (EXT3_SUPER_MAGIC): Likewise.
10994 (EXT4_SUPER_MAGIC): Likewise.
10995 (FUTEXFS_SUPER_MAGIC): Likewise.
10996 (HOSTFS_SUPER_MAGIC): Likewise.
10997 (HUGETLBFS_MAGIC): Likewise.
10998 (MINIX3_SUPER_MAGIC): Likewise.
10999 (MTD_INODE_FS_MAGIC): Likewise.
11000 (NILFS_SUPER_MAGIC): Likewise.
11001 (OPENPROM_SUPER_MAGIC): Likewise.
11002 (PIPEFS_MAGIC): Likewise.
11003 (PSTOREFS_MAGIC): Likewise.
11004 (QNX6_SUPER_MAGIC): Likewise.
11005 (RAMFS_MAGIC): Likewise.
11006 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11007 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11008 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11009 (SECURITYFS_MAGIC): Likewise.
11010 (SELINUX_MAGIC): Likewise.
11011 (SMACK_MAGIC): Likewise.
11012 (SOCKFS_MAGIC): Likewise.
11013 (SQUASHFS_MAGIC): Likewise.
11014 (STACK_END_MAGIC): Likewise.
11015 (TMPFS_MAGIC): Likewise.
11016 (USBDEVICE_SUPER_MAGIC): Likewise.
11017 (V9FS_MAGIC): Likewise.
11018 (XENFS_SUPER_MAGIC): Likewise.
11019 (CRAMFS_MAGIC): Fix typo in comment.
11020 (EXT2_SUPER_MAGIC): Update comment.
11021 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11022
464263cc
JM
110232014-02-08 Joseph Myers <joseph@codesourcery.com>
11024
c6bfe5c4
JM
11025 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11026 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11027 * sysdeps/unix/sysv/linux/arm: Move directory from
11028 ports/sysdeps/unix/sysv/linux/arm.
11029 * README: Update listing for arm-*-linux-gnueabi.
11030
464263cc
JM
11031 * README: Remove mention of am33.
11032
32749f6c
RM
110332014-02-07 Roland McGrath <roland@hack.frob.com>
11034
11035 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11036 than the comma operator, to avoid "rhs of comma has no effect"
11037 compiler warnings.
11038 (__sigfillset, __sigandset, __sigorset): Likewise.
11039 * include/signal.h (__sigemptyset): Likewise.
11040 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11041
d5b396c1
AM
110422014-02-07 Allan McRae <allan@archlinux.org>
11043
11044 * version.h (RELEASE): Set to "development".
11045 (VERSION): Set to "2.19.90"
11046 * NEWS: Add 2.20 section.
11047
3bfff2ed
CD
110482014-02-06 Carlos O'Donell <carlos@redhat.com>
11049
11050 [BZ #16529]
11051 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11052
ee7cc385
SP
110532014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11054
11055 * manual/contrib.texi: Update entry for Carlos O'Donell,
11056 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11057
f877c4f2
CD
110582014-02-05 Carlos O'Donell <carlos@rehdat.com>
11059
27e839f6
CD
11060 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11061
f877c4f2
CD
11062 * sysdeps/unix/sysv/linux/kernel-features.h
11063 [__LINUX_KERNEL_VERSION >= 0x020621]
11064 (__ASSUME_PROC_PID_TASK_COMM): Define.
11065
68159946
SP
110662014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11067
ba17cdbd
SP
11068 [BZ #16398]
11069 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11070 conversion when destination buffer does not have enough space.
11071 * libio/tst-ftell-partial-wide.c: New test case.
11072 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11073
68159946
SP
11074 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11075 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11076 Leonard and Allan McRae.
11077
2b528732
DM
110782014-02-04 David S. Miller <davem@davemloft.net>
11079
11080 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11081 32-bit.
11082
0ff82463
AZ
110832014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11084
57f41c40
AS
11085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11086 New file
c01603f7
AZ
11087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11088 New file
57f41c40
AS
11089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11090 New file.
11091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11092 New file.
c01603f7
AZ
11093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11094 New file.
57f41c40
AS
11095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11096 New file.
11097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11098 New file.
c01603f7
AZ
11099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11100 New file.
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11102 New file.
11103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11104 New file.
11105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11106 New file.
11107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11108 New file.
11109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11110 New file.
11111
111122014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11113
0ff82463
AZ
11114 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11115 * shlib-versions: Likewise.
11116
1695c773
AZ
111172014-02-04 Roland McGrath <roland@hack.frob.com>
11118 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11119
11120 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11121 (abilist-pattern): New variable, set to %-le.abilist.
11122
11123 * Makerules (abilist-pattern): New variable.
11124 (vpath): Use $(abilist-pattern) in place of %.abilist.
11125 (check-abi-% pattern rule): Likewise.
11126 (check-abi, update-abi): Likewise.
11127
6c0ce4b4
EW
111282014-02-04 Eric Wong <normalperson@yhbt.net>
11129
11130 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11131
481e3524
CD
111322014-02-03 Carlos O'Donell <carlos@redhat.com>
11133
11134 * manual/startup.texi: Add next, previous, and top entries for
11135 the `Program Arguments' and `Environment Variables' nodes.
11136
375592d3
AO
111372014-02-03 Alexandre Oliva <aoliva@redhat.com>
11138
11139 * manual/macros.texi: Add comments before MTASC-safety macros.
11140
f54838ba
AO
11141 * manual/users.texi: Document MTASC-safety properties.
11142
57f41c40
AS
11143 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11144 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
11145 @deftypefun, and add @safety note.
11146 * manual/signal.texi: Move comments that analyze the above
11147 functions to their home place.
11148
fd3daba4
AM
111492014-02-03 Allan McRae <allan@archlinux.org>
11150
11151 * po/sl.po: Update Slovenian translation from translation project.
11152
597636d7
AO
111532014-02-02 Alexandre Oliva <aoliva@redhat.com>
11154
11155 * manual/time.texi (timegm): Add missing blank after @c.
11156 Reported by Joseph Myers <joseph@codesourcery.com>.
11157
ee196e3c
AO
111582014-02-01 Alexandre Oliva <aoliva@redhat.com>
11159
11160 * manual/check-safety.sh: New.
11161 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11162
f8d529d5
AO
11163 * manual/terminal.texi: Document MTASC-safety properties.
11164
de55fdf4
AO
11165 * manual/filesys.texi: Document MTASC-safety properties.
11166
c3299c08
AO
11167 * manual/errno.texi: Document MTASC-safety properties.
11168
06e90b14
AO
11169 * manual/intro.texi: Document safety identifiers and
11170 conditionals.
11171
1acd4371
AO
11172 * manual/string.texi (wcstok): Fix prototype.
11173 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11174
23e5b8cb
AO
11175 * manual/time.texi: Document MTASC-safety properties.
11176
11087373
AO
11177 * manual/string.texi: Document MTASC-safety properties.
11178
5da2c93d
AO
11179 * manual/threads.texi: Document MTASC-safety properties.
11180
171e9210
AO
11181 * manual/stdio.texi: Document MTASC-safety properties.
11182
d9e02532
AO
11183 * manual/syslog.texi: Document MTASC-safety properties.
11184
6af8bab7
AO
11185 * manual/sysinfo.texi: Document MTASC-safety properties.
11186
663b02d7
AO
11187 * manual/startup.texi: Document MTASC-safety properties.
11188
973f180b
AO
11189 * manual/socket.texi: Document MTASC-safety properties.
11190
8f3c25c8
AO
11191 * manual/signal.texi: Document MTASC-safety properties.
11192
542210fb
AO
111932014-01-31 Alexandre Oliva <aoliva@redhat.com>
11194
11195 * manual/setjmp.texi: Document MTASC-safety properties.
11196
433c45a2
AO
11197 * manual/search.texi: Document MTASC-safety properties.
11198
c8ce789c
AO
11199 * manual/resource.texi: Document MTASC-safety properties.
11200
19f5d29c
AO
11201 * manual/process.texi: Document MTASC-safety properties.
11202
e2dfb7f4
AO
11203 * manual/platform.texi: Document MTASC-safety properties.
11204
8c1413f5
AO
11205 * manual/pipe.texi: Document MTASC-safety properties.
11206
03483ada
AO
11207 * manual/pattern.texi: Document MTASC-safety properties.
11208
29e7e2df
AO
11209 * manual/message.texi: Document MTASC-safety properties.
11210
9f529d7c
AO
11211 [BZ #12751]
11212 * manual/memory.texi: Document MTASC-safety properties.
11213
27aaa791
AO
11214 * manual/math.texi: Document MTASC-safety properties.
11215
f2d58726
AO
11216 * manual/locale.texi: Document MTASC-safety properties.
11217
2cc3615c
AO
11218 * manual/llio.texi: Document MTASC-safety properties.
11219
d9f0ec97
AO
11220 * manual/libdl.texi: New.
11221
e7c4409a
AO
11222 * manual/lang.texi: Document MTASC-safety properties.
11223
27bdc63c
AO
11224 * manual/job.texi: Document MTASC-safety properties.
11225
a7b90ea9
AO
11226 * manual/getopt.texi: Document MTASC-safety properties.
11227
c49130e3
AO
11228 * manual/ctype.texi: Document MTASC-safety properties.
11229
0d23a5c1
MR
112302014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11231
11232 [BZ #16046]
11233 * csu/libc-tls.c (static_map): Remove variable.
11234 (__libc_setup_tls): Use main executable's link map for TLS data.
11235 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11236 casing for LM_ID_BASE and GL(dl_nns).
11237 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11238 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11239 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11240 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11241 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11242 member.
11243 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11244 l_phnum members.
11245
0037bb60
AO
112462014-01-30 Alexandre Oliva <aoliva@redhat.com>
11247
11248 * manual/debug.texi: Document MTASC-safety properties.
11249
409e00bd
L
112502014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11251
11252 [BZ #16510]
11253 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11254 of __x86_64__ when disabling x87 inline functions.
11255
86e60666
AO
112562014-01-29 Alexandre Oliva <aoliva@redhat.com>
11257
11258 * manual/charset.texi: Document MTASC-safety properties.
11259
76167637
AO
11260 * manual/crypt.texi: Document MTASC-safety properties.
11261
e567f2a0
AO
11262 * manual/conf.texi: Document MTASC-safety properties.
11263
b719dafd
AO
11264 * manual/arith.texi: Document MTASC-safety properties.
11265
4a16c662
AO
11266 * manual/argp.texi: Document MTASC-safety properties.
11267
0a57b83e
AO
11268 * manual/macros.texi: Introduce macros to document multi
11269 thread, asynchronous signal and asynchronous cancellation
11270 safety properties.
11271 * manual/intro.texi: Introduce the properties themselves.
11272
feab2397
KK
112732014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11274
11275 * sysdeps/sh/sh4/Makefile: New file.
11276
1c0d11bc
AS
112772014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11278
11279 * math/gen-libm-test.pl ($srcdir): New variable.
11280 ($auto_input): Use it.
11281
af37a8a3
SP
112822014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11283
d7b00f98
SP
11284 [BZ #16506]
11285 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11286 access beyond array bounds when parsing netgroups file.
11287
af37a8a3
SP
11288 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11289 the old buffer before realloc.
11290
0c00f062
AM
112912014-01-27 Allan McRae <allan@archlinux.org>
11292
11293 * po/fr.po: Update French translation from translation project.
11294
7d69a1b0
KK
112952014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11296
11297 * sysdeps/sh/libm-test-ulps: Regenerate.
11298
6e697ff7
DM
112992014-01-24 David S. Miller <davem@davemloft.net>
11300
11301 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11302
9cadb35c
KK
113032014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11304
11305 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11306 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11307
5d41dadf
SP
113082013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11309
11310 [BZ #16474]
11311 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11312 string pointers after reallocation.
11313
0bad441c
KK
113142014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11315
11316 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11317 __SH4A__ instead of __SH_FPU_ANY__.
11318
7007c661
KK
113192014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11320
11321 * sysdeps/sh/fpu_control.h: New file.
11322 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11323 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11324 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11325 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11326 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11327 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11328 * sysdeps/sh/sys/ucontext.h: Remove.
11329 * sysdeps/sh/sys: Remove directory.
11330
0f0c35e4
AK
113312014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11332
11333 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11334 s390/sys/ucontext.h.
11335 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11336 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11337
4959e284
L
113382014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11339
11340 [BZ #15605]
11341 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11342
d98720e0
AZ
113432014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11344
11345 [BZ#16431]
11346 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11347 Adjust the vDSO correctly for internal calls.
11348 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11349
91cbd0bc
AM
113502014-01-20 Allan McRae <allan@archlinux.org>
11351
11352 * po/ca.po: Update Catalan translation from translation project.
11353
7a02cfad
MF
113542014-01-16 Mike Frysinger <vapier@gentoo.org>
11355
11356 * sysdeps/s390/sotruss-lib.c: New file.
11357
736c304a
AZ
113582014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11359
11360 [BZ#16430]
6e077ee5 11361 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
11362 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11363 local calls issues by not having a PLT stub required for IFUNC calls.
11364 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11365
94d0cea0
JM
113662014-01-16 Joseph Myers <joseph@codesourcery.com>
11367
11368 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11369 * math/test-fpucw-static.c: Likewise.
11370
980cb518
SP
113712013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11372
11373 [BZ #16453]
11374 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11375
2393fc01
AZ
113762014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11377
11378 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11379 implementation for powerpc.
11380
d359bcc2
OB
113812014-01-15 Ondřej Bílka <neleai@seznam.cz>
11382
11383 [BZ #14782]
11384 * sysdeps/posix/system.c (__libc_system): Do not enable
11385 asynchronous cancellation.
11386
7beb48cb
AK
113872014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11388
11389 [BZ #16427]
11390 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11391 handling only for numbers special also in the IEEE case.
11392
c20d5bf5
AK
113932014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11394
11395 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11396
e83bd4ee
AM
113972014-01-11 Allan McRae <allan@archlinux.org>
11398
76d0ea69
AM
11399 * po/bg.po: Update Bulgarian translation from translation project.
11400
e83bd4ee
AM
11401 * po/de.po: Update German translation from translation project.
11402
bc2ba20a
RM
114032014-01-10 Roland McGrath <roland@hack.frob.com>
11404
11405 * sysdeps/generic/gcc-compat.h: New file.
11406
649ecea2
SP
114072014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11408
11409 * benchtests/asin-inputs: Correct slow inputs.
11410 * benchtests/acos-inputs: Likewise.
11411
1b19c006
AM
114122014-01-10 Allan McRae <allan@archlinux.org>
11413
a46dab08
AM
11414 * po:sv.po: Update Swedish translation from translation project.
11415
421df74a
AM
11416 * po/vi.po: Update Vietnamese translation from translation project.
11417
d61c51a7
AM
11418 * po/eo.po: Update Esperanto translation from translation project.
11419
0339a319
AM
11420 * po/cs.po: Update Czech translation from translation project.
11421
94ad3e99
AM
11422 * po/nl.po: Update Dutch translation from translation project.
11423
e349ca71
AM
11424 * po/pl.po: Update Polish translation from translation project.
11425
ddf930c1
AM
11426 * po/ru.po: Update Russian translation from translation project.
11427
1b19c006
AM
11428 * po/uk.po: Update Ukrainian translation from translation project.
11429
9f236c49
BM
114302014-01-08 Brooks Moses <bmoses@google.com>
11431
11432 * elf/dl-load.c: Fix comment typo.
11433
cd6701cf
CD
114342014-01-08 Carlos O'Donell <carlos@redhat.com>
11435
11436 * po/header.pot: Rename to...
11437 * po/pot.header: ... this.
11438 * po/Makefile: Use pot.header.
11439
66671c84
YK
114402014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11441 Maxim Kuvyrkov <maxim@kugelworks.com>
11442
11443 [BZ #16394]
cd6701cf
CD
11444 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11445 SRC and DEST against LEN.
66671c84 11446
38f34581
AZ
114472014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11448
11449 [BZ #16414]
11450 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11451 implementation.
11452 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11453
114542014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
11455
11456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11457
4c327f2a
JM
114582014-01-08 Joseph Myers <joseph@codesourcery.com>
11459
11460 [BZ #16408]
11461 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11462 for large positive arguments.
11463
b821f414
JM
114642014-01-07 Joseph Myers <joseph@codesourcery.com>
11465
1f0f2067
JM
11466 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11467
a5a326f6
JM
11468 * math/auto-libm-test-in: Mark various tests with
11469 xfail-rounding:ldbl-128ibm.
11470 * math/auto-libm-test-out: Regenerated.
11471
b821f414
JM
11472 [BZ #16407]
11473 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11474 Increase overflow threshold.
11475
94c8a4bc
OB
114762014-01-07 Ondřej Bílka <neleai@seznam.cz>
11477
11478 [BZ #14286]
11479 * stdio-common/vfprintf.c: Check for integer overflow.
11480
87ded0c3
AK
114812014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11482
11483 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11484 the first argument and return value of __tls_get_addr_internal.
11485
c5eebdd0
AK
114862014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11487
11488 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11489 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11490
05d138ef
AK
114912014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11492
11493 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11494 * sysdeps/s390/rtld-global-offsets.sym: New file.
11495 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11496 GLIBC_2.19 symbol.
11497 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11498 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11499 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11500 ... this.
11501 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11502 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11503 ... this.
11504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11505 Regenerate.
11506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11507 Regenerate.
11508 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11509 halfs of GPRs for high_gprs contexts.
11510 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11511 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11512 field.
11513 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11514 uc_flags field.
11515 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11516 64 bit versions:
11517 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11518 for high GPRs (uc_high_gprs) and for future extensions
11519 (__reserved).
11520 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11521 for future extensions (__reserved).
11522 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11523 64 bit versions:
11524 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11525 SC_HIGHGPRS offset definition.
11526 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11527 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11528
93a45ff1
AK
11529 * Versions.def: Add GLIBC_2.19 for libpthread.
11530 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11531 siglongjmp for libpthread with GLIBC_2.19 symver.
11532 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11533 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11534 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11535 * sysdeps/s390/__longjmp.c: New file.
11536 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11537 * sysdeps/s390/longjmp.c: New file.
11538 * sysdeps/s390/setjmp.S: New file.
11539 * sysdeps/s390/sigjmp.S: New file.
11540 * sysdeps/s390/v1-longjmp.c: New file.
11541 * sysdeps/s390/v1-setjmp.h: New file.
11542 * sysdeps/s390/v1-sigjmp.c: New file.
11543 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11544 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11545 GLIBC_2.19 version.
11546 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11547 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11548 versioned symbols for ____longjmp_chk.
11549 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11550 Likewise.
11551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11552 Regenerate.
11553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11554 Regenerate.
11555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11556 Regenerate.
11557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11558 Regenerate.
11559 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11560 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11561 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11562 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11563 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11564 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11565 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11566 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11567 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11568 * sysdeps/s390/rtld-__longjmp.c: New file.
11569 * sysdeps/s390/rtld-setjmp.S: New file.
11570
eb3fc44b
JM
115712014-01-06 Joseph Myers <joseph@codesourcery.com>
11572
11573 [BZ #16400]
11574 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11575 Return -__logl (x) for small positive arguments without evaluating
11576 a polynomial.
11577
9341dde4
MF
115782014-01-06 Mike Frysinger <vapier@gentoo.org>
11579
11580 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11581 Rename to ...
11582 (__ptrace_peeksiginfo_args): ... this.
11583 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11584 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11585 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11586
4cff0293
AM
115872014-01-06 Allan McRae <allan@archlinux.org>
11588
11589 * inet/netinet/in.h: Fix typo in comment.
11590
75595dcf
AJ
115912014-01-05 Andreas Jaeger <aj@suse.de>
11592
11593 * sysdeps/i386/fpu/libm-test-ulps: Update.
11594
79c1e109
AM
115952014-01-05 Allan McRae <allan@archlinux.org>
11596
dd804818
AM
11597 * po/libc.pot: Regenerated.
11598
79c1e109
AM
11599 * malloc/memusagestat.c: Fix gettext call formatting.
11600
0c813d1f
SK
116012014-01-04 Sami Kerola <kerolasa@iki.fi>
11602
11603 * nscd/nscd.c: Improve usage() output.
11604
20f4a8d9
MF
116052014-01-04 Mike Frysinger <vapier@gentoo.org>
11606
11607 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11608 * sysdeps/unix/sysv/linux/configure: Regenerated.
11609 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11610 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11611
22562bb2
JM
116122014-01-03 Joseph Myers <joseph@codesourcery.com>
11613
11614 [BZ #16390]
11615 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11616 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11617
d7ad2d9b
AZ
116182014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11619
11620 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11621 extra tokens at end of #undef directive.
11622 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11623 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11624 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11625
7dd009d8
JM
116262014-01-03 Joseph Myers <joseph@codesourcery.com>
11627
24db925a
JM
11628 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11629
7dd009d8
JM
11630 * math/auto-libm-test-in: Mark various tests with
11631 xfail-rounding:ldbl-128ibm.
11632 * math/auto-libm-test-out: Regenerated.
11633
396e3ecf
JM
116342014-01-02 Joseph Myers <joseph@codesourcery.com>
11635
819e5d50
JM
11636 [BZ #16386]
11637 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11638 numbers with subnormal high part when calculating exponent.
11639
90b6a1e5
JM
11640 [BZ #16385]
11641 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11642 fabs.
11643
396e3ecf
JM
11644 [BZ #16384]
11645 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11646 M_LN2l.
11647 (__ieee754_acoshl): Use __log1pl not __log1p.
11648
6c8dbf00
OB
116492013-01-02 Ondřej Bílka <neleai@seznam.cz>
11650
57f41c40
AS
11651 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11652 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11653 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11654 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11655 (reused_arena, arena_get2): Convert to GNU style.
11656 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11657 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11658 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 11659 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
11660 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11661 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11662 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11663 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11664 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11665 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 11666 * malloc/malloc.h: Likewise.
57f41c40
AS
11667 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11668 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 11669 * malloc/mcheck.h: Likewise.
57f41c40
AS
11670 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11671 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
11672 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11673 * malloc/morecore.c (__default_morecore): Likewise.
11674 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
11675 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11676 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11677 (print_and_abort): Likewise.
6c8dbf00
OB
11678 * malloc/obstack.h: Likewise.
11679 * malloc/set-freeres.c (__libc_freeres): Likewise.
11680 * malloc/tst-mallocstate.c (main): Likewise.
11681 * malloc/tst-mtrace.c (main): Likewise.
11682 * malloc/tst-realloc.c (do_test): Likewise.
11683
d4124212
SP
116842013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11685
9a3c6a6f
SP
11686 [BZ #16366]
11687 * nscd/netgroupcache.c (do_notfound): New function.
11688 (addgetnetgrentX): Use it.
11689
d4124212
SP
11690 [BZ # 16365]
11691 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11692 NSS_STATUS_NOTFOUND.
11693
97b9a009
JM
116942014-01-01 Joseph Myers <joseph@codesourcery.com>
11695
11696 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11698
d4697bc9
AM
116992014-01-01 Allan McRae <allan@archlinux.org>
11700
ddb3687f
AM
11701 * scripts/update-copyrights: Update configure input file suffix.
11702
88726d48
AM
11703 * NEWS: Update copyright year.
11704 * catgets/gencat.c: Likewise.
11705 * csu/version.c: Likewise.
11706 * debug/catchsegv.sh: Likewise.
11707 * debug/pcprofiledump.c: Likewise.
11708 * debug/xtrace.sh: Likewise.
11709 * elf/ldconfig.c: Likewise.
11710 * elf/ldd.bash.in: Likewise.
11711 * elf/pldd.c: Likewise.
11712 * elf/sotruss.ksh: Likewise.
11713 * elf/sprof.c: Likewise.
11714 * iconv/iconv_prog.c: Likewise.
11715 * iconv/iconvconfig.c: Likewise.
11716 * locale/programs/locale.c: Likewise.
11717 * locale/programs/localedef.c: Likewise.
11718 * login/programs/pt_chown.c: Likewise.
11719 * malloc/memusage.sh: Likewise.
11720 * malloc/memusagestat.c: Likewise.
11721 * malloc/mtrace.pl: Likewise.
11722 * manual/libc.texinfo: Likewise.
11723 * nscd/nscd.c: Likewise.
11724 * nss/getent.c: Likewise.
11725 * nss/makedb.c: Likewise.
11726 * posix/getconf.c: Likewise.
11727 * scripts/test-installation.pl: Likewise.
11728
d4697bc9
AM
11729 * All files with FSF copyright notices: Update copyright dates
11730 using scripts/update-copyrights.
11731 * intl/plural.c: Regenerated.
11732 * locale/programs/charmap-kw.h: Likewise.
11733 * locale/programs/locfile-kw.h: Likewise.
11734
c8590f9d
MF
117352013-12-31 Mike Frysinger <vapier@gentoo.org>
11736
11737 * sysdeps/unix/sysv/linux/configure: Regenerated.
11738 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11739 the linux/fanotify.h header.
11740 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11741 HAVE_LINUX_FANOTIFY_H is defined.
11742
b19221b9
SP
117432013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11744
dd1d85e5
SP
11745 * benchtests/cos-inputs: New inputs.
11746 * benchtests/sin-inputs: Likewise.
11747
1acbb90f
SP
11748 * benchtests/atan-inputs: New inputs. Fix name of multiple
11749 precision fallback inputs.
11750
4c012ed3
SP
11751 * benchtests/atanh-inputs: New inputs.
11752 * benchtests/tanh-inputs: Likewise.
11753
eff98324
SP
11754 * benchtests/acosh-inputs: New inputs.
11755 * benchtests/asinh-inputs: Likewise.
11756
ce641152
SP
11757 * benchtests/cosh-inputs: New inputs.
11758 * benchtests/sinh-inputs: Likewise.
11759
b19221b9
SP
11760 * benchtests/acos-inputs: Add more inputs.
11761 * benchtests/asin-inputs: Likewise.
11762
030a4976 117632013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 11764
030a4976 11765 [BZ #16375]
9dcc8f11
VS
11766 * manual/arith.texi: Fix spelling.
11767 * manual/charset.texi: Likewise.
11768 * manual/errno.texi: Likewise.
11769 * manual/filesys.texi: Likewise.
11770 * manual/lang.texi: Likewise.
11771 * manual/llio.texi: Likewise.
11772 * manual/locale.texi: Likewise.
11773 * manual/message.texi: Likewise.
11774 * manual/resource.texi: Likewise.
11775 * manual/search.texi: Likewise.
11776 * manual/setjmp.texi: Likewise.
11777 * manual/stdio.texi: Likewise.
11778 * manual/string.texi: Likewise.
11779 * manual/sysinfo.texi: Likewise.
11780 * manual/time.texi: Likewise.
11781
11520a57
CD
117822013-12-27 Carlos O'Donell <carlos@redhat.com>
11783
11784 * po/sl.po: New file.
11785
471103ae
MF
117862013-12-27 Mike Frysinger <vapier@gentoo.org>
11787
11788 * .gitignore: Add core/.gdbinit/.gdb_history.
11789
6c9642ed
AM
117902013-12-27 Allan McRae <allan@archlinux.org>
11791
11792 [BZ #16369]
11793 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11794 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11795
3f637079
BM
117962013-12-24 Brooks Moses <bmoses@google.com>
11797
11798 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11799 all compilers that claim C++98 compliance, not just GCC.
11800 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11801 Likewise.
11802
abc26e99
MK
118032013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11804
11805 * NEWS: Restore accidentally deleted bug-fix entries.
11806
362b47fe
MK
118072013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11808 Ondřej Bílka <neleai@seznam.cz>
11809
11810 [BZ #15073]
11811 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 11812 have_lock.
362b47fe 11813
b9bcbbcb
OB
118142013-12-23 Ondřej Bílka <neleai@seznam.cz>
11815
11816 [BZ #12986]
11817 * manual/stdio.texi (String Input Conversions): Clarify that character
11818 classes are not supported.
11819
fb55fcd2
AZ
118202013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11821
11822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11823
ef7344f0
JM
118242013-12-22 Joseph Myers <joseph@codesourcery.com>
11825
4f40e4b3
JM
11826 [BZ #16337]
11827 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11828 Calculate results for small negative arguments directly rather
11829 than using reflection formula with special underflow handling.
11830
ef7344f0
JM
11831 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11832 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11833 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11834 (fchflags): Likewise.
11835 (revoke): Likewise.
11836 (setlogin): Likewise.
11837 (sigaltstack): Likewise.
11838 (wait4): Likewise.
11839 (sigblock): Remove.
11840 (sigsetmask): Likewise.
11841 (wait3): Likewise.
11842 (waitpid): Likewise.
11843 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11844 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11845 file.
11846 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11847 * sysdeps/unix/bsd/Makefile: ... here.
11848 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11849 * sysdeps/unix/bsd/Versions: ... here.
11850 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11851 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11852 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11853 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11854 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11855 * sysdeps/unix/bsd/sigblock.c: ... here.
11856 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11857 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11858 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11859 * sysdeps/unix/bsd/sigvec.c: ... here.
11860 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11861 * sysdeps/unix/bsd/tcdrain.c: ... here.
11862 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11863 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11864 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11865 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11866 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11867 * sysdeps/unix/bsd/wait.c: ... here.
11868 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11869 * sysdeps/unix/bsd/wait3.c: ... here.
11870 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11871 * sysdeps/unix/bsd/waitpid.c: ... here.
11872
5b0626b9
JM
118732013-12-21 Joseph Myers <joseph@codesourcery.com>
11874
11875 [BZ #16356]
11876 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11877 round-to-nearest for [!USE_AS_EXPM1L].
11878 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11879 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11880 more tests of exp and exp10. Expect some exp10 tests to miss
11881 exceptions or fail in directed rounding modes.
11882 * math/auto-libm-test-out: Regenerated.
11883 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11884 (exp10_test_tonearest): New function.
11885 (exp10_towardzero_test_data): New array.
11886 (exp10_test_towardzero): New function.
11887 (exp10_downward_test_data): New array.
11888 (exp10_test_downward): New function.
11889 (exp10_upward_test_data): New array.
11890 (exp10_test_upward): New function.
11891 (main): Call the new functions.
11892 * sysdeps/i386/fpu/libm-test-ulps: Update.
11893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11894
7fda5682
JM
118952013-12-20 Joseph Myers <joseph@codesourcery.com>
11896
31e3a405
JM
11897 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11898 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11899 * math/auto-libm-test-out: Regenerated.
11900 * math/libm-test.inc (acosh_test_data): Add more tests.
11901 (atanh_test_data): Likewise.
11902 (ceil_test_data): Likewise.
11903 (copysign_test_data): Likewise.
11904 * sysdeps/i386/fpu/libm-test-ulps: Update.
11905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11906
85bff96a
JM
11907 * timezone/checktab.awk: Update from tzcode 2013i.
11908 * timezone/private.h: Likewise.
11909 * timezone/scheck.c: Likewise.
11910 * timezone/tzfile.h: Likewise.
11911 * timezone/tzselect.ksh: Likewise.
11912 * timezone/zdump.c: Likewise.
11913 * timezone/zic.c: Likewise.
11914
b7867a3b
JM
11915 * math/auto-libm-test-in: Add tests of cpow.
11916 * math/auto-libm-test-out: Regenerated.
11917 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 11918 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
11919 mpc_cc_c.
11920 (func_calc_desc): Add mpc_cc_c union field.
11921 (test_functions): Add cpow.
11922 (special_fill_2pi): New function.
11923 (special_real_inputs): Add 2pi.
11924 (calc_generic_results): Handle mpc_cc_c.
11925 * sysdeps/i386/fpu/libm-test-ulps: Update.
11926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11927
7fda5682
JM
11928 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11929 csqrt, ctan and ctanh.
11930 * math/auto-libm-test-out: Regenerated.
11931 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11932 (TEST_COND_x86): Likewise.
11933 (ccos_test_data): Use AUTO_TESTS_c_c.
11934 (ccosh_test_data): Likewise.
11935 (cexp_test_data): Likewise.
11936 (clog_test_data): Likewise.
11937 (csqrt_test_data): Likewise.
11938 (ctan_test_data): Likewise.
11939 (ctan_tonearest_test_data): Likewise.
11940 (ctan_towardzero_test_data): Likewise.
11941 (ctan_downward_test_data): Likewise.
11942 (ctan_upward_test_data): Likewise.
11943 (ctanh_test_data): Likewise.
11944 (ctanh_tonearest_test_data): Likewise.
11945 (ctanh_towardzero_test_data): Likewise.
11946 (ctanh_downward_test_data): Likewise.
11947 (ctanh_upward_test_data): Likewise.
11948 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11949 mpc_c_c.
11950 (func_calc_desc): Add mpc_c_c union field.
11951 (FUNC_mpc_c_c): New macro.
11952 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11953 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11954 ctanh.
11955 (special_fill_min_subnorm_p120): New function.
11956 (special_real_inputs): Add min_subnorm_p120.
11957 (calc_generic_results): Handle mpc_c_c.
11958 * sysdeps/i386/fpu/libm-test-ulps: Update.
11959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11960
5ff8d60e
SP
119612013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11962
57f41c40
AS
11963 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11964 (do_sin_slow): New functions.
11965 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11966 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 11967
84ba214c
SP
11968 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11969 Use M to change sign of result instead of X. Assume X is
11970 positive.
11971 (csloww1): Likewise.
11972 (__sin): Adjust.
11973 (__cos): Adjust.
11974
975195e4
SP
11975 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11976 arguments A and DA.
11977 (__sin): Adjust.
11978 (__cos): Likewise.
11979
5ff8d60e
SP
11980 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11981 (__cos): Likewise.
11982 (sloww1): Don't adjust sign of DX.
11983 (csloww1): Likewise.
11984 (sloww2): Use X directly and don't adjust sign of DX.
11985 (csloww2): Likewise.
11986
eb983568
JM
119872013-12-19 Joseph Myers <joseph@codesourcery.com>
11988
64a17f1a
JM
11989 * math/auto-libm-test-in: Add tests of cabs and carg.
11990 * math/auto-libm-test-out: Regenerated.
11991 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11992 (carg_test_data): Likewise.
11993 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11994 mpc_c_f.
11995 (func_calc_desc): Add mpc_c_f union field.
11996 (test_functions): Add cabs and carg.
11997 (calc_generic_results): Handle mpc_c_f.
11998
eb983568
JM
11999 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12000 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12001 as a macro and a compat symbol.
12002 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12003 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12004 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12005 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12006 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12007 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12008 not use .hidden.
12009 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12010 Likewise.
12011 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12012 Likewise.
12013 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12014 Likewise.
12015 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12016 Likewise.
12017 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12018 Likewise.
12019 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12020 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12021 from GLIBC_2.3.2.
12022
6eeb678a
AZ
120232013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12024
12025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12026
6f6fc482
JM
120272013-12-19 Joseph Myers <joseph@codesourcery.com>
12028
21fea2e2
JM
12029 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12030 trailing whitespace removed.
12031 * scripts/config.guess: Update to version 2013-11-29.
12032 * scripts/config.sub: Update to version 2013-10-01.
12033
6f6fc482
JM
12034 * math/auto-libm-test-in: Add tests of sincos.
12035 * math/auto-libm-test-out: Regenerated.
12036 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12037 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12038 mpfr_f_11.
12039 (func_calc_desc): Add mpfr_f_11 union field.
12040 (test_functions): Add sincos.
12041 (calc_generic_results): Handle mpfr_f_11.
12042 * sysdeps/i386/fpu/libm-test-ulps: Update.
12043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12044
83f5c32d
AS
120452013-12-19 Andreas Schwab <schwab@suse.de>
12046
12047 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12048 CALL_MCOUNT.
12049 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12050 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12051 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12052
c688b419
JM
120532013-12-19 Joseph Myers <joseph@codesourcery.com>
12054
335ee092
JM
12055 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12056 * sysdeps/i386/fpu/libm-test-ulps: Update.
12057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12058
f88acd39
JM
12059 [BZ #16293]
12060 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12061 round-to-nearest mode when using frndint.
12062 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12063 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12064 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12065 Likewise.
12066 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12067 sinh test to fail.
12068 * math/auto-libm-test-out: Regenerated.
12069 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12070 (TEST_COND_x86): Likewise.
12071 (expm1_tonearest_test_data): New array.
12072 (expm1_test_tonearest): New function.
12073 (expm1_towardzero_test_data): New array.
12074 (expm1_test_towardzero): New function.
12075 (expm1_downward_test_data): New array.
12076 (expm1_test_downward): New function.
12077 (expm1_upward_test_data): New array.
12078 (expm1_test_upward): New function.
12079 (main): Run the new test functions.
12080 * sysdeps/i386/fpu/libm-test-ulps: Update.
12081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12082
c688b419
JM
12083 * include/features.h: Update comment documenting feature test
12084 macros. Mention _DEFAULT_SOURCE in comment.
12085 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12086 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12087 _BSD_SOURCE and _SVID_SOURCE.
12088 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12089 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12090 !_SVID_SOURCE]: Likewise.
12091 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12092 (__USE_POSIX_IMPLICITLY): Define.
12093 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12094 (_POSIX_SOURCE): Undefine and redefine.
12095 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12096 (_POSIX_C_SOURCE): Likewise.
12097 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12098 (Feature Test Macros): Update documentation of default features.
12099
9f6e964c
RS
121002013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12101
12102 * benchtests/Makefile: Add bench-strtok.
12103 * benchtests/bench-strtok.c: New file: strtok benchtest.
12104
ee0a148a
AM
121052013-12-19 Allan McRae <allan@archlinux.org>
12106
12107 * manual/install.texi: Suppress menu for plain text output.
12108 * INSTALL: Regenerated.
12109
b9ab448f
BM
121102013-12-18 Brooks Moses <bmoses@google.com>
12111
12112 [BZ #15846]
12113 * misc/getauxval.c: Include errno.h.
12114 (__getauxval): Set errno to ENOENT if the requested type is not
12115 found.
12116 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12117 don't declare with __attribute_const__.
12118 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12119 * manual/startup.texi: Document that getauxval sets errno.
12120
23776487
JM
121212013-12-18 Joseph Myers <joseph@codesourcery.com>
12122
f889953b
JM
12123 * math/auto-libm-test-in: Add tests of jn and yn.
12124 * math/auto-libm-test-out: Regenerated.
12125 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12126 (yn_test_data): Likewise.
12127 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12128 mpfr_if_f.
12129 (func_calc_desc): Add mpfr_if_f union field.
12130 (FUNC_mpfr_if_f): New macro.
12131 (test_functions): Add jn and yn.
12132 (calc_generic_results): Assert type of second input for
12133 mpfr_ff_f. Handle mpfr_if_f.
12134 (output_for_one_input_case): Disable all checking for arguments
12135 fitting floating-point types in case of an integer argument.
12136 * sysdeps/i386/fpu/libm-test-ulps: Update.
12137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12138
23776487
JM
12139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12140 Don't expect fegetround reference in libm.so.
12141
cb756c6d
MS
121422013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12143
12144 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12145 $(config-cflags-nofma).
12146
2dec468f
JM
121472013-12-18 Joseph Myers <joseph@codesourcery.com>
12148
5953eb3a
JM
12149 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12150 * math/auto-libm-test-out: Regenerated.
12151
2dec468f
JM
12152 [BZ #16338]
12153 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12154 to determine exponent and adjust argument to have exponent of -1.
12155 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12156 log2.
12157 * math/auto-libm-test-out: Regenerated.
12158 * sysdeps/i386/fpu/libm-test-ulps: Update.
12159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12160
4d84e6ad
OB
121612013-12-18 Ondřej Bílka <neleai@seznam.cz>
12162
12163 * manual/probes.texi: Remove cases when per-thread arenas are
12164 disabled.
12165
1818483b
AS
121662013-12-18 Andreas Schwab <schwab@suse.de>
12167
12168 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12169 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12170 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12171 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12172 * sysdeps/i386/i686/multiarch/Makefile: Update.
12173 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12174
25de95bf
JM
121752013-12-17 Joseph Myers <joseph@codesourcery.com>
12176
12177 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12178 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12179
674762d9
PE
121802013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12181
ed27ed83 12182 [BZ #15968]
0748546f
PE
12183 Support TZ transition times < 00:00:00.
12184 This is needed for version-3 tz-format files; it supports time
12185 stamps past 2037 for America/Godthab (the only entry in the tz
12186 database for which this change is relevant).
12187 * manual/time.texi (TZ Variable): Document transition times
12188 from -167:59:59 through -00:00:01.
12189 * time/tzset.c (tz_rule): Time of day is now signed.
12190 (__tzset_parse_tz): Parse negative time of day.
12191
4480e934
PE
12192 Document TZ transition times >= 25:00:00.
12193 * manual/time.texi (TZ Variable): Document transition times from
12194 25:00:00 through 167:59:59. These are already supported, and this
12195 support will help with version-3 tz-format files.
12196
69947401
PE
12197 * manual/time.texi (TZ Variable): Modernize North America example
12198 to reflect current (i.e., 2007-and-later) daylight saving rules.
12199
674762d9
PE
12200 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12201
7011c262
JM
122022013-12-17 Joseph Myers <joseph@codesourcery.com>
12203
2fc6557e
JM
12204 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12205 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12206 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12207 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12208 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12209 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12210 * sysdeps/unix/bsd/clock.c: Likewise.
12211 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12212 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12213 * sysdeps/unix/bsd/init-posix.c: Likewise.
12214 * sysdeps/unix/bsd/poll.c: Likewise.
12215 * sysdeps/unix/bsd/ptsname.c: Likewise.
12216 * sysdeps/unix/bsd/seekdir.c: Likewise.
12217 * sysdeps/unix/bsd/setegid.c: Likewise.
12218 * sysdeps/unix/bsd/seteuid.c: Likewise.
12219 * sysdeps/unix/bsd/setgid.c: Likewise.
12220 * sysdeps/unix/bsd/setrgid.c: Likewise.
12221 * sysdeps/unix/bsd/setruid.c: Likewise.
12222 * sysdeps/unix/bsd/setsid.c: Likewise.
12223 * sysdeps/unix/bsd/setuid.c: Likewise.
12224 * sysdeps/unix/bsd/sigaction.c: Likewise.
12225 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12226 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12227 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12228 * sysdeps/unix/bsd/telldir.c: Likewise.
12229 * sysdeps/unix/bsd/times.c: Likewise.
12230 * sysdeps/unix/bsd/usleep.c: Likewise.
12231
029c7b25
JM
12232 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12233 ($(objpfx)libbsd-compat.a): Remove rule.
12234
7011c262
JM
12235 * include/features.h (__FAVOR_BSD): Do not define.
12236 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12237 features conflicting with POSIX.
12238 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12239 (_BSD_SOURCE): Remove description of not being a subset of other
12240 feature test macros.
12241 * manual/job.texi (getpgrp): Do not document BSD version.
12242 (getpgid): Do not document by reference to BSD getpgrp.
12243 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12244 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12245 * signal/signal.h [__FAVOR_BSD]: Likewise.
12246 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12247 instead of making contents conditional on [__FAVOR_BSD].
12248 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12249
affb6f78
AZ
122502013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12251
12252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12253
c88769dd
JM
122542013-12-17 Joseph Myers <joseph@codesourcery.com>
12255
6432a540
JM
12256 [BZ #16314]
12257 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12258 values below 2**-450, not 2**-500.
12259 * math/auto-libm-test-in: Don't allow spurious underflow from
12260 hypot.
12261 * math/auto-libm-test-out: Regenerated.
12262
c88769dd
JM
12263 [BZ #16316]
12264 [BZ #16330]
12265 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12266 values of ha and hb and sort them after adjusting subnormal
12267 arguments.
12268 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12269 Likewise.
12270 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12271 values of ea and eb and sort them after adjusting subnormal
12272 arguments.
12273 * math/auto-libm-test-in: Do not expect some hypot tests of
12274 subnormals to fail. Add more hypot tests.
12275 * math/auto-libm-test-out: Regenerated.
12276
29618f6b
KK
122772013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12278
12279 [BZ #13304]
12280 * sysdeps/sh/s_fma.c: New file.
12281 * sysdeps/sh/s_fmaf.c: New file.
12282 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12283 version.
12284 * sysdeps/sh/Implies: Add sh/soft-fp.
12285
eacfdfbf
RM
122862013-12-16 Roland McGrath <roland@hack.frob.com>
12287
12288 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12289 level of indirection to members `objname', `errstring', `malloced'.
12290 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12291 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12292 it as the __longjmp argument (just pass 1 instead).
12293 (_dl_catch_error): Initialize C with argument pointers and address of
12294 volatile local ERRCODE rather than copying values out of C at return.
12295
ff362e5b
JM
122962013-12-16 Joseph Myers <joseph@codesourcery.com>
12297
12298 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12299 * math/auto-libm-test-out: Regenerated.
12300 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12301 (hypot_test_data): Likewise.
12302 (pow_test_data): Likewise.
12303 (pow_tonearest_test_data): Likewise.
12304 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12305 mpfr_ff_f.
12306 (func_calc_desc): Add mpfr_ff_f union field.
12307 (FUNC_mpfr_ff_f): New macro.
12308 (test_functions): Add atan2, hypot and pow.
12309 (special_fill_min): New function.
12310 (special_fill_minus_min): Likewise.
12311 (special_fill_min_subnorm): Likewise.
12312 (special_fill_minus_min_subnorm): Likewise.
12313 (special_real_inputs): Add min, -min, min_subnorm and
12314 -min_subnorm.
12315 (calc_generic_results): Handle mpfr_ff_f.
12316 * sysdeps/i386/fpu/libm-test-ulps: Update.
12317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12318
5764c27f
WN
123192013-12-16 Will Newton <will.newton@linaro.org>
12320
12321 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12322 (Aligned Memory Blocks): Add documentation for aligned_alloc
12323 and suggest it as an alternative to posix_memalign.
12324 (Hooks for Malloc): Document __memalign_hook is also called
12325 for aligned_alloc. (Summary of Malloc): Add summary for
12326 aligned alloc. Document __memalign_hook is also called
12327 for aligned_alloc.
12328
0a096e44
WN
123292013-12-16 Will Newton <will.newton@linaro.org>
12330
12331 * manual/memory.texi (Malloc Examples): Clarify default
12332 alignment documentation. Suggest posix_memalign rather
12333 than memalign or valloc.
12334 (Aligned Memory Blocks): Remove suggestion to use memalign
12335 or valloc. Remove obsolete comment about BSD.
12336 Document memalign errno values and mark the function obsolete.
12337 Document posix_memalign returned error codes. Mark valloc
12338 as obsolete. (Hooks for Malloc): __memalign_hook is also
12339 called for posix_memalign and valloc.
12340 (Summary of Malloc): Add posix_memalign to function summary.
12341 __memalign_hook is also called for posix_memalign and valloc.
12342
8d561986
SP
123432013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12344
12345 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12346 TAYLOR_SIN.
12347 (__sin): Adjust.
12348 (__cos): Likewise.
12349 (sloww): Use mynumber union. Expand ternary operator into
12350 if-else statements.
12351 (cslow): use mynumber union.
12352
73616a74
AM
123532013-12-16 Allan McRae <allan@archlinux.org>
12354
9e8ac24b
AM
12355 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12356 * configure: Regenerated.
12357
6f8e37eb
AM
12358 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12359
8894bad3
AM
12360 [BZ #14120]
12361 * configure.ac: Added --enable-maintainer-mode. Check for
12362 autoconf when enabled.
12363 * configure: Regenerated.
12364
73616a74
AM
12365 * nscd/nscd.service: New file.
12366 * nscd/nscd.tmpfiles: New file.
12367
584b18eb
OB
123682013-12-14 Ondřej Bílka <neleai@seznam.cz>
12369
12370 [BZ #12100]
12371 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12372 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12373 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12374 (strstr): Add __strstr_sse2_unaligned ifunc.
12375 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12376 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12377 (strcasestr): Remove __strcasestr_sse42 ifunc.
12378 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12379 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12380 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12381
8a5c7897
KK
123822013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12383
12384 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12385 * sysdeps/sh/bits/fenv.h: ... here.
12386 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12387
fd712ef3
AZ
123882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12389
12390 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12391
42fcb46c
AZ
12392 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12393 hypotf multiarch implementations.
12394 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12395 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12396 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12397 multiarch hypot for PPC64.
12398 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12399 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12400 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12401 multiarch hypotf for PPC64.
12402
83efded4
AZ
12403 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12404 modff multiarch implementations.
12405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12408 multiarch modf for PPC64.
12409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12412 multiarch modff for PPC64.
12413
43e246d2
AZ
12414 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12415 and logl multiarch implementations.
12416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12419 multiarch logb for PPC64.
12420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12423 multiarch logb for PPC64.
12424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12427 multiarch logb for PPC64.
12428
8fdad123
AZ
12429 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12430 isinff multiarch implementation.
12431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12432 file.
12433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12435 multiarch isinf for PPC64.
12436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12437 file.
12438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12439 multiarch isinff for PPC64.
12440
1481d706
AZ
12441 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12442 finitef multiarch implementation.
12443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12444 file.
12445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12447 multiarch finite for PPC64.
12448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12449 file.
12450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12451 multiarch finitef for PPC64.
12452
5ccd5fc8
AZ
12453 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12454 lrint multiarch implementation.
12455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12456 file.
12457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12459 multiarch llrint for PPC64.
12460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12461 multiarch lrint for PPC64.
12462
2568f3fa
AZ
12463 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12464 copysignf multiarch implementation.
12465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12466 file.
12467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12468 file.
12469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12470 multiarch copysign for PPC64.
12471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12472 multiarch copysignf for PPC64.
12473
1cb341fd
AZ
12474 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12475 multiarch implementation.
12476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12477 file.
12478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12479 file.
12480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12481 file.
12482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12483 file.
12484 multiarch llround for PPC64.
12485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12486 multiarch trunc for PPC64.
12487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12488 multiarch truncf for PPC64.
12489
59a3e194
AZ
12490 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12491 multiarch implementation.
12492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12493 file.
12494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12495 file.
12496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12497 file.
12498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12499 file.
12500 multiarch llround for PPC64.
12501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12502 multiarch round for PPC64.
12503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12504 multiarch roundf for PPC64.
12505
357fd3b4
AZ
12506 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12507 multiarch implementation.
12508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12509 file.
12510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12511 file.
12512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12513 file.
12514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12515 file.
12516 multiarch llround for PPC64.
12517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12518 multiarch floor for PPC64.
12519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12520 multiarch floorf for PPC64.
12521
96770f12
AZ
12522 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12523 multiarch implementation.
12524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12525 file.
12526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12527 file.
12528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12529 file.
12530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12531 file.
12532 multiarch llround for PPC64.
12533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12534 multiarch ceil for PPC64.
12535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12536 multiarch ceilf for PPC64.
12537
c3627f6e
AZ
12538 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12539 multiarch implementation.
12540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12541 file.
12542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12543 file.
12544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12545 file.
12546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12547 multiarch llround for PPC64.
12548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12549 multiarch lround for PPC64.
12550
b2284ad7
AZ
12551 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12552 multiarch implementation.
12553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12556 file.
12557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12560 multiarch isnan for PPC64.
12561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12562 multiarch isnanf for PPC64.
12563
69bbc63d
AZ
12564 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12565 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12566 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12567 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12568 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12570
c24517c9
AZ
12571 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12572 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12573 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12574 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12575
a52374e8
AZ
12576 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12577 multiarch implementations.
12578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12579 (__libc_ifunc_impl_list): Likewise.
12580 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12581 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12582 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12583 multiarch stpcpy for PPC64.
12584
7f5ec113
AZ
12585 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12586 multiarch implementations.
12587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12588 (__libc_ifunc_impl_list): Likewise.
12589 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12590 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12591 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12592 multiarch strcpy for PPC64.
12593
e28bcd42
AZ
12594 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12595 redefine function name.
12596 (_wordcopy_fwd_dest_aligned): Likewise.
12597 (_wordcopy_bwd_aligned): Likewise.
12598 (_wordcopy_bwd_dest_aligned): Likewise.
12599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12600 multiarch implementations.
12601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12602 (__libc_ifunc_impl_list): Likewise.
12603 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12604 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12605 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12606 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12607 multiarch wcscpy for PPC64.
12608
92cacfce
AZ
12609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12610 multiarch implementations.
12611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12612 (__libc_ifunc_impl_list): Likewise.
12613 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12614 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12615 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12616 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12617 multiarch wcscpy for PPC64.
12618
7b714620
AZ
12619 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12620 multiarch implementations.
12621 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12622 (__libc_ifunc_impl_list): Likewise.
12623 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12624 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12625 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12626 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12627 multiarch wcsrchr for PPC64.
12628
16fd2ae3
AZ
12629 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12630 multiarch implementations.
12631 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12632 (__libc_ifunc_impl_list): Likewise.
12633 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12634 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12635 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12636 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12637 multiarch wcschr for PPC64.
12638
9ee2969b
AZ
12639 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12640 multiarch implementations.
12641 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12642 (__libc_ifunc_impl_list): Likewise.
12643 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12644 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12645 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12646 multiarch strchrnul for PPC64.
12647
372dc060
AZ
12648 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12649 implementations.
12650 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12651 (__libc_ifunc_impl_list): Likewise.
12652 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12653 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12654 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12655 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12656 strchr for PPC64.
12657
24c2c3b9
AZ
12658 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12659 implementations.
12660 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12661 (__libc_ifunc_impl_list): Likewise.
12662 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12663 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12664 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12665 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12666 strncmp for PPC64.
12667
1c92d9a0
AZ
12668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12669 multiarch implementations.
12670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12671 (__libc_ifunc_impl_list): Likewise.
12672 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12673 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12674 strncasecmp for PPC64.
12675 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12676 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12677 multiarch strncasecmp_l for PPC64.
12678
17de3ee3
AZ
12679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12680 multiarch implementations.
12681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12682 (__libc_ifunc_impl_list): Likewise.
12683 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12684 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12685 multiarch strcasecmp for PPC64.
12686 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12687 file.
12688 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12689 multiarch strcasecmp_l for PPC64.
12690
62982bf9
AZ
12691 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12692 implementations.
12693 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12694 (__libc_ifunc_impl_list): Likewise.
12695 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12696 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12697 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12698 strnlen for PPC64.
12699
a65f4904
AZ
12700 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12701 implementations.
12702 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12703 (__libc_ifunc_impl_list): Likewise.
12704 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12705 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12706 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12707 strlen for PPC64.
12708
1fd005ad
AZ
12709 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12710 implementations.
12711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12712 (__libc_ifunc_impl_list): Likewise.
12713 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12714 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12715 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12716 rawmemrchr for PPC64.
12717
cd05ba91
AZ
12718 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12719 implementation.
12720 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12721 (__libc_ifunc_impl_list): Likewise.
12722 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12723 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12724 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12725 memrchr for PPC64.
12726
870f8676
AZ
12727 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12728 implementation.
12729 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12730 (__libc_ifunc_impl_list): Likewise.
12731 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12732 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12733 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12734 memchr for PPC64.
12735
f00be62b
AZ
12736 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12737 implementation.
12738 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12739 (__libc_ifunc_impl_list): Likewise.
12740 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12741 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12742 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12743 mempcpy for PPC64.
12744
8a29a3d0
AZ
12745 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12746 avoid cretion of __bzero symbol.
12747 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12748 Likewise.
12749 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12750 Likewise.
12751 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12752 Likewise.
12753 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12754 multiarch implementations.
12755 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12756 (__libc_ifunc_impl_list): Likewise.
12757 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12758 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12759 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12760 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12761 bzero for PPC32.
12762 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12763 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12764 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12765 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12766 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12767 memset for PPC64.
12768 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12769
07253fcf
AZ
12770 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12771 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12772 implementations.
12773 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12774 (__libc_ifunc_impl_list): Likewise.
12775 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12776 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12777 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12778 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12779 memcmp for PPC64.
12780
b5beafbc
AZ
12781 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12782 multiarch for POWER/PPC64.
12783 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12784 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12785 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12786 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12787 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12788 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12789 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12790 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12791 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12792 memcpy for PPC64.
12793
5e6a4d4b
AZ
12794 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12795 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12796 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12797 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12798 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12799 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12800 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12801 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12802 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12803 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12804 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12805 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12806 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12807 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12808 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12816
ddfab6dc
KK
128172013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12818
12819 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12820
19b5525e
SP
128212013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12822
12823 * benchtests/Makefile (bench): Add exp2 and log2.
12824 (LDLIBS-bench-exp2): Add -lm.
12825 (LDLIBS-bench-log2): Likewise.
12826 * benchtests/exp2-inputs: New inputs file.
12827 * benchtests/log2-inputs: New inputs file.
12828 * benchtests/log-inputs: Add new inputs.
12829 * benchtests/tan-inputs: Likewise.
12830
196f7f5d
SP
128312013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12832
7a74607f
SP
12833 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12834 definition...
57f41c40
AS
12835 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12836 (csloww2): ... from here.
7a74607f 12837
196f7f5d
SP
12838 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12839 instead of structures.
12840 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12841 (POLYNOMIAL): Likewise.
12842 (TAYLOR_SLOW): Likewise.
12843 (__sin): Likewise.
12844 (__cos): Likewise.
12845 (slow1): Likewise.
12846 (slow2): Likewise.
12847 (sloww): Likewise.
12848 (sloww1); Likewise.
12849 (sloww2): Likewise.
12850 (bsloww1): Likewise.
12851 (bsloww2): Likewise.
12852 (cslow2): Likewise.
12853 (csloww): Likewise.
12854 (csloww1): Likewise.
12855 (csloww2): Likewise.
12856
0dfa665c
OB
128572013-12-10 Ondřej Bílka <neleai@seznam.cz>
12858
12859 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
12860 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12861 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
12862 * malloc/hooks.c (realloc_check): Likewise.
12863
5782a80f
OB
12864 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12865 * malloc/arena.c: Remove PER_THREAD conditional.
12866 [!PER_THREAD]: Remove code.
12867 (ptmalloc_unlock_all2): Likewise.
12868 (ptmalloc_init): Likewise.
12869 (_int_new_arena): Likewise.
12870 (arena_get2): Likewise.
12871 * malloc/hooks.c (__malloc_get_state): Likewise.
12872 (__malloc_set_state): Likewise.
12873 * malloc/malloc.c: Likewise.
12874 (struct malloc_state): Likewise.
12875 (struct malloc_par): Likewise.
12876 (__libc_realloc): Likewise.
12877 (__libc_mallopt): Likewise.
12878
aeb95445
AZ
128792013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12880
12881 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12882
e8349efd
OB
128832013-12-09 Ondřej Bílka <neleai@seznam.cz>
12884
12885 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12886 macro to a function. Check for zero perturb_byte.
12887 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12888
f3eeb3fc 12889 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
12890 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12891 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
12892 force_reg by atomic_forced_read.
12893 * malloc/arena.c (ptmalloc_init): Likewise.
12894 * malloc/hooks.c (top_check): Likewise.
12895
be2f9009
AZ
128962013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12897
12898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12899
e7b914bd
MT
129002013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12901
12902 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12903
9f0be4f8
JM
129042013-12-08 Joseph Myers <joseph@codesourcery.com>
12905
12906 * math/auto-libm-test-in: Add tests of lgamma.
12907 * math/auto-libm-test-out: Regenerated.
12908 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12909 (M_LOG_2_SQRT_PIl): Likewise.
12910 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12911 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12912 mpfr_f_f1.
12913 (func_calc_desc): Add mpfr_f_f1 union field.
12914 (ARGS1): New macro.
12915 (ARGS2): Likewise.
12916 (ARGS3): Likewise.
12917 (ARGS4): Likewise.
12918 (RET1): Likewise.
12919 (RET2): Likewise.
12920 (CALC): Likewise.
12921 (FUNC): Likewise.
12922 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12923 (test_functions): Add lgamma.
12924 (calc_generic_results): Handle mpfr_f_f1.
12925 * sysdeps/i386/fpu/libm-test-ulps: Update.
12926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12927
24eeafdb
AZ
129282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12929
12930 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12931 __mpn_add_n for PowerPC64/POWER7.
12932 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12933 __mpn_sub_n for PowerPC64/POWER7.
12934
4a2c0fd4
AZ
12935 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12936 __mpn_addmul_1 for PowerPC64.
12937 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12938 __mpn_submul_1 for PowerPC64.
12939 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12940 for PowerPC64.
12941 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12942 for PowerPC64.
12943
4b5b548c
FS
129442013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12945
12946 [BZ #15089]
12947 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12948
0a3ac0aa
AZ
129492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12950
12951 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12952
ccdc8438
AZ
12953 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12954 add multiarch folders.
12955 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12956 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12957 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12958 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12959 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12960 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12961 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12962 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12963 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12964 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12965 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12972
2e973d99
AZ
12973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12974 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12976 New file.
12977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12978 New file.
12979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12980 multiarch __ieee754_hypot for PowerPC32.
12981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12982 New file.
12983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12984 New file.
12985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12986 multiarch __ieee754_hypotf for PowerPC32.
12987
2d9470b2
AZ
12988 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12989 long_double_symbol only if __logbl is defined.
12990 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12991 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12992 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12993 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12994 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12995 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12996 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12997 path for implementation.
12998 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12999 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13001 logb, and logbl multiarch implementations for PowerPC32.
13002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13003 file.
13004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13005 file.
13006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13007 multiarch logb for PowerPC32.
13008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13009 file.
13010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13011 file.
13012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13013 multiarch logbf for PowerPC32.
13014 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13016 file.
13017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13018 multiarch logbl implementation for PowerPC32.
13019
5212ffce
AZ
13020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13021 and modff multiarch implementations.
13022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13023 New file.
13024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13025 New file.
13026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13027 multiarch modf for PowerPC32.
13028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13029 New file.
13030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13031 New file.
13032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13033 multiarch modff for PowerPC32.
13034
79dccf31
AZ
13035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13036 and lrintf multiarch implementations.
13037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13038 New file.
13039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13040 New file.
13041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13042 multiarch lrint for PowerPC32.
13043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13044 file: multiarch lrintf for PowerPC32.
13045
deb66480
AZ
13046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13047 and lroundf multiarch implementations.
13048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13049 New file.
13050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13051 New file.
13052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13053 New file.
13054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13055 multiarch lround for PowerPC32.
13056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13057 file: multiarch lroundf for PowerPC32.
13058
264b036b
AZ
13059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13060 copysign and copysignf multiarch implementations.
13061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13062 New file.
13063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13064 New file.
13065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13066 file: multiarch copysign for PowerPC32.
13067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13068 file: multiarch copysignf for PowerPC32.
13069
d47db6c9
AZ
13070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13071 and truncf multiarch implementations.
13072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13073 New file.
13074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13075 file.
13076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13077 multiarch trunc for PowerPC32.
13078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13079 New file.
13080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13081 New file.
13082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13083 multiarch truncf for PowerPC32.
13084
ddb60b5a
AZ
13085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13086 and roundf multiarch implementations.
13087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13088 New file.
13089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13090 file.
13091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13092 multiarch round for PowerPC32.
13093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13094 New file.
13095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13096 New file.
13097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13098 multiarch roundf for PowerPC32.
13099
bedcf49b
AZ
13100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13101 and floorf multiarch implementations.
13102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13103 New file.
13104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13105 file.
13106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13107 multiarch floor for PowerPC32.
13108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13109 New file.
13110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13111 New file.
13112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13113 multiarch floorf for PowerPC32.
13114
35ae5b40
AZ
13115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13116 and ceilf multiarch implementations.
13117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13118 New file.
13119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13120 file.
13121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13122 multiarch ceil for PowerPC32.
13123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13124 New file.
13125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13126 file.
13127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13128 multiarch ceilf for PowerPC32.
13129
ae1a4cd9
AZ
13130 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13131 is defined.
13132 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13133 FINITEF is defined.
13134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13135 and finitef multiarch implementations.
13136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13137 New file.
13138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13139 file.
13140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13141 multiarch finite for PowerPC32.
13142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13143 New file.
13144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13145 file: multiarch finitef for PowerPC32.
13146
64fffd65
AZ
13147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13148 and isinff multiarch implementations.
13149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13150 file.
13151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13152 file.
13153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13154 multiarch isinf for PowerPC32.
13155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13156 New file.
13157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13158 multiarch isinff for PowerPC32.
13159
8e4e7ba2
AZ
13160 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13161 alias when __isnan is defined.
13162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13163 and isnanf multiarch implementations.
13164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13165 file.
13166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13167 file.
13168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13169 file.
13170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13171 file.
13172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13173 multiarch isnan for PowerPC32.
13174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13175 New file.
13176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13177 New file.
13178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13179 multiarch isnanf for PowerPC32.
13180
ddba588e
AZ
13181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13182 and sqrtf multiarch implementations.
13183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13184 file.
13185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13186 file.
13187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13188 multiarch sqrt for PowerPC32.
13189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13190 file.
13191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13192 file.
13193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13194 multiarch sqrtf for PowerPC32.
13195
0f96a2f0
AZ
13196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13197 and llroundf multiarch implementations.
13198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13199 New file.
13200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13201 New file.
13202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13203 New file.
13204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13205 file: multiarch llround for PowerPC32.
13206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13207 file: multiarch llroundf for PowerPC32.
13208
c9b5d79e
AZ
13209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13210 multiarch PowerPC32 fpu implementations.
13211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13212 New file.
13213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13214 New file.
13215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13216 multiarch llrint for PowerPC32.
13217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13218 New file.
13219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13220 New file.
13221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13222 file.
13223
9cbb3aab
AZ
13224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13225
ea5a72f8
AZ
13226 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13227 file.
13228 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13229 file.
13230 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13231 file.
13232 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13233 multiarch wordcopy for PPC32.
13234 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13235 wordcopy objects.
13236 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13237 (__libc_ifunc_impl_list): Likewise.
13238 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13239 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13240 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13241 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13242 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13243 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13244
93be09e7
AZ
13245 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13246 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13247 file.
13248 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13249 file.
13250 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13251 file.
13252 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13253 multiarch wcscpy for PPC32.
13254 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13255 multiarch objects.
13256 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13257 (__libc_ifunc_impl_list): Likewise.
13258 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13259 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13260 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13261 sysdeps/powerpc/power6/wcscpy.c.
13262
bb04e529
AZ
13263 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13264 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13265 file.
13266 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13267 file.
13268 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13269 file.
13270 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13271 multiarch wcsrchr for PPC32.
13272 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13273 multiarch objects.
13274 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13275 (__libc_ifunc_impl_list): Likewise.
13276 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13277 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13278 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13279 sysdeps/powerpc/power6/wcsrchr.c.
13280
05b5cd1c
AZ
13281 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13282 file.
13283 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13284 file.
13285 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13286 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13287 multiarch wcschr for PPc32.
13288 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13289 multiarch objects.
13290 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13291 (__libc_ifunc_impl_list): Likewise.
13292 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13293 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13294 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13295 sysdeps/powerpc/power6/wcschr.c.
13296
ba964147
AZ
13297 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13298 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13299 file.
13300 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13301 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13302 file: multiarch strchr for PPC32.
13303 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13304 multiarch objects.
13305 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13306 (__libc_ifunc_impl_list): Likewise.
13307
31c81aaa
AZ
13308 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13309 name.
13310 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13311 file.
13312 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13313 file.
13314 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13315 multiarch strchrnul for PPC32.
13316 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13317 multiarch objects.
13318 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13319 (__libc_ifunc_impl_list): Likewise.
13320
0d0607d9
AZ
13321 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13322 file.
13323 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13324 multiarch strncasecmp for PPC32.
13325 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13326 file.
13327 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13328 multiarch strncasecmp_l for PPC32.
13329 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13330 strncasecmp multiarch objects.
13331 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13332 (__libc_ifunc_impl_list): Likewise.
13333
4dfd5c86
AZ
13334 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13335 file.
13336 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13337 multiarch strncasecmp for PPC32.
13338 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13339 New file.
13340 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13341 multiarch strcasecmp_l for PPC32.
13342 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13343 multiarch objects.
13344 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13345 (__libc_ifunc_impl_list): Likewise.
13346
a19e01a3
AZ
13347 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13348 file.
13349 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13350 file.
13351 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13352 multiarch strncmp for PPC32.
13353 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13354 multiarch objects.
13355 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13356 (__libc_ifunc_impl_list): Likewise.
13357
ae9cf7a2
AZ
13358 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13359 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13360 file.
13361 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13362 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13363 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13364 multiarch objects.
13365 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13366 (__libc_ifunc_impl_list): Likewise.
13367
3148bb7d
AZ
13368 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13369 file.
13370 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13371 file.
13372 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13373 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13374 multiarch objects.
13375 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13376 (__libc_ifunc_impl_list): Likewise.
13377
7af8b946
AZ
13378 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13379 file.
13380 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13381 file.
13382 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13383 multiarch rawmemchr for PPC32.
13384 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13385 multiarch objects.
13386 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13387 (__libc_ifunc_impl_list): Likewise.
13388
03a6aa6a
AZ
13389 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13390 file.
13391 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13392 file.
13393 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13394 file: memrchr multiarch for PPC32.
13395 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13396 multiarch objects.
13397 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13398 (__libc_ifunc_impl_list): Likewise.
13399
1c62e6d9
AZ
13400 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13401 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13402 file.
13403 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13404 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13405 multiarch memchr for PPC32.
13406 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13407 multiarch objects.
13408 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13409 (__libc_ifunc_impl_list): Likewise.
13410
87da8bdb
AZ
13411 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13412 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13413 file.
13414 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13415 file.
13416 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13417 file: multiarch mempcpy for PPC32.
13418 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13419 multiarch objects.
13420 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13421 (__libc_ifunc_impl_list): Likewise.
13422
20ed4714
AZ
13423 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13424 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13425 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13426 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13427 multiarch bzero for PPC32.
13428 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13429 file.
13430 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13431 file.
13432 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13433 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13434 file: multiarch memset for PPC32.
13435 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13436 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13437 memset multiarch objects.
13438 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13439 (__libc_ifunc_impl_list): Likewise.
13440
ab3e3a46
AZ
13441 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13442 file.
13443 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13444 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13445 memcmp for PPC32.
13446 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13447 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13448 multiarch objects.
13449 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13450 (__libc_ifunc_impl_list): Likewise.
13451
930de6f0
AZ
13452 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13453 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13454 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13455 file.
13456 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13457 file.
13458 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13459 file.
13460 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13461 multiarch memcpy for PPC32.
13462 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13463 multiarch objects.
13464 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13465 (__libc_ifunc_impl_list): Likewise.
13466
4c628e00
AZ
13467 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13468 support multiarch for POWER/PPC32.
13469 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13470 Likewise.
13471 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13473 Implies file to make multiarch folder appers before the fpu and
13474 default folder for power4 configuration.
13475
f4479220
SP
134762013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13477
13478 * scripts/bench.pl: Append volatile keyword to type.
13479
8517800f
KK
134802013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13481
13482 * sysdeps/sh/sotruss-lib.c: New file.
13483 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13484
180138f1
AZ
134852013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13486
13487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13488
bbf37bdc
JM
134892013-12-05 Joseph Myers <joseph@codesourcery.com>
13490
e47cc4e0
JM
13491 [BZ #6810]
13492 * math/w_tgamma.c: Include <errno.h>.
13493 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13494 * math/w_tgammaf.c: Include <errno.h>.
13495 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13496 * math/w_tgammal.c: Include <errno.h>.
13497 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13498 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13499 underflow. Add more tgamma tests.
13500 * math/auto-libm-test-out: Regenerated.
13501 * sysdeps/i386/fpu/libm-test-ulps: Update.
13502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13503
bbf37bdc
JM
13504 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13505 sin, sinh, tan, tanh, tgamma, y0 and y1.
13506 * math/auto-libm-test-out: Regenerated.
13507 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13508 (TEST_COND_x86): Likewise.
13509 (M_E2l): Remove macro.
13510 (M_E3l): Likewise.
13511 (M_2_SQRT_PIl): Likewise.
13512 (M_SQRT_PIl): Likewise.
13513 (M_1_DIV_El): Likewise.
13514 (log_test_data): Use AUTO_TESTS_f_f.
13515 (log10_test_data): Likewise.
13516 (log1p_test_data): Likewise.
13517 (log2_test_data): Likewise.
13518 (sin_test_data): Likewise.
13519 (sin_tonearest_test_data): Likewise.
13520 (sin_towardzero_test_data): Likewise.
13521 (sin_downward_test_data): Likewise.
13522 (sin_upward_test_data): Likewise.
13523 (sinh_test_data): Likewise.
13524 (sinh_tonearest_test_data): Likewise.
13525 (sinh_towardzero_test_data): Likewise.
13526 (sinh_downward_test_data): Likewise.
13527 (sinh_upward_test_data): Likewise.
13528 (tan_test_data): Likewise.
13529 (tan_tonearest_test_data): Likewise.
13530 (tan_towardzero_test_data): Likewise.
13531 (tan_downward_test_data): Likewise.
13532 (tan_upward_test_data): Likewise.
13533 (tanh_test_data): Likewise.
13534 (tgamma_test_data): Likewise.
13535 (y0_test_data): Likewise.
13536 (y1_test_data): Likewise.
13537 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13538 (special_real_inputs): Add pi/4.
13539 * sysdeps/i386/fpu/libm-test-ulps: Update.
13540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13541
eb5ad6b9
AZ
135422013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13543
13544 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13545 "longjmp_target" static probes.
13546 (__longjmp): Rename to __longjmp_symbol.
13547 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13548 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13549 on which longjmp to generate.
13550 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13551 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13552 probe.
13553 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13554 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13555 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13556 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13557 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13558 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13560 __longjmp_symbol based on which __longjmp to generate.
13561 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13562 probe.
13563 (setjmp): Rename to setjmp_symbol.
13564 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13565 (_setjmp): Rename to _setjmp_symbol.
13566 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13567 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13568 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13569 which setjmp to generate.
13570 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13571 "longjmp_target" static probes.
13572
d136c6dc
SP
135732013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13574
9298ecba
SP
13575 * benchtests/README: Add note about output arguments.
13576 * benchtests/bench-sincos.c: Remove file.
13577 * benchtests/sincos-inputs: New file.
13578 * scripts/bench.pl: Identify output arguments and define
13579 static variables for them.
13580
232983e9
SP
13581 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13582
d136c6dc
SP
13583 [BZ #15941]
13584 * Makefile (INSTALL): Add install-plain.texi as the primary
13585 dependency.
13586 * manual/install-plain.texi: New file.
13587 * manual/install.texi: Include node directive only for
13588 non-plaintext output.
13589
699ff837
JM
135902013-12-04 Joseph Myers <joseph@codesourcery.com>
13591
ab07cea8
JM
13592 * stdlib/longlong.h: Update from GCC.
13593
699ff837
JM
13594 [BZ #6807]
13595 [BZ #15901]
13596 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13597 * math/w_j0f.c (y0f): Likewise.
13598 * math/w_j0l.c (__y0l): Likewise.
13599 * math/w_j1.c (y1): Likewise.
13600 * math/w_j1f.c (y1f): Likewise.
13601 * math/w_j1l.c (__y1l): Likewise
13602 * math/w_jn.c (yn): Likewise.
13603 * math/w_jnf.c (ynf): Likewise.
13604 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13605 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13606 value for Bessel function domain errors outside _SVID_ mode.
13607 Adjust sign of return value for yn (negative integer, 0).
13608 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13609 by zero in return for negative x and set sign appropriately for
13610 negative n.
13611 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13612 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13613 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13614 expectations in error cases.
13615 (y1_test_data): Likewise.
13616 (yn_test_data): Likewise.
13617 * sysdeps/i386/fpu/libm-test-ulps: Update.
13618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13619
5b118558
UW
136202013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13621
13622 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13623 "64" to "64-v1". Add "64-v2".
13624 (abi-64-options): Rename to ...
13625 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13626 (abi-64-condition): Rename to ...
13627 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13628 (abi-64-ld-soname): Rename to ...
13629 (abi-64-v1-ld-soname): ... this.
13630 (abi-64-v2-options): Define.
13631 (abi-64-v2-condition): Likewise.
13632 (abi-64-v2-ld-soname): Likewise.
13633 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13634 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13638
61cd8fe4
UW
136392013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13640 Alan Modra <amodra@gmail.com>
13641
13642 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13643 New versions for use with the ELFv2 ABI.
13644 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13645 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13646 declaration.
13647 (struct La_ppc64v2_retval): Likewise.
13648 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13649 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13650 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13651 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13652 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13653 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13654 Do not save or restore CR.
13655 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13656 (_dl_profile_resolve): Do no save or restore CR. Support extended
13657 return values for ELFv2 ABI. Fix location of FPR return registers.
13658 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13659 updated values for _CALL_ELF == 2.
13660 (La_regs, La_retval, int_retval): Likewise.
13661
8b8a692c
UW
136622013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13663
13664 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13665 (FRAME_MIN_SIZE_PARM): Likewise.
13666 (FRAME_BACKCHAIN): Likewise.
13667 (FRAME_CR_SAVE): Likewise.
13668 (FRAME_LR_SAVE): Likewise.
13669 (FRAME_TOC_SAVE): Likewise.
13670 (FRAME_PARM_SAVE): Likewise.
13671 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13672 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13673 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13674 (call_mcount_parm_offset): New macro.
13675 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13676 (PROF): Use symbolic stack frame offsets.
13677 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13678 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13679 Redefine in terms of FRAME_MIN_SIZE.
13680 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13681 (_dl_profile_resolve): Likewise. Update comment.
13682 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13683 symbols stack frame offsets.
13684 (__sigsetjmp): Likewise.
13685 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13686 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13687 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13688 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13689
13690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13691 (FRAME_BACKCHAIN): Remove.
13692 (FRAME_CR_SAVE): Likewise.
13693 (FRAME_LR_SAVE): Likewise.
13694 (FRAME_COMPILER_DW): Likewise.
13695 (FRAME_LINKER_DW): Likewise.
13696 (FRAME_TOC_SAVE): Likewise.
13697 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
13698 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13699 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13700 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
13701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13702 (CHECK_SP): Use symbolic stack frame offsets.
13703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13704 zone" instead of caller's parameter save area for temp storage.
13705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13706 Likewise. Also, use symbolic stack frame offsets.
13707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13708 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13709 our own stack frame instead of the caller's.
13710 (__socket): Use symbolic stack frame offsets.
13711
122b66de
UW
137122013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13713 Alan Modra <amodra@gmail.com>
13714
13715 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13716 Define.
57f41c40
AS
13717 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13718 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
13719 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13720 New function.
13721 (elf_machine_fixup_plt): Call it.
13722 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13723 reloc arguments.
13724 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
13725 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13726 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
13727 r2 before calling target.
13728
696caf1d
UW
137292013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13730 Alan Modra <amodra@gmail.com>
13731
13732 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13733 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13734 versions of macros to support ELFv2 ABI.
13735 (LOCALENTRY): New macro.
13736 (ENTRY, EALIGN): Use it.
13737 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13738 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13739 fall through into ENTRY entry point.
13740 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13741 Only define if _CALL_ELF != 2.
13742
13743 (elf_machine_matches_host): Verify ABI version matches.
13744 (RTLD_START): Use LOCALENTRY.
13745 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13746 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13747 (PLT_ENTRY_WORDS): New macro.
13748 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13749 (elf_machine_runtime_setup): Support ELFv2 ABI.
13750 (elf_machine_fixup_plt): Likewise.
13751 (elf_machine_plt_conflict): Likewise.
13752 (resolve_ifunc): Likewise.
13753 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13754 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13755 Likewise.
13756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13757 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13759 (makecontext): Support ELFv2 ABI.
13760 * elf/elf.h (EF_PPC64_ABI): Define.
13761
d31beafa
UW
137622013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13763
57f41c40
AS
13764 * sysdeps/powerpc/powerpc64/sysdep.h
13765 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13766 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13767 (ENTRY) [ASSEMBLER]: ... but instead here ...
13768 (EALIGN) [ASSEMBLER]: ... and here.
13769 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13770 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13771 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
13772 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13773 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
13774 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13775 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
13776 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13778 Use PPC64_LOAD_FUNCPTR.
13779
b525166b
UW
13780 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13781
7ec07d9a
AM
137822013-12-04 Alan Modra <amodra@gmail.com>
13783
13784 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13785 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13786 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13787 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13788
13789 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13790 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13791 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13792 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13793 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13794 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13795
5162e7dd
UW
137962013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13797
13798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13799 (__makecontext): Fix incorrect CFI when backtracing out of
13800 context created via makecontext.
13801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13802 (__setcontext): Fix incorrect CFI during switch to new context.
13803 (__novec_setcontext): Likewise.
13804
19e3372b
OB
138052013-12-04 Ondřej Bílka <neleai@seznam.cz>
13806
13807 [BZ #4772]
13808 * time/strptime_l.c (__strptime_internal): Allow modifiers
13809 in strptime.
13810 * time/tst-strptime.c (day_tests): Add testcase.
13811
ecaf142d
SP
138122013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13813
13814 * scripts/bench.pl: Skip over blank lines.
13815
fbf964ae
PE
138162013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13817
13818 [BZ #926]
13819 * manual/time.texi (Calendar Time): Clarify what timezone functions
13820 use.
13821
fa60a674
AZ
138222013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13823
13824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13825
d674f0ef
OB
138262013-12-04 Ondřej Bílka <neleai@seznam.cz>
13827
13828 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13829 implementation.
13830 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13831 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13832 * debug/memset_chk.c (__memset_chk): Likewise.
13833 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13834 * debug/strncpy_chk.c: Likewise.
13835
17dea188
JM
138362013-12-03 Joseph Myers <joseph@codesourcery.com>
13837
749008ff
JM
13838 [BZ #15268]
13839 [BZ #15425]
13840 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13841 (__ieee754_exp): For possibly underflowing results, check size of
13842 result and force underflow exception if required.
13843 * math/auto-libm-test-in: Add more tests of exp.
13844 * math/auto-libm-test-out: Regenerated.
13845 * sysdeps/i386/fpu/libm-test-ulps: Update.
13846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13847
17dea188
JM
13848 [BZ #16283]
13849 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13850 * math/w_exp2f.c (__exp2f): Likewise.
13851 * math/w_exp2l.c (__exp2l): Likewise.
13852 * math/auto-libm-test-in: Do not allow missing errno on exp2
13853 underflow.
13854 * math/auto-libm-test-out: Regenerated.
13855
b20de2c3
OB
138562013-12-03 Ondřej Bílka <neleai@seznam.cz>
13857
13858 [BZ #16274]
13859 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13860 handle filename validation.
13861 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13862 (do_open): Delete.
13863
d8e2dbe3
JM
138642013-12-03 Joseph Myers <joseph@codesourcery.com>
13865
34e16df5
JM
13866 [BZ #6786]
13867 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13868 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13869 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13870 <float.h>.
13871 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13872 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13873 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13874 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13875 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13876 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13877 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13878 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13879 Add more erfc tests.
13880 * math/auto-libm-test-out: Regenerated.
13881 * sysdeps/i386/fpu/libm-test-ulps: Update.
13882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13883
d8e2dbe3
JM
13884 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13885 exp2, expm1, j0 and j1.
13886 * math/auto-libm-test-out: Regenerated.
13887 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13888 (erfc_test_data): Likewise.
13889 (exp_test_data): Likewise.
13890 (exp_tonearest_test_data): Likewise.
13891 (exp_towardzero_test_data): Likewise.
13892 (exp_downward_test_data): Likewise.
13893 (exp_upward_test_data): Likewise.
13894 (exp10_test_data): Likewise.
13895 (exp2_test_data): Likewise.
13896 (expm1_test_data): Likewise.
13897 (j0_test_data): Likewise.
13898 (j1_test_data): Likewise.
13899 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13900 (input_flag_type): Add flag_xfail_rounding.
13901 (input_flags): Add xfail-rounding.
13902 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13903 (output_for_one_input_case): Handle flag_xfail_rounding.
13904 * sysdeps/i386/fpu/libm-test-ulps: Update.
13905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13906
18d14251
AJ
139072013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13908
3d2e6075 13909 [BZ #16289]
18d14251
AJ
13910 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13911 division by 0.
13912
520d437b
SP
139132013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13914
13915 [BZ #16195]
13916 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13917 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13918 (STAP_PROBE0): New macro.
13919 (STAP_PROBE1): Likewise.
13920 (STAP_PROBE2): Likewise.
13921 (STAP_PROBE3): Likewise.
13922 (STAP_PROBE4): Likewise.
13923
416e0145
OB
139242013-12-02 Ondřej Bílka <neleai@seznam.cz>
13925
13926 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13927
9d17796a
SE
139282013-12-02 Steve Ellcey <sellcey@mips.com>
13929
13930 * benchtests/Makefile (bench): Add sqrt.
13931 (LDLIBS-bench-sqrt): New.
13932 * benchtests/sqrt-input: New.
13933
f524d6a8
PS
139342013-12-02 Pavel Simerda <psimerda@redhat.com>
13935
639a0ef8
PS
13936 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13937 (GAIH_EAI): Likewise.
13938 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13939 (gaih_inet): Likewise.
13940 (getaddrinfo): Don't use GAIH_EAI.
13941
f524d6a8
PS
13942 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13943 (struct gaih): Remove definition.
13944
df3aedaf
SP
139452013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13946
13947 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13948 Use HERRNOP directly.
13949
1ab19dec
AZ
139502013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13951
b42ad38d 13952 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 13953
176b0c79
JM
139542013-11-30 Joseph Myers <joseph@codesourcery.com>
13955
13956 * math/gen-auto-libm-tests.c (test_functions): Add more
13957 single-argument functions.
13958 (special_fill_pi_2): New function.
13959 (special_fill_minus_pi_2): Likewise.
13960 (special_fill_pi_6): Likewise.
13961 (special_fill_minus_pi_6): Likewise.
13962 (special_fill_pi_3): Likewise.
13963 (special_fill_2pi_3): Likewise.
13964 (special_fill_e): Likewise.
13965 (special_fill_1_e): Likewise.
13966 (special_fill_e_minus_1): Likewise.
13967 (special_real_inputs): Add more special inputs.
13968 (output_for_one_input_case): Do not require ERANGE on underflow to
13969 zero if round-to-nearest result does not underflow to zero, unless
13970 exact results required.
13971 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13972 atan, atanh, cbrt, cos and cosh.
13973 * math/auto-libm-test-out: Regenerated.
13974 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13975 (acos_tonearest_test_data): Likewise.
13976 (acos_towardzero_test_data): Likewise.
13977 (acos_downward_test_data): Likewise.
13978 (acos_upward_test_data): Likewise.
13979 (acosh_test_data): Likewise.
13980 (asin_test_data): Likewise.
13981 (asin_tonearest_test_data): Likewise.
13982 (asin_towardzero_test_data): Likewise.
13983 (asin_upward_test_data): Likewise.
13984 (asinh_test_data): Likewise.
13985 (atan_test_data): Likewise.
13986 (atanh_test_data): Likewise.
13987 (cbrt_test_data): Likewise.
13988 (cos_test_data): Likewise.
13989 (cos_tonearest_test_data): Likewise.
13990 (cos_towardzero_test_data): Likewise.
13991 (cos_downward_test_data): Likewise.
13992 (cos_upward_test_data): Likewise.
13993 (cosh_test_data): Likewise.
13994 (cosh_tonearest_test_data): Likewise.
13995 (cosh_towardzero_test_data): Likewise.
13996 (cosh_downward_test_data): Likewise.
13997 (cosh_upward_test_data): Likewise.
13998 * sysdeps/i386/fpu/libm-test-ulps: Update.
13999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14000
ffb536d0
JM
140012013-11-29 Joseph Myers <joseph@codesourcery.com>
14002
2a77a467
JM
14003 [BZ #6787]
14004 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14005 * math/w_exp10f.c (__exp10f): Likewise.
14006 * math/w_exp10l.c (__exp10l): Likewise.
14007 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14008 errno settings in existing tests.
14009
ea3bc4e8
JM
14010 [BZ #14032]
14011 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14012 precision control set to double precision.
14013 * sysdeps/i386/fpu/w_sqrt.c: New file.
14014 * math/auto-libm-test-in: Add more tests.
14015 * math/auto-libm-test-out: Update.
14016
0712c9d8
JM
14017 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14018 (sqrt_test_tonearest): New function.
14019 (sqrt_towardzero_test_data): New variable.
14020 (sqrt_test_towardzero): New function.
14021 (sqrt_downward_test_data): New variable.
14022 (sqrt_test_downward): New function.
14023 (sqrt_upward_test_data): New variable.
14024 (sqrt_test_upward): New function.
14025 (main): Call the new functions.
14026
ffb536d0
JM
14027 * math/gen-auto-libm-tests.c: New file.
14028 * math/auto-libm-test-in: Likewise.
14029 * math/auto-libm-test-out: New generated file.
14030 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14031 variables.
14032 (%beautify): Add generated representations of zero.
14033 (top level): Set $auto_input and call parse_auto_input.
14034 (beautify): Remove trailing "f" from hex float constants.
14035 (parse_args): Handle XFAIL_TEST.
14036 (convert_condition): New function.
14037 (or_value): Likewise.
14038 (or_cond_value): Likewise.
14039 (generate_testfile): Handle AUTO_TESTS_* lines.
14040 (parse_auto_input): New function.
14041 * math/libm-test.inc (XFAIL_TEST): New macro.
14042 (ERRNO_UNCHANGED): Update value.
14043 (ERRNO_EDOM): Likewise.
14044 (ERRNO_ERANGE): Likewise.
14045 (IGNORE_RESULT): Likewise.
14046 (TEST_COND_flt_32): New macro.
14047 (TEST_COND_dbl_64): Likewise.
14048 (TEST_COND_ldbl_96_intel): Likewise.
14049 (TEST_COND_ldbl_96_m68k): Likewise.
14050 (TEST_COND_ldbl_128): Likewise.
14051 (TEST_COND_ldbl_128ibm): Likewise.
14052 (TEST_COND_long32): Likewise.
14053 (TEST_COND_long64): Likewise.
14054 (TEST_COND_before_rounding): Likewise.
14055 (TEST_COND_after_rounding): Likewise.
14056 (enable_test): Handle XFAIL_TEST flag.
14057 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14058 with finite results.
14059 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14060 auto-libm-test-out.
14061
acd98a8e
AK
140622013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14063 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14064
14065 [BZ #16214]
14066 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14067 __tls_get_addr_internal instead of __tls_get_offset in order to
14068 avoid GOT pointer dependency. Make rtld export
14069 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14070 __tls_get_addr since we are a __tls_get_offset platform.
14071 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14072 GOT pointer being set up before.
14073 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14074
3c1c46a6
JM
140752013-11-28 Joseph Myers <joseph@codesourcery.com>
14076
7475aef5
JM
14077 * manual/math.texi (Errors in Math Functions): Document accuracy
14078 goals.
14079
8bca7cd8
JM
14080 [BZ #15004]
14081 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14082 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14083 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14084 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14085 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14086 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14087 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14088 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14089 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14090 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14091 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14092 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14093 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14094 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14095 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14096 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14097
91a1f3fe
JM
14098 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14099 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14100 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14101 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14102 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14103 Likewise.
14104 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14105 Likewise.
14106 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14107 Likewise.
14108 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14109 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14110 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14111 atomic-feupdateenv and flt-rounds.
14112 * sysdeps/powerpc/nofpu/Versions (libc): Add
14113 __atomic_feholdexcept, __atomic_feclearexcept,
14114 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14115 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14116 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14117 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14118 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14119 here.
14120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14121 Update.
14122
c5df7609
JM
14123 * manual/arith.texi (FP Exceptions): Document that exceptions may
14124 not be raised when matherr is used.
14125 (Math Error Reporting): Document overflow in directed rounding
14126 modes. Document that errno may not be set when finite values are
14127 returned on overflow. Document intent to set errno on underflow
14128 only for underflow to zero.
14129
3c1c46a6
JM
14130 [BZ #16271]
14131 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14132 round-to-nearest then adjust result for other rounding modes.
14133 * include/fenv.h (fegetround): Use libm_hidden_proto.
14134 * math/fegetround.c (fegetround): Use libm_hidden_def.
14135 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14136 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14137 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14138 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14139 Likewise.
14140 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14141 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14142 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14143 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14144
5a4c6d53
SP
141452013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14146
14147 [BZ #16077]
14148 * nss/Versions (libnss_files): Add
14149 _nss_files_gethostbyname3_r.
14150 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14151 New function.
14152 (HOST_DB_LOOKUP): Remove macro.
14153 (_nss_files_gethostbyname_r): Implement function without the
14154 HOST_DB_LOOKUP macro.
14155 (_nss_files_gethostbyname2_r): Likewise.
14156
897b98ba
OB
141572013-11-28 Ondřej Bílka <neleai@seznam.cz>
14158
14159 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14160
6f476861
UB
141612013-11-26 Uros Bizjak <ubizjak@gmail.com>
14162
14163 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14164 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14165 warning.
14166
bd12ab55
AZ
141672013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14168
14169 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14170 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14171 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14172 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14173 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14174 __fe_nomask_env_priv and attribute_hidden.
14175 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14176 (libc_feupdateenv_test_ppc): Likewise.
14177 (libc_feresetround_ppc): Likewise.
14178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14179 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14180 compat_symbol macro.
14181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14182 (__fe_nomask_env): Likewise.
14183 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14184
52bb6543
OB
141852013-11-26 Ondřej Bílka <neleai@seznam.cz>
14186
14187 * string/Makefile: Remove ifunc tests.
14188 * string/test-string.h: Define TEST_IFUNC.
14189 * string/test-bcopy-ifunc.c: Remove.
14190 * string/test-bzero-ifunc.c: Likewise.
14191 * string/test-memccpy-ifunc.c: Likewise.
14192 * string/test-memchr-ifunc.c: Likewise.
14193 * string/test-memcmp-ifunc.c: Likewise.
14194 * string/test-memcpy-ifunc.c: Likewise.
14195 * string/test-memmem-ifunc.c: Likewise.
14196 * string/test-memmove-ifunc.c: Likewise.
14197 * string/test-mempcpy-ifunc.c: Likewise.
14198 * string/test-memrchr-ifunc.c: Likewise.
14199 * string/test-memset-ifunc.c: Likewise.
14200 * string/test-rawmemchr-ifunc.c: Likewise.
14201 * string/test-stpcpy-ifunc.c: Likewise.
14202 * string/test-stpncpy-ifunc.c: Likewise.
14203 * string/test-strcasecmp-ifunc.c: Likewise.
14204 * string/test-strcasestr-ifunc.c: Likewise.
14205 * string/test-strcat-ifunc.c: Likewise.
14206 * string/test-strchr-ifunc.c: Likewise.
14207 * string/test-strchrnul-ifunc.c: Likewise.
14208 * string/test-strcmp-ifunc.c: Likewise.
14209 * string/test-strcpy-ifunc.c: Likewise.
14210 * string/test-strcspn-ifunc.c: Likewise.
14211 * string/test-strlen-ifunc.c: Likewise.
14212 * string/test-strncasecmp-ifunc.c: Likewise.
14213 * string/test-strncat-ifunc.c: Likewise.
14214 * string/test-strncmp-ifunc.c: Likewise.
14215 * string/test-strncpy-ifunc.c: Likewise.
14216 * string/test-strnlen-ifunc.c: Likewise.
14217 * string/test-strpbrk-ifunc.c: Likewise.
14218 * string/test-strrchr-ifunc.c: Likewise.
14219 * string/test-strspn-ifunc.c: Likewise.
14220 * string/test-strstr-ifunc.c: Likewise.
14221
ab260039 142222013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
14223
14224 * benchtests/Makefile: Remove ifunc tests.
14225 * benchtests/bench-string.h: Define TEST_IFUNC.
14226 * benchtests/bench-bcopy-ifunc.c: Remove.
14227 * benchtests/bench-bzero-ifunc.c: Likewise.
14228 * benchtests/bench-memccpy-ifunc.c: Likewise.
14229 * benchtests/bench-memchr-ifunc.c: Likewise.
14230 * benchtests/bench-memcmp-ifunc.c: Likewise.
14231 * benchtests/bench-memcpy-ifunc.c: Likewise.
14232 * benchtests/bench-memmem-ifunc.c: Likewise.
14233 * benchtests/bench-memmove-ifunc.c: Likewise.
14234 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14235 * benchtests/bench-memrchr-ifunc.c: Likewise.
14236 * benchtests/bench-memset-ifunc.c: Likewise.
14237 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14238 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14239 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14240 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14241 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14242 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14243 * benchtests/bench-strcat-ifunc.c: Likewise.
14244 * benchtests/bench-strchr-ifunc.c: Likewise.
14245 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14246 * benchtests/bench-strcmp-ifunc.c: Likewise.
14247 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14248 * benchtests/bench-strcpy-ifunc.c: Likewise.
14249 * benchtests/bench-strcspn-ifunc.c: Likewise.
14250 * benchtests/bench-strlen-ifunc.c: Likewise.
14251 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14252 * benchtests/bench-strncat-ifunc.c: Likewise.
14253 * benchtests/bench-strncmp-ifunc.c: Likewise.
14254 * benchtests/bench-strncpy-ifunc.c: Likewise.
14255 * benchtests/bench-strnlen-ifunc.c: Likewise.
14256 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14257 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 14258 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
14259 * benchtests/bench-strspn-ifunc.c: Likewise.
14260 * benchtests/bench-strstr-ifunc.c: Likewise.
14261
142622013-11-26 Ondřej Bílka <neleai@seznam.cz>
14263
ab260039
OB
14264 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14265
d1d9eaf4 142662013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 14267
d1d9eaf4
OB
14268 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14269 * rt/aio.h: Likewise.
14270 * sysdeps/gnu/bits/utmp.h: Likewise.
14271 * sysdeps/gnu/bits/utmpx.h: Likewise.
14272 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14273 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14274 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14275 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14276 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14277 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14278 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14279 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14280 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14281 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14282 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14283 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14284 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14286 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14287 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14288 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14289 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14290 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14291 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14292 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14293 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14294 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14295 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14296 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14297 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14298 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14299 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14300 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14301 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14302 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14303 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14304 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14305 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14306 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14307 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14308 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14309 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14310 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14311 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14312 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14313 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14314
a7624ed9
CD
143152013-11-25 Carlos O'Donell <carlos@redhat.com>
14316
14317 [BZ #16245]
14318 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14319 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14320
63cfe52b
JM
143212013-11-25 Joseph Myers <joseph@codesourcery.com>
14322
14323 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14324 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14325 Likewise.
14326
41e8926a
AZ
143272013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14328
14329 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14330 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14331 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14332 (__fesetround): Remove define.
14333 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14334 rounding and exceptions handling.
14335 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14336 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14337 (__fe_nomask_env): Likewise.
14338 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14339 __fegetround instead of fegetround.
14340 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14341 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14342
6851bd4d
RM
143432013-11-21 Roland McGrath <roland@hack.frob.com>
14344
070906ff
RM
14345 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14346 it's there.
14347
6851bd4d
RM
14348 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14349
84ae135d
MI
143502013-11-21 Meador Inge <meadori@codesourcery.com>
14351
14352 [BZ #11157]
14353 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14354 (encrypt_r): Likewise.
14355 * malloc/obstack.h (obstack_free): Likewise.
14356 * posix/unistd.h (encrypt): Likewise.
14357
daf75146
GM
143582013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14359
14360 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14361 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14362 DL_CALL_DT_FINI() that call the functions directly.
14363 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14364 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14365 * elf/dl-fini.c: Likewise.
14366
10ad46bc
OB
143672013-11-20 Ondřej Bílka <neleai@seznam.cz>
14368
14369 * malloc/hooks.c (memalign_check): Add alignment rounding.
14370 * malloc/malloc.c (_mid_memalign): New function.
14371 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14372 Implement by calling _mid_memalign.
14373 * manual/probes.texi (Memory Allocation Probes): Remove
14374 memory_valloc_retry and memory_pvalloc_retry.
14375
f3fd2628
SP
143762013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14377
4712799f
SP
14378 * locale/programs/locarchive.c (open_archive): Add const
14379 qualifier to ARCHIVEFNAME and copy default fname to
14380 DEFAULT_FNAME.
14381
0417b20f
SP
14382 [BZ #15601]
14383 * libio/tst-widetext.input: Rename Oriya to Odia.
14384 * locale/iso-639.def: Likewise.
14385
f3fd2628
SP
14386 * manual/probes.texi (Mathematical Function Probes): Add
14387 documentation for sin, cos, asin and acos probes.
14388 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14389 (__sin32): Add slowasin probe.
14390 (__cos32): Add slowacos probe.
14391 (__mpsin): Add slowsin probe.
14392 (__mpcos): Add slowcos probe.
14393
73c1ce4f
JM
143942013-11-19 Joseph Myers <joseph@codesourcery.com>
14395
14396 [BZ #15483]
14397 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14398 thread-local __sim_exceptions_thread and global
14399 __sim_exceptions_global.
14400 (__sim_disabled_exceptions): Change to thread-local
14401 __sim_disabled_exceptions_thread and global
14402 __sim_disabled_exceptions_global.
14403 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14404 and global __sim_round_mode_global.
14405 (__simulate_exceptions): Use thread-local floating-point state and
14406 set global state from it as needed.
14407 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14408 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14409 __sim_round_mode_thread.
14410 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14411 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14412 and global __sim_exceptions_global.
14413 (__sim_disabled_exceptions): Change to thread-local
14414 __sim_disabled_exceptions_thread and global
14415 __sim_disabled_exceptions_global.
14416 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14417 and global __sim_round_mode_global.
14418 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14419 (SIM_SET_GLOBAL): Likewise.
14420 * sysdeps/powerpc/soft-fp/sfp-machine.h
14421 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14422 __sim_round_mode_thread.
14423 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14424 __sim_disabled_exceptions_thread.
14425 (__sim_exceptions): Change to __sim_exceptions_thread.
14426 (__sim_disabled_exceptions): Change to
14427 __sim_disabled_exceptions_thread.
14428 (__sim_round_mode): Change to __sim_round_mode_thread.
14429 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14430 thread-local floating-point state and set global state from it as
14431 needed.
14432 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14433 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14434 (__sim_disabled_exceptions): Remove extern declaration.
14435 (feenableexcept): Use thread-local floating-point state and set
14436 global state from it as needed.
14437 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14438 extern declaration.
14439 (__sim_disabled_exceptions): Likewise.
14440 (__sim_round_mode): Likewise.
14441 (__fegetenv): Use thread-local floating-point state.
14442 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14443 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14444 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14445 floating-point state and set global state from it as needed.
14446 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14447 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14448 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14449 Likewise.
14450 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14451 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14452 Likewise.
14453 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14454 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14455 Use __sim_round_mode_thread.
14456 * math/test-fenv-tls.c: New file.
14457 * math/Makefile (tests): Add test-fenv-tls.
14458 ($(objpfx)test-fenv-tls): Depend on
14459 $(common-objpfx)nptl/libpthread.so.
14460
b5449b12
AS
144612013-11-19 Andreas Schwab <schwab@suse.de>
14462
14463 * locale/programs/locale.c (show_info): Decode wordarray elements.
14464 * locale/categories.def (LC_MONETARY): Add element for
14465 _NL_MONETARY_CRNCYSTR.
14466 * locale/C-monetary.c (conversion_rate): New variable.
14467 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14468 element.
14469
e186536b
CM
144702013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14471
14472 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14473 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14474
5c349950
PP
144752013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14476
14477 * elf/Makefile (tst-auxv): New test.
14478 * elf/tst-auxv.c: New
14479 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14480
699df45b
JM
144812013-11-18 Joseph Myers <joseph@codesourcery.com>
14482
14483 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14484 (hidden_proto): Caller changed.
14485 (hidden_tls_proto): New macro.
14486 (libc_hidden_tls_proto): Likewise.
14487 (rtld_hidden_tls_proto): Likewise.
14488 (libm_hidden_tls_proto): Likewise.
14489 (libresolv_hidden_tls_proto): Likewise.
14490 (librt_hidden_tls_proto): Likewise.
14491 (libdl_hidden_tls_proto): Likewise.
14492 (libnss_files_hidden_tls_proto): Likewise.
14493 (libnsl_hidden_tls_proto): Likewise.
14494 (libnss_nisplus_hidden_tls_proto): Likewise.
14495 (libutil_hidden_tls_proto): Likewise.
14496
b7589107
OB
144972013-11-18 Ondřej Bílka <neleai@seznam.cz>
14498
14499 [BZ #10253]
14500 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14501 (decompose_rpath): Defer expansion to fillin_rpath.
14502 (_dl_init_paths): Pass linkmap to fillin_rpath.
14503
250c23bd
RS
145042013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14505
14506 * benchtests/Makefile: Add strsep.
14507 * benchtests/bench-strsep.c: New file: strsep benchtest.
14508 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14509
a7931fcf
AS
145102013-11-18 Andreas Schwab <schwab@suse.de>
14511
14512 * locale/programs/locale.c (show_info) [case byte]: Check for
14513 '\377' instead of '\177'.
14514 * locale/C-monetary.c (not_available): Always use "\377".
14515 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14516 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14517 detect unavailable sign_posn locale elements.
14518 * locale/localeconv.c (__localeconv): For grouping and
14519 mon_grouping handle "\177" and "\377" like no grouping.
14520 (INT_ELEM): New macro. Use it to set all numeric members.
14521 * locale/programs/ld-monetary.c (monetary_read)
14522 <tok_mon_grouping>: Normalize single -1 to the empty string.
14523 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14524 Likewise.
14525
728dab0e
OB
145262013-11-07 Ondřej Bílka <neleai@seznam.cz>
14527
14528 [BZ #16055]
14529 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14530 when we match (nil).
14531 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14532
66294491
JM
145332013-11-16 Joseph Myers <joseph@codesourcery.com>
14534
ce665817
JM
14535 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14536 (NO_TEST_INLINE): Update value.
14537 (ERRNO_UNCHANGED): Likewise.
14538 (ERRNO_EDOM): Likewise.
14539 (ERRNO_ERANGE): Likewise.
14540 (IGNORE_RESULT): Likewise.
14541 (check_float_internal): Check signs of NaN results if
14542 TEST_NAN_SIGN used.
14543 (check_complex): Pass TEST_NAN_SIGN flag through to second
14544 check_float_internal call.
14545 (copysign_test_data): Add tests with quiet NaNs as second
14546 argument. Use TEST_NAN_SIGN.
14547 (fabs_test_data): Add test of negative quiet NaN argument. Use
14548 TEST_NAN_SIGN.
14549 (signbit_test_data): Add tests of quiet NaN argument.
14550 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14551
ee1466a9
JM
14552 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14553 $ignore_result.
14554 (parse_args): Handle function results specified as IGNORE.
14555 * math/libm-test.inc (IGNORE_RESULT): New macro.
14556 (check_float_internal): Do not check numerical result if flag
14557 IGNORE_RESULT set.
14558 (check_complex): Pass through IGNORE_RESULT to second
14559 check_float_internal call.
14560 (check_int): Do not check numerical result if flag IGNORE_RESULT
14561 set.
14562 (check_long): Likewise.
14563 (check_bool): Likewise.
14564 (check_longlong): Likewise.
14565 (lrint_test_data): Add tests of infinite and NaN arguments.
14566 (lrint_tonearest_test_data): Likewise.
14567 (lrint_towardzero_test_data): Likewise.
14568 (lrint_downward_test_data): Likewise.
14569 (lrint_upward_test_data): Likewise.
14570 (llrint_test_data): Likewise.
14571 (llrint_tonearest_test_data): Likewise.
14572 (llrint_towardzero_test_data): Likewise.
14573 (llrint_downward_test_data): Likewise.
14574 (llrint_upward_test_data): Likewise.
14575 (lround_test_data): Likewise.
14576 (llround_test_data): Likewise.
14577
14407b7e
JM
14578 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14579 (ERRNO_UNCHANGED): Update value.
14580 (ERRNO_EDOM): Likewise.
14581 (ERRNO_ERANGE): Likewise.
14582 (NO_TEST_INLINE_FLOAT): New macro.
14583 (NO_TEST_INLINE_DOUBLE): Likewise.
14584 (enable_test): New function.
14585 (RUN_TEST_f_f): Check enable_test before running test.
14586 (RUN_TEST_2_f): Likewise.
14587 (RUN_TEST_fff_f): Likewise.
14588 (RUN_TEST_c_f): Likewise.
14589 (RUN_TEST_f_f1): Likewise.
14590 (RUN_TEST_fF_f1): Likewise.
14591 (RUN_TEST_fI_f1): Likewise.
14592 (RUN_TEST_ffI_f1): Likewise.
14593 (RUN_TEST_c_c): Likewise.
14594 (RUN_TEST_cc_c): Likewise.
14595 (RUN_TEST_f_i): Likewise.
14596 (RUN_TEST_f_i_tg): Likewise.
14597 (RUN_TEST_ff_i_tg): Likewise.
14598 (RUN_TEST_f_b): Likewise.
14599 (RUN_TEST_f_b_tg): Likewise.
14600 (RUN_TEST_f_l): Likewise.
14601 (RUN_TEST_f_L): Likewise.
14602 (RUN_TEST_fFF_11): Likewise.
14603 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14604 conditionals.
14605 (cosh_test_data): Likewise.
14606 (exp_test_data): Likewise.
14607 (expm1_test_data): Likewise.
14608 (hypot_test_data): Likewise.
14609 (pow_test_data): Likewise.
14610 (sinh_test_data): Likewise.
14611 (tanh_test_data): Likewise.
14612 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14613 flags argument.
14614
ca07f197
JM
14615 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14616 tests with quiet NaN input and output.
14617 (acosh_test_data): Likewise.
14618 (asin_test_data): Likewise.
14619 (asinh_test_data): Likewise.
14620 (atan_test_data): Likewise.
14621 (atanh_test_data): Likewise.
14622 (atan2_test_data): Likewise.
14623 (cbrt_test_data): Likewise.
14624 (cos_test_data): Likewise.
14625 (cosh_test_data): Likewise.
14626 (erf_test_data): Likewise.
14627 (erfc_test_data): Likewise.
14628 (exp_test_data): Likewise.
14629 (exp10_test_data): Likewise.
14630 (exp2_test_data): Likewise.
14631 (expm1_test_data): Likewise.
14632 (hypot_test_data): Likewise.
14633 (j0_test_data): Likewise.
14634 (j1_test_data): Likewise.
14635 (jn_test_data): Likewise.
14636 (lgamma_test_data): Likewise.
14637 (log_test_data): Likewise.
14638 (log10_test_data): Likewise.
14639 (log1p_test_data): Likewise.
14640 (log2_test_data): Likewise.
14641 (pow_test_data): Likewise.
14642 (scalb_test_data): Likewise.
14643 (sin_test_data): Likewise.
14644 (sincos_test_data): Likewise.
14645 (sinh_test_data): Likewise.
14646 (tan_test_data): Likewise.
14647 (tanh_test_data): Likewise.
14648 (tgamma_test_data): Likewise.
14649 (y0_test_data): Likewise.
14650 (y1_test_data): Likewise.
14651 (yn_test_data): Likewise.
14652
66294491
JM
14653 [BZ #16167]
14654 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14655 argument being NaN and avoid computations with second argument in
14656 that case.
14657 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14658 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14659 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14660
1820b143
CL
146612013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14662
14663 * locale/iso-639.def: Add Chitwani Tharu (the).
14664
714bd261
AS
146652013-11-14 Andreas Schwab <schwab@suse.de>
14666
14667 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14668 word instead of empty string.
14669
7ab44563
AZ
146702013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14671
14672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14673 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14675 (__fe_nomask_env): Likewise.
14676
e8470ea2
SE
146772013-11-13 Steve Ellcey <sellcey@mips.com>
14678
14679 * benchtests/bench-timing.h: Include time.h.
14680
17c1d9f0
L
146812013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14682
14683 [BZ #15997]
14684 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14685 to 3.4.0 for x32.
14686 * sysdeps/unix/sysv/linux/configure: Regenerated.
14687
9310c284
JM
146882013-11-13 Joseph Myers <joseph@codesourcery.com>
14689
14690 [BZ #16151]
14691 * stdlib/strtod_l.c (round_and_return): Do not consider
14692 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14693 exponent one less than half the least subnormal exponent.
14694 * stdlib/test-strtod-round-data: Add more tests.
14695 * stdlib/tst-strtod-round.c (tests): Regenerated.
14696
7a2ad8cf
AZ
146972013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14698
14699 [BZ #14143]
14700 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14701 (__fe_mask_env): Likewise.
14702 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14703 libm_hidden_proto and add function prototype.
14704 (__fe_mask_env): Add function prototype.
14705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14706 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14708 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14710 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14711
50727aa7
MS
147122013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14713
b2f386c1 14714 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
14715 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14716
a615be46
MS
147172013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14718
14719 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14720 of htab_find_slot().
14721
7ddace62
DM
147222013-11-11 David S. Miller <davem@davemloft.net>
14723
14724 [BZ #16150]
14725 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14726 symbol in the non-vis3 case in static builds.
14727 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14728 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14729 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14730 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14731
9182aa67
JK
147322013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14733
14734 [BZ #387]
14735 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14736 it is empty.
14737
450a2e2d
AZ
147382013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14739
b2f386c1
SP
14740 * benchtests/Makefile: Add bench-strtod.
14741 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 14742
8ec3f656
AS
147432013-11-11 Andreas Schwab <schwab@suse.de>
14744
14745 [BZ #16153]
14746 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14747 terminating NUL in key length.
14748
76a9b998
AZ
147492013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14750
14751 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14752 Add artificial ODP entry for vDSO symbol for PPC64.
14753 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14754 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14755
e4368156
OB
147562013-11-07 Ondřej Bílka <neleai@seznam.cz>
14757
14758 [BZ #15374]
14759 * nss/getent.c (services_keys): Recognize services starting with digit.
14760
8d6bb57c
DM
147612013-11-06 David S. Miller <davem@davemloft.net>
14762
14763 [BZ #15985]
14764 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14765 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14766
e256c421
WN
147672013-11-06 Will Newton <will.newton@linaro.org>
14768
14769 * manual/memory.texi (Malloc Examples): Remove register
14770 keyword from examples.
14771
f6e12daa 147722013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 14773
f6e12daa 14774 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 14775
9d880655
AS
147762013-11-04 Joseph Myers <joseph@codesourcery.com>
14777
fd2f9486 14778 [BZ #6981]
9d880655
AS
14779 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14780 depending on [__GCC_IEC_559 > 0].
14781 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14782 depending on [__GCC_IEC_559_COMPLEX > 0].
14783
ae129d3c
CL
147842013-11-03 Chris Leonard <cjl@sugarlabs.org>
14785
14786 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14787 to iso-639.def.
14788
4a15c2a4 147892013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
14790
14791 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14792
8b35e35d
OB
147932013-11-01 Ondřej Bílka <neleai@seznam.cz>
14794
14795 [BZ #16112]
14796 * malloc/malloc (malloc_info): Do not handle first bin as
14797 special case.
14798
1d70fd6c
CL
147992013-11-01 Chris Leonard <cjl@sugarlabs.org>
14800
14801 * locale/iso-639.def: Add Central Nahuatl (nhn).
14802
8c5c2600
BH
148032013-11-01 Bruno Haible <bruno@clisp.org>
14804
14805 [BZ #7003]
14806 * manual/math.texi (BSD Random): Specify range upper bound as
14807 in POSIX.
14808
da5579c2
CL
148092013-10-31 Chris Leonard <cjl@sugarlabs.org>
14810
14811 * locale/iso-639.def: Add Meadow Mari (mhr).
14812
5d30d853
OB
148132013-10-31 Ondřej Bílka <neleai@seznam.cz>
14814
14815 [BZ #14752], [BZ #15763]
14816 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14817 Validate name.
14818 * rt/tst_shm.c: Add test for escaping directory.
14819
a4966c61
AS
148202013-10-31 Andreas Schwab <schwab@suse.de>
14821
8a43e768 14822 [BZ #15917]
a4966c61
AS
14823 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14824 followed by 'x' as part of digit sequence.
14825 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14826
28d708c4
MAP
148272013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14828
14829 [BZ #16037]
14830 * configure.ac: allow GNU Make 4.0 and greater.
14831 * configure: Regenerated.
14832
a56ee40b
WN
148332013-10-30 Will Newton <will.newton@linaro.org>
14834
14835 [BZ #16038]
14836 * malloc/hooks.c (memalign_check): Limit alignment to the
14837 maximum representable power of two.
14838 * malloc/malloc.c (__libc_memalign): Likewise.
14839 * malloc/tst-memalign.c (do_test): Add test for very
14840 large alignment values.
14841 * malloc/tst-posix_memalign.c (do_test): Likewise.
14842
c6e4925d
OB
148432013-10-30 Ondřej Bílka <neleai@seznam.cz>
14844
14845 [BZ #11087]
14846 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14847 (munmap_chunk): Likewise.
14848 (mremap_chunk): Likewise.
14849
148502013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 14851
8a43e768 14852 [BZ #15799]
bbea82f7
OB
14853 * stdlib/div.c (div): Remove obsolete code.
14854 * stdlib/ldiv.c (ldiv): Likewise.
14855 * stdlib/lldiv.c (lldiv): Likewise.
14856
977f4b31
SP
148572013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14858
14859 [BZ #16071]
14860 * nss/nss_files/files-XXX.c (get_contents_ret): New
14861 enumerator.
14862 (get_contents): New function.
14863 (internal_getent): Use it. Expand size of LINEBUFLEN.
14864
cb8a6dbd
MF
148652013-10-30 Mike Frysinger <vapier@gentoo.org>
14866
14867 * configure.in: Moved to ...
14868 * configure.ac: ... here. Change reference to configure.in
14869 to configure.ac.
14870 * sysdeps/arm/preconfigure.ac: ... here.
14871 configure.in to configure.ac.
14872 * sysdeps/gnu/configure.in: Moved to ...
14873 * sysdeps/gnu/configure.ac: ... here.
14874 * sysdeps/i386/configure.in: Moved to ...
14875 * sysdeps/i386/configure.ac: ... here.
14876 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14877 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14878 * sysdeps/mach/configure.in: Moved to ...
14879 * sysdeps/mach/configure.ac: ... here.
14880 * sysdeps/mach/hurd/configure.in: Moved to ...
14881 * sysdeps/mach/hurd/configure.ac: ... here.
14882 * sysdeps/powerpc/configure.in: Moved to ...
14883 * sysdeps/powerpc/configure.ac: ... here.
14884 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14885 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14886 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14887 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14888 * sysdeps/s390/s390-32/configure.in: Moved to ...
14889 * sysdeps/s390/s390-32/configure.ac: ... here.
14890 * sysdeps/s390/s390-64/configure.in: Moved to ...
14891 * sysdeps/s390/s390-64/configure.ac: ... here.
14892 * sysdeps/sh/configure.in: Moved to ...
14893 * sysdeps/sh/configure.ac: ... here.
14894 * sysdeps/sparc/configure.in: Moved to ...
14895 * sysdeps/sparc/configure.ac: ... here.
14896 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14897 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14898 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14899 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14900 * sysdeps/x86_64/configure.in: Moved to ...
14901 * sysdeps/x86_64/configure.ac: ... here.
14902 * sysdeps/x86_64/preconfigure.in: Moved to ...
14903 * sysdeps/x86_64/preconfigure.ac: ... here.
14904 * aclocal.m4: Change reference to configure.in to configure.ac.
14905 * config.h.in: Likewise.
14906 * manual/install.texi: Likewise.
14907 * manual/maint.texi: Likewise.
14908 * Makefile: Likewise.
14909 * malloc/Makefile: Likewise.
14910 * nscd/Makefile: Likewise.
14911 * Makeconfig: Change reference to configure.in and
14912 preconfigure.in to configure.ac and preconfigure.ac
14913 respectively.
14914 * INSTALL: Regenerated.
14915 * configure: Likewise.
14916 * sysdeps/gnu/configure: Likewise.
14917 * sysdeps/i386/configure: Likewise.
14918 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14919 * sysdeps/mach/configure: Likewise.
14920 * sysdeps/mach/hurd/configure: Likewise.
14921 * sysdeps/powerpc/configure: Likewise.
14922 * sysdeps/powerpc/powerpc32/configure: Likewise.
14923 * sysdeps/powerpc/powerpc64/configure: Likewise.
14924 * sysdeps/s390/s390-32/configure: Likewise.
14925 * sysdeps/s390/s390-64/configure: Likewise.
14926 * sysdeps/sh/configure: Likewise.
14927 * sysdeps/sparc/configure: Likewise.
14928 * sysdeps/unix/sysv/linux/configure: Likewise.
14929 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14930 * sysdeps/x86_64/configure: Likewise.
14931 * sysdeps/x86_64/preconfigure: Likewise.
14932
36a4953a
AS
149332013-10-29 Andreas Schwab <schwab@suse.de>
14934
14935 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14936
c79a1204
SP
149372013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14938
dfa1b402
SP
14939 * benchtests/pow-inputs: Add new inputs.
14940
54f73d9c
SP
14941 * benchtests/exp-inputs: Add new inputs.
14942
c79a1204
SP
14943 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14944 conditional check for return value.
14945 (__cos32): Likewise.
14946
67beb545 149472013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
14948
14949 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14950 to provide a boost for large inputs with word alignment.
14951 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14952 implementation based on optimized PPC64 strcpy.
14953 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14954 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14955 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14956 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14957
151659f6
OB
149582013-10-25 Ondřej Bílka <neleai@seznam.cz>
14959
482a077e 14960 [BZ #2801]
151659f6
OB
14961 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14962
10b0f26b
OB
149632013-10-25 Ondřej Bílka <neleai@seznam.cz>
14964
14965 [BZ #14876]
14966 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14967 * time/tst-strptime.c (day_tests): Add testcase.
14968
ca42d35e
OB
149692013-10-25 Ondřej Bílka <neleai@seznam.cz>
14970
482a077e 14971 [BZ #14029]
ca42d35e
OB
14972 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14973
52e6d801
FB
149742013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14975
14976 [BZ #16074]
14977 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14978 MAP_FAILED on error.
14979
7cbcdb36
SP
149802013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14981
14982 [BZ #16072]
14983 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14984 heap for large requests.
14985
894f3f10
AM
149862013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14987
14988 [BZ #9954]
14989 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14990 result if the result has no associated interface.
14991 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14992 interface for all 127.X.Y.Z addresses.
14993
b85545a6
CL
149942013-10-24 Chris Leonard <cjl@sugarlabs.org>
14995
14996 * locale/iso-639.def: Add Ligurian (lij)
14997
d1f23d46
OB
149982013-10-21 Ondřej Bílka <neleai@seznam.cz>
14999
15000 [BZ #15825]
15001 * sunrpc/rpc_main.c: Document rpcgen -5.
15002
4db5b08f
MS
150032013-10-19 Michael Stahl <mstahl@redhat.com>
15004
15005 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15006
a471e96a
OB
150072013-10-19 Ondřej Bílka <neleai@seznam.cz>
15008
d1f23d46 15009 [BZ #10278]
a471e96a
OB
15010 * posix/glob.c: Match only directories when trailing slash is present.
15011 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15012 (main): Add testcase.
15013
45c30c61
OB
150142013-10-19 Ondřej Bílka <neleai@seznam.cz>
15015
15016 [BZ #15670]
15017 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15018
484c12fb
CD
150192013-10-18 Carlos O'Donell <carlos@redhat.com>
15020
3d7dc513
CD
15021 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15022 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15023 AUTH_DES and cindex for FIPS 140-2.
15024 (DES Encryption): Add cindex FIPS 46-3.
15025
484c12fb
CD
15026 * locale/locarchive.h (struct locarhandle): Add fname.
15027 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15028 if an optional argument was specified to --list-archive,
15029 otherwise NULL.
15030 * locale/programs/locarchive.c (show_archive_content): Take new
15031 argument fname and pass it via ah.fname to open_archive.
15032 * locale/programs/localedef.h: Update decl.
15033 (open_archive): If AH->fname is non-null, open that file
15034 rather than the default file name, and don't ignore ENOENT.
15035 (create_archive): Set AH.fname to NULL.
15036 (delete_locales_from_archive): Likewise.
15037 (add_locales_to_archive): Likewise.
15038 * locale/programs/locfile.c (write_all_categories): Likewise.
15039
3c8325fb
JM
150402013-10-18 Joseph Myers <joseph@codesourcery.com>
15041 Aldy Hernandez <aldyh@redhat.com>
15042
15043 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15044 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15045 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15046 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15047 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15048 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15049 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15050 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15051 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15052 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15053 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15054 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15055 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15056 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15057 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15058 Likewise.
15059 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15060 Likewise.
15061 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15062 Likewise.
15063 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15064 Likewise.
15065 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15066 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15067 Likewise.
15068 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15069 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15070 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15071 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15072 Likewise.
15073 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15074 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15075 * sysdeps/powerpc/preconfigure: Likewise.
15076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15077 Likewise.
15078 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15079 Replace contents of file by #include of <fenv_libc.h>.
15080 * sysdeps/powerpc/soft-fp/sfp-machine.h
15081 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15082 and <sys/prctl.h>.
15083 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15084 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15085 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15086 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15087 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15088 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15089 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15090 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15091 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15092 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15093 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15094 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15096 Allow copysignl PLT reference to be missing.
15097
5abe0682
RS
150982013-10-18 Richard Sandiford <richard@codesourcery.com>
15099 Joseph Myers <joseph@codesourcery.com
15100
15101 [BZ #15948]
15102 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15103 single character.
15104 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15105
c7738d08
SP
151062013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15107
15108 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15109 * elf/tst-tls1.c: Likewise.
15110 * elf/tst-tls10.h: Likewise.
15111 * elf/tst-tls14.c: Likewise.
15112 * elf/tst-tls2.c: Likewise.
15113 * elf/tst-tls3.c: Likewise.
15114 * elf/tst-tls4.c: Likewise.
15115 * elf/tst-tls5.c: Likewise.
15116 * elf/tst-tls6.c: Likewise.
15117 * elf/tst-tls7.c: Likewise.
15118 * elf/tst-tls8.c: Likewise.
15119 * elf/tst-tls9.c: Likewise.
15120 * elf/tst-tlsmod1.c: Likewise.
15121 * elf/tst-tlsmod13.c: Likewise.
15122 * elf/tst-tlsmod13a.c: Likewise.
15123 * elf/tst-tlsmod14a.c: Likewise.
15124 * elf/tst-tlsmod16a.c: Likewise.
15125 * elf/tst-tlsmod16b.c: Likewise.
15126 * elf/tst-tlsmod2.c: Likewise.
15127 * elf/tst-tlsmod3.c: Likewise.
15128 * elf/tst-tlsmod4.c: Likewise.
15129 * elf/tst-tlsmod5.c: Likewise.
15130 * elf/tst-tlsmod6.c: Likewise.
15131
0bfcf2c7
OB
151322013-10-18 Ondřej Bílka <neleai@seznam.cz>
15133
15134 [BZ #12486]
15135 * malloc/malloc.c: remove checks for statistics.
15136
264aad1e
OB
151372013-10-17 Ondřej Bílka <neleai@seznam.cz>
15138
15139 [BZ #15277]
15140 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15141 * inet/tst-network.c: Add testcase.
15142
b957ced8
AS
151432013-10-17 Andreas Schwab <schwab@suse.de>
15144
15145 [BZ #15218]
15146 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15147 to determine canonical name.
15148
c5d5d574
OB
151492013-10-17 Ondřej Bílka <neleai@seznam.cz>
15150
15151 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15152 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15153 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15154 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15155 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15156 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15157 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15158 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15159 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15160 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15161 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15162 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15163 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15164 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15165 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15166 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15167 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15168 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15169 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15170 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15171 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15172 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15173 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15174 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15175 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15176 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15177 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15178 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15179 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15180 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15181 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15182 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15183 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15184 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15185 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15186 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15187 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15188 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15189 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15190 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15191 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15192 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15193 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15194 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15195 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15196 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15197 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15198 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15199 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15200 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15201 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15202 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15203 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15204 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15205 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15206 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15207 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15208 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15209
e5c2c2d0
JM
152102013-10-17 Joseph Myers <joseph@codesourcery.com>
15211
15212 [BZ #16041]
15213 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15214 make result into a quiet NaN.
15215
51ca9e29
JM
152162013-10-16 Joseph Myers <joseph@codesourcery.com>
15217
15218 * soft-fp/adddf3.c: Fix horizontal whitespace.
15219 * soft-fp/addsf3.c: Likewise.
15220 * soft-fp/addtf3.c: Likewise.
15221 * soft-fp/divdf3.c: Likewise.
15222 * soft-fp/divsf3.c: Likewise.
15223 * soft-fp/divtf3.c: Likewise.
15224 * soft-fp/double.h: Likewise.
15225 * soft-fp/eqdf2.c: Likewise.
15226 * soft-fp/eqsf2.c: Likewise.
15227 * soft-fp/eqtf2.c: Likewise.
15228 * soft-fp/extenddftf2.c: Likewise.
15229 * soft-fp/extended.h: Likewise.
15230 * soft-fp/extendsfdf2.c: Likewise.
15231 * soft-fp/extendsftf2.c: Likewise.
15232 * soft-fp/extendxftf2.c: Likewise.
15233 * soft-fp/fixdfdi.c: Likewise.
15234 * soft-fp/fixdfsi.c: Likewise.
15235 * soft-fp/fixdfti.c: Likewise.
15236 * soft-fp/fixsfdi.c: Likewise.
15237 * soft-fp/fixsfsi.c: Likewise.
15238 * soft-fp/fixsfti.c: Likewise.
15239 * soft-fp/fixtfdi.c: Likewise.
15240 * soft-fp/fixtfsi.c: Likewise.
15241 * soft-fp/fixtfti.c: Likewise.
15242 * soft-fp/fixunsdfdi.c: Likewise.
15243 * soft-fp/fixunsdfsi.c: Likewise.
15244 * soft-fp/fixunsdfti.c: Likewise.
15245 * soft-fp/fixunssfdi.c: Likewise.
15246 * soft-fp/fixunssfsi.c: Likewise.
15247 * soft-fp/fixunssfti.c: Likewise.
15248 * soft-fp/fixunstfdi.c: Likewise.
15249 * soft-fp/fixunstfsi.c: Likewise.
15250 * soft-fp/fixunstfti.c: Likewise.
15251 * soft-fp/floatdidf.c: Likewise.
15252 * soft-fp/floatdisf.c: Likewise.
15253 * soft-fp/floatditf.c: Likewise.
15254 * soft-fp/floatsidf.c: Likewise.
15255 * soft-fp/floatsisf.c: Likewise.
15256 * soft-fp/floatsitf.c: Likewise.
15257 * soft-fp/floattidf.c: Likewise.
15258 * soft-fp/floattisf.c: Likewise.
15259 * soft-fp/floattitf.c: Likewise.
15260 * soft-fp/floatundidf.c: Likewise.
15261 * soft-fp/floatundisf.c: Likewise.
15262 * soft-fp/floatunditf.c: Likewise.
15263 * soft-fp/floatunsidf.c: Likewise.
15264 * soft-fp/floatunsisf.c: Likewise.
15265 * soft-fp/floatunsitf.c: Likewise.
15266 * soft-fp/floatuntidf.c: Likewise.
15267 * soft-fp/floatuntisf.c: Likewise.
15268 * soft-fp/floatuntitf.c: Likewise.
15269 * soft-fp/fmadf4.c: Likewise.
15270 * soft-fp/fmasf4.c: Likewise.
15271 * soft-fp/fmatf4.c: Likewise.
15272 * soft-fp/gedf2.c: Likewise.
15273 * soft-fp/gesf2.c: Likewise.
15274 * soft-fp/getf2.c: Likewise.
15275 * soft-fp/ledf2.c: Likewise.
15276 * soft-fp/lesf2.c: Likewise.
15277 * soft-fp/letf2.c: Likewise.
15278 * soft-fp/muldf3.c: Likewise.
15279 * soft-fp/mulsf3.c: Likewise.
15280 * soft-fp/multf3.c: Likewise.
15281 * soft-fp/negdf2.c: Likewise.
15282 * soft-fp/negsf2.c: Likewise.
15283 * soft-fp/negtf2.c: Likewise.
15284 * soft-fp/op-1.h: Likewise.
15285 * soft-fp/op-2.h: Likewise.
15286 * soft-fp/op-4.h: Likewise.
15287 * soft-fp/op-8.h: Likewise.
15288 * soft-fp/op-common.h: Likewise.
15289 * soft-fp/quad.h: Likewise.
15290 * soft-fp/single.h: Likewise.
15291 * soft-fp/soft-fp.h: Likewise.
15292 * soft-fp/sqrtdf2.c: Likewise.
15293 * soft-fp/sqrtsf2.c: Likewise.
15294 * soft-fp/sqrttf2.c: Likewise.
15295 * soft-fp/subdf3.c: Likewise.
15296 * soft-fp/subsf3.c: Likewise.
15297 * soft-fp/subtf3.c: Likewise.
15298 * soft-fp/truncdfsf2.c: Likewise.
15299 * soft-fp/trunctfdf2.c: Likewise.
15300 * soft-fp/trunctfsf2.c: Likewise.
15301 * soft-fp/trunctfxf2.c: Likewise.
15302 * soft-fp/unorddf2.c: Likewise.
15303 * soft-fp/unordsf2.c: Likewise.
15304 * soft-fp/unordtf2.c: Likewise.
15305
9ebb0332
JM
153062013-10-15 Joseph Myers <joseph@codesourcery.com>
15307
15308 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15309 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15310
4b1a6d8b
OB
153112013-10-15 Ondřej Bílka <neleai@seznam.cz>
15312
15313 * elf/dl-libc.c: Clear initfini list after freeing.
15314
1e145589
JM
153152013-10-14 Joseph Myers <joseph@codesourcery.com>
15316
15317 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15318 * soft-fp/addsf3.c: Likewise.
15319 * soft-fp/addtf3.c: Likewise.
15320 * soft-fp/divdf3.c: Likewise.
15321 * soft-fp/divsf3.c: Likewise.
15322 * soft-fp/divtf3.c: Likewise.
15323 * soft-fp/double.h: Likewise.
15324 * soft-fp/eqdf2.c: Likewise.
15325 * soft-fp/eqsf2.c: Likewise.
15326 * soft-fp/eqtf2.c: Likewise.
15327 * soft-fp/extenddftf2.c: Likewise.
15328 * soft-fp/extended.h: Likewise.
15329 * soft-fp/extendsfdf2.c: Likewise.
15330 * soft-fp/extendsftf2.c: Likewise.
15331 * soft-fp/extendxftf2.c: Likewise.
15332 * soft-fp/fixdfdi.c: Likewise.
15333 * soft-fp/fixdfsi.c: Likewise.
15334 * soft-fp/fixdfti.c: Likewise.
15335 * soft-fp/fixsfdi.c: Likewise.
15336 * soft-fp/fixsfsi.c: Likewise.
15337 * soft-fp/fixsfti.c: Likewise.
15338 * soft-fp/fixtfdi.c: Likewise.
15339 * soft-fp/fixtfsi.c: Likewise.
15340 * soft-fp/fixtfti.c: Likewise.
15341 * soft-fp/fixunsdfdi.c: Likewise.
15342 * soft-fp/fixunsdfsi.c: Likewise.
15343 * soft-fp/fixunsdfti.c: Likewise.
15344 * soft-fp/fixunssfdi.c: Likewise.
15345 * soft-fp/fixunssfsi.c: Likewise.
15346 * soft-fp/fixunssfti.c: Likewise.
15347 * soft-fp/fixunstfdi.c: Likewise.
15348 * soft-fp/fixunstfsi.c: Likewise.
15349 * soft-fp/fixunstfti.c: Likewise.
15350 * soft-fp/floatdidf.c: Likewise.
15351 * soft-fp/floatdisf.c: Likewise.
15352 * soft-fp/floatditf.c: Likewise.
15353 * soft-fp/floatsidf.c: Likewise.
15354 * soft-fp/floatsisf.c: Likewise.
15355 * soft-fp/floatsitf.c: Likewise.
15356 * soft-fp/floattidf.c: Likewise.
15357 * soft-fp/floattisf.c: Likewise.
15358 * soft-fp/floattitf.c: Likewise.
15359 * soft-fp/floatundidf.c: Likewise.
15360 * soft-fp/floatundisf.c: Likewise.
15361 * soft-fp/floatunsidf.c: Likewise.
15362 * soft-fp/floatunsisf.c: Likewise.
15363 * soft-fp/floatuntidf.c: Likewise.
15364 * soft-fp/floatuntisf.c: Likewise.
15365 * soft-fp/floatuntitf.c: Likewise.
15366 * soft-fp/fmadf4.c: Likewise.
15367 * soft-fp/fmasf4.c: Likewise.
15368 * soft-fp/fmatf4.c: Likewise.
15369 * soft-fp/gedf2.c: Likewise.
15370 * soft-fp/gesf2.c: Likewise.
15371 * soft-fp/getf2.c: Likewise.
15372 * soft-fp/ledf2.c: Likewise.
15373 * soft-fp/lesf2.c: Likewise.
15374 * soft-fp/letf2.c: Likewise.
15375 * soft-fp/muldf3.c: Likewise.
15376 * soft-fp/mulsf3.c: Likewise.
15377 * soft-fp/multf3.c: Likewise.
15378 * soft-fp/negdf2.c: Likewise.
15379 * soft-fp/negsf2.c: Likewise.
15380 * soft-fp/negtf2.c: Likewise.
15381 * soft-fp/op-1.h: Likewise.
15382 * soft-fp/op-2.h: Likewise.
15383 * soft-fp/op-4.h: Likewise.
15384 * soft-fp/op-8.h: Likewise.
15385 * soft-fp/op-common.h: Likewise.
15386 * soft-fp/quad.h: Likewise.
15387 * soft-fp/single.h: Likewise.
15388 * soft-fp/soft-fp.h: Likewise.
15389 * soft-fp/sqrtdf2.c: Likewise.
15390 * soft-fp/sqrtsf2.c: Likewise.
15391 * soft-fp/sqrttf2.c: Likewise.
15392 * soft-fp/subdf3.c: Likewise.
15393 * soft-fp/subsf3.c: Likewise.
15394 * soft-fp/subtf3.c: Likewise.
15395 * soft-fp/truncdfsf2.c: Likewise.
15396 * soft-fp/trunctfdf2.c: Likewise.
15397 * soft-fp/trunctfsf2.c: Likewise.
15398 * soft-fp/trunctfxf2.c: Likewise.
15399 * soft-fp/unorddf2.c: Likewise.
15400 * soft-fp/unordsf2.c: Likewise.
15401 * soft-fp/unordtf2.c: Likewise.
15402
17c48a60
OB
154032013-10-14 Ondřej Bílka <neleai@seznam.cz>
15404
15405 [BZ #15672]
15406 * misc/error.c (error_tail): Fix possible buffer overflow.
15407
cabba934
OB
154082013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15409
15410 [BZ #13028]
15411 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15412 address.
15413
94bf958a
PM
154142013-10-14 P. J. McDermott <pj@pehjota.net>
15415
15416 [BZ #832]
15417 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15418 testing pipefail option.
15419
71b4dea7
JM
154202013-10-12 Joseph Myers <joseph@codesourcery.com>
15421
15422 * soft-fp/double.h: Indent preprocessor directives inside #if.
15423 * soft-fp/extended.h: Likewise.
15424 * soft-fp/op-2.h: Likewise.
15425 * soft-fp/op-4.h: Likewise.
15426 * soft-fp/op-common.h: Likewise.
15427 * soft-fp/quad.h: Likewise.
15428 * soft-fp/single.h: Likewise.
15429 * soft-fp/soft-fp.h: Likewise.
15430
55602758
YC
154312013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15432
15433 * iconv/iconv_prog.c: Fix typos.
15434 * stdio-common/psiginfo-data.h: Likewise.
15435
9cd83302
RT
154362013-10-12 Reuben Thomas <rrt@sc3d.org>
15437
15438 [BZ #15764]
15439 * locale/setlocale.c: Fix typo.
15440
99fd9f47
JM
154412013-10-12 Joseph Myers <joseph@codesourcery.com>
15442
b7ea74f0
JM
15443 [BZ #16036]
15444 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15445 signaling NaN arguments.
15446 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15447 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15448
8a509447
JM
15449 [BZ #14910]
15450 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15451 unordered operands.
15452 * soft-fp/gesf2.c (__gesf2): Likewise.
15453 * soft-fp/getf2.c (__getf2): Likewise.
15454 * soft-fp/ledf2.c (__ledf2): Likewise.
15455 * soft-fp/lesf2.c (__lesf2): Likewise.
15456 * soft-fp/letf2.c (__letf2): Likewise.
15457
98998e9f
JM
15458 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15459 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15460 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15461 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15462 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15463 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15464 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15465 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15466 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15467 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15468 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15469 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15470 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15471 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15472 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15473 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15474 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15475 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15476 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15477 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15478 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15479 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15480 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15481 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15482 * soft-fp/floattidf.c (__floattidf): Likewise.
15483 * soft-fp/floattisf.c (__floattisf): Likewise.
15484 * soft-fp/floattitf.c (__floattitf): Likewise.
15485 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15486 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15487 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15488 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15489 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15490 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15491 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15492 * soft-fp/gesf2.c (__gesf2): Likewise.
15493 * soft-fp/getf2.c (__getf2): Likewise.
15494 * soft-fp/ledf2.c (__ledf2): Likewise.
15495 * soft-fp/lesf2.c (__lesf2): Likewise.
15496 * soft-fp/letf2.c (__letf2): Likewise.
15497
8edc4a11
JM
15498 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15499 Undefine and redefine.
15500 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15501 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15502 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15503 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15504 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15505 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15506 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15507 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15508 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15509 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15510 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15511 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15512 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15513 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15514 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15515
8399acaf
JM
15516 [BZ #16032]
15517 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15518 without decrementing exponent if mantissa >= that for the
15519 denominator, not >.
15520 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15521 denominator, not >. Decrement exponent in < case instead of
15522 incrementing in >= case.
15523 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15524 without decrementing exponent if mantissa >= that for the
15525 denominator, not >.
15526
99fd9f47
JM
15527 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15528 computing saturated result for unsigned overflow.
15529
10e1cf6b
SP
155302013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15531 Jeff Law <law@redhat.com>
15532
15533 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15534 (atan2Mp): Add systemtap probe marker.
15535 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15536 (__ieee754_log): Add systemtap probe marker.
15537 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15538 (atanMp): Add systemtap probe marker.
15539 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15540 (tanMp): Add systemtap probe marker.
15541 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15542 (__slowexp): Add systemtap probe marker.
15543 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15544 (__slowpow): Add systemtap probe marker.
15545 * manual/probes.texi: Document probes.
15546
3d110c7c
EB
155472013-10-11 Eric Biggers <ebiggers3@gmail.com>
15548
15549 [BZ #15362]
15550 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15551 written.
15552 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15553 written.
15554 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15555 written to buffer but not flushed.
15556 * libio/iofwrite_u.c: Likewise.
15557 * libio/iopadn.c: Return bytes returned even if EOF was
15558 encountered.
15559 * libio/iowpadn.c: Likewise.
15560 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15561 if _IO_padn does not write the whole buffer.
15562 [!COMPILE_WPRINTF] (PAD): Likewise.
15563
75b4202a
DM
155642013-10-10 David S. Miller <davem@davemloft.net>
15565
15566 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15567 directory block.
15568
6c6352e6
JM
155692013-10-10 Joseph Myers <joseph@codesourcery.com>
15570
33b853c3
JM
15571 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15572 instead of FSF address.
15573 * soft-fp/fixdfti.c: Likewise.
15574 * soft-fp/fixsfti.c: Likewise.
15575 * soft-fp/fixtfti.c: Likewise.
15576 * soft-fp/fixunsdfti.c: Likewise.
15577 * soft-fp/fixunssfti.c: Likewise.
15578 * soft-fp/fixunstfti.c: Likewise.
15579 * soft-fp/floattidf.c: Likewise.
15580 * soft-fp/floattisf.c: Likewise.
15581 * soft-fp/floattitf.c: Likewise.
15582 * soft-fp/floatuntidf.c: Likewise.
15583 * soft-fp/floatuntisf.c: Likewise.
15584 * soft-fp/floatuntitf.c: Likewise.
15585 * soft-fp/trunctfxf2.c: Likewise.
15586
6c6352e6
JM
15587 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15588 * soft-fp/fixdfti.c: Likewise.
15589 * soft-fp/fixsfti.c: Likewise.
15590 * soft-fp/fixtfti.c: Likewise.
15591 * soft-fp/fixunsdfti.c: Likewise.
15592 * soft-fp/fixunssfti.c: Likewise.
15593 * soft-fp/fixunstfti.c: Likewise.
15594 * soft-fp/floattidf.c: Likewise.
15595 * soft-fp/floattisf.c: Likewise.
15596 * soft-fp/floattitf.c: Likewise.
15597 * soft-fp/floatuntidf.c: Likewise.
15598 * soft-fp/floatuntisf.c: Likewise.
15599 * soft-fp/floatuntitf.c: Likewise.
15600 * soft-fp/trunctfxf2.c: Likewise.
15601
3bf78b71
DM
156022013-10-10 David S. Miller <davem@davemloft.net>
15603
15604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15605
6f10289e
JM
156062013-10-10 Joseph Myers <joseph@codsourcery.com>
15607
bd878fc0
JM
15608 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15609 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15610 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15611 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15612 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15613 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15614 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15615
6f10289e
JM
15616 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15617 for NaNs before doing comparisons on argument.
15618 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15619 Likewise.
15620
321e2684
WN
156212013-10-10 Will Newton <will.newton@linaro.org>
15622
15623 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15624 passed to _int_memalign does not overflow.
15625
40fefba1
TR
156262013-10-10 Torvald Riegel <triegel@redhat.com>
15627
15628 * scripts/bench.pl: Add include-sources directive.
15629 * benchtests/README: Update documentation.
15630
2ae21ed2
JM
156312013-10-10 Joseph Myers <joseph@codesourcery.com>
15632
dcc2dd3f
JM
15633 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15634 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15635 instead of FP_INIT_ROUNDMODE.
15636 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15637 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15638
2ae21ed2
JM
15639 [BZ #16034]
15640 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15641 copy class of input value.
15642 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15643 not handle exceptions.
15644 * soft-fp/negsf2.c (__negsf2): Likewise.
15645 * soft-fp/negtf2.c (__negtf2): Likewise.
15646 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15647
cb8f9562
JM
156482013-10-09 Joseph Myers <joseph@codesourcery.com>
15649
15650 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15651 semicolon. From Linux kernel.
15652
5b60c59d
AB
156532013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15654
15655 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15656
b86835ca
YC
156572013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15658
15659 [BZ #156]
15660 * manual/socket.texi: Added statement about buffer
15661 for gethostbyname2_r.
15662
e7044ea7
OB
156632013-10-08 Ondřej Bílka <neleai@seznam.cz>
15664
15665 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15666 Use .p2align directive instead, throughout.
15667 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15668 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15669 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15670 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15671 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15672 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15673 * sysdeps/x86_64/strchr.S: Likewise.
15674 * sysdeps/x86_64/strrchr.S: Likewise.
15675
09544cbc
SP
156762013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15677
88576635
SP
15678 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15679
e7b2d1dd
SP
15680 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15681
09544cbc
SP
15682 * sysdeps/generic/math_private.h (__mpsin1): Remove
15683 declaration.
15684 (__mpcos1): Likewise.
15685 (__mpsin): New argument __range_reduce.
15686 (__mpcos): Likewise.
15687 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15688 (slow): Use __mpsin and __mpcos.
15689 (slow1): Likewise.
15690 (slow2): Likewise.
15691 (sloww): Likewise.
15692 (sloww1): Likewise.
15693 (sloww2): Likewise.
15694 (bsloww): Likewise.
15695 (bsloww1): Likewise.
15696 (bsloww2): Likewise.
15697 (cslow2): Likewise.
15698 (csloww): Likewise.
15699 (csloww1): Likewise.
15700 (csloww2): Likewise.
15701 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15702 range_reduce. Merge in __mpsin1.
15703 (__mpcos): Likewise.
15704 (__mpsin1): Remove.
15705 (__mpcos1): Likewise.
15706
7602d070
JM
157072013-10-07 Joseph Myers <joseph@codesourcery.com>
15708
15709 * locale/loadlocale.c (_nl_intern_locale_data): Use
15710 LOCFILE_ALIGNED_P.
15711 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15712 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15713 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15714 obstack data is appropriately aligned.
15715 (obstack_int32_grow_fast): Likewise.
15716 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15717 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15718 (add_locale_uint32_array): Likewise.
15719
a357259b
SP
157202013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15721
15722 * benchtests/Makefile: Remove ARGLIST and RET variables.
15723 ($(objpfx)bench-%.c): Pass only function name to the script.
15724 * benchtests/README: Update documentation.
15725 * benchtests/acos-inputs: Add new directives.
15726 * benchtests/acosh-inputs: Likewise.
15727 * benchtests/asin-inputs: Likewise.
15728 * benchtests/asinh-inputs: Likewise.
15729 * benchtests/atan-inputs: Likewise.
15730 * benchtests/atanh-inputs: Likewise.
15731 * benchtests/cos-inputs: Likewise.
15732 * benchtests/cosh-inputs: Likewise.
15733 * benchtests/exp-inputs: Likewise.
15734 * benchtests/log-inputs: Likewise.
15735 * benchtests/pow-inputs: Likewise.
15736 * benchtests/rint-inputs: Likewise.
15737 * benchtests/sin-inputs: Likewise.
15738 * benchtests/sinh-inputs: Likewise.
15739 * benchtests/tan-inputs: Likewise.
15740 * benchtests/tanh-inputs: Likewise.
15741 * scripts/bench.pl: Add support for new directives.
15742
9ec1b13d
AM
157432013-10-07 Alan Modra <amodra@gmail.com>
15744
15745 * README: Fix careless merge.
15746
8b7d57cd
AM
157472013-10-05 Alan Modra <amodra@gmail.com>
15748
15749 * NEWS: Mention powerpc64le support and bugs fixed.
15750 * README: Both big-endian and little-endian powerpc64 supported.
15751
7b7bab13
ST
157522013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15753
57f41c40
AS
15754 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15755 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
15756 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15757 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15758
d39baad1
RA
157592013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15760
15761 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15762 match prototype.
15763
cd78f7e7
JM
157642013-10-04 Joseph Myers <joseph@codesourcery.com>
15765
29d73d86
JM
15766 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15767 Move -mhard-float appending from
15768 ports/sysdeps/powerpc/powerpc32/Makefile.
15769 [$(with-fp) = yes] (ASFLAGS): Likewise.
15770 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15771 * sysdeps/powerpc/nofpu: Move directory from
15772 ports/sysdeps/powerpc/nofpu.
15773 * sysdeps/powerpc/soft-fp: Move directory from
15774 ports/sysdeps/powerpc/soft-fp.
15775 * sysdeps/powerpc/powerpc32/405: Move directory from
15776 ports/sysdeps/powerpc/powerpc32/405.
15777 * sysdeps/powerpc/powerpc32/440: Move directory from
15778 ports/sysdeps/powerpc/powerpc32/440.
15779 * sysdeps/powerpc/powerpc32/464: Move directory from
15780 ports/sysdeps/powerpc/powerpc32/464.
15781 * sysdeps/powerpc/powerpc32/476: Move directory from
15782 ports/sysdeps/powerpc/powerpc32/476.
15783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15784 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15786 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15788 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15790 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15792 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15793 * README: Update for powerpc-*-linux-gnu software floating point
15794 support in libc.
15795
e246b347
JM
15796 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15797 case to powerpc/powerpc32*.
15798 * sysdeps/unix/sysv/linux/configure: Regenerated.
15799
89c2003e
JM
15800 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15801 (_FPU_MASK_OM): Define as 0x04.
15802 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15803 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15804 0x00c10080.
15805 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15806 0x0000003c.
15807 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15808
cd78f7e7
JM
15809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15810 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15811 getcontext_e500.
15812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15813 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15814 setcontext_e500.
15815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15816 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15817 and setcontext_e500.
15818
c755294d
CL
158192013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15820
15821 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15822
e16d221c
SP
158232013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15824
15825 * manual/threads.texi (Default Thread Attributes): Fix typo.
15826
215c7d43
WN
158272013-10-04 Will Newton <will.newton@linaro.org>
15828
15829 * malloc/Makefile: Add tst-memalign.
15830 * malloc/tst-memalign.c: New file.
15831
27d0461b
WN
15832 * malloc/tst-posix_memalign.c: Add comments.
15833 (do_test): Add comments and call free on all potentially
15834 allocated pointers. Add space after cast.
15835
1bc92709
WN
15836 * malloc/tst-pvalloc.c: Add comments.
15837 (do_test): Add comments and call free on all potentially
15838 allocated pointers. Remove duplicate check for NULL pointer.
15839 Add space after cast.
15840
66a9be9d
WN
15841 * malloc/tst-valloc.c: Add comments.
15842 (do_test): Add comments and call free on all potentially
15843 allocated pointers. Remove duplicate check for NULL pointer.
15844 Add space after cast.
15845
4cb81307
AM
158462013-10-04 Alan Modra <amodra@gmail.com>
15847
15848 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15849 Use stdint types in rather than __attribute__((mode())).
15850 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15851
f8e3e9f3
AM
158522013-10-04 Alan Modra <amodra@gmail.com>
15853
15854 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15855 Correct handling of unaligned relocs for little-endian.
15856 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15857
8f9ebb08
AM
158582013-10-04 Alan Modra <amodra@gmail.com>
15859
15860 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15861 * configure: Regenerate.
15862 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15863 * shlib-versions: Likewise.
15864
0edf96c2
AM
158652013-10-04 Alan Modra <amodra@gmail.com>
15866
15867 * string/tester.c (test_memrchr): Increment reported test cycle.
15868
e0f7a380
AM
158692013-10-04 Alan Modra <amodra@gmail.com>
15870
15871 * string/test-memcpy.c (do_one_test): When reporting errors, print
15872 string address and don't overrun end of string.
15873
466b0393
AM
158742013-10-04 Alan Modra <amodra@gmail.com>
15875
15876 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15877 insrdi. Make better use of reg selection to speed exit slightly.
15878 Schedule entry path a little better. Remove useless "are we done"
15879 checks on entry to main loop. Handle wrapping around zero address.
15880 Correct main loop count. Handle single left-over word from main
15881 loop inline rather than by using loop_small. Remove extra word
15882 case in loop_small caused by wrong loop count. Add little-endian
15883 support.
15884 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15885 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15886 cache hint.
15887 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15888 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15889 support. Avoid rlwimi.
15890 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15891
3be87c77
AM
158922013-10-04 Alan Modra <amodra@gmail.com>
15893
15894 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 15895 insrdi. Formatting.
3be87c77
AM
15896 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15897 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15898 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15899 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15900 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15901 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15902
759cfef3
AM
159032013-10-04 Alan Modra <amodra@gmail.com>
15904
15905 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15906 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15907 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15908 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15909 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15910 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15911 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15912 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15913 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15914 use of regs. Use power7 mtocrf. Tidy function tails.
15915
fe6e95d7
AM
159162013-10-04 Alan Modra <amodra@gmail.com>
15917
15918 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15919 Formatting. Consistently use rXXX register defines or rN defines.
15920 Use early exit labels that avoid restoring unused non-volatile regs.
15921 Make cr field use more consistent with rWORDn compares. Rename
15922 regs used as shift registers for unaligned loop, using rN defines
15923 for short lifetime/multiple use regs.
15924 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15925 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15926 addi 1,1,64 to pop stack frame. Simplify return value code.
15927 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15928
664318c3
AM
159292013-10-04 Alan Modra <amodra@gmail.com>
15930
15931 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15932 support. Correct typos, formatting. Optimize tail. Use insrdi
15933 rather than rlwimi.
15934 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15935 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15936 little-endian support. Correct typos.
15937 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15938 rather than rlwimi.
15939 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15940 in loop and entry code to keep "and." results.
15941 (strchr): Add little-endian support. Comment. Move cntlzd
15942 earlier in tail.
15943 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15944
43b84013
AM
159452013-10-04 Alan Modra <amodra@gmail.com>
15946
15947 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15948 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15949 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15950 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15951
8a7413f9
AM
159522013-10-04 Alan Modra <amodra@gmail.com>
15953
15954 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15955 (rTMP): Define as r11.
15956 (strcmp): Add little-endian support. Optimise tail.
15957 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15958 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15959 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15960 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15961 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15962 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15963 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15964
33ee81de
AM
159652013-10-04 Alan Modra <amodra@gmail.com>
15966
15967 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15968 little-endian support. Remove unnecessary "are we done" tests.
15969 Handle "s" wrapping around zero and extremely large "size".
15970 Correct main loop count. Handle single left-over word from main
15971 loop inline rather than by using small_loop. Correct comments.
15972 Delete "zero" tail, use "end_max" instead.
15973 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15974
db9b4570
AM
159752013-10-04 Alan Modra <amodra@gmail.com>
15976
15977 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15978 support. Don't branch over align.
15979 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15980 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15981 support. Rearrange tmp reg use to suit. Comment.
15982 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15983
f7c399cf
AM
159842013-10-04 Alan Modra <amodra@gmail.com>
15985
15986 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15987
0b2c2ace
AM
159882013-10-04 Alan Modra <amodra@gmail.com>
15989
15990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15991 conditional form of branch and link when obtaining pc.
15992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15993
02f04a6c
AM
159942013-10-04 Alan Modra <amodra@gmail.com>
15995
15996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15997 HIWORD/LOWORD.
15998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16000
9b874b2f
AM
160012013-10-04 Alan Modra <amodra@gmail.com>
16002
16003 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16004 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16005 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16006 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16007 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16008 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16009 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16010 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16011 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16012 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16013
be1e5d31
AB
160142013-10-04 Anton Blanchard <anton@au1.ibm.com>
16015 Alistair Popple <alistair@ozlabs.au.ibm.com>
16016 Alan Modra <amodra@gmail.com>
16017
16018 [BZ #15723]
16019 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16020 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16021 _dl_hwcap access for little-endian.
16022 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16023 destroy vmx regs when saving unaligned.
16024 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16025 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16026 destroy vmx regs when saving unaligned.
16027
fef13a78
AM
160282013-10-04 Alan Modra <amodra@gmail.com>
16029
16030 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16031 Don't use a union to pack hi/low value.
16032
76a66d51
AB
160332013-10-04 Anton Blanchard <anton@au1.ibm.com>
16034
16035 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16036 for little-endian.
16037 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16038 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16039 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16040 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16041 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16042
6a31fe7f
AM
160432013-10-04 Alan Modra <amodra@gmail.com>
16044
16045 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16046 constants to usual value for .cst8 section, and remove redundant
16047 high address load.
16048 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16049 constant for 0x1p52. Load little-endian words of double from
16050 correct stack offsets.
16051
7b88401f
AM
160522013-10-04 Alan Modra <amodra@gmail.com>
16053
16054 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16055 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16056 words of double from correct stack offsets.
16057 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16058 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16059 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16060 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16061 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16062 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16063 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16064 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16065 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16066 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16067 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16068 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16069 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16070 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16071 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16072 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16073 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16074
9c008155
AM
160752013-10-04 Alan Modra <amodra@gmail.com>
16076
16077 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16078 64-bit int/double union.
16079 (_FPU_SETCW): Likewise.
16080 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16081 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16082
da13146d
AM
160832013-10-04 Alan Modra <amodra@gmail.com>
16084
16085 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16086 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16087
603e8410
AM
160882013-10-04 Alan Modra <amodra@gmail.com>
16089
16090 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16091 use vector int constants.
16092 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16093
4a28b3ca
AB
160942013-10-04 Anton Blanchard <anton@au1.ibm.com>
16095
16096 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16097 array with long long.
16098 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16099 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16100 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16101 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16102 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16103 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16104 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16105 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16106 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16107 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16108 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16109 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16110 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16111
2ca85d2b
AB
161122013-10-04 Anton Blanchard <anton@au1.ibm.com>
16113
16114 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16115 (__signbit): Likewise. Correct for little-endian.
16116 (__signbitl): Call __signbit.
16117 (lrint): Correct for little-endian.
16118 (lrintf): Call lrint.
16119
62a728ae
AM
161202013-10-04 Alan Modra <amodra@gmail.com>
16121
16122 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16123 union 32-bit int array member with 64-bit int array.
16124 (t515, tm256): Double rather than long double.
16125 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16126
32c301df
AM
161272013-10-04 Alan Modra <amodra@gmail.com>
16128
16129 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16130 Delete.
16131 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16132 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16133 version of math_ldbl.h.
16134
650ef4bd
AM
161352013-10-04 Alan Modra <amodra@gmail.com>
16136
16137 [BZ #15734], [BZ #15735]
16138 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16139 all uses of ieee875 long double macros and unions. Simplify test
16140 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16141 ldbl_extract_mantissa value for ix,iy exponents. Properly
16142 normalize after ldbl_extract_mantissa, and don't add hidden bit
16143 already handled. Don't treat low word of ieee854 mantissa like
16144 low word of IBM long double and mask off bit when testing for
16145 zero.
16146 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16147 all uses of ieee875 long double macros and unions. Simplify tests
16148 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16149 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16150 two1022, instead use their values. Recognise that tests for large
16151 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16152 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16153 Rewrite all uses of ieee875 long double macros and unions. Simplify
16154 test for 0.0L and nan. Correct negation.
16155 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16156 ieee875 long double macros and unions. Correct output for large
16157 magnitude x. Correct absolute value calculation.
16158 (__erfcl): Likewise.
16159 * math/libm-test.inc: Add tests for errors discovered in IBM long
16160 double versions of fmodl, remainderl, erfl and erfcl.
16161
765714ca
AM
161622013-10-04 Alan Modra <amodra@gmail.com>
16163
16164 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16165 all uses of ieee854 long double macros and unions. Simplify tests
16166 for long doubles that are fully specified by the high double.
16167 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16168 Likewise.
16169 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16170 Remove dead code too.
16171 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16172 (__ieee754_ynl): Likewise.
16173 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16174 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16175 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16176 Remove dead code too.
16177 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16178 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16179 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16180 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16181 Simplify.
16182 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16183 Simplify.
16184 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16185 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16186 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16187 Comment on variable precision.
16188 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16189 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16190 Likewise.
16191 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16192 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16193 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16194 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16195 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16196
4ebd120c
AM
161972013-10-04 Alan Modra <amodra@gmail.com>
16198
16199 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16200 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16201 all uses of ieee854 long double macros and unions.
16202 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16203 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16204 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16205 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16206 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16207 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16208 Likewise.
16209 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16210 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16211 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16212 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16213 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16214 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16215 Simplify sign and nan test too.
16216 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16217 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16218 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16219 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16220 Likewise.
16221 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16222 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16223 Likewise.
16224 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16225 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16226 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16227 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16228 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16229 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16230
1b6adf88
AM
162312013-10-04 Alan Modra <amodra@gmail.com>
16232
16233 * stdio-common/printf_size.c (__printf_size): Don't use
16234 union ieee854_long_double in fpnum union.
16235 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16236 signbit macro to retrieve sign from long double.
16237 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16238 retrieve sign from long double.
16239 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16240 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16241 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16242 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16243 * math/test-misc.c (main): Don't use union ieee854_long_double.
16244
4cf69995
AM
162452013-10-04 Alan Modra <amodra@gmail.com>
16246
16247 [BZ #15680]
16248 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16249 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16250 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16251 calculation. Remove unnecessary test for denormal exponent.
16252 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16253 Correct handling of denormals. Avoid undefined shift behaviour.
16254 Correct normalisation of low mantissa when low double is denormal.
16255 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16256 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16257 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16258 Correct normalisation of low mantissa. Test for overflow of high
16259 mantissa and normalise.
16260 (ldbl_nearbyint): Use more readable constant for two52.
16261 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16262 (__mpn_construct_long_double): Fix test for overflow of high
16263 mantissa and correct normalisation. Avoid undefined shift.
16264
9605ca6c
AM
162652013-10-04 Alan Modra <amodra@gmail.com>
16266
16267 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16268 (union ibm_extended_long_double): Define as an array of ieee754_double.
16269 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16270 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16271 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16272 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16273 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16274 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16275 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16276 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16277 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16278 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16279 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16280
975569d0
JM
162812013-10-03 Joseph Myers <joseph@codesourcery.com>
16282
d3d23756
JM
16283 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16284 page size instead of calling getpagesize.
16285
975569d0
JM
16286 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16287 (LOCFILE_ALIGN_MASK): Likewise.
16288 (LOCFILE_ALIGN_UP): Likewise.
16289 (LOCFILE_ALIGNED_P): Likewise.
16290 * locale/programs/ld-collate.c (collate_output): Use the new
16291 macros instead of __alignof__ (int32_t).
16292 * locale/weight.h (findidx): Likewise.
16293
b1fe1f2b
OB
162942013-10-03 Ondřej Bílka <neleai@seznam.cz>
16295
16296 [BZ #431]
16297 * manual/string.texi: Fix strncat and wcsncat.
16298
5f855e35
BM
162992013-10-03 Brooks Moses <bmoses@google.com>
16300
16301 [BZ #15915]
16302 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16303 * Makerules: ...here, and adjust associated comments.
16304
3cef6009
WN
163052013-10-02 Will Newton <will.newton@linaro.org>
16306
16307 * malloc/Makefile: Add tst-pvalloc.
16308 * malloc/tst-pvalloc.c: New file.
16309
7815420b
WN
163102013-10-02 Will Newton <will.newton@linaro.org>
16311
16312 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16313 improve test coverage.
16314
4868b204
WN
163152013-10-02 Will Newton <will.newton@linaro.org>
16316
16317 * malloc/Makefile: Add tst-posix_memalign.
16318 * malloc/tst-posix_memalign.c: New file.
16319
29c793b3
EB
163202013-10-01 Eric Blake <eblake@redhat.com>
16321
16322 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16323 Use __THROWNL rather than __THROW on static functions.
16324
fd967522
PM
163252013-09-30 Petr Machata <pmachata@redhat.com>
16326
16327 * elf/elf.h (R_AARCH64_ABS16): New macro.
16328 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16329 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16330 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16331 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16332 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16333 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16334 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16335 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16336 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16337 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16338 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16339 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16340 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16341 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16342 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16343 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16344 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16345 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16346 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16347 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16348 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16349 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16350 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16351 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16352 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16353 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16354 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16355 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16356 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16357 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16358 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16359 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16360 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16361 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16362 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16363 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16364 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16365 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16366 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16367 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16368 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16369 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16370 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16371 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16372 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16373 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16374 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16375 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16376 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16377 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16378 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16379 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16380 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16381 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16382 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16383 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16384 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16385 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16386 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16387 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16388 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16389 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16390 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16391 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16392 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16393 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16394 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16395 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16396 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16397 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16398 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16399 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16400 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16401 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16402 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16403 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16404 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16405 (R_AARCH64_TLSDESC_LDR): Likewise.
16406 (R_AARCH64_TLSDESC_ADD): Likewise.
16407 (R_AARCH64_TLSDESC_CALL): Likewise.
16408
b2179107
AS
164092013-09-30 Andreas Schwab <schwab@suse.de>
16410
16411 [BZ #15048]
16412 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16413 the nss database lookup.
16414 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16415 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16416
47f28d0a
MF
164172013-09-28 Mike Frysinger <vapier@gentoo.org>
16418
16419 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16420
164212013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
16422
16423 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16424 ${Bash-specific parameter/pattern/string} parameter expansion.
16425 * sysdeps/unix/make-syscalls.sh: Likewise.
16426
f4518a17
KK
164272013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16428
16429 * sysdeps/sh/stackguard-macros.h: New file.
16430
dc1a95c7
OB
164312013-09-26 Ondřej Bílka <neleai@seznam.cz>
16432
16433 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16434 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16435 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16436 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16437 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16438 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16439
5ebbff8f
AZ
164402013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16441
16442 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16443 Fix thread ID register.
16444
4fd2cf9f
JM
164452013-09-25 Joseph Myers <joseph@codesourcery.com>
16446
16447 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16448 [POSIX || UNIX98]: Require rather than permitting all symbols from
16449 <time.h>.
16450 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16451 element of struct sched_param.
16452 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16453 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16454 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16455 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16456 constant.
16457
12c22bc4
OL
164582013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16459
16460 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16461 argument calculation.
16462
a03d8ea7
JM
164632013-09-24 Joseph Myers <joseph@codesourcery.com>
16464
16465 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16466 Expect macro.
16467 [POSIX] (pthread_attr_t): Do not require type.
16468 [POSIX] (pthread_cond_t): Likewise.
16469 [POSIX] (pthread_condattr_t): Likewise.
16470 [POSIX] (pthread_key_t): Likewise.
16471 [POSIX] (pthread_mutex_t): Likewise.
16472 [POSIX] (pthread_mutexattr_t): Likewise.
16473 [POSIX] (pthread_once_t): Likewise.
16474 [POSIX] (pthread_t): Likewise.
16475 [POSIX-based standards] (pthread_atfork): Expect function.
16476
6055173a
JM
164772013-09-24 Joseph Myers <joseph@codesourcery.com>
16478 Richard Sandiford <richard@codesourcery.com>
16479
16480 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16481 (swap_endianness_p): New extern variable.
16482 (set_big_endian): New inline function.
16483 (maybe_swap_uint32): Likewise.
16484 (maybe_swap_uint32_array): Likewise.
16485 (maybe_swap_uint32_obstack): Likewise.
16486 * locale/programs/locfile.c: Include <stdbool.h>.
16487 (swap_endianness_p): New variable.
16488 (add_locale_uint32): Call maybe_swap_uint32.
16489 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16490 (write_locale_data): Call maybe_swap_uint32_array.
16491 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16492 maybe_swap_uint32.
16493 (obstack_int32_grow_fast): Likewise.
16494 (output_weightwc): Call maybe_swap_uint32_obstack.
16495 (collate_output): Likewise.
16496 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16497 (OPT_LITTLE_ENDIAN): Likewise.
16498 (options): Add --little-endian and --big-endian options.
16499 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16500 * locale/programs/locarchive.c: Include "locfile.h".
16501 (GET): New macro.
16502 (SET): Likewise.
16503 (INC): Likewise.
16504 (create_archive): Use the new macros to access fields of
16505 structures directly mapped from or written to locale archives.
16506 (oldlocrecentcmp): Likewise.
16507 (enlarge_archive): Likewise.
16508 (insert_name): Likewise.
16509 (add_alias): Likewise.
16510 (add_locale): Likewise.
16511 (delete_locales_from_archive): Likewise.
16512 (show_archive_content): Likewise.
16513 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16514 locale data.
16515
39bf0bb4
RM
165162013-09-24 Roland McGrath <roland@hack.frob.com>
16517
16518 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16519 http://www.gnu.org/doc/freemanuals.texi.
16520 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16521
f02eed10
WN
165222013-09-24 Will Newton <will.newton@linaro.org>
16523
16524 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16525 macro.
16526
a3a6c312
JM
165272013-09-23 Joseph Myers <joseph@codesourcery.com>
16528
16529 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16530 unsigned char.
16531
107375ac
MR
165322013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16533
16534 * manual/threads.texi (POSIX Threads): Fix a typo.
16535
141f3a77
SP
165362013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16537
303e567a
SP
16538 [BZ #14547]
16539 * string/tst-strcoll-overflow.c: New test case.
16540 * string/Makefile (xtests): Add tst-strcoll-overflow.
16541 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16542 cache if string sizes may cause integer overflow.
16543
141f3a77
SP
16544 [BZ #14547]
16545 * string/strcoll_l.c (coll_seq): New members rule, idx,
16546 save_idx and back_us.
16547 (get_next_seq_nocache): New function.
16548 (do_compare_nocache): New function.
16549 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16550 when malloc fails.
16551
c61b4d41
CD
165522013-09-23 Carlos O'Donell <carlos@redhat.com>
16553
0b1f8e35
CD
16554 [BZ #15754]
16555 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16556 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16557 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16558
c61b4d41
CD
16559 [BZ #15754]
16560 * elf/Makefile (tests): Add tst-ptrguard1.
16561 (tests-static): Add tst-ptrguard1-static.
16562 (tst-ptrguard1-ARGS): Define.
16563 (tst-ptrguard1-static-ARGS): Define.
16564 * elf/tst-ptrguard1.c: New file.
16565 * elf/tst-ptrguard1-static.c: New file.
16566 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16567 * sysdeps/i386/stackguard-macros.h: Likewise.
16568 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16569 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16570 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16571 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16572 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16573 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16574
165752013-09-23 Hector Marco <hecmargi@upv.es>
16576 Ismael Ripoll <iripoll@disca.upv.es>
16577 Carlos O'Donell <carlos@redhat.com>
16578
16579 [BZ #15754]
16580 * sysdeps/generic/stackguard-macros.h: Define
16581 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16582 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16583 Define __pointer_chk_guard_local.
16584 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16585 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16586
f5f4e7b4
VV
165872013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16588
16589 [BZ #15859]
16590 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16591
5bb43a43
AS
165922013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16593
16594 * include/string.h (__ffs): Declare as hidden.
16595 * string/ffs.c (__ffs): Define as hidden.
16596 * sysdeps/i386/ffs.c (__ffs): Likewise.
16597 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16598 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16599 * sysdeps/s390/ffs.c (__ffs): Likewise.
16600 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16601
3ea5be54
AO
166022013-09-20 Alexandre Oliva <aoliva@redhat.com>
16603
ffb89e53
AO
16604 * NEWS: Mention malloc probes.
16605
322dea08
AO
16606 * malloc/arena.c (new_heap): New memory_heap_new probe.
16607 (grow_heap): New memory_heap_more probe.
16608 (shrink_heap): New memory_heap_less probe.
16609 (heap_trim): New memory_heap_free probe.
16610 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16611 (systrim): New memory_sbrk_less probe.
16612 * manual/probes.texi: Document them.
16613
655673f3
AO
16614 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16615 * manual/probes.texi: Document it.
16616
35fed6f1
AO
16617 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16618 (__libc_realloc): Add memory_realloc_retry probe.
16619 (__libc_memalign): Add memory_memalign_retry probe.
16620 (__libc_valloc): Add memory_valloc_retry probe.
16621 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16622 (__libc_calloc): Add memory_calloc_retry probe.
16623 * manual/probes.texi: Document them.
16624
6999d38c
AO
16625 * malloc/arena.c (get_free_list): Add probe
16626 memory_arena_reuse_free_list.
16627 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16628 and memory_arena_reuse.
16629 (arena_get2) [!PER_THREAD]: Likewise.
16630 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16631 memory_arena_reuse_realloc.
16632 * manual/probes.texi: Document them.
16633
0653427f
AO
16634 * malloc/malloc.c (__libc_free): Add
16635 memory_mallopt_free_dyn_thresholds probe.
16636 (__libc_mallopt): Add multiple memory_mallopt probes.
16637 * manual/probes.texi: Document them.
16638
3ea5be54
AO
16639 * malloc/malloc.c: Include stap-probe.h.
16640 (__libc_mallopt): Add memory_mallopt probe.
16641 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16642 * manual/probes.texi: New.
16643 * manual/Makefile (chapters): Add probes.
16644 * manual/threads.texi: Set next node.
16645
e35696c3 166462013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 16647
e35696c3
CL
16648 [BZ #15963, #13985]
16649 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16650 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16651 Add `Chinese' to `nan' entry name.
16652
4aafb73c
SP
166532013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16654
16655 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16656 (POLYNOMIAL): Likewise.
16657 (TAYLOR_SINCOS): Likewise.
16658 (TAYLOR_SLOW): Likewise.
16659 (__sin): Use TAYLOR_SINCOS.
16660 (__cos): Likewise.
16661 (slow): Use TAYLOR_SLOW.
16662 (sloww): Likewise.
16663 (bsloww): Likewise.
16664 (csloww): Likewise.
16665
d84f25c7
LD
166662013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16667
16668 * stdlib/strtod_l.c: Fix buffer overrun.
16669
5eea0404
SP
166702013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16671
7849ff93
SP
16672 * benchtests/Makefile (bench): Add sincos.
16673 * benchtests/bench-sincos.c: New file.
16674
cfa3c886
SP
16675 * math/libm-test.inc (cos_test_data): New test inputs.
16676 (sin_test_data): Likewise.
16677
b348e1e3
SP
16678 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16679 macro.
16680 (__sin): Use it.
16681 (__cos): Likewise.
16682 (slow1): Likewise.
16683 (slow2): Likewise.
16684 (sloww1): Likewise.
16685 (sloww2): Likewise.
16686 (bsloww1): Likewise.
16687 (bsloww2): Likewise.
16688 (cslow2): Likewise.
16689 (csloww1): Likewise.
16690 (csloww2): Likewise.
16691
6cce25f8
SP
16692 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16693 function.
16694 (__sin): Use it.
16695 (__cos): Likewise.
16696
5eea0404
SP
16697 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16698 gotos.
16699 (__cos): Likewise.
16700
9c21573c
MR
167012013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16702
16703 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16704 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16705 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16706 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16707 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16708 * elf/cache.c (print_entry): Handle the new cache flags.
16709
24d22e65
JM
167102013-09-18 Joseph Myers <joseph@codesourcery.com>
16711 Aldy Hernandez <aldyh@redhat.com>
16712
16713 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16714 Change condition to [_SOFT_FLOAT].
16715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16716 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16717 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16718 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16719 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16720 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16727 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16728 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16729 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16730 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16731 declaration.
16732
d13ef066
JM
167332013-09-18 Joseph Myers <joseph@codesourcery.com>
16734
2e071de0
JM
16735 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16736 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16737 (__longjmp): Use LOAD_GP to load saved GPRs.
16738 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16739 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16740 (__sigsetjmp): Use SAVE_GP to save GPRs.
16741
d13ef066
JM
16742 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16743 Do not append -msoft-float.
16744 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16745
97a0650b
SP
167462013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16747
16748 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16749
11ca09e9
JM
167502013-09-17 Joseph Myers <joseph@codesourcery.com>
16751
16752 [BZ #15966]
16753 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16754 (_FPU_GETCW): Use initial "__" on variable and field names but not
16755 on macro parameter name.
16756 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16757 parentheses around reference to macro parameter.
16758
08ffcf34
RS
167592013-09-13 Richard Sandiford <richard@codesourcery.com>
16760
16761 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16762 prototype.
16763 (ctype_startup): Use uint32_t in cast and sizeof for
16764 ctype->charnames.
16765
ae7080d3
JL
167662013-09-11 Jia Liu <proljc@gmail.com>
16767
16768 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16769 __daddr_t_defined.
16770 [__FreeBSD__]: Likewise.
16771
5905e7b3
OB
167722013-09-11 Ondřej Bílka <neleai@seznam.cz>
16773
16774 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16775 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16776 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16777 (strchr): Remove __strchr_sse42 ifunc selection.
16778 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16779 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16780
b987c776
WN
167812013-09-11 Will Newton <will.newton@linaro.org>
16782
16783 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16784 parameter to RES. Remove hardcoded 1000 value.
16785 * benchtests/bench-skeleton.c (main): Pass RES parameter
16786 to TIMING_INIT and multiply result by 1000.
16787
ddf985af
AZ
167882013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16789
16790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16791
ffdd3181
AS
167922013-09-11 Andreas Schwab <schwab@suse.de>
16793
16794 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16795 if not defined.
16796 (O_TMPFILE) [__USE_GNU]: Define.
16797 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16798 Define.
16799
b73ed247
WN
168002013-09-11 Will Newton <will.newton@linaro.org>
16801
16802 [BZ #15857]
16803 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16804 does not overflow.
16805
55e17aad
WN
168062013-09-11 Will Newton <will.newton@linaro.org>
16807
16808 [BZ #15856]
16809 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16810 does not overflow.
16811
1159a193
WN
168122013-09-11 Will Newton <will.newton@linaro.org>
16813
16814 [BZ #15855]
16815 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16816 does not overflow.
16817
5905e7b3 168182013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
16819
16820 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16821 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16822 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16823 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16824 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16825
cdfc721b
AM
168262013-09-10 Allan McRae <allan@archlinux.org>
16827
aa04af00
AM
16828 [BZ #15748]
16829 * manual/arith.texi (Parsing of Floats): Clarify
16830 cross-reference.
16831
cdfc721b
AM
16832 [BZ #15849]
16833 * manual/install.texi (Running make install): Mention
16834 --enable-pt-chown.
16835 * INSTALL: Regenerated.
16836
95e7cf29
MR
168372013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16838
16839 * csu/init-first.c (_init): Remove the !SHARED condition around
16840 FPU control word initialization.
16841 * elf/dl-support.c (_dl_fpu_control): New variable.
16842 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16843 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16844 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16845 * math/test-fpucw-static.c: New file.
16846 * math/test-fpucw-ieee.c: New file.
16847 * math/test-fpucw-ieee-static.c: New file.
16848 * math/Makefile (tests): Add `test-fpucw-ieee' and
16849 `$(tests-static)'.
16850 (tests-static): New variable.
16851 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16852 dependency to...
16853 [($(build-shared),yes)]
16854 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16855 ... this.
16856 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16857 New dependency.
16858
83e43bf0
AM
168592013-09-09 Allan McRae <allan@archlinux.org>
16860
a9f5ce09
AM
16861 [BZ #15939]
16862 * manual/string.texi (Collation Functions): Fix typo in
16863 strcoll example.
16864 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16865
34829bc2
AM
16866 [BZ #15893]
16867 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16868
3932737d
AM
16869 [BZ #15892]
16870 * libio/memstream.c (open_memstream): Fix memory leak.
16871 * libio/wmemstream.c (open_wmemstream): Likewise.
16872
83e43bf0
AM
16873 [BZ #15895]
16874 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16875
0c66b8e9
WN
168762013-09-09 Will Newton <will.newton@linaro.org>
16877
16878 * malloc/Makefile: Add tst-realloc to tests.
16879 * malloc/tst-realloc.c: New file.
16880
f6b00fd1
AM
168812013-09-09 Allan McRae <allan@archlinux.org>
16882
16883 [BZ #15844]
16884 * COPYING: Update from GNU website to fix FSF address.
16885 * COPYING.LIB: Likewise.
16886
eec55e16
DM
168872013-09-06 David S. Miller <davem@davemloft.net>
16888
16889 * po/zh_TW.po: Update Chinese (traditional) translation from
16890 translation project.
16891
1ecbb381
RS
168922013-09-06 Richard Sandiford <richard@codesourcery.com>
16893 Joseph Myers <joseph@codesourcery.com>
16894
16895 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16896 "localeinfo.h".
16897 (obstack_chunk_alloc): New macro.
16898 (obstack_chunk_free): Likewise.
16899 (record_offset): New function.
16900 (init_locale_data): Likewise.
16901 (align_locale_data): Likewise.
16902 (add_locale_empty): Likewise.
16903 (add_locale_raw_data): Likewise.
16904 (add_locale_raw_obstack): Likewise.
16905 (add_locale_string): Likewise.
16906 (add_locale_wstring): Likewise.
16907 (add_locale_uint32): Likewise.
16908 (add_locale_uint32_array): Likewise.
16909 (add_locale_char): Likewise.
16910 (start_locale_structure): Likewise.
16911 (end_locale_structure): Likewise.
16912 (start_locale_prelude): Likewise.
16913 (end_locale_prelude): Likewise.
16914 (write_locale_data): Take locale_file structure rather than an
16915 iovec.
16916 * locale/programs/locfile.h: Include "obstack.h".
16917 (struct locale_file): Change to store locale file contents instead
16918 of header.
16919 (init_locale_data): New prototype.
16920 (align_locale_data): Likewise.
16921 (add_locale_empty): Likewise.
16922 (add_locale_raw_data): Likewise.
16923 (add_locale_raw_obstack): Likewise.
16924 (add_locale_string): Likewise.
16925 (add_locale_wstring): Likewise.
16926 (add_locale_uint32): Likewise.
16927 (add_locale_uint32_array): Likewise.
16928 (add_locale_char): Likewise.
16929 (start_locale_structure): Likewise.
16930 (end_locale_structure): Likewise.
16931 (start_locale_prelude): Likewise.
16932 (end_locale_prelude): Likewise.
16933 (write_locale_data): Update prototype.
16934 * locale/programs/3level.h (struct TABLE): Remove result field.
16935 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16936 Use new locale_file interface.
16937 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16938 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16939 * locale/programs/ld-address.c (address_output): Use new
16940 locale_file interface.
16941 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16942 NO_ADD_LOCALE.
16943 (collate_finish): Don't call collseq_table_finalize.
16944 (collate_output): Use new locale_file interface.
16945 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16946 in file.
16947 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16948 (TABLE): Move defines earlier in file.
16949 (ELEMENT): Likewise.
16950 (DEFAULT): Likewise.
16951 (wctrans_table_add): Move macro and inline function earlier in
16952 file.
16953 (struct wctype_table): Move type earlier in file.
16954 (add_locale_wctype_table): New static prototype.
16955 (struct locale_ctype_t): Use logical types instead of struct iovec
16956 pointers for members.
16957 (ctype_output): Use new locale_file interface.
16958 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16959 new locale_file interface.
16960 (allocate_arrays): Update for use of new locale_file interface.
16961 * locale/programs/ld-identification.c (identification_output): Use
16962 new locale_file interface.
16963 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16964 * locale/programs/ld-messages.c (messages_output): Likewise.
16965 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16966 * locale/programs/ld-name.c (name_output): Likewise.
16967 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16968 * locale/programs/ld-paper.c (paper_output): Likewise.
16969 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16970 * locale/programs/ld-time.c (time_output): Likewise.
16971
e029e2e5
AZ
169722013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16973
16974 * benchtests/Makefile: Add memrchr benchmark.
16975 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16976 benchmark as memrchr.
16977 * benchtests/bench-memrchr-ifunc.c: New file.
16978 * benchtests/bench-memrchr.c: New file.
16979
bbf6e8e4
WN
169802013-09-06 Will Newton <will.newton@linaro.org>
16981
16982 * benchtests/Makefile (string-bench): Add memcpy.
16983
6c82a2f8
CD
169842013-09-05 Carlos O'Donell <carlos@redhat.com>
16985 Cong Wang <amwang@redhat.com>
16986
e732c5f0 16987 [BZ #15850]
6c82a2f8
CD
16988 * sysdeps/unix/sysv/linux/bits/in.h
16989 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16990 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16991 before __USE_KERNEL_IPV6_DEFS uses.
16992 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16993 IPPROTO_BEETPH.
16994 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16995 sockaddr_in6, or ipv6_mreq.
16996
5430fc65
AZ
169972013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16998
16999 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17000 memory access for final bytes in some large inputs.
17001 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17002
4660856c
AZ
170032013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17004
17005 * string/test-memrchr.c: New file.
17006 * string/test-memrchr-ifunc.c: New file.
17007 * string/Makefile: Add new memrchr testcase.
17008
bb8ea713
MF
170092013-09-05 Mike Frysinger <vapier@gentoo.org>
17010
17011 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17012 fanotify_init returns EPERM.
17013
b92a20b5
JM
170142013-09-04 Joseph Myers <joseph@codesourcery.com>
17015
17016 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17017 errors.
17018 (top level): Treat second token from macro or constant entries for
17019 allowed headers as allowed.
17020 * include/complex.h: Condition internal declarations on
17021 [!_ISOMAC].
17022 * include/fenv.h: Condition include of <stdbool.h> and internal
17023 declarations on [!_ISOMAC].
7447ccd9
CL
17024
170252013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17026
3e181dda 17027 [BZ #15923]
7447ccd9
CL
17028 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17029
3f2e46a4
JM
170302013-09-04 Joseph Myers <joseph@codesourcery.com>
17031
17032 * configure.in (--enable-versioning): Remove configure option.
17033 (libc_cv_asm_symver_directive): Remove configure test.
17034 (libc_cv_ld_version_script_option): Likewise.
17035 (VERSIONING): Remove variable and AC_SUBST.
17036 (DO_VERSIONING): Remove AC_DEFINE.
17037 * configure: Regenerated.
17038 * config.h.in (DO_VERSIONING): Remove macro.
17039 * Makerules [$(versioning) = yes]: Change conditionals to
17040 [$(build-shared) = yes].
17041 * config.make.in (versioning): Remove variable.
17042 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17043 [$(build-shared) = yes].
17044 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17045 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17046 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17047 [$(build-shared) = yes].
17048 * extra-lib.mk [$(versioning) = yes]: Likewise.
17049 * hurd/Makefile [$(versioning) = yes]: Likewise.
17050 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17051 [SHARED].
17052 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17053 [SHARED].
17054 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17055 [SHARED && !NO_HIDDEN].
17056 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17057 [SHARED].
17058 [SHARED && DO_VERSIONING]: Likewise..
17059 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17060 [$(build-shared) = yes].
17061 * manual/install.texi (--disable-versioning): Remove
17062 documentation.
17063 * INSTALL: Regenerated.
17064 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17065 to [SHARED].
17066 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17067 [$(build-shared) = yes].
17068 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17069 * sysdeps/i386/i686/multiarch/strstr-c.c
17070 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17071 [SHARED && !NO_HIDDEN].
17072 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17073 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17074 * sysdeps/powerpc/powerpc32/dl-machine.c
17075 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17076 * sysdeps/powerpc/powerpc32/sysdep.h
17077 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17078 to [SHARED && PIC && !NO_HIDDEN].
17079 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17080 conditional to [SHARED].
17081
44558701
WN
170822013-09-04 Will Newton <will.newton@linaro.org>
17083
17084 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17085 * benchtests/bench-string.h: Include bench-timing.h instead
17086 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17087 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17088 call to HP_TIMING_DIFF_INIT.
17089 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17090 instead of hp-timing.h macros.
17091 * benchtests/bench-memchr.c: Likewise.
17092 * benchtests/bench-memcmp.c: Likewise.
17093 * benchtests/bench-memcpy.c: Likewise.
17094 * benchtests/bench-memmem.c: Likewise.
17095 * benchtests/bench-memmove.c: Likewise.
17096 * benchtests/bench-memset.c: Likewise.
17097 * benchtests/bench-rawmemchr.c: Likewise.
17098 * benchtests/bench-strcasecmp.c: Likewise.
17099 * benchtests/bench-strcasestr.c: Likewise.
17100 * benchtests/bench-strcat.c: Likewise.
17101 * benchtests/bench-strchr.c: Likewise.
17102 * benchtests/bench-strcmp.c: Likewise.
17103 * benchtests/bench-strcpy.c: Likewise.
17104 * benchtests/bench-strcpy_chk.c: Likewise.
17105 * benchtests/bench-strlen.c: Likewise.
17106 * benchtests/bench-strncasecmp.c: Likewise.
17107 * benchtests/bench-strncat.c: Likewise.
17108 * benchtests/bench-strncmp.c: Likewise.
17109 * benchtests/bench-strncpy.c: Likewise.
17110 * benchtests/bench-strnlen.c: Likewise.
17111 * benchtests/bench-strpbrk.c: Likewise.
17112 * benchtests/bench-strrchr.c: Likewise.
17113 * benchtests/bench-strspn.c: Likewise.
17114 * benchtests/bench-strstr.c: Likewise.
17115
cae16d66
WN
171162013-09-04 Will Newton <will.newton@linaro.org>
17117
17118 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17119
ffa3cd7f
JM
171202013-09-03 Joseph Myers <joseph@codesourcery.com>
17121
17122 [BZ #15427]
17123 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17124 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17125 * math/libm-test.inc (lgamma_test_data): Add more tests.
17126 * sysdeps/i386/fpu/libm-test-ulps: Update.
17127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17128
8f02859f
OB
171292013-09-03 Ondřej Bílka <neleai@seznam.cz>
17130
17131 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17132 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17133 Add ifunc.
17134 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17135 Add strcmp-sse2-unaligned
17136 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17137
18d43716
MF
171382013-09-02 Mike Frysinger <vapier@gentoo.org>
17139
17140 * Versions.def (libc): Add GLIBC_2.19.
17141
ac444012
MF
171422013-09-02 Mike Frysinger <vapier@gentoo.org>
17143
17144 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17145 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17146
b7835e32
JM
171472013-09-02 Joseph Myers <joseph@codesourcery.com>
17148
17149 [BZ #14155]
17150 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17151 intermediate calculations in recurrence.
17152 (__ieee754_ynf): Likewise.
17153 * math/libm-test.inc (jn_test_data): Do not allow spurious
17154 underflow exception. Add more tests.
17155 (yn_test_data): Add more tests.
17156 * sysdeps/i386/fpu/libm-test-ulps: Update.
17157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17158
8220f4f0
OB
171592013-09-02 Ondřej Bílka <neleai@seznam.cz>
17160
17161 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17162
f24a6d08
OB
171632013-08-30 Ondřej Bílka <neleai@seznam.cz>
17164
17165 * csu/init-first.c: Fix then/than typos.
17166 * locale/programs/ld-collate.c: Likewise.
17167 * locale/programs/linereader.h: Likewise.
17168 * manual/charset.texi: Likewise.
17169 * manual/filesys.texi: Likewise.
17170 * manual/stdio.texi: Likewise.
17171 * manual/string.texi: Likewise.
17172 * stdlib/fmtmsg.c: Likewise.
17173 * sysdeps/i386/stpncpy.S: Likewise.
17174 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17175 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17176 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17177 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17178
382466e0
OB
171792013-08-30 Ondřej Bílka <neleai@seznam.cz>
17180
17181 * elf/dl-open.c: Fix typos.
17182 * iconvdata/gbbig5.c: Likewise.
17183 * iconvdata/iso-2022-jp.c: Likewise.
17184 * iconv/gconv_int.h: Likewise.
17185 * iconv/loop.c: Likewise.
17186 * nis/rpcsvc/nis.h: Likewise.
17187 * resolv/ns_name.c: Likewise.
17188 * stdio-common/vfscanf.c: Likewise.
17189 * streams/stropts.h: Likewise.
17190 * sunrpc/rpc_thread.c: Likewise.
17191 * sysdeps/i386/strpbrk.S: Likewise.
17192 * sysdeps/ieee754/k_standard.c: Likewise.
17193 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17194 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17195 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17196 * sysdeps/mach/hurd/profil.c: Likewise.
17197 * sysdeps/s390/dl-procinfo.h: Likewise.
17198 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17199 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17200 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17201 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17202 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17203
0186c6e9
OB
172042013-08-30 Ondřej Bílka <neleai@seznam.cz>
17205
17206 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17207 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17208
d4e16af1
OB
172092013-08-29 Ondřej Bílka <neleai@seznam.cz>
17210
17211 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17212 aix specific files.
17213 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17214 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17215 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17216 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17217 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17218 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17219 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17220 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17221
88335980
TS
172222013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17223 Roland McGrath <roland@hack.frob.com>
17224
17225 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17226 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17227
ed479b02
ST
172282013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17229
17230 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17231 __executable_start symbol instead of _start.
17232
f1cc4c86
TS
172332013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17234
d821f07c
TS
17235 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17236 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17237 Move macros to...
17238 * sysdeps/gnu/ldsodefs.h: ... this new file.
17239
c54290cf
TS
17240 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17241 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17242 instead of ELFOSABI_LINUX.
17243
0007fc9b 17244 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
17245 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17246 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17247 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17248 Likewise.
17249 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17250 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17251 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17252 Likewise.
17253 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17254 (ibm_extended_long_double): Add ieee_nan member.
17255 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17256 (do_test): New function.
17257
f1cc4c86
TS
17258 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17259 TEST_TRUNC.
17260 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17261 functions, renamed from truncdfsf_test, trunctfsf_test,
17262 trunctfdf_test.
17263 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17264 functions.
17265 (do_test): Run all these.
17266
6f65e668
OB
172672013-08-29 Ondřej Bílka <neleai@seznam.cz>
17268
17269 * argp/argp-help.c: Fix typos.
17270 * argp/argp-parse.c: Likewise.
17271 * debug/backtracesyms.c: Likewise.
17272 * elf/elf.h: Likewise.
17273 * malloc/malloc.c: Likewise.
17274 * nis/nis_print.c: Likewise.
17275 * resolv/res_comp.c: Likewise.
17276 * stdlib/stdlib.h: Likewise.
17277 * sunrpc/clnt_tcp.c: Likewise.
17278 * sunrpc/clnt_udp.c: Likewise.
17279 * sunrpc/clnt_unix.c: Likewise.
17280 * sysdeps/unix/bsd/ptsname.c: Likewise.
17281 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17282 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
17283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17284 Likewise.
17285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17286 Likewise.
17287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17288 Likewise.
6f65e668
OB
17289 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17290
3a309239
SP
172912013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17292
17293 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17294 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17295
3b813b29
MF
172962013-08-27 Mike Frysinger <vapier@gentoo.org>
17297
17298 [BZ #15897]
17299 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17300 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17301 ($(objpfx)bug-dl-leaf): New rule.
17302 ($(objpfx)bug-dl-leaf.so): Likewise.
17303 ($(objpfx)bug-dl-leaf.out): Likewise.
17304 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17305 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17306 * dlfcn/bug-dl-leaf.c: New test.
17307 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17308 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17309 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17310 (dlclose): Likewise.
17311 (dlmopen): Likewise.
17312
8cc3269f
RM
173132013-08-27 Roland McGrath <roland@hack.frob.com>
17314
7f9d0034
RM
17315 * include/netdb.h [!_ISOMAC]:
17316 Don't include <tls.h>.
17317 (h_errno, __libc_h_errno): Move declaration and macros out of
17318 [_LIBC_REENTRANT].
17319
fb431262
RM
17320 * include/resolv.h [_RESOLV_H_]:
17321 Don't include <tls.h>.
17322 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17323 * resolv/res_libc.c: Don't include <tls.h>.
17324 (_res): Use __attribute__ ((nocommon)) in place of
17325 __attribute__ ((section (".bss"))).
17326
bd81123a
RM
17327 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17328 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17329
c4e42566
RM
17330 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17331
f890a59b
RM
17332 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17333 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17334
17335 * resolv/res_mkquery.c: Include <sys/time.h>.
17336
5d1f0a09
RM
17337 * inet/ifreq.c: Moved to ...
17338 * sysdeps/unix/ifreq.c: ... here.
17339 * inet/ifreq.c: New file, true stub version.
17340
6fcf28b3
RM
17341 * socket/sa_len.c: New file.
17342 * socket/Makefile (aux): Add it.
17343 * sysdeps/unix/sysv/linux/Makefile
17344 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17345 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17346 and #include <socket/sa_len.c>.
17347 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17348 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17349
e041fb8b
RM
17350 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17351 * bits/socket.h: ... here.
17352
8cc3269f
RM
17353 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17354 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17355 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17356
5d228a43
AS
173572013-08-27 Andreas Schwab <schwab@suse.de>
17358
45b8accc
AS
17359 [BZ #15736]
17360 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17361 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17362 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17363 * string/test-strcasecmp.c (test_main): Run tests in several
17364 locales.
17365 * string/test-strncasecmp.c (test_main): Likewise.
17366
5d228a43
AS
17367 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17368 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17369 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17370 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17371 (__strncasecmp_ssse3) [PIC]: Likewise.
17372
59d112a4
RM
173732013-08-26 Roland McGrath <roland@hack.frob.com>
17374
53234cc3
RM
17375 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17376
59d112a4
RM
17377 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17378 instead of explicitly declaring xdecrypt.
17379 * nis/nss_nis/nis-publickey.c: Likewise.
17380
595aba70
SP
173812013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17382
17383 [BZ #15890]
17384 * nscd/aicache.c: Include res_hconf.h.
17385 (addhstaiX): Initialize res_hconf.
17386
ffabd393
AS
173872013-08-26 Andreas Schwab <schwab@suse.de>
17388
17389 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17390 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17391
e0a69f5c
SP
173922013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17393
17394 * nscd/aicache.c (addhstaiX): Fix indentation.
17395
8c12f01d
MF
173962013-08-25 Mike Frysinger <vapier@gentoo.org>
17397
17398 * configure.ac: Quote $build_pt_chown test.
17399 * configure: Regenerated.
17400
8fe89494
JM
174012013-08-23 Joseph Myers <joseph@codesourcery.com>
17402
17403 [BZ #15532]
17404 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17405 * math/s_cexpf.c (__cexpf): Likewise.
17406 * math/s_cexpl.c (__cexpl): Likewise.
17407 * math/libm-test.inc (cexp_test_data): Correct expected return
17408 value for NaN + i0. Add another test.
17409
75b181d6
DM
174102013-08-22 David S. Miller <davem@davemloft.net>
17411
17412 * po/ca.po: Update Catalan translation from translation project.
936241e4 17413 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 17414
acd06bb1
JM
174152013-08-21 Joseph Myers <joseph@codesourcery.com>
17416
17417 [BZ #15797]
17418 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17419 is infinite, not alongside NaN test.
17420 * math/s_fdimf.c (__fdimf): Likewise.
17421 * math/s_fdiml.c (__fdiml): Likewise.
17422 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17423 errno is unchanged.
17424
c0c3f78a
OB
174252013-08-21 Ondřej Bílka <neleai@seznam.cz>
17426
17427 * argp/argp-help.c: Fix typos.
17428 * crypt/speeds.c: Likewise.
17429 * csu/check_fds.c: Likewise.
17430 * elf/dl-load.c: Likewise.
17431 * elf/dl-open.c: Likewise.
17432 * elf/reldep3.c: Likewise.
17433 * elf/reldep.c: Likewise.
17434 * elf/sprof.c: Likewise.
17435 * iconv/iconv_charmap.c: Likewise.
17436 * iconv/skeleton.c: Likewise.
17437 * iconv/strtab.c: Likewise.
17438 * io/lockf64.c: Likewise.
17439 * libio/libioP.h: Likewise.
17440 * resolv/gai_notify.c: Likewise.
17441 * resolv/ns_name.c: Likewise.
17442 * resolv/ns_samedomain.c: Likewise.
17443 * resolv/res_send.c: Likewise.
17444 * stdlib/random.c: Likewise.
17445 * sunrpc/rpc/xdr.h: Likewise.
17446 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17447 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17448 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17449 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17450 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17451 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17452 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17453 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17454 * sysdeps/mach/hurd/check_fds.c: Likewise.
17455 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17456 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17457 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17458 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17459 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17460 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17461 * sysdeps/pthread/aio_notify.c: Likewise.
17462 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17463 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17464 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17465 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17466 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17467
46ed1038
LD
174682013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17469
17470 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17471 version if bit_Slow_SSE4_2 is set.
17472 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17473 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17474
d400dcac
AZ
174752013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17476
17477 [BZ #15867]
17478 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17479 trampoline stack frame information.
17480 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17481 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17482 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17483 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17484 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17485 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17486 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17487 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17488 sa_flags value.
17489 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17490 interrupting a syscall and set with option SA_SIGINFO.
17491
42c8fdd8
JM
174922013-08-20 Joseph Myers <joseph@codesourcery.com>
17493
c980f2f4
JM
17494 [BZ #15531]
17495 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17496 argument is infinite.
17497 * math/s_cprojf.c (__cprojf): Likewise.
17498 * math/s_cprojl.c (__cprojl): Likewise.
17499 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17500 * math/libm-test.inc (cproj_test_data): Add more tests.
17501
0716c4fc
JM
17502 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17503
42c8fdd8
JM
17504 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17505 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17506 size. Use __ffs to determine corresponding shift.
17507
b31469d0
JM
175082013-08-20 Joseph Myers <joseph@codesourcery.com>
17509 Roland McGrath <roland@hack.frob.com>
17510
17511 * Makefile (INSTALL): Remove trailing blank lines from output of
17512 makeinfo.
17513
4e39af6e
AK
175142013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17515
17516 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17517 Align 32 bit compat elf_greg to 8 bytes.
17518
f315524e
AA
175192013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17520
17521 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17522
1326ba1a
SP
175232013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17524
17525 * string/strcoll_l.c (coll_seq): New structure.
17526 (get_next_seq_cached): New function.
17527 (get_next_seq): New function.
17528 (do_compare): New function.
17529 (STRCOLL): Use GNU style definition. Simplify implementation
17530 by using get_next_seq, get_next_seq_cached and do_compare.
17531
91ce4085
FW
175322013-08-16 Florian Weimer <fweimer@redhat.com>
17533
17534 [BZ #14699]
17535 CVE-2013-4237
17536 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17537 member.
17538 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17539 member.
17540 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17541 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17542 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17543 conditional.
17544 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17545 GETDENTS_64BIT_ALIGNED.
17546 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17547 * manual/filesys.texi (Reading/Closing Directory): Document
17548 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17549 strongly.
17550 * manual/conf.texi (Limits for Files): Add portability note to
17551 NAME_MAX, PATH_MAX.
17552 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17553
ca0a6bc4
AS
175542013-08-13 Andreas Schwab <schwab@suse.de>
17555
17556 [BZ #15749]
17557 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17558 of fabs.
17559 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17560 LDBL_MAX_EXP >= 16384]: Add tests for it.
17561
6c1fd795
DM
175622013-08-12 David S. Miller <davem@davemloft.net>
17563
17564 * version.h (RELEASE): Set to "development".
17565 (VERSION): Set to "2.18.90".
17566 * NEWS: Add 2.19 section.
17567
31ad488d
DM
175682013-08-03 David S. Miller <davem@davemloft.net>
17569
17570 * po/ko.po: Update Korean translation from translation project.
17571
db24e684
DM
175722013-08-01 David S. Miller <davem@davemloft.net>
17573
17574 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17575 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17576 Bilka.
17577
f723285b
DM
175782013-07-30 David S. Miller <davem@davemloft.net>
17579
17580 * po/fr.po: Update French translation from translation project.
17581
3cbc52db
DM
175822013-07-28 David S. Miller <davem@davemloft.net>
17583
30bbc0cc
DM
17584 * po/cs.po: Update Czech translation from translation project.
17585
3cbc52db
DM
17586 * po/sv.po: Update Swedish translation from translation project.
17587
d492e6d0
DM
175882013-07-27 David S. Miller <davem@davemloft.net>
17589
f1a7f492
DM
17590 * po/eo.po: Update Esperanto translation from translation project.
17591
90e62a4a
DM
17592 * po/vi.po: Update Vietnamese translation from translation project.
17593
d492e6d0
DM
17594 * po/de.po: Update German translation from translation project.
17595
d4baa62d
DM
175962013-07-26 David S. Miller <davem@davemloft.net>
17597
641aa7b4
DM
17598 * po/bg.po: Update Bulgarian translation from translation project.
17599
d4baa62d
DM
17600 * po/nl.po: Update Dutch translation from translation project.
17601 * po/pl.po: Update Polish translation from translation project.
17602 * po/ru.po: Update Russian translation from translation project.
17603
61a9dcb9
DM
176042013-07-24 David S. Miller <davem@davemloft.net>
17605
17606 * po/libc.pot: Update.
17607
7b1f8b58
AZ
176082013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17609
17610 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17611 variable page size.
17612 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17613 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17614 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17615
a8fc7a03
AK
176162013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17617
17618 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17619
e4608715
CD
176202013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17621 Andreas Schwab <schwab@suse.de>
17622 Roland McGrath <roland@hack.frob.com>
17623 Joseph Myers <joseph@codesourcery.com>
17624 Carlos O'Donell <carlos@redhat.com>
17625
17626 [BZ #15755]
17627 * config.h.in: Define HAVE_PT_CHOWN.
17628 * config.make.in (build-pt-chown): New variable.
17629 * configure.in (--enable-pt_chown): New configure option.
17630 * configure: Regenerate.
17631 * login/Makefile: Include Makeconfig. Build pt_chown only if
17632 build-pt-chown is enabled.
17633 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17634 pt_chown to fix pty ownership.
17635 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17636 CLOSE_ALL_FDS.
17637 * manual/install.texi (Configuring and compiling): Mention
17638 --enable-pt_chown. Add @findex for grantpt.
17639 * INSTALL: Regenerate.
17640
da2d62df
DM
176412013-07-20 David S. Miller <davem@davemloft.net>
17642
17643 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17644 difference between 32-bit and 64-bit.
17645
d7e06450
CD
176462013-07-15 Carlos O'Donell <carlos@redhat.com>
17647
17648 [BZ #15711]
17649 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17650 Avoid system header dependency with -ffreestanding.
17651 ($(objpfx)bits/syscall%d): Likewise.
17652
f959cfd7
DM
176532013-07-13 David S. Miller <davem@davemloft.net>
17654
17655 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17656 underflows from atanl/atan2l due to bug 15319.
17657 (casinh_test_data): Likewise.
17658
c61f8513
DM
176592013-07-07 David S. Miller <davem@davemloft.net>
17660
17661 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17662
72c90ed0
JA
176632013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17664
17665 * sysdeps/i386/fpu/libm-test-ulps: Update.
17666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17667
52dfbe13
SP
176682013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17669
17670 * configure.in (--enable-lock-elision): Fix message text.
17671 * INSTALL: Regenerate.
17672 * configure: Regenerate.
17673
3f169543
AZ
176742013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17675
17676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17677
521c6785
AJ
176782013-07-03 Andreas Jaeger <aj@suse.de>
17679
17680 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17681 define.
17682 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17683 (ptrace_peeksiginfo_args): Add.
17684 (__ptrace_peeksiginfo_flags): Add.
17685 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17686 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17687 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17688
d2cc15cb
AM
176892013-07-03 Allan McRae <allan@archlinux.org>
17690
17691 * sysdeps/i386/fpu/libm-test-ulps: Update.
17692
3aaeeca7
DM
176932013-07-02 David S. Miller <davem@davemloft.net>
17694
17695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17696
5314ed1a
MT
176972013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17698
17699 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17700
67338156
JM
177012013-07-02 Joseph Myers <joseph@codesourcery.com>
17702
17703 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17705
1717da59
AK
177062013-07-02 Andi Kleen <ak@linux.intel.com>
17707
17708 * config.h.in (ENABLE_LOCK_ELISION): Add.
17709 * configure.in (--enable-lock-elision): Add option.
17710 * manual/install.texi: Document --enable lock elision.
17711 * configure: Regenerate
17712 * INSTALL: Regenerate.
17713
1c81621c
L
177142013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17715
17716 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17717 SSE4.2 strcasecmp for libc.a.
17718 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17719
77f01ab5
JM
177202013-07-02 Joseph Myers <joseph@codesourcery.com>
17721
17722 [BZ #13304]
17723 * soft-fp/op-common.h (_FP_FMA): New macro.
17724 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17725 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17726 (_FP_MUL_MEAT_1_imm): ... here.
17727 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17728 (_FP_MUL_MEAT_1_wide): ... here.
17729 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17730 (_FP_MUL_MEAT_1_hard): ... here.
17731 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17732 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17733 (_FP_MUL_MEAT_2_wide): ... here.
17734 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17735 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17736 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17737 (_FP_MUL_MEAT_2_gmp): ... here.
17738 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17739 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17740 (_FP_MUL_MEAT_4_wide): ... here.
17741 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17742 (_FP_MUL_MEAT_4_gmp): ... here.
17743 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17744 (_FP_WFRACBITS_DW_S): Likewise.
17745 (_FP_WFRACXBITS_DW_S): Likewise.
17746 (_FP_HIGHBIT_DW_S): Likewise.
17747 (FP_FMA_S): Likewise.
17748 (_FP_FRAC_HIGH_DW_S): Likewise.
17749 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17750 (_FP_WFRACBITS_DW_D): Likewise.
17751 (_FP_WFRACXBITS_DW_D): Likewise.
17752 (_FP_HIGHBIT_DW_D): Likewise.
17753 (FP_FMA_D): Likewise.
17754 (_FP_FRAC_HIGH_DW_D): Likewise.
17755 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17756 (_FP_WFRACBITS_DW_E): Likewise.
17757 (_FP_WFRACXBITS_DW_E): Likewise.
17758 (_FP_HIGHBIT_DW_E): Likewise.
17759 (FP_FMA_E): Likewise.
17760 (_FP_FRAC_HIGH_DW_E): Likewise.
17761 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17762 (_FP_WFRACBITS_DW_Q): Likewise.
17763 (_FP_WFRACXBITS_DW_Q): Likewise.
17764 (_FP_HIGHBIT_DW_Q): Likewise.
17765 (FP_FMA_Q): Likewise.
17766 (_FP_FRAC_HIGH_DW_Q): Likewise.
17767 * soft-fp/fmasf4.c: New file.
17768 * soft-fp/fmadf4.c: Likewise.
17769 * soft-fp/fmatf4.c: Likewise.
17770
6308fd9a
LD
177712013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17772
17773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17774 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17775 Silvermont.
17776 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17777 macro.
17778 (index_Slow_SSE4_2): Likewise.
17779 (index_Prefer_PMINUB_for_stringop): Likewise.
17780 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17781 bit_Slow_SSE4_2 is set.
17782 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17783 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17784
89cd9569
RA
177852013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17786
17787 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17788 rtld_global._dl_hwcap2.
17789 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17790 POWER8.
17791 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17792 POWER8 feature descriptions defined in _dl_hwcap2.
17793 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17794 string handling for POWER8 feature bits.
17795 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17796 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17797 _dl_powerpc_cap_flags.
17798 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17799 * sysdeps/powerpc/rtld-global-offsets.sym
17800 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17801 _dl_hwcap2 in the rtld_global_ro structure.
17802
1ae8bfe0
RA
178032013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17804
17805 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17806 hardware capabilities in support of AT_HWCAP2.
17807 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17808 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17809 GLRO(dl_hwcap2).
17810 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17811 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17812 explicitly the unknown a_type display mechanism is used.
17813 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17814 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17815 struct member.
17816 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17817 to macro prototype for AT_HWCAP2 support.
17818 * sysdeps/i386/dl-procinfo.h: Likewise.
17819 * sysdeps/s390/dl-procinfo.h: Likewise.
17820 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17821 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17822 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17823 return -1 for unknown a_type display fallback.
17824 * sysdeps/sparc/dl-procinfo.h: Likewise.
17825 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17826 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17827
8fbec010
JM
178282013-06-28 Joseph Myers <joseph@codesourcery.com>
17829
17830 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17831 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17832
0432680e
PY
178332013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17834
17835 [BZ #12492]
17836 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17837 mprotect making __stack_prot writable.
17838
ce61a2ad
NF
178392013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17840 Joseph Myers <joseph@codesourcery.com>
17841
17842 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17843 as being properly aligned.
17844
f91f1c0f
MR
178452013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17846
3d0f5d0c
MR
17847 * dlfcn/modstatic5.c: New file.
17848 * dlfcn/tststatic5.c: New file.
17849 * dlfcn/Makefile (tests): Add tststatic5.
17850 (tests-static): Likewise.
17851 (modules-names): Add modstatic5.
17852 (tststatic5-ENV): New variable.
17853 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17854
f91f1c0f
MR
17855 [BZ #15022]
17856 * elf/dl-support.c (_dl_main_map): New variable.
17857 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17858 (_dl_nns, _dl_load_adds): Set to 1.
17859 (_dl_initial_searchlist): Refer to _dl_main_map.
17860 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17861 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17862 call to _dl_get_origin.
17863 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17864 around call_map.
17865 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17866 * dlfcn/modstatic3.c: New file.
17867 * dlfcn/tststatic3.c: New file.
17868 * dlfcn/tststatic4.c: New file.
17869 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17870 (tests-static): Likewise.
17871 (modules-names): Add modstatic3.
17872 (tststatic3-ENV, tststatic4-ENV): New variables.
17873 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17874 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17875
cbe7d24b
JM
178762013-06-26 Joseph Myers <joseph@codesourcery.com>
17877
17878 * configure.in (CC): Require GCC version 4.4 or later.
17879 * configure: Regenerated.
17880 * manual/install.texi (Tools for Compilation): Update GCC version
17881 requirement.
17882 * INSTALL: Regenerated.
17883
11b8a0e1
LD
178842013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17885
17886 [BZ #15674]
bb5bb87c
L
17887 * string/test-memcmp.c (check2): New.
17888 (main): Call check2.
17889
11b8a0e1
LD
17890 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17891
b0037103
MR
178922013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17893
17894 [BZ #15022]
17895 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17896 over to...
17897 (dl_open_worker) [!SHARED]: ... here.
17898
c18c701d
RA
178992013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17900
17901 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17902
1d17fa5f
RH
179032013-06-25 Richard Henderson <rth@redhat.com>
17904
17905 * locale/programs/locarchive.c: Include <libc-internal.h>
17906
8fcb833a
JM
179072013-06-25 Joseph Myers <joseph@codesourcery.com>
17908
17909 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17910 trailing whitespace removed.
17911
17db6e8d
MF
179122013-06-24 Mike Frysinger <vapier@gentoo.org>
17913
17914 [BZ #10283]
17db6e8d
MF
17915 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17916 * locale/programs/locarchive.c: Include libc-mmap.h.
17917 (prepare_address_space): Take two new outputs (the mmap base and len).
17918 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17919 values.
17920 (create_archive): Declare new mmap base and len values for
17921 prepare_address_space, and store the result in ah.
17922 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17923 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17924 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17925 Declare new mmap base and len values for
17926 prepare_address_space, and store the result in new_ah.
17927 (open_archive): Declare new mmap base and len values for
17928 prepare_address_space, and store the result in ah.
17929 (close_archive): If ah->mmap_base is not NULL, use that and
17930 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17931 * sysdeps/generic/libc-mmap.h: New file.
17932
d605071e
MF
179332013-06-24 Mike Frysinger <vapier@gentoo.org>
17934
17935 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17936 (ALIGN_UP): Likewise.
17937 (PTR_ALIGN_DOWN): Likewise.
17938 (PTR_ALIGN_UP): Likewise.
17939
2f063a6e
RA
179402013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17941
17942 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17943 entry mapped to PPC_PLATFORM_POWER8.
17944 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17945 POWER8.
17946 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17947 (_dl_string_platform): Add case for exporting platform position for
17948 POWER8.
17949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17950 search path to sysdeps/powerpc/powerpc32/power8 directory.
17951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17952 search path to sysdeps/powerpc/powerpc64/power8 directory.
17953 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17954 power7 directories.
17955 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17956 power7 directories.
17957
a31ee4b3
SP
179582013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17959
a74ca98f
SP
17960 * INSTALL: Regenerate.
17961
a31ee4b3
SP
17962 * nscd/connections.c (nscd_init): Fix comment.
17963
695c378f
JM
179642013-06-22 Joseph Myers <joseph@codesourcery.com>
17965
d8412221
JM
17966 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17967
695c378f
JM
17968 [BZ #15667]
17969 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17970 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17971
d1d54715
MR
179722013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17973
17974 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17975 DL_DST_REQ_STATIC.
17976 (DL_DST_REQ_STATIC): Remove macro.
17977
8fdda7af
JM
179782013-06-21 Joseph Myers <joseph@codesourcery.com>
17979
17980 [BZ #7006]
17981 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17982 with a shift of 0 bits.
17983
f3bc5e5a
MR
179842013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17985
17986 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17987 $(tststatic-ENV).
17988
be09e8c9
KK
179892013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17990
17991 [BZ #15655]
17992 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17993
85c2e611
AZ
179942013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17995
17996 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17997 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17998 accepts -fno-tree-loop-distribute-patterns.
17999 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18000 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18001 recursive call.
18002 * string/memset.c (memset): Likewise.
18003 * string/test-memmove.c (simple_memmove): Disable loop transformation
18004 to library calls.
18005 * string/test-memset.c (simple_memset): Likewise.
18006 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18007 * benchtests/bench-memset.c (simple_memset): Likewise.
18008 * configure: Regenerated.
18009
c91e0825
JM
180102013-06-20 Joseph Myers <joseph@codesourcery.com>
18011
b8c792af
JM
18012 * math/test-misc.c (main): Ignore fesetround failure when failures
18013 of subsequent rounding tests would be ignored.
18014
c91e0825
JM
18015 [BZ #15654]
18016 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18017 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18018 * math/fegetenv.c (__fegetenv): Return 0.
18019 * math/fegetexcept.c (fegetexcept): Return 0.
18020 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18021 FE_TONEAREST.
18022 * math/feholdexcpt.c (feholdexcept): Return 0.
18023 * math/fesetenv.c (__fesetenv): Return 0.
18024 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18025 argument FE_TONEAREST.
18026 * math/feupdateenv.c (__feupdateenv): Return 0.
18027 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18028
bfcacbde
RM
180292013-06-18 Roland McGrath <roland@hack.frob.com>
18030
18031 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18032 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18033 ($(objpfx)rtld-%.os rules): Use them.
18034
e55a9b25
AZ
180352013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18036
18037 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18038 fields.
18039
346d65b3
RM
180402013-06-17 Roland McGrath <roland@hack.frob.com>
18041
12086fb4
RM
18042 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18043 length of target pattern, then descending length of dependency pattern.
18044 * configure.in (AWK): Require gawk 3.1.2 or newer.
18045 * manual/install.texi (Tools for Compilation): Say that we do.
18046 * configure: Regenerated.
18047
346d65b3
RM
18048 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18049 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18050 * scripts/sysd-rules.awk: ... this new script.
18051 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18052 than a glob-style pattern.
18053
1a846317
JM
180542013-06-17 Joseph Myers <joseph@codesourcery.com>
18055
18056 * math/test-misc.c (main): Do not treat incorrectly rounded
18057 conversions as failure unless ROUNDING_TESTS passes.
18058
8fc75e6f
JM
180592013-06-15 Joseph Myers <joseph@codesourcery.com>
18060
3711a167
JM
18061 [BZ #15631]
18062 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18063 restore exception state around main square root computation, then
18064 check for inexactness explicitly.
18065
8fc75e6f
JM
18066 * math/libm-test.inc (fma_test_data): Add another test.
18067
61dd6208
SP
180682013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18069
adf23d2c
SP
18070 * manual/threads.texi (Non-POSIX Extensions): New document
18071 node. Document pthread_getattr_default_np and
18072 pthread_setattr_default_np.
18073
61dd6208
SP
18074 * Versions.def (libpthread): Add GLIBC_2.18.
18075 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18077 Likewise.
18078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18079 Likewise.
18080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18081 Likewise.
18082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18083 Likewise.
18084 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18085 Likewise.
18086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18087 Likewise.
18088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18089 Likewise.
18090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18091 Likewise.
18092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18093 Likewise.
18094
d086fc7b
LD
180952013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18096
18097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18098 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18099
747ef469
SP
181002013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18101 H.J. Lu <hjl.tools@gmail.com>
18102
18103 [BZ #15627]
18104 * sysdeps/x86_64/rtld-memset.c: Remove file.
18105 * sysdeps/x86_64/rtld-memset.S: New file.
18106
1b2feed2
JM
181072013-06-14 Joseph Myers <joseph@codesourcery.com>
18108
18109 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18110 (test_in_one_mode): Take arguments for whether the rounding mode
18111 is supported for each floating-point type.
18112 (do_test): Pass new arguments to test_in_one_mode using
18113 ROUNDING_TESTS.
18114
a58ad3f8
RM
181152013-06-13 Roland McGrath <roland@hack.frob.com>
18116
18117 * posix/tst-waitid.c (do_test): Distinguish different instances of
18118 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18119 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18120 before entering the kernel for waitpid.
18121
c204ab28
SP
181222013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18123
18124 * NEWS: Fix note on clock function precision. Text by Roland
18125 McGrath.
18126
f4a29fba
RM
181272013-06-13 Roland McGrath <roland@hack.frob.com>
18128
18129 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18130 it into place only when and if the sanity check passes.
18131
1f24b9ad
JM
181322013-06-13 Joseph Myers <joseph@codesourcery.com>
18133
18134 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18135 output for whether conversion result is exact. Take argument
18136 indicating whether type is IBM long double.
18137 (round_for_all): Change need_exact field to ibm_ld.
18138 * stdlib/tst-strtod-round.c (struct exactness): New type.
18139 (struct test): Change bool ld_ok field to struct exactness exact.
18140 (TEST): Update all definitions for change to field.
18141 (tests): Regenerate array contents.
18142 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18143 field value. Check for IBM long double here.
18144 (do_test): Update calls to test_in_one_mode.
18145
58206c68
SP
181462013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18147
18148 [BZ #12515]
18149 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18150 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18151
2d6f4c5b 181522013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
18153
18154 [BZ #15605]
18155 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18156 generated by the compiler on loop optimizations.
18157 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18158 general definitions.
18159
94f2c076
JM
181602013-06-12 Joseph Myers <joseph@codesourcery.com>
18161
18162 * math/bug-nextafter.c: Include <math-tests.h>.
18163 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18164 the relevant type.
18165 * math/bug-nexttoward.c: Include <math-tests.h>.
18166 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18167 the relevant type.
18168 * math/test-misc.c: Include <math-tests.h>.
18169 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18170 the relevant type.
18171
e0e50a0a
AJ
181722013-06-12 Andreas Jaeger <aj@suse.de>
18173
18174 * po/ia.po: Update Interlingua translation from translation
18175 project.
18176
25061094
SP
181772013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18178
18179 * include/fenv.h: Include stdbool.h.
18180 (struct rm_ctx): New structure.
18181 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18182 Define macro.
18183 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18184 (SET_RESTORE_ROUNDF): Likewise.
18185 (SET_RESTORE_ROUNDL): Likewise.
18186 (SET_RESTORE_ROUND_NOEX): Likewise.
18187 (SET_RESTORE_ROUND_NOEXF): Likewise.
18188 (SET_RESTORE_ROUND_NOEXL): Likewise.
18189 (SET_RESTORE_ROUND_53BIT): Likewise.
18190 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18191 (libc_feresetround_noexf_ctx): Likewise.
18192 (libc_feresetround_noexl_ctx): Likewise.
18193 (libc_feholdsetround_53bit_ctx): Likewise.
18194 (libc_feresetround_53bit_ctx): Likewise.
18195 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18196 (libc_feholdexcept_setround_sse_ctx): New function.
18197 (libc_fesetenv_sse_ctx): Likewise.
18198 (libc_feupdateenv_sse_ctx): Likewise.
18199 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18200 (libc_feholdexcept_setround_387_ctx): Likewise.
18201 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18202 (libc_feholdsetround_387_prec_ctx): Likewise.
18203 (libc_feholdsetround_387_ctx): Likewise.
18204 (libc_feholdsetround_387_53bit_ctx): Likewise.
18205 (libc_feholdsetround_sse_ctx): Likewise.
18206 (libc_feresetround_sse_ctx): Likewise.
18207 (libc_feresetround_387_ctx): Likewise.
18208 (libc_feupdateenv_387_ctx): Likewise.
18209 (libc_feholdexcept_setroundf_ctx): Define macro.
18210 (libc_fesetenvf_ctx): Likewise.
18211 (libc_feupdateenvf_ctx): Likewise.
18212 (libc_feholdsetroundf_ctx): Likewise.
18213 (libc_feresetroundf_ctx): Likewise.
18214 (libc_feholdexcept_setround_ctx): Likewise.
18215 (libc_fesetenv_ctx): Likewise.
18216 (libc_feupdateenv_ctx): Likewise.
18217 (libc_feholdsetround_ctx): Likewise.
18218 (libc_feresetround_ctx): Likewise.
18219 (libc_feholdexcept_setroundl_ctx): Likewise.
18220 (libc_feupdateenvl_ctx): Likewise.
18221 (libc_feholdsetroundl_ctx): Likewise.
18222 (libc_feresetroundl_ctx): Likewise.
18223 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18224 (libc_feresetround_53bit_ctx): Likewise.
18225
59b30555
SP
182262013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18227
18228 * locale/iso-639.def: Convert to UTF-8.
18229
f1d73d30
JM
182302013-06-11 Joseph Myers <joseph@codesourcery.com>
18231
18232 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18233 (EXCEPTION_TESTS_double): Likewise.
18234 (EXCEPTION_TESTS_long_double): Likewise.
18235 (EXCEPTION_TESTS): Likewise.
18236 * math/libm-test.inc (test_exceptions): Only test exceptions if
18237 EXCEPTION_TESTS (FLOAT).
18238
94aca5e7
SP
182392013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18240
18241 * benchtests/Makefile (string-bench): Add strcpy_chk and
18242 stpcpy_chk.
18243 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18244 * benchtests/bench-stpcpy_chk.c: New file.
18245 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18246 * benchtests/bench-strcpy_chk.c: New file.
18247 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18248 code.
18249 (do_test): Likewise.
18250
fac0c5f2
RA
182512013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18252
18253 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18254 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18255 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18256 with tabs where appropriate.
18257 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18258 dl-procinfo.h.
18259 [PPC_PLATFORM_PPC440]: Likewise.
18260 [PPC_PLATFORM_PPC464]: Likewise.
18261 [PPC_PLATFORM_PPC476]: Likewise.
18262 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18263 ppc464, and ppc476 platform strings merging from ports/
18264 dl-procinfo.h.
18265
f22bc486
AS
182662013-06-11 Andreas Schwab <schwab@suse.de>
18267
18268 [BZ #14991]
18269 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18270 (from_ucs4_idx): Regenerate.
18271 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18272 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18273 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18274 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18275 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18276 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18277 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18278 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18279 from FROM_LOOP and TO_LOOP specific macros.
18280 (BODY): Handle combining characters.
18281 * iconvdata/BIG5HKSCS.irreversible: Update.
18282 * iconvdata/BIG5HKSCS.precomposed: New file.
18283 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18284 characters.
18285 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18286
c1f75dc3
SP
182872013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18288
4eacded2
SP
18289 * include/sys/time.h: Fix indentation and add copyright header.
18290
fec799f8
SP
18291 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18292 (do_test): Likewise.
18293 * string/test-memchr.c (do_one_test): Likewise.
18294 (do_test): Likewise.
18295 * string/test-memcmp.c (do_one_test): Likewise.
18296 (do_test): Likewise.
18297 * string/test-memcpy.c (do_one_test): Likewise.
18298 (do_test): Likewise.
18299 * string/test-memmem.c (do_one_test): Likewise.
18300 (do_test): Likewise.
18301 (do_random_tests): Likewise.
18302 * string/test-memmove.c (do_one_test): Likewise.
18303 (do_test): Likewise.
18304 * string/test-memset.c (do_one_test): Likewise.
18305 (do_test): Likewise.
18306 * string/test-rawmemchr.c (do_one_test): Likewise.
18307 (do_test): Likewise.
18308 * string/test-strcasecmp.c (do_one_test): Likewise.
18309 (do_test): Likewise.
18310 * string/test-strcasestr.c (do_one_test): Likewise.
18311 (do_test): Likewise.
18312 * string/test-strcat.c (do_one_test): Likewise.
18313 (do_test): Likewise.
18314 * string/test-strchr.c (do_one_test): Likewise.
18315 (do_test): Likewise.
18316 * string/test-strcmp.c (do_one_test): Likewise.
18317 (do_test): Likewise.
18318 * string/test-strcpy.c (do_one_test): Likewise.
18319 (do_test): Likewise.
18320 * string/test-string.h: Likewise.
18321 (test_init): Likewise.
18322 * string/test-strlen.c (do_one_test): Likewise.
18323 (do_test): Likewise.
18324 * string/test-strncasecmp.c (do_one_test): Likewise.
18325 (do_test): Likewise.
18326 * string/test-strncat.c (do_one_test): Likewise.
18327 (do_test): Likewise.
18328 * string/test-strncmp.c (do_one_test): Likewise.
18329 (do_test_limit): Likewise.
18330 (do_test): Likewise.
18331 * string/test-strncpy.c (do_one_test): Likewise.
18332 (do_test): Likewise.
18333 * string/test-strnlen.c (do_one_test): Likewise.
18334 (do_test): Likewise.
18335 * string/test-strpbrk.c (do_one_test): Likewise.
18336 (do_test): Likewise.
18337 * string/test-strrchr.c (do_one_test): Likewise.
18338 (do_test): Likewise.
18339 * string/test-strspn.c (do_one_test): Likewise.
18340 (do_test): Likewise.
18341 * string/test-strstr.c (do_one_test): Likewise.
18342 (do_test): Likewise.
18343
97020474
SP
18344 * benchtests/Makefile (string-bench): Add string benchmarks.
18345 * benchtests/bench-bcopy-ifunc.c: New file.
18346 * benchtests/bench-bcopy.c: New file.
18347 * benchtests/bench-bzero-ifunc.c: New file.
18348 * benchtests/bench-bzero.c: New file.
18349 * benchtests/bench-memccpy-ifunc.c: New file.
18350 * benchtests/bench-memccpy.c: New file.
18351 * benchtests/bench-memchr-ifunc.c: New file.
18352 * benchtests/bench-memchr.c: New file.
18353 * benchtests/bench-memcmp-ifunc.c: New file.
18354 * benchtests/bench-memcmp.c: New file.
18355 * benchtests/bench-memmem-ifunc.c: New file.
18356 * benchtests/bench-memmem.c: New file.
18357 * benchtests/bench-memmove-ifunc.c: New file.
18358 * benchtests/bench-memmove.c: New file.
18359 * benchtests/bench-mempcpy-ifunc.c: New file.
18360 * benchtests/bench-mempcpy.c: New file.
18361 * benchtests/bench-memset-ifunc.c: New file.
18362 * benchtests/bench-memset.c: New file.
18363 * benchtests/bench-rawmemchr-ifunc.c: New file.
18364 * benchtests/bench-rawmemchr.c: New file.
18365 * benchtests/bench-stpcpy-ifunc.c: New file.
18366 * benchtests/bench-stpcpy.c: New file.
18367 * benchtests/bench-stpncpy-ifunc.c: New file.
18368 * benchtests/bench-stpncpy.c: New file.
18369 * benchtests/bench-strcasecmp-ifunc.c: New file.
18370 * benchtests/bench-strcasecmp.c: New file.
18371 * benchtests/bench-strcasestr-ifunc.c: New file.
18372 * benchtests/bench-strcasestr.c: New file.
18373 * benchtests/bench-strcat-ifunc.c: New file.
18374 * benchtests/bench-strcat.c: New file.
18375 * benchtests/bench-strchr-ifunc.c: New file.
18376 * benchtests/bench-strchr.c: New file.
18377 * benchtests/bench-strchrnul-ifunc.c: New file.
18378 * benchtests/bench-strchrnul.c: New file.
18379 * benchtests/bench-strcmp-ifunc.c: New file.
18380 * benchtests/bench-strcmp.c: New file.
18381 * benchtests/bench-strcpy-ifunc.c: New file.
18382 * benchtests/bench-strcpy.c: New file.
18383 * benchtests/bench-strcspn-ifunc.c: New file.
18384 * benchtests/bench-strcspn.c: New file.
18385 * benchtests/bench-strlen-ifunc.c: New file.
18386 * benchtests/bench-strlen.c: New file.
18387 * benchtests/bench-strncasecmp-ifunc.c: New file.
18388 * benchtests/bench-strncasecmp.c: New file.
18389 * benchtests/bench-strncat-ifunc.c: New file.
18390 * benchtests/bench-strncat.c: New file.
18391 * benchtests/bench-strncmp-ifunc.c: New file.
18392 * benchtests/bench-strncmp.c: New file.
18393 * benchtests/bench-strncpy-ifunc.c: New file.
18394 * benchtests/bench-strncpy.c: New file.
18395 * benchtests/bench-strnlen-ifunc.c: New file.
18396 * benchtests/bench-strnlen.c: New file.
18397 * benchtests/bench-strpbrk-ifunc.c: New file.
18398 * benchtests/bench-strpbrk.c: New file.
18399 * benchtests/bench-strrchr-ifunc.c: New file.
18400 * benchtests/bench-strrchr.c: New file.
18401 * benchtests/bench-strspn-ifunc.c: New file.
18402 * benchtests/bench-strspn.c: New file.
18403 * benchtests/bench-strstr-ifunc.c: New file.
18404 * benchtests/bench-strstr.c: New file.
18405
c1f75dc3
SP
18406 * benchtests/Makefile: Disable parallel execution of targets.
18407 (string-bench): Add memcpy.
18408 (benchset): New variable to store a list of benchmark sets.
18409 (bench-func): Renamed from bench.
18410 (bench-set): New target.
18411 (bench): Depend on bench-func and bench-set.
18412 * benchtests/README: Add section on benchmark sets.
18413 * benchtests/bench-memcpy-ifunc.c: New file.
18414 * benchtests/bench-memcpy.c: New file.
18415 * benchtests/bench-string.h: New file.
18416
50fd745b
AS
184172013-06-11 Andreas Schwab <schwab@suse.de>
18418
18419 [BZ #15577]
18420 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18421 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18422 values in the triple.
18423 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18424 terminator in the group key.
18425
3ee7e9fe
AJ
184262013-06-11 Andreas Jaeger <aj@suse.de>
18427
18428 * po/zh_TW.po: Update Chinese (traditional) translation from
18429 translation project.
18430
89fb6835
SP
184312013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18432
18433 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18434 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18435 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18436 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18437 (clock_getcpuclockid): Likewise.
18438 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18439 Add weak_alias and libc_hidden_def.
18440 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18441 * rt/clock_gettime.c (clock_gettime): Rename to
18442 __clock_gettime. Add weak_alias and libc_hidden_def.
18443 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18444 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18445 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18446 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18447 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18448 Likewise.
18449 * rt/clock_settime.c (clock_settime): Rename to
18450 __clock_settime. Add weak_alias and libc_hidden_def.
18451 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18452
0efa6f8b
JM
184532013-06-10 Joseph Myers <joseph@codesourcery.com>
18454
b8c61b4b
JM
18455 * mach/err_boot.sub: Remove trailing whitespace.
18456 * mach/err_ipc.sub: Likewise.
18457 * mach/err_mach.sub: Likewise.
18458
0efa6f8b
JM
18459 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18460 (ROUNDING_TESTS_double): Likewise.
18461 (ROUNDING_TESTS_long_double): Likewise.
18462 (ROUNDING_TESTS): Likewise.
18463 * math/libm-test.inc: Include <math-tests.h>.
18464 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18465 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18466 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18467 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18468
50b818bf
SP
184692013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18470
18471 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18472 of assigning.
18473
60d2f8f3
JM
184742013-06-08 Joseph Myers <joseph@codesourcery.com>
18475
4902d2c3
JM
18476 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18477 otherwise empty TRANS lines.
18478 * sysdeps/gnu/errlist.c: Regenerated.
18479
60d2f8f3
JM
18480 * catgets/gencat.c (error_print): Use (void) in function
18481 definition.
18482 * crypt/crypt_util.c (__init_des): Likewise.
18483 * crypt/speeds.c (Stop): Likewise.
18484 (main): Likewise.
18485 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18486 * inet/ruserpass.c (token): Likewise.
18487 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18488 * intl/localealias.c (extend_alias_table): Likewise.
18489 * intl/plural-exp.c (init_germanic_plural): Likewise.
18490 * libio/fcloseall.c (__fcloseall): Likewise.
18491 * libio/genops.c (_IO_flush_all): Likewise.
18492 (_IO_flush_all_linebuffered): Likewise.
18493 (_IO_cleanup): Likewise.
18494 (_IO_iter_begin): Likewise.
18495 (_IO_iter_end): Likewise.
18496 (_IO_list_lock): Likewise.
18497 (_IO_list_unlock): Likewise.
18498 (_IO_list_resetlock): Likewise.
18499 * libio/getchar.c (getchar): Likewise.
18500 * libio/getchar_u.c (getchar_unlocked): Likewise.
18501 * libio/getwchar.c (getwchar): Likewise.
18502 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18503 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18504 * login/getpt.c (__getpt): Likewise.
18505 * login/tst-utmp.c (main): Likewise.
18506 * malloc/hooks.c (__malloc_check_init): Likewise.
18507 * malloc/malloc.c (__malloc_stats): Likewise.
18508 * malloc/mtrace.c (tr_break): Likewise.
18509 (mtrace): Likewise.
18510 (muntrace): Likewise.
18511 * misc/fstab.c (endfsent): Likewise.
18512 * misc/getclktck.c (__getclktck): Likewise.
18513 * misc/getdtsz.c (__getdtablesize): Likewise.
18514 * misc/gethostid.c (gethostid): Likewise.
18515 * misc/getpagesize.c (__getpagesize): Likewise.
18516 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18517 (__get_nprocs): Likewise.
18518 (__get_phys_pages): Likewise.
18519 (__get_avphys_pages): Likewise.
18520 * misc/getttyent.c (getttyent): Likewise.
18521 (setttyent): Likewise.
18522 (endttyent): Likewise.
18523 * misc/getusershell.c (getusershell): Likewise.
18524 (endusershell): Likewise.
18525 (setusershell): Likewise.
18526 (initshells): Likewise.
18527 * misc/hsearch.c (__hdestroy): Likewise.
18528 * misc/sync.c (sync): Likewise.
18529 * misc/syslog.c (closelog_internal): Likewise.
18530 (closelog): Likewise.
18531 * misc/ttyslot.c (ttyslot): Likewise.
18532 * misc/vhangup.c (vhangup): Likewise.
18533 * posix/fork.c (__fork): Likewise.
18534 * posix/getegid.c (__getegid): Likewise.
18535 * posix/geteuid.c (__geteuid): Likewise.
18536 * posix/getgid.c (__getgid): Likewise.
18537 * posix/getpid.c (__getpid): Likewise.
18538 * posix/getppid.c (__getppid): Likewise.
18539 * posix/getuid.c (__getuid): Likewise.
18540 * posix/pause.c (pause): Likewise.
18541 * posix/setpgrp.c (setpgrp): Likewise.
18542 * posix/setsid.c (__setsid): Likewise.
18543 * posix/test-vfork.c (noop): Likewise.
18544 * resolv/gethnamaddr.c (_endhtent): Likewise.
18545 (_gethtent): Likewise.
18546 (ht_endhostent): Likewise.
18547 (gethostent): Likewise.
18548 (dns_service): Likewise.
18549 * stdlib/drand48.c (drand48): Likewise.
18550 * stdlib/lrand48.c (lrand48): Likewise.
18551 * stdlib/mrand48.c (mrand48): Likewise.
18552 * stdlib/rand.c (rand): Likewise.
18553 * stdlib/random.c (__random): Likewise.
18554 * stdlib/setenv.c (clearenv): Likewise.
18555 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18556 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18557 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18558 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18559 (__get_nprocs): Likewise.
18560 (__get_phys_pages): Likewise.
18561 (__get_avphys_pages): Likewise.
18562 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18563 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18564 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18565 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18566 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18567 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18568 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18569 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18570 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18571 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18572 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18573 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18574 * sysdeps/posix/clock.c (clock): Likewise.
18575 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18576 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18577 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18578 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18579 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18580 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18581 (__get_nprocs_conf): Likewise.
18582 (__get_phys_pages): Likewise.
18583 (__get_avphys_pages): Likewise.
18584 * time/clock.c (clock): Likewise.
18585 * time/tzset.c (__tzname_max): Likewise.
18586
2e09a79a
JM
185872013-06-07 Joseph Myers <joseph@codesourcery.com>
18588
18589 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18590 (__bswap_32): Do not use "register".
18591 * crypt/crypt.c (_ufc_doit_r): Likewise.
18592 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18593 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18594 * gmon/gmon.c (__monstartup): Likewise.
18595 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18596 * hurd/hurdmalloc.c (more_memory): Likewise.
18597 (malloc): Likewise.
18598 (free): Likewise.
18599 (realloc): Likewise.
18600 (malloc_fork_prepare): Likewise.
18601 (malloc_fork_parent): Likewise.
18602 (malloc_fork_child): Likewise.
18603 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18604 (_svcauth_des): Likewise.
18605 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18606 * inet/inet_net.c (inet_network): Likewise.
18607 * inet/inet_netof.c (inet_netof): Likewise.
18608 * inet/rcmd.c (__validuser2_sa): Likewise.
18609 * io/fts.c (fts_open): Likewise.
18610 (fts_load): Likewise.
18611 (fts_close): Likewise.
18612 (fts_read): Likewise.
18613 (fts_children): Likewise.
18614 (fts_build): Likewise.
18615 (fts_stat): Likewise.
18616 (fts_sort): Likewise.
18617 (fts_alloc): Likewise.
18618 (fts_lfree): Likewise.
18619 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18620 (_IO_file_xsgetn): Likewise.
18621 (_IO_file_xsgetn_mmap): Likewise.
18622 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18623 (_IO_cookie_write): Likewise.
18624 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18625 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18626 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18627 * malloc/obstack.c (_obstack_begin): Likewise.
18628 (_obstack_begin_1): Likewise.
18629 (_obstack_newchunk): Likewise.
18630 (_obstack_allocated_p): Likewise.
18631 (obstack_free): Likewise.
18632 (_obstack_memory_used): Likewise.
18633 * misc/getttyent.c (getttynam): Likewise.
18634 (getttyent): Likewise.
18635 (skip): Likewise.
18636 (value): Likewise.
18637 * misc/getusershell.c (initshells): Likewise.
18638 * misc/syslog.c (__vsyslog_chk): Likewise.
18639 * misc/ttyslot.c (ttyslot): Likewise.
18640 * nis/nis_hash.c (__nis_hash): Likewise.
18641 * posix/fnmatch_loop.c (FCT): Likewise.
18642 * posix/getconf.c (print_all): Likewise.
18643 (main): Likewise.
18644 * posix/getopt.c (exchange): Likewise.
18645 * posix/glob.c (globfree): Likewise.
18646 (prefix_array): Likewise.
18647 (__glob_pattern_type): Likewise.
18648 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18649 (NS_GET32): Likewise.
18650 (NS_PUT16): Likewise.
18651 (NS_PUT32): Likewise.
18652 * resolv/gethnamaddr.c (getanswer): Likewise.
18653 (gethostbyname2): Likewise.
18654 (gethostbyaddr): Likewise.
18655 (_gethtent): Likewise.
18656 (_gethtbyname2): Likewise.
18657 (_gethtbyaddr): Likewise.
18658 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18659 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18660 * resolv/res_init.c (__res_vinit): Likewise.
18661 (net_mask): Likewise.
18662 * resolv/res_mkquery.c (outchar): Likewise.
18663 (PRINT): Likewise.
18664 * stdio-common/printf_fp.c (outchar): Likewise.
18665 (PRINT): Likewise.
18666 * stdio-common/printf_fphex.c (outchar): Likewise.
18667 (PRINT): Likewise.
18668 * stdio-common/printf_size.c (outchar): Likewise.
18669 (PRINT): Likewise.
18670 * stdio-common/test_rdwr.c (main): Likewise.
18671 * stdio-common/tfformat.c (matches): Likewise.
18672 * stdio-common/vfprintf.c (outchar): Likewise.
18673 (printf_unknown): Likewise.
18674 (buffered_vfprintf): Likewise.
18675 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18676 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18677 (ReadFile): Likewise.
18678 * stdlib/qsort.c (SWAP): Likewise.
18679 (_quicksort): Likewise.
18680 * stdlib/setenv.c (__add_to_environ): Likewise.
18681 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18682 * stdlib/strtol_l.c (__strtol_l): Likewise.
18683 * stdlib/tst-strtod.c (main): Likewise.
18684 * stdlib/tst-strtol.c (main): Likewise.
18685 * stdlib/tst-strtoll.c (main): Likewise.
18686 * string/bits/string2.h (__strcmp_cc): Likewise.
18687 (__strcmp_cg): Likewise.
18688 (__strcspn_c1): Likewise.
18689 (__strcspn_c2): Likewise.
18690 (__strcspn_c3): Likewise.
18691 (__strspn_c1): Likewise.
18692 (__strspn_c2): Likewise.
18693 (__strspn_c3): Likewise.
18694 (__strsep_1c): Likewise.
18695 (__strsep_2c): Likewise.
18696 (__strsep_3c): Likewise.
18697 * string/memccpy.c (__memccpy): Likewise.
18698 * string/stpcpy.c (__stpcpy): Likewise.
18699 * string/strcmp.c (strcmp): Likewise.
18700 * string/strrchr.c (strrchr): Likewise.
18701 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18702 Likewise.
18703 * sysdeps/mach/hurd/getcwd.c
18704 (_hurd_canonicalize_directory_name_internal): Likewise.
18705 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18706 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18707 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18708 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18709 Likewise, in both definitions.
18710 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18711 definitions.
18712 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18713 64] (__bswap_64): Likewise.
18714 * time/test_time.c (main): Likewise.
18715 * time/tzfile.c (__tzfile_read): Likewise.
18716 (__tzfile_compute): Likewise.
18717 * time/tzset.c (__tzset_parse_tz): Likewise.
18718 (tzset_internal): Likewise.
18719 (compute_change): Likewise.
18720 * wcsmbs/wcscat.c (__wcscat): Likewise.
18721 * wcsmbs/wcschr.c (wcschr): Likewise.
18722 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18723 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18724 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18725 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18726 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18727 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18728 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18729 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18730 * wcsmbs/wmemset.c (wmemset): Likewise.
18731
9e54314b
JM
187322013-06-06 Joseph Myers <joseph@codesourcery.com>
18733
18734 * scripts/config.guess: Update to version 2013-05-16.
18735 * scripts/config.sub: Update to version 2013-04-24.
18736 * scripts/install-sh: Update to version 2011-11-20.07.
18737 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18738 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18739
350635a5
OB
187402013-06-06 Ondřej Bílka <neleai@seznam.cz>
18741
18742 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18743 * elf/sln.c: Likewise.
18744 * hurd/hurd/ioctl.h: Likewise.
18745 * hurd/hurdmalloc.c: Likewise.
18746 * hurd/xattr.c: Likewise.
18747 * include/shlib-compat.h: Likewise.
18748 * inet/ruserpass.c: Likewise.
18749 * libio/iofgets_u.c: Likewise.
18750 * libio/iofgetws_u.c: Likewise.
18751 * locale/programs/ld-identification.c: Likewise.
18752 * locale/programs/ld-time.c: Likewise.
18753 * mach/msg-destroy.c: Likewise.
18754 * nss/nss_files/files-netgrp.c: Likewise.
18755 * resolv/res_data.c: Likewise.
18756 * soft-fp/op-1.h: Likewise.
18757 * soft-fp/op-2.h: Likewise.
18758 * soft-fp/op-4.h: Likewise.
18759 * soft-fp/op-common.h: Likewise.
18760 * stdio-common/printf_fphex.c: Likewise.
18761 * stdlib/strtod_l.c: Likewise.
18762 * sunrpc/rpc/clnt.h: Likewise.
18763 * sysdeps/generic/framestate.c: Likewise.
18764 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18765 * sysdeps/i386/bsd-setjmp.S: Likewise.
18766 * sysdeps/i386/__longjmp.S: Likewise.
18767 * sysdeps/i386/setjmp.S: Likewise.
18768 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18769 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18770 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18771 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18772 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18773 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18774 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18775 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18776 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18777 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18778 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18779 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18780 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18781 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18782 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18783 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18784 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18785 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18786 * sysdeps/ieee754/support.c: Likewise.
18787 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18788 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18789 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18790 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18791 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18792 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18793 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18794 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18795 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18796 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18797 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18798 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18799 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18800 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18801 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18802 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18803 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18805
44a988af
OB
188062013-06-05 Ondřej Bílka <neleai@seznam.cz>
18807
25506f09 18808 * posix/transbug.c: Remove executable mode.
44a988af 18809
9c84384c
JM
188102013-06-05 Joseph Myers <joseph@codesourcery.com>
18811
18812 * crypt/speeds.c: Remove trailing whitespace.
18813 * dlfcn/default.c: Likewise.
18814 * elf/ifuncdep2.c: Likewise.
18815 * elf/ifuncmain1.c: Likewise.
18816 * elf/ifuncmain1vis.c: Likewise.
18817 * elf/testobj.h: Likewise.
18818 * elf/tst-stackguard1.c: Likewise.
18819 * gmon/sys/gmon.h: Likewise.
18820 * hurd/hurdmsg.c: Likewise.
18821 * hurd/new-fd.c: Likewise.
18822 * hurd/ports-get.c: Likewise.
18823 * iconvdata/ibm1008_420.c: Likewise.
18824 * inet/tst-getni1.c: Likewise.
18825 * inet/tst-getni2.c: Likewise.
18826 * libio/ioungetc.c: Likewise.
18827 * libio/wfiledoalloc.c: Likewise.
18828 * manual/libm-err-tab.pl: Likewise.
18829 * math/w_dremf.c: Likewise.
18830 * misc/ftruncate.c: Likewise.
18831 * posix/bug-glob2.c: Likewise.
18832 * posix/tst-pcre.c: Likewise.
18833 * posix/wait4.c: Likewise.
18834 * resolv/README: Likewise.
18835 * resolv/res_debug.h: Likewise.
18836 * resolv/tst-inet_ntop.c: Likewise.
18837 * setjmp/bug269-setjmp.c: Likewise.
18838 * soft-fp/extended.h: Likewise.
18839 * soft-fp/op-1.h: Likewise.
18840 * soft-fp/op-2.h: Likewise.
18841 * soft-fp/op-4.h: Likewise.
18842 * soft-fp/op-8.h: Likewise.
18843 * soft-fp/testit.c: Likewise.
18844 * stdio-common/bug16.c: Likewise.
18845 * stdlib/random.c: Likewise.
18846 * sunrpc/rpcsvc/rquota.x: Likewise.
18847 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18848 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18849 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18850 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18851 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18852 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18853 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18854 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18855 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18856 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18857 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18858 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18859 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18860 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18861 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18862 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18863 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18864 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18865 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18866 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18867 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18868 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18869 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18870 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18871 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18872 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18873 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18874 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18875 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18876 * sysdeps/ieee754/s_lib_version.c: Likewise.
18877 * sysdeps/mach/hurd/check_fds.c: Likewise.
18878 * sysdeps/mach/hurd/getsockname.c: Likewise.
18879 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18880 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18881 * sysdeps/powerpc/bits/link.h: Likewise.
18882 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18883 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18884 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18885 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18886 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18887 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18888 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18889 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18890 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18891 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18892 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18893 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18894 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18895 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18896 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18897 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18898 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18899 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18900 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18901 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18902 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18903 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18904 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18905 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18906 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18907 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18908 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18909 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18910 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18911 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18912 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18913 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18914 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18915 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18916 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18917 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18918 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18919 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18920 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18921 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18922 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18923 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18924 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18925 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18926 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18927 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18928 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18929 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18930 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18931 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18932 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18933 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18934 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18935 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18936 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18937 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18938 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18939 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18940 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18941 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18942 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18943 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18944 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18945 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18946 * sysdeps/powerpc/sysdep.h: Likewise.
18947 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18948 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18949 * sysdeps/sh/dl-trampoline.S: Likewise.
18950 * sysdeps/sh/memset.S: Likewise.
18951 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18952 * sysdeps/sh/strlen.S: Likewise.
18953 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18954 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18955 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18956 * sysdeps/sparc/sparc32/rem.S: Likewise.
18957 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18958 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18959 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18960 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18961 * sysdeps/sparc/sparc32/urem.S: Likewise.
18962 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18963 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18964 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18965 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18966 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18967 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18968 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18969 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18970 * sysdeps/unix/bsd/times.c: Likewise.
18971 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18972 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18976 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18977 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18978 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18979 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18980 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18981 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18982 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18983 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18984 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18985 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18986 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18987 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18988 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18989 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18990 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18991 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18992 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18993 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18994 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18995 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18996 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18997 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18998 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18999 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19000 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19001 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19002 * sysdeps/x86_64/strcspn.S: Likewise.
19003
869378a5
RA
190042013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19005
19006 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19007 generated file. Regenerate properly from gen-translit.pl.
19008 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19009 locale/C-translit.h.
19010
840e2943
AS
190112013-06-05 Andreas Schwab <schwab@suse.de>
19012
19013 [BZ #15100]
19014 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19015 week as 6 instead of -1.
19016 * time/tst-strptime.c (day_tests): Add test case.
19017
4c60cb0c
SP
190182013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19019
19020 * sysdeps/generic/math_private.h
19021 (libc_feholdexcept_setround_53bit): Replace with
19022 libc_feholdsetround_53bit.
19023 (libc_feupdateenv_53bit): Replace with
19024 libc_feresetround_53bit.
19025 (SET_RESTORE_ROUND_53BIT): Adjust.
19026
d180203e
SP
190272013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19028
96df079a
SP
19029 * string/test-strchrnul.c: Add copyright header.
19030
d180203e
SP
19031 * posix/tst-getaddrinfo4.c: Increase test timeout.
19032
8b0ccb2d
CD
190332013-06-03 Carlos O'Donell <carlos@redhat.com>
19034
19035 [BZ #15536]
19036 * math/libm-test.inc (MAX_EXP): Remove
19037 (MIN_EXP): Define.
19038 (ulp): Use MIN_EXP - MANT_DIG.
19039 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19040
3b3c4d40
CD
190412013-05-31 Carlos O'Donell <carlos@redhat.com>
19042
19043 * po/be.po: Revert last change.
19044 * po/zh_CN.po: Likewise.
19045 * po/header.pot: Likewise.
19046
fab7ce3f
JM
190472013-05-31 Joseph Myers <joseph@codesourcery.com>
19048
19049 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19050 link-libc-deps to empty as target-specific variable.
19051 * Makerules (link-libc-args): New variable.
19052 (libc-for-link): Likewise.
19053 (link-libc-deps): Likewise.
19054 (lib%.so): Depend on $(link-libc-deps). Link with
19055 $(link-libc-args).
19056 (build-module): Link with $(link-libc-args).
19057 (build-module-asneeded): Likewise.
19058 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19059 list of objects.
19060 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19061 target-specific variable.
19062 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19063 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19064 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19065 libc.
19066 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19067 libc and ld.so.
19068 ($(objpfx)libpcprofile.so): Likewise.
19069 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19070 libc_nonshared.a.
19071 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19072 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19073 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19074 $(link-libc-deps).
19075 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19076 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19077 * login/Makefile ($(objpfx)libutil.so): Likewise.
19078 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19079 * math/Makefile ($(objpfx)libm.so): Likewise.
19080 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19081 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19082 variable instead of depending directly on libc.
19083 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19084 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19085 $(link-libc-deps).
19086 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19087 libc.
19088 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19089 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19090 ($(objpfx)libanl.so): Likewise.
19091 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19092 ld.so.
19093 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19094 $(link-libc-deps).
19095 * sysdeps/i386/fpu/Makefile: Remove file.
19096 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19097 ($(objpfx)libm.so): Remove dependency on ld.so.
19098
eca5920c
PF
190992013-05-30 Patsy Franklin <pfrankli@redhat.com>
19100
19101 [BZ # 15553]
19102 * nis/yp_xdr.c (XDRMAXNAME): Define.
19103 (XDRMAXRECORD): Define.
19104 (xdr_domainname): Use XDRMAXNAME.
19105 (xdr_mapname): Likewise.
19106 (xdr_peername): Likewise.
19107 (xdr_keydat): Use XDRMAXRECORD.
19108 (xdr_valdat): Likewise.
19109
191102013-05-30 Jeff Law <law@redhat.com>
96945714
JL
19111
19112 [BZ #14256]
19113 * manual/errno.texi (ESTALE): Update to account for more than
19114 just NFS file systems.
19115 * sysdeps/gnu/errlist.c: Regenerated.
19116
b9375348
SP
191172013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19118
19119 [BZ #15465]
19120 * elf/Makefile (tests): Add tst-null-argv.
19121 (modules-names): Add tst-null-argv-lib.
19122 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19123 (tst-null-argv-ENV): Set environment for tst-null-argv.
19124 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19125 (RTLD_PROGNAME): New macro.
19126 * elf/tst-null-argv.c: New test case.
19127 * elf/tst-null-argv-lib.c: Library for test case.
19128 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19129 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19130 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19131 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19132 * elf/dl-init.c (call_init): Likewise.
19133 (_dl_init): Likewise.
19134 * elf/dl-load.c (print_search_path): Likewise.
19135 (_dl_map_object): Likewise.
19136 * elf/dl-lookup.c (do_lookup_x): Likewise.
19137 (add_dependency): Likewise.
19138 (_dl_lookup_symbol_x): Likewise.
19139 (_dl_debug_bindings): Likewise.
19140 * elf/dl-open.c (_dl_show_scope): Likewise.
19141 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19142 * elf/dl-version.c (match_symbol): Likewise.
19143 (_dl_check_map_versions): Likewise.
19144 * elf/rtld.c (dl_main): Likewise.
19145 (print_unresolved): Use RTLD_PROGNAME.
19146 (print_missing_version): Likewise.
19147 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19148 (elf_machine_rela): Likewise.
19149 * sysdeps/powerpc/powerpc32/dl-machine.c
19150 (__process_machine_rela): Likewise.
19151 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19152 Likewise.
19153 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19154 Likewise.
19155 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19156 Likewise.
19157 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19158 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19159 Likewise.
19160 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19161 Likewise.
19162 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19163
8a9f20c8
CD
191642013-05-28 Carlos O'Donell <carlos@redhat.com>
19165
19166 * po/be.po: Add descriptive title.
19167 * po/zh_CN.po: Likewise.
19168 * po/header.pot: Likewise.
19169
0e60d68e
MF
191702013-05-28 Mike Frysinger <vapier@gentoo.org>
19171
19172 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19173 error message.
19174 (enlarge_archive): Likewise.
19175
56b672e9
BN
191762013-05-28 Ben North <ben@redfrontdoor.org>
19177
19178 * manual/arith.texi (frexp): It is the magnitude of the return
19179 value which lies in [0.5, 1), not the return value itself.
19180
5e056687
AZ
191812013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19182
19183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19184
2b66ef5d
TS
191852013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19186
528c2405
TS
19187 * stdio-common/bug26.c (main): Correct fscanf template.
19188
07b4c13d
TS
19189 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19190 declare _dl_skip_args.
19191
ec9dd97c
TS
19192 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19193 Don't declare.
19194
2b66ef5d
TS
19195 * manual/platform.texi: Add missing @end deftypefun.
19196
4f8dfe27
JM
191972013-05-24 Joseph Myers <joseph@codesourcery.com>
19198
0323d086
JM
19199 [BZ #15529]
19200 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19201 bit of mantissa of 2^16382.
19202 * math/libm-test.inc (hypot_test_data): Add more tests.
19203
dd4259b9
JM
19204 * math/libm-test.inc: Add drem and pow10 to list of tested
19205 functions.
19206 (pow10_test): New function.
19207 (drem_test): Likewise.
19208 (drem_test_tonearest): Likewise.
19209 (drem_test_towardzero): Likewise.
19210 (drem_test_downward): Likewise.
19211 (drem_test_upward): Likewise.
19212 (main): Call the new functions.
19213
4f8dfe27
JM
19214 * math/libm-test.inc (finite_test_data): Remove.
19215 (finite_test): Run tests from isfinite_test_data.
19216 (gamma_test_data): Remove.
19217 (gamma_test): Run tests from lgamma_test_data.
19218 * sysdeps/i386/fpu/libm-test-ulps: Update.
19219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19220
d116b7c4
AZ
192212013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19222
19223 * manual/platform.texi: Add PowerPC PPR function set documentation.
19224 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19225 implementation.
19226
e96e3767
CD
192272013-05-24 Carlos O'Donell <carlos@redhat.com>
19228
19229 * math/libm-test.inc (MAX_EXP): Define.
19230 (ULPDIFF): Define.
19231 (ulp): New function.
19232 (check_float_internal): Use ULPDIFF.
19233 (cpow_test): Disable failing test.
19234 (check_ulp): Test ulp() implemetnation.
19235 (main): Call check_ulp before starting tests.
19236
b679a606
JM
192372013-05-24 Joseph Myers <joseph@codesourcery.com>
19238
e8bdba36
JM
19239 * math/gen-libm-test.pl (generate_testfile): Do not handle
19240 START_DATA and END_DATA.
19241 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19242 END_DATA.
19243 (acos_tonearest_test_data): Likewise.
19244 (acos_towardzero_test_data): Likewise.
19245 (acos_downward_test_data): Likewise.
19246 (acos_upward_test_data): Likewise.
19247 (acosh_test_data): Likewise.
19248 (asin_test_data): Likewise.
19249 (asin_tonearest_test_data): Likewise.
19250 (asin_towardzero_test_data): Likewise.
19251 (asin_downward_test_data): Likewise.
19252 (asin_upward_test_data): Likewise.
19253 (asinh_test_data): Likewise.
19254 (atan_test_data): Likewise.
19255 (atanh_test_data): Likewise.
19256 (atan2_test_data): Likewise.
19257 (cabs_test_data): Likewise.
19258 (cacos_test_data): Likewise.
19259 (cacosh_test_data): Likewise.
19260 (carg_test_data): Likewise.
19261 (casin_test_data): Likewise.
19262 (casinh_test_data): Likewise.
19263 (catan_test_data): Likewise.
19264 (catanh_test_data): Likewise.
19265 (cbrt_test_data): Likewise.
19266 (ccos_test_data): Likewise.
19267 (ccosh_test_data): Likewise.
19268 (ceil_test_data): Likewise.
19269 (cexp_test_data): Likewise.
19270 (cimag_test_data): Likewise.
19271 (clog_test_data): Likewise.
19272 (clog10_test_data): Likewise.
19273 (conj_test_data): Likewise.
19274 (copysign_test_data): Likewise.
19275 (cos_test_data): Likewise.
19276 (cos_tonearest_test_data): Likewise.
19277 (cos_towardzero_test_data): Likewise.
19278 (cos_downward_test_data): Likewise.
19279 (cos_upward_test_data): Likewise.
19280 (cosh_test_data): Likewise.
19281 (cosh_tonearest_test_data): Likewise.
19282 (cosh_towardzero_test_data): Likewise.
19283 (cosh_downward_test_data): Likewise.
19284 (cosh_upward_test_data): Likewise.
19285 (cpow_test_data): Likewise.
19286 (cproj_test_data): Likewise.
19287 (creal_test_data): Likewise.
19288 (csin_test_data): Likewise.
19289 (csinh_test_data): Likewise.
19290 (csqrt_test_data): Likewise.
19291 (ctan_test_data): Likewise.
19292 (ctan_tonearest_test_data): Likewise.
19293 (ctan_towardzero_test_data): Likewise.
19294 (ctan_downward_test_data): Likewise.
19295 (ctan_upward_test_data): Likewise.
19296 (ctanh_test_data): Likewise.
19297 (ctanh_tonearest_test_data): Likewise.
19298 (ctanh_towardzero_test_data): Likewise.
19299 (ctanh_downward_test_data): Likewise.
19300 (ctanh_upward_test_data): Likewise.
19301 (erf_test_data): Likewise.
19302 (erfc_test_data): Likewise.
19303 (exp_test_data): Likewise.
19304 (exp_tonearest_test_data): Likewise.
19305 (exp_towardzero_test_data): Likewise.
19306 (exp_downward_test_data): Likewise.
19307 (exp_upward_test_data): Likewise.
19308 (exp10_test_data): Likewise.
19309 (exp2_test_data): Likewise.
19310 (expm1_test_data): Likewise.
19311 (fabs_test_data): Likewise.
19312 (fdim_test_data): Likewise.
19313 (finite_test_data): Likewise.
19314 (floor_test_data): Likewise.
19315 (fma_test_data): Likewise.
19316 (fma_towardzero_test_data): Likewise.
19317 (fma_downward_test_data): Likewise.
19318 (fma_upward_test_data): Likewise.
19319 (fmax_test_data): Likewise.
19320 (fmin_test_data): Likewise.
19321 (fmod_test_data): Likewise.
19322 (fpclassify_test_data): Likewise.
19323 (frexp_test_data): Likewise.
19324 (gamma_test_data): Likewise.
19325 (hypot_test_data): Likewise.
19326 (ilogb_test_data): Likewise.
19327 (isfinite_test_data): Likewise.
19328 (isgreater_test_data): Likewise.
19329 (isgreaterequal_test_data): Likewise.
19330 (isinf_test_data): Likewise.
19331 (isless_test_data): Likewise.
19332 (islessequal_test_data): Likewise.
19333 (islessgreater_test_data): Likewise.
19334 (isnan_test_data): Likewise.
19335 (isnormal_test_data): Likewise.
19336 (issignaling_test_data): Likewise.
19337 (isunordered_test_data): Likewise.
19338 (j0_test_data): Likewise.
19339 (j1_test_data): Likewise.
19340 (jn_test_data): Likewise.
19341 (ldexp_test_data): Likewise.
19342 (lgamma_test_data): Likewise.
19343 (lrint_test_data): Likewise.
19344 (lrint_tonearest_test_data): Likewise.
19345 (lrint_towardzero_test_data): Likewise.
19346 (lrint_downward_test_data): Likewise.
19347 (lrint_upward_test_data): Likewise.
19348 (llrint_test_data): Likewise.
19349 (llrint_tonearest_test_data): Likewise.
19350 (llrint_towardzero_test_data): Likewise.
19351 (llrint_downward_test_data): Likewise.
19352 (llrint_upward_test_data): Likewise.
19353 (log_test_data): Likewise.
19354 (log10_test_data): Likewise.
19355 (log1p_test_data): Likewise.
19356 (log2_test_data): Likewise.
19357 (logb_test_data): Likewise.
19358 (logb_downward_test_data): Likewise.
19359 (lround_test_data): Likewise.
19360 (llround_test_data): Likewise.
19361 (modf_test_data): Likewise.
19362 (nearbyint_test_data): Likewise.
19363 (nextafter_test_data): Likewise.
19364 (nexttoward_test_data): Likewise.
19365 (pow_test_data): Likewise.
19366 (pow_tonearest_test_data): Likewise.
19367 (pow_towardzero_test_data): Likewise.
19368 (pow_downward_test_data): Likewise.
19369 (pow_upward_test_data): Likewise.
19370 (remainder_test_data): Likewise.
19371 (remainder_tonearest_test_data): Likewise.
19372 (remainder_towardzero_test_data): Likewise.
19373 (remainder_downward_test_data): Likewise.
19374 (remainder_upward_test_data): Likewise.
19375 (remquo_test_data): Likewise.
19376 (rint_test_data): Likewise.
19377 (rint_tonearest_test_data): Likewise.
19378 (rint_towardzero_test_data): Likewise.
19379 (rint_downward_test_data): Likewise.
19380 (rint_upward_test_data): Likewise.
19381 (round_test_data): Likewise.
19382 (scalb_test_data): Likewise.
19383 (scalbn_test_data): Likewise.
19384 (scalbln_test_data): Likewise.
19385 (signbit_test_data): Likewise.
19386 (sin_test_data): Likewise.
19387 (sin_tonearest_test_data): Likewise.
19388 (sin_towardzero_test_data): Likewise.
19389 (sin_downward_test_data): Likewise.
19390 (sin_upward_test_data): Likewise.
19391 (sincos_test_data): Likewise.
19392 (sinh_test_data): Likewise.
19393 (sinh_tonearest_test_data): Likewise.
19394 (sinh_towardzero_test_data): Likewise.
19395 (sinh_downward_test_data): Likewise.
19396 (sinh_upward_test_data): Likewise.
19397 (sqrt_test_data): Likewise.
19398 (tan_test_data): Likewise.
19399 (tan_tonearest_test_data): Likewise.
19400 (tan_towardzero_test_data): Likewise.
19401 (tan_downward_test_data): Likewise.
19402 (tan_upward_test_data): Likewise.
19403 (tanh_test_data): Likewise.
19404 (tgamma_test_data): Likewise.
19405 (trunc_test_data): Likewise.
19406 (y0_test_data): Likewise.
19407 (y1_test_data): Likewise.
19408 (yn_test_data): Likewise.
19409 (significand_test_data): Likewise.
19410
b679a606
JM
19411 * math/gen-libm-test.pl (@functions): Remove variable.
19412 (generate_testfile): Don't handle START and END lines.
19413 * math/libm-test.inc (START): New macro.
19414 (END): Likewise.
19415 (END_COMPLEX): Likewise.
19416 (acos_test): Use END macro without arguments.
19417 (acos_test_tonearest): Likewise.
19418 (acos_test_towardzero): Likewise.
19419 (acos_test_downward): Likewise.
19420 (acos_test_upward): Likewise.
19421 (acosh_test): Likewise.
19422 (asin_test): Likewise.
19423 (asin_test_tonearest): Likewise.
19424 (asin_test_towardzero): Likewise.
19425 (asin_test_downward): Likewise.
19426 (asin_test_upward): Likewise.
19427 (asinh_test): Likewise.
19428 (atan_test): Likewise.
19429 (atanh_test): Likewise.
19430 (atan2_test): Likewise.
19431 (cabs_test): Likewise.
19432 (cacos_test): Use END_COMPLEX macro without arguments.
19433 (cacosh_test): Likewise.
19434 (carg_test): Use END macro without arguments.
19435 (casin_test): Use END_COMPLEX macro without arguments.
19436 (casinh_test): Likewise.
19437 (catan_test): Likewise.
19438 (catanh_test): Likewise.
19439 (cbrt_test): Use END macro without arguments.
19440 (ccos_test): Use END_COMPLEX macro without arguments.
19441 (ccosh_test): Likewise.
19442 (ceil_test): Use END macro without arguments.
19443 (cexp_test): Use END_COMPLEX macro without arguments.
19444 (cimag_test): Use END macro without arguments.
19445 (clog_test): Use END_COMPLEX macro without arguments.
19446 (clog10_test): Likewise.
19447 (conj_test): Likewise.
19448 (copysign_test): Use END macro without arguments.
19449 (cos_test): Likewise.
19450 (cos_test_tonearest): Likewise.
19451 (cos_test_towardzero): Likewise.
19452 (cos_test_downward): Likewise.
19453 (cos_test_upward): Likewise.
19454 (cosh_test): Likewise.
19455 (cosh_test_tonearest): Likewise.
19456 (cosh_test_towardzero): Likewise.
19457 (cosh_test_downward): Likewise.
19458 (cosh_test_upward): Likewise.
19459 (cpow_test): Use END_COMPLEX macro without arguments.
19460 (cproj_test): Likewise.
19461 (creal_test): Use END macro without arguments.
19462 (csin_test): Use END_COMPLEX macro without arguments.
19463 (csinh_test): Likewise.
19464 (csqrt_test): Likewise.
19465 (ctan_test): Likewise.
19466 (ctan_test_tonearest): Likewise.
19467 (ctan_test_towardzero): Likewise.
19468 (ctan_test_downward): Likewise.
19469 (ctan_test_upward): Likewise.
19470 (ctanh_test): Likewise.
19471 (ctanh_test_tonearest): Likewise.
19472 (ctanh_test_towardzero): Likewise.
19473 (ctanh_test_downward): Likewise.
19474 (ctanh_test_upward): Likewise.
19475 (erf_test): Use END macro without arguments.
19476 (erfc_test): Likewise.
19477 (exp_test): Likewise.
19478 (exp_test_tonearest): Likewise.
19479 (exp_test_towardzero): Likewise.
19480 (exp_test_downward): Likewise.
19481 (exp_test_upward): Likewise.
19482 (exp10_test): Likewise.
19483 (exp2_test): Likewise.
19484 (expm1_test): Likewise.
19485 (fabs_test): Likewise.
19486 (fdim_test): Likewise.
19487 (finite_test): Likewise.
19488 (floor_test): Likewise.
19489 (fma_test): Likewise.
19490 (fma_test_towardzero): Likewise.
19491 (fma_test_downward): Likewise.
19492 (fma_test_upward): Likewise.
19493 (fmax_test): Likewise.
19494 (fmin_test): Likewise.
19495 (fmod_test): Likewise.
19496 (fpclassify_test): Likewise.
19497 (frexp_test): Likewise.
19498 (gamma_test): Likewise.
19499 (hypot_test): Likewise.
19500 (ilogb_test): Likewise.
19501 (isfinite_test): Likewise.
19502 (isgreater_test): Likewise.
19503 (isgreaterequal_test): Likewise.
19504 (isinf_test): Likewise.
19505 (isless_test): Likewise.
19506 (islessequal_test): Likewise.
19507 (islessgreater_test): Likewise.
19508 (isnan_test): Likewise.
19509 (isnormal_test): Likewise.
19510 (issignaling_test): Likewise.
19511 (isunordered_test): Likewise.
19512 (j0_test): Likewise.
19513 (j1_test): Likewise.
19514 (jn_test): Likewise.
19515 (ldexp_test): Likewise.
19516 (lgamma_test): Likewise.
19517 (lrint_test): Likewise.
19518 (lrint_test_tonearest): Likewise.
19519 (lrint_test_towardzero): Likewise.
19520 (lrint_test_downward): Likewise.
19521 (lrint_test_upward): Likewise.
19522 (llrint_test): Likewise.
19523 (llrint_test_tonearest): Likewise.
19524 (llrint_test_towardzero): Likewise.
19525 (llrint_test_downward): Likewise.
19526 (llrint_test_upward): Likewise.
19527 (log_test): Likewise.
19528 (log10_test): Likewise.
19529 (log1p_test): Likewise.
19530 (log2_test): Likewise.
19531 (logb_test): Likewise.
19532 (logb_test_downward): Likewise.
19533 (lround_test): Likewise.
19534 (llround_test): Likewise.
19535 (modf_test): Likewise.
19536 (nearbyint_test): Likewise.
19537 (nextafter_test): Likewise.
19538 (nexttoward_test): Likewise.
19539 (pow_test): Likewise.
19540 (pow_test_tonearest): Likewise.
19541 (pow_test_towardzero): Likewise.
19542 (pow_test_downward): Likewise.
19543 (pow_test_upward): Likewise.
19544 (remainder_test): Likewise.
19545 (remainder_test_tonearest): Likewise.
19546 (remainder_test_towardzero): Likewise.
19547 (remainder_test_downward): Likewise.
19548 (remainder_test_upward): Likewise.
19549 (remquo_test): Likewise.
19550 (rint_test): Likewise.
19551 (rint_test_tonearest): Likewise.
19552 (rint_test_towardzero): Likewise.
19553 (rint_test_downward): Likewise.
19554 (rint_test_upward): Likewise.
19555 (round_test): Likewise.
19556 (scalb_test): Likewise.
19557 (scalbn_test): Likewise.
19558 (scalbln_test): Likewise.
19559 (signbit_test): Likewise.
19560 (sin_test): Likewise.
19561 (sin_test_tonearest): Likewise.
19562 (sin_test_towardzero): Likewise.
19563 (sin_test_downward): Likewise.
19564 (sin_test_upward): Likewise.
19565 (sincos_test): Likewise.
19566 (sinh_test): Likewise.
19567 (sinh_test_tonearest): Likewise.
19568 (sinh_test_towardzero): Likewise.
19569 (sinh_test_downward): Likewise.
19570 (sinh_test_upward): Likewise.
19571 (sqrt_test): Likewise.
19572 (tan_test): Likewise.
19573 (tan_test_tonearest): Likewise.
19574 (tan_test_towardzero): Likewise.
19575 (tan_test_downward): Likewise.
19576 (tan_test_upward): Likewise.
19577 (tanh_test): Likewise.
19578 (tgamma_test): Likewise.
19579 (trunc_test): Likewise.
19580 (y0_test): Likewise.
19581 (y1_test): Likewise.
19582 (yn_test): Likewise.
19583 (significand_test): Likewise.
19584
bae143d2
OB
195852013-05-24 Ondřej Bílka <neleai@seznam.cz>
19586
19587 [BZ #15381]
19588 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19589
9323d39b
EM
195902013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19591
d4ea44a0 19592 [BZ #14894]
9323d39b
EM
19593 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19594 __ppc_mdoio and __ppc_mdoom.
19595 * manual/platform.texi: Document new functions __ppc_yield,
19596 __ppc_mdoio and __ppc_mdoom.
19597
13e23af7
CD
195982013-05-22 Carlos O'Donell <carlos@redhat.com>
19599
19600 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19601 (main): Mention "tls" pseudo-hwcap is legacy.
19602 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19603
351fe550
JM
196042013-05-22 Joseph Myers <joseph@codesourcery.com>
19605
19606 * math/gen-libm-test.pl (parse_args): Output only string of
19607 arguments as text for test name, not full call or descriptions of
19608 tests for extra outputs.
19609 (generate_testfile): Do not pass function name to parse_args.
19610 Generate this_func variable from START.
19611 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19612 field to arg_str.
19613 (struct test_ff_f_data): Likewise.
19614 (test_ff_f_data_nexttoward): Likewise.
19615 (struct test_fi_f_data): Likewise.
19616 (struct test_fl_f_data): Likewise.
19617 (struct test_if_f_data): Likewise.
19618 (struct test_fff_f_data): Likewise.
19619 (struct test_c_f_data): Likewise.
19620 (struct test_f_f1_data): Likewise. Remove field extra_name.
19621 (struct test_fF_f1_data): Likewise.
19622 (struct test_ffI_f1_data): Likewise.
19623 (struct test_c_c_data): Rename test_name field to arg_str.
19624 (struct test_cc_c_data): Likewise.
19625 (struct test_f_i_data): Likewise.
19626 (struct test_ff_i_data): Likewise.
19627 (struct test_f_l_data): Likewise.
19628 (struct test_f_L_data): Likewise.
19629 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19630 and extra2_name.
19631 (COMMON_TEST_SETUP): New macro.
19632 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19633 (COMMON_TEST_CLEANUP): Likewise.
19634 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19635 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19636 macros.
19637 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19638 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19639 macros.
19640 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19641 (RUN_TEST_fff_f): Take argument string. Call new setup and
19642 cleanup macros.
19643 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19644 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19645 macros.
19646 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19647 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19648 macros.
19649 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19650 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19651 cleanup macros.
19652 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19653 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19654 cleanup macros.
19655 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19656 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19657 cleanup macros.
19658 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19659 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19660 macros.
19661 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19662 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19663 macros.
19664 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19665 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19666 macros.
19667 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19668 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19669 cleanup macros.
19670 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19671 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19672 cleanup macros.
19673 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19674 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19675 macros.
19676 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19677 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19678 cleanup macros.
19679 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19680 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19681 macros.
19682 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19683 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19684 macros.
19685 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19686 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19687 cleanup macros.
19688 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19689
85118d4d
EBM
196902013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19691
19692 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19693 to _sifields.sigfault.
19694 (si_addr_lsb): Define new macro.
19695 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19696 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19697 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19698
7a44c18f
CD
196992013-05-03 Carlos O'Donell <carlos at redhat.com>
19700
19701 [BZ #15441]
19702 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19703 returns -1.
19704 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19705 null return -1.
19706 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19707 loading the domain.
19708
b50a7181
JM
197092013-05-22 Joseph Myers <joseph@codesourcery.com>
19710
19711 * math/gen-libm-test.pl (parse_args): Do not include expected
19712 result in test name.
19713 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19714 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19715 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19716 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19717 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19719
051063c8
SP
197202013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19721
3ce9e010
SP
19722 * benchtests/Makefile: Sort function entries.
19723
051063c8
SP
19724 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19725 tanh, asinh, acosh, atanh.
19726 * benchtests/acos-inputs: New file.
19727 * benchtests/acosh-inputs: New file.
19728 * benchtests/asin-inputs: New file.
19729 * benchtests/asinh-inputs: New file.
19730 * benchtests/atanh-inputs: New file.
19731 * benchtests/cosh-inputs: New file.
19732 * benchtests/log-inputs: New file.
19733 * benchtests/sinh-inputs: New file.
19734 * benchtests/tanh-inputs: New file.
19735
47c22455
DL
197362013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19737
19738 [BZ #15339]
19739 * posix/tst-getaddrinfo4.c: New test.
19740 * posix/Makefile (tests): Add it.
19741
3d04f5db
SP
197422013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19743
19744 [BZ #15339]
19745 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19746 when no services were used.
19747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19748 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19749
d5dd6189
AS
197502013-05-21 Andreas Schwab <schwab@suse.de>
19751
19752 [BZ #15014]
19753 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19754 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19755 successful.
19756 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19757 redundant variable declarations and reallocation of buffer when
19758 parsing as IPv6 address. Always set NSS status when called from
19759 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19760 buffer too small. Correct computation of needed size.
19761 * nss/Makefile (tests): Add test-digits-dots.
19762 * nss/test-digits-dots.c: New test.
19763
fef94eab
SP
197642013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19765
19766 * benchtests/Makefile: Remove instructions for adding
19767 benchmark tests.
19768 * benchtests/README: New file to explain how to execute and
19769 enhance the benchmark tests.
19770
e39adf43
AS
197712013-05-21 Andreas Schwab <schwab@suse.de>
19772
19773 [BZ #15493]
19774 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19775 * setjmp/tst-sigsetjmp.c: New test.
19776
b2b671b6
OB
197772013-05-20 Ondřej Bílka <neleai@seznam.cz>
19778
19779 * sysdeps/x86_64/memset.S (memset): New implementation.
19780 (__bzero): Likewise.
19781 (__memset_tail): New function.
19782
2d48b41c
OB
197832013-05-20 Ondřej Bílka <neleai@seznam.cz>
19784
19785 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19786 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19787 __memcpy_sse2_unaligned ifunc selection.
19788 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19789 Add memcpy-sse2-unaligned.S.
19790 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19791 Add: __memcpy_sse2_unaligned.
19792
f16cc3eb
JM
197932013-05-19 Joseph Myers <joseph@codesourcery.com>
19794
3e694268
JM
19795 [BZ #15490]
19796 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19797 math_force_eval before restoring floating-point envrionment.
19798 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19799 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19800 Likewise.
19801 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19802 <math_private.h>.
19803 (__nearbyintl): Use math_force_eval before restoring
19804 floating-point environment.
19805 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19806
db62a907
JM
19807 * math/gen-libm-test.pl (special_functions): Remove.
19808 (parse_args): Don't handle TEST_extra. Handle functions with no
19809 return value.
19810 * math/libm-test.inc (struct test_sincos_data): Replace with
19811 struct test_fFF_11_data.
19812 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19813 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19814 (sincos_test_data): Change element type to struct
19815 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19816 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19817 RUN_TEST_LOOP_sincos.
19818 * math/README.libm-test: Don't mention special handling of
19819 individual functions.
19820 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19821 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19822 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19823 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19824 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19826
f16cc3eb
JM
19827 * math/gen-libm-test.pl (get_variable): Remove function.
19828 (parse_args): Don't show pointer parameters to call in test
19829 names. Use "extra output N" in test names for extra outputs
19830 rather than naming variables.
19831
3779b5b6
JM
198322013-05-18 Joseph Myers <joseph@codesourcery.com>
19833
2ee094ff
JM
19834 [BZ #15488]
19835 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19836 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19837 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19838 double tests.
19839 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19840 disable.
19841 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19842 check_long_double.
19843
3779b5b6
JM
19844 * math/gen-libm-test.pl (@tests): Remove variable.
19845 ($count): Likewise.
19846 (new_test): Remove function.
19847 (show_exceptions): New function.
19848 (special_functions): Use show_exceptions instead of new_test.
19849 (parse_args): Likewise.
19850 (generate_testfile): Pass only function name in generated call to
19851 print_max_error or print_complex_max_error.
19852 (get_ulps): Do not handle complex tests specially.
19853 (output_test): Rename to ...
19854 (get_all_ulps_for_test): ... this. Return a string rather than
19855 printing to a file. Require ulps to be present.
19856 (output_ulps): Generate arrays rather than #defines.
19857 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19858 (struct ulp_data): New type.
19859 (BUILD_COMPLEX_ULP): Remove macro.
19860 (compare_ulp_data): New function.
19861 (find_ulps): Likewise.
19862 (find_test_ulps): Likewise.
19863 (find_function_ulps): Likewise.
19864 (find_complex_function_ulps): Likewise.
19865 (print_max_error): Determine allowed ulps using
19866 find_function_ulps.
19867 (print_complex_max_error): Determine allowed ulps using
19868 find_complex_function_ulps.
19869 (check_float_internal): Determine max ulps using find_test_ulps.
19870 (check_float): Do not take max_ulp parameter. Update call to
19871 check_float_internal.
19872 (check_complex): Likewise.
19873 (check_int): Do not take max_ulp parameter.
19874 (check_long): Likewise.
19875 (check_bool): Likewise.
19876 (check_longlong): Likewise.
19877 (struct test_f_f_data): Remove max_ulp field.
19878 (struct test_ff_f_data): Likewise.
19879 (struct test_ff_f_data_nexttoward): Likewise.
19880 (struct test_fi_f_data): Likewise.
19881 (struct test_fl_f_data): Likewise.
19882 (struct test_if_f_data): Likewise.
19883 (struct test_fff_f_data): Likewise.
19884 (struct test_c_f_data): Likewise.
19885 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19886 (struct test_fF_f1_data): Likewise.
19887 (struct test_ffI_f1_data): Likewise.
19888 (struct test_c_c_data): Remove max_ulp field.
19889 (struct test_cc_c_data): Likewise.
19890 (struct test_f_i_data): Likewise.
19891 (struct test_ff_i_data): Likewise.
19892 (struct test_f_l_data): Likewise.
19893 (struct test_f_L_data): Likewise.
19894 (struct test_sincos_data): Likewise.
19895 (RUN_TEST_f_f): Do not handle ulps.
19896 (RUN_TEST_LOOP_f_f): Likewise.
19897 (RUN_TEST_2_f): Likewise.
19898 (RUN_TEST_LOOP_2_f): Likewise.
19899 (RUN_TEST_fff_f): Likewise.
19900 (RUN_TEST_LOOP_fff_f): Likewise.
19901 (RUN_TEST_c_f): Likewise.
19902 (RUN_TEST_LOOP_c_f): Likewise.
19903 (RUN_TEST_f_f1): Likewise.
19904 (RUN_TEST_LOOP_f_f1): Likewise.
19905 (RUN_TEST_fF_f1): Likewise.
19906 (RUN_TEST_LOOP_fF_f1): Likewise.
19907 (RUN_TEST_fI_f1): Likewise.
19908 (RUN_TEST_LOOP_fI_f1): Likewise.
19909 (RUN_TEST_ffI_f1): Likewise.
19910 (RUN_TEST_LOOP_ffI_f1): Likewise.
19911 (RUN_TEST_c_c): Likewise.
19912 (RUN_TEST_LOOP_c_c): Likewise.
19913 (RUN_TEST_cc_c): Likewise.
19914 (RUN_TEST_LOOP_cc_c): Likewise.
19915 (RUN_TEST_f_i): Likewise.
19916 (RUN_TEST_LOOP_f_i): Likewise.
19917 (RUN_TEST_f_i_tg): Likewise.
19918 (RUN_TEST_LOOP_f_i_tg): Likewise.
19919 (RUN_TEST_ff_i_tg): Likewise.
19920 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19921 (RUN_TEST_f_b): Likewise.
19922 (RUN_TEST_LOOP_f_b): Likewise.
19923 (RUN_TEST_f_b_tg): Likewise.
19924 (RUN_TEST_LOOP_f_b_tg): Likewise.
19925 (RUN_TEST_f_l): Likewise.
19926 (RUN_TEST_LOOP_f_l): Likewise.
19927 (RUN_TEST_f_L): Likewise.
19928 (RUN_TEST_LOOP_f_L): Likewise.
19929 (RUN_TEST_sincos): Likewise.
19930 (RUN_TEST_LOOP_sincos): Likewise.
19931
8269107f
JM
199322013-05-17 Joseph Myers <joseph@codesourcery.com>
19933
bb38759d
JM
19934 [BZ #15480]
19935 [BZ #15485]
19936 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19937 main case of finite arguments, set rounding mode to FE_TONEAREST
19938 and discard exceptions.
19939 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19940 exceptions.
19941 (remainder_tonearest_test_data): New variable.
19942 (remainder_test_tonearest): New function.
19943 (remainder_towardzero_test_data): New variable.
19944 (remainder_test_towardzero): New function.
19945 (remainder_downward_test_data): New variable.
19946 (remainder_test_downward): New function.
19947 (remainder_upward_test_data): New variable.
19948 (remainder_test_upward): New function.
19949 (main): Call the new test functions.
19950
a00bdcf0
JM
19951 * math/libm-test.inc (struct test_f_f1_data): Remove field
19952 extra_init.
19953 (struct test_fF_f1_data): Likewise.
19954 (struct test_ffI_f1_data): Likewise.
19955 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19956 based on value of EXTRA_EXPECTED.
19957 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19958 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19959 EXTRA_VAR based on value of EXTRA_EXPECTED.
19960 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19961 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19962 EXTRA_VAR based on value of EXTRA_EXPECTED.
19963 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19964 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19965 EXTRA_VAR based on value of EXTRA_EXPECTED.
19966 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19967 * math/gen-libm-test.pl (parse_args): Don't output initializers
19968 for extra output values.
19969
de407f79
JM
19970 * math/libm-test.inc (check_int): Expect result to be exactly
19971 equal to expected value and do not handle ulps.
19972 (check_long): Likewise.
19973 (check_longlong): Likewise.
19974
8269107f
JM
19975 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19976 exceptions.
19977 (cimag_test_data): Likewise.
19978 (conj_test_data): Likewise.
19979 (copysign_test_data): Likewise.
19980 (cproj_test_data): Likewise.
19981 (creal_test_data): Likewise.
19982 (fabs_test_data): Likewise.
19983 (fdim_test_data): Likewise.
19984 (finite_test_data): Likewise.
19985 (floor_test_data): Likewise.
19986 (fmax_test_data): Likewise.
19987 (fmin_test_data): Likewise.
19988 (fmod_test_data): Likewise.
19989 (fpclassify_test_data): Likewise.
19990 (frexp_test_data): Likewise.
19991 (ilogb_test_data): Likewise.
19992 (isfinite_test_data): Likewise.
19993 (isgreater_test_data): Likewise.
19994 (isgreaterequal_test_data): Likewise.
19995 (isinf_test_data): Likewise.
19996 (isless_test_data): Likewise.
19997 (islessequal_test_data): Likewise.
19998 (islessgreater_test_data): Likewise.
19999 (isnan_test_data): Likewise.
20000 (isnormal_test_data): Likewise.
20001 (issignaling_test_data): Likewise.
20002 (isunordered_test_data): Likewise.
20003 (ldexp_test_data): Likewise.
20004 (lrint_test_data): Likewise.
20005 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20006 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20007 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20008 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20009 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20010 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20011 test input.
20012 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20013 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20014 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20015 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20016 that test input.
20017 (lrint_downward_test_data): Test for "inexact" exceptions.
20018 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20019 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20020 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20021 test input.
20022 (lrint_upward_test_data): Test for "inexact" exceptions.
20023 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20024 test input.
20025 (llrint_test_data): Test for "inexact" exceptions.
20026 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20027 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20028 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20029 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20030 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20031 (llrint_downward_test_data): Test for "inexact" exceptions.
20032 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20033 (llrint_upward_test_data): Test for "inexact" exceptions.
20034 (logb_test_data): Likewise.
20035 (logb_downward_test_data): Likewise.
20036 (nextafter_test_data): Likewise.
20037 (nexttoward_test_data): Likewise.
20038 (remainder_test_data): Likewise.
20039 (remquo_test_data): Likewise.
20040 (scalbn_test_data): Likewise.
20041 (scalbln_test_data): Likewise.
20042 (signbit_test_data): Likewise.
20043 (sqrt_test_data): Likewise.
20044 (significand_test_data): Likewise.
20045
48a18de1
SP
200462013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20047
20048 [BZ #15424]
20049 * benchtests/bench-modf.c (struct args): Mark arg0 as
20050 volatile.
20051 * scripts/bench.pl: Mark members of struct args as volatile.
20052
13d3b41a
AZ
200532013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20054
68191c1d 20055 [BZ # 15497]
13d3b41a
AZ
20056 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20057 negative infinity on POWER6 or lower.
20058 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20059
2848b105
MR
200602013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20061
20062 [BZ #15442]
20063 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20064 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20065 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20066 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20067 (_FP_SETQNAN): New macro.
20068 (_FP_SETQNAN_SEMIRAW): Likewise.
20069 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20070 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20071 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20072 (FP_EXTEND): Use _FP_FRAC_SNANP.
20073 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20074 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20075 into account.
20076 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20077 New macro.
20078 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20079 Likewise.
20080
323e5cb7
JM
200812013-05-16 Joseph Myers <joseph@codesourcery.com>
20082
c58b274f
JM
20083 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20084 with DIVIDE_BY_ZERO_EXCEPTION.
20085 (gamma_test_data): Likewise.
20086 (lgamma_test_data): Likewise.
20087 (log_test_data): Likewise.
20088 (log10_test_data): Likewise.
20089 (log2_test_data): Likewise.
20090 (tgamma_test_data): Likewise.
20091
0ab34904
JM
20092 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20093 (acos_test_tonearest): Likewise.
20094 (acos_test_towardzero): Likewise.
20095 (acos_test_downward): Likewise.
20096 (acos_test_upward): Likewise.
20097 (acosh_test): Likewise.
20098 (asin_test): Likewise.
20099 (asin_test_tonearest): Likewise.
20100 (asin_test_towardzero): Likewise.
20101 (asin_test_downward): Likewise.
20102 (asin_test_upward): Likewise.
20103 (asinh_test): Likewise.
20104 (atan_test): Likewise.
20105 (atanh_test): Likewise.
20106 (atan2_test): Likewise.
20107 (cabs_test): Likewise.
20108 (cacos_test): Likewise.
20109 (cacosh_test): Likewise.
20110 (casin_test): Likewise.
20111 (casinh_test): Likewise.
20112 (catan_test): Likewise.
20113 (catanh_test): Likewise.
20114 (cbrt_test): Likewise.
20115 (ccos_test): Likewise.
20116 (ccosh_test): Likewise.
20117 (cexp_test): Likewise.
20118 (clog_test): Likewise.
20119 (clog10_test): Likewise.
20120 (cos_test): Likewise.
20121 (cos_test_tonearest): Likewise.
20122 (cos_test_towardzero): Likewise.
20123 (cos_test_downward): Likewise.
20124 (cos_test_upward): Likewise.
20125 (cosh_test): Likewise.
20126 (cosh_test_tonearest): Likewise.
20127 (cosh_test_towardzero): Likewise.
20128 (cosh_test_downward): Likewise.
20129 (cosh_test_upward): Likewise.
20130 (cpow_test): Likewise.
20131 (csin_test): Likewise.
20132 (csinh_test): Likewise.
20133 (csqrt_test): Likewise.
20134 (ctan_test): Likewise.
20135 (ctan_test_tonearest): Likewise.
20136 (ctan_test_towardzero): Likewise.
20137 (ctan_test_downward): Likewise.
20138 (ctan_test_upward): Likewise.
20139 (ctanh_test): Likewise.
20140 (ctanh_test_tonearest): Likewise.
20141 (ctanh_test_towardzero): Likewise.
20142 (ctanh_test_downward): Likewise.
20143 (ctanh_test_upward): Likewise.
20144 (erf_test): Likewise.
20145 (erfc_test): Likewise.
20146 (exp_test): Likewise.
20147 (exp_test_tonearest): Likewise.
20148 (exp_test_towardzero): Likewise.
20149 (exp_test_downward): Likewise.
20150 (exp_test_upward): Likewise.
20151 (exp10_test): Likewise.
20152 (exp2_test): Likewise.
20153 (expm1_test): Likewise.
20154 (fmod_test): Likewise.
20155 (gamma_test): Likewise.
20156 (hypot_test): Likewise.
20157 (j0_test): Likewise.
20158 (j1_test): Likewise.
20159 (jn_test): Likewise.
20160 (lgamma_test): Likewise.
20161 (log_test): Likewise.
20162 (log10_test): Likewise.
20163 (log1p_test): Likewise.
20164 (log2_test): Likewise.
20165 (logb_test_downward): Likewise.
20166 (pow_test): Likewise.
20167 (pow_test_tonearest): Likewise.
20168 (pow_test_towardzero): Likewise.
20169 (pow_test_downward): Likewise.
20170 (pow_test_upward): Likewise.
20171 (remainder_test): Likewise.
20172 (remquo_test): Likewise.
20173 (sin_test): Likewise.
20174 (sin_test_tonearest): Likewise.
20175 (sin_test_towardzero): Likewise.
20176 (sin_test_downward): Likewise.
20177 (sin_test_upward): Likewise.
20178 (sincos_test): Likewise.
20179 (sinh_test): Likewise.
20180 (sinh_test_tonearest): Likewise.
20181 (sinh_test_towardzero): Likewise.
20182 (sinh_test_downward): Likewise.
20183 (sinh_test_upward): Likewise.
20184 (sqrt_test): Likewise.
20185 (tan_test): Likewise.
20186 (tan_test_tonearest): Likewise.
20187 (tan_test_towardzero): Likewise.
20188 (tan_test_downward): Likewise.
20189 (tan_test_upward): Likewise.
20190 (tanh_test): Likewise.
20191 (tgamma_test): Likewise.
20192 (y0_test): Likewise.
20193 (y1_test): Likewise.
20194 (yn_test): Likewise.
20195
323e5cb7
JM
20196 * math/gen-libm-test.pl (adjust_arg): Remove function.
20197 (special_function): Remove argument $in_func. Only handle
20198 generating output for tables of tests, not inside functions.
20199 (parse_args): Likewise.
20200 (generate_testfile): Remove variable $in_func. Update call to
20201 parse_args.
20202 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20203 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20204 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20205 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20206 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20207 (MAX_VALUE_INIT): Rename macro to max_value.
20208 (MIN_VALUE_INIT): Rename macro to min_value.
20209 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20210 (plus_zero): Remove variable.
20211 (minus_zero): Likewise.
20212 (plus_infty): Likewise.
20213 (minus_infty): Likewise.
20214 (qnan_value): Likewise.
20215 (max_value): Likewise.
20216 (min_value): Likewise.
20217 (min_subnorm_value): Likewise.
20218
e054f494
RA
202192013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20220
20221 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20222 uint64_t or uint32_t usage.
20223 * crypt/sha256-block.c: Likewise.
20224 * crypt/sha256-crypt.c: Likewise.
20225 * crypt/sha256.c: Likewise.
20226 * crypt/sha512-block.c: Likewise.
20227 * crypt/sha512-crypt.c: Likewise.
20228 * crypt/sha512.c: Likewise.
20229 * debug/backtrace-tst.c: Likewise.
20230 * debug/pcprofiledump.c: Likewise.
20231 * elf/cache.c: Likewise.
20232 * elf/dl-cache.c: Likewise.
20233 * elf/dl-misc.c: Likewise.
20234 * elf/dl-profile.c: Likewise.
20235 * elf/dl-support.c: Likewise.
20236 * elf/ldconfig.c: Likewise.
20237 * elf/sprof.c: Likewise.
20238 * iconv/dummy-repertoire.c: Likewise.
20239 * iconv/iconv_charmap.c: Likewise.
20240 * iconv/skeleton.c: Likewise.
20241 * iconvdata/8bit-generic.c: Likewise.
20242 * iconvdata/cp737.h: Likewise.
20243 * iconvdata/cp775.h: Likewise.
20244 * iconvdata/ibm1008.h: Likewise.
20245 * iconvdata/ibm1025.h: Likewise.
20246 * iconvdata/ibm1046.h: Likewise.
20247 * iconvdata/ibm1097.h: Likewise.
20248 * iconvdata/ibm1112.h: Likewise.
20249 * iconvdata/ibm1122.h: Likewise.
20250 * iconvdata/ibm1123.h: Likewise.
20251 * iconvdata/ibm1124.h: Likewise.
20252 * iconvdata/ibm1129.h: Likewise.
20253 * iconvdata/ibm1130.h: Likewise.
20254 * iconvdata/ibm1132.h: Likewise.
20255 * iconvdata/ibm1133.h: Likewise.
20256 * iconvdata/ibm1137.h: Likewise.
20257 * iconvdata/ibm1140.h: Likewise.
20258 * iconvdata/ibm1141.h: Likewise.
20259 * iconvdata/ibm1142.h: Likewise.
20260 * iconvdata/ibm1143.h: Likewise.
20261 * iconvdata/ibm1144.h: Likewise.
20262 * iconvdata/ibm1145.h: Likewise.
20263 * iconvdata/ibm1146.h: Likewise.
20264 * iconvdata/ibm1147.h: Likewise.
20265 * iconvdata/ibm1148.h: Likewise.
20266 * iconvdata/ibm1149.h: Likewise.
20267 * iconvdata/ibm1153.h: Likewise.
20268 * iconvdata/ibm1154.h: Likewise.
20269 * iconvdata/ibm1155.h: Likewise.
20270 * iconvdata/ibm1156.h: Likewise.
20271 * iconvdata/ibm1157.h: Likewise.
20272 * iconvdata/ibm1158.h: Likewise.
20273 * iconvdata/ibm1160.h: Likewise.
20274 * iconvdata/ibm1161.h: Likewise.
20275 * iconvdata/ibm1162.h: Likewise.
20276 * iconvdata/ibm1163.h: Likewise.
20277 * iconvdata/ibm1164.h: Likewise.
20278 * iconvdata/ibm1166.h: Likewise.
20279 * iconvdata/ibm1167.h: Likewise.
20280 * iconvdata/ibm12712.h: Likewise.
20281 * iconvdata/ibm1390.h: Likewise.
20282 * iconvdata/ibm1399.h: Likewise.
20283 * iconvdata/ibm16804.h: Likewise.
20284 * iconvdata/ibm4517.h: Likewise.
20285 * iconvdata/ibm4899.h: Likewise.
20286 * iconvdata/ibm4909.h: Likewise.
20287 * iconvdata/ibm4971.h: Likewise.
20288 * iconvdata/ibm5347.h: Likewise.
20289 * iconvdata/ibm803.h: Likewise.
20290 * iconvdata/ibm856.h: Likewise.
20291 * iconvdata/ibm901.h: Likewise.
20292 * iconvdata/ibm902.h: Likewise.
20293 * iconvdata/ibm9030.h: Likewise.
20294 * iconvdata/ibm9066.h: Likewise.
20295 * iconvdata/ibm921.h: Likewise.
20296 * iconvdata/ibm922.h: Likewise.
20297 * iconvdata/ibm9448.h: Likewise.
20298 * iconvdata/isiri-3342.h: Likewise.
20299 * iconvdata/jis0201.h: Likewise.
20300 * include/link.h: Likewise.
20301 * include/netdb.h: Likewise.
20302 * inet/check_native.c: Likewise.
20303 * inet/check_pf.c: Likewise.
20304 * inet/getipv4sourcefilter.c: Likewise.
20305 * inet/getnameinfo.c: Likewise.
20306 * inet/getsourcefilter.c: Likewise.
20307 * inet/htonl.c: Likewise.
20308 * inet/setipv4sourcefilter.c: Likewise.
20309 * inet/setsourcefilter.c: Likewise.
20310 * inet/test-inet6_opt.c: Likewise.
20311 * inet/tst-network.c: Likewise.
20312 * locale/C-collate.c: Likewise.
20313 * locale/C-ctype.c: Likewise.
20314 * locale/C-time.c: Likewise.
20315 * locale/C-translit.h: Likewise.
20316 * locale/loadarchive.c: Likewise.
20317 * locale/programs/3level.h: Likewise.
20318 * locale/programs/charmap.c: Likewise.
20319 * locale/programs/charmap.h: Likewise.
20320 * locale/programs/ld-address.c: Likewise.
20321 * locale/programs/ld-collate.c: Likewise.
20322 * locale/programs/ld-ctype.c: Likewise.
20323 * locale/programs/ld-identification.c: Likewise.
20324 * locale/programs/ld-measurement.c: Likewise.
20325 * locale/programs/ld-messages.c: Likewise.
20326 * locale/programs/ld-monetary.c: Likewise.
20327 * locale/programs/ld-name.c: Likewise.
20328 * locale/programs/ld-numeric.c: Likewise.
20329 * locale/programs/ld-paper.c: Likewise.
20330 * locale/programs/ld-telephone.c: Likewise.
20331 * locale/programs/ld-time.c: Likewise.
20332 * locale/programs/linereader.c: Likewise.
20333 * locale/programs/locale.c: Likewise.
20334 * locale/programs/locarchive.c: Likewise.
20335 * locale/programs/locfile.h: Likewise.
20336 * locale/programs/repertoire.c: Likewise.
20337 * locale/programs/simple-hash.c: Likewise.
20338 * locale/programs/simple-hash.h: Likewise.
20339 * malloc/memusage.c: Likewise.
20340 * malloc/memusagestat.c: Likewise.
20341 * nis/nis_defaults.c: Likewise.
20342 * nis/nis_hash.c: Likewise.
20343 * nis/nis_print.c: Likewise.
20344 * nis/nis_xdr.c: Likewise.
20345 * nscd/connections.c: Likewise.
20346 * nscd/hstcache.c: Likewise.
20347 * nscd/nscd_gethst_r.c: Likewise.
20348 * nscd/nscd_getserv_r.c: Likewise.
20349 * nscd/nscd_helper.c: Likewise.
20350 * nscd/servicescache.c: Likewise.
20351 * nss/makedb.c: Likewise.
20352 * nss/nss_db/db-XXX.c: Likewise.
20353 * nss/nss_db/db-initgroups.c: Likewise.
20354 * nss/nss_db/db-netgrp.c: Likewise.
20355 * nss/nss_files/files-network.c: Likewise.
20356 * nss/nss_files/files-parse.c: Likewise.
20357 * posix/bug-regex5.c: Likewise.
20358 * posix/fnmatch_loop.c: Likewise.
20359 * posix/regcomp.c: Likewise.
20360 * posix/regexec.c: Likewise.
20361 * posix/tst-rfc3484-2.c: Likewise.
20362 * posix/tst-rfc3484-3.c: Likewise.
20363 * posix/tst-rfc3484.c: Likewise.
20364 * resolv/nss_dns/dns-canon.c: Likewise.
20365 * resolv/nss_dns/dns-network.c: Likewise.
20366 * resolv/res_init.c: Likewise.
20367 * resolv/res_mkquery.c: Likewise.
20368 * resolv/tst-aton.c: Likewise.
20369 * stdlib/cxa_atexit.c: Likewise.
20370 * stdlib/cxa_finalize.c: Likewise.
20371 * stdlib/gen-fpioconst.c: Likewise.
20372 * stdlib/strtol_l.c: Likewise.
20373 * string/tst-endian.c: Likewise.
20374 * sunrpc/auth_des.c: Likewise.
20375 * sunrpc/clnt_udp.c: Likewise.
20376 * sunrpc/rtime.c: Likewise.
20377 * sunrpc/svcauth_des.c: Likewise.
20378 * sunrpc/xdr.c: Likewise.
20379 * sunrpc/xdr_intXX_t.c: Likewise.
20380 * sunrpc/xdr_rec.c: Likewise.
20381 * sysdeps/generic/ldconfig.h: Likewise.
20382 * sysdeps/generic/ldsodefs.h: Likewise.
20383 * sysdeps/generic/memusage.h: Likewise.
20384 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20385 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20386 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20387 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20388 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20389 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20390 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20391 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20392 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20393 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20394 * sysdeps/posix/getaddrinfo.c: Likewise.
20395 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20396 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20397 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20398 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20399 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20400 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20401 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20402 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20403 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20404 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20405 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20406 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20407 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20408 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20409 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20410 * sysdeps/x86_64/dl-tls.h: Likewise.
20411 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20412 * time/alt_digit.c: Likewise.
20413 * time/era.c: Likewise.
20414 * wcsmbs/tst-c16c32-1.c: Likewise.
20415
8c75f674
JM
204162013-05-16 Joseph Myers <joseph@codesourcery.com>
20417
20418 * math/libm-test.inc (struct test_sincos_data): New type.
20419 (RUN_TEST_LOOP_sincos): New macro.
20420 (sincos_test_data): New variable.
20421 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20422
e6e49e59
RH
204232013-05-16 Richard Henderson <rth@redhat.com>
20424
20425 * math/atest-exp2.c (LIMB64): New macro.
20426 (CONSTSZ): New macro.
20427 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20428 (hexdig): Move ...
20429 (print_mpn_fp): ... to function scope.
20430 (read_mpn_hex): Remove.
20431 (get_log2): Remove.
20432 (exp2_mpn): Use mp_log2.
20433 (main): Use mp_exp1.
20434
15c7c18d
JM
204352013-05-16 Joseph Myers <joseph@codesourcery.com>
20436
105a07df
JM
20437 * math/libm-test.inc: Remove comment about not testing "inexact"
20438 exceptions.
20439 (INEXACT_EXCEPTION): New macro.
20440 (NO_INEXACT_EXCEPTION): Likewise.
20441 (INVALID_EXCEPTION_OK): Update value.
20442 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20443 (OVERFLOW_EXCEPTION_OK): Likewise.
20444 (UNDERFLOW_EXCEPTION_OK): Likewise.
20445 (IGNORE_ZERO_INF_SIGN): Likewise.
20446 (ERRNO_UNCHANGED): Likewise.
20447 (ERRNO_EDOM): Likewise.
20448 (ERRNO_ERANGE): Likewise.
20449 (test_exceptions): Handle testing "inexact" exceptions.
20450 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20451 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20452 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20453 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20454 INEXACT_EXCEPTION.
20455 (rint_towardzero_test_data): Likewise.
20456 (rint_downward_test_data): Likewise.
20457 (rint_upward_test_data): Likewise.
20458
e9eee333
JM
20459 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20460 with OVERFLOW_EXCEPTION.
20461 (exp10_test_data): Likewise.
20462 (exp2_test_data): Likewise.
20463 (expm1_test_data): Likewise.
20464 (lgamma_test_data): Likewise.
20465 (pow_test_data): Likewise.
20466 (tgamma_test_data): Likewise.
20467 (yn_test_data): Remove duplicate test of overflow.
20468
1c38ff73
JM
20469 * math/libm-test.inc (struct test_cc_c_data): New type.
20470 (RUN_TEST_LOOP_cc_c): New macro.
20471 (cpow_test_data): New variable.
20472 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20473
15c7c18d
JM
20474 * math/libm-test.inc (struct test_f_L_data): New type.
20475 (RUN_TEST_LOOP_f_L): New macro.
20476 (llrint_test_data): New variable.
20477 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20478 (llrint_tonearest_test_data): New variable.
20479 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20480 (llrint_towardzero_test_data): New variable.
20481 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20482 (llrint_downward_test_data): New variable.
20483 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20484 (llrint_upward_test_data): New variable.
20485 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20486 (llround_test_data): New variable.
20487 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20488
f137ff13
PC
204892013-05-13 Peter Collingbourne <pcc@google.com>
20490
20491 * math/atest-exp2.c (get_log2): Remove const attribute.
20492
3608cb24
JM
204932013-05-15 Joseph Myers <joseph@codesourcery.com>
20494
20495 * math/libm-test.inc (struct test_f_l_data): New type.
20496 (RUN_TEST_LOOP_f_l): New macro.
20497 (lrint_test_data): New variable.
20498 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20499 (lrint_tonearest_test_data): New variable.
20500 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20501 (lrint_towardzero_test_data): New variable.
20502 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20503 (lrint_downward_test_data): New variable.
20504 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20505 (lrint_upward_test_data): New variable.
20506 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20507 (lround_test_data): New variable.
20508 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20509
39b1f617
PC
205102013-05-15 Peter Collingbourne <pcc@google.com>
20511
1deff3dc
PC
20512 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20513 (EXTRACT_WORDS64) Use where appropriate.
20514 (INSERT_WORDS64) Likewise.
20515
791f3ba0
PC
20516 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20517 constraints with x constraints.
20518 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20519
39b1f617
PC
20520 * malloc/obstack.c (_obstack_compat): Add initializer.
20521
12fba011
EM
205222013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20523
20524 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20525 si_trapno and add si_addr_lsb to _sifields.sigfault.
20526 (si_trapno): Remove macro.
20527 (si_addr_lsb): Define new macro.
20528 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20529
d369f531
JM
205302013-05-15 Joseph Myers <joseph@codesourcery.com>
20531
b861c6c4
JM
20532 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20533 instead of TEST_f_l.
20534 (llrint_test_tonearest): Likewise.
20535 (llrint_test_towardzero): Likewise.
20536 (llrint_test_downward): Likewise.
20537 (llrint_test_upward): Likewise.
20538 (llround_test): Likewise.
20539
7abeee12
JM
20540 * math/libm-test.inc (struct test_f_i_data): Add comment.
20541 (RUN_TEST_LOOP_f_b): New macro.
20542 (RUN_TEST_LOOP_f_b_tg): Likewise.
20543 (finite_test_data): New variable.
20544 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20545 (isfinite_test_data): New variable.
20546 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20547 (isinf_test_data): New variable.
20548 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20549 (isnan_test_data): New variable.
20550 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20551 (isnormal_test_data): New variable.
20552 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20553 (issignaling_test_data): New variable.
20554 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20555 (signbit_test_data): New variable.
20556 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20557
cbe8c4d3
JM
20558 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20559 with INVALID_EXCEPTION.
20560 (acosh_test_data): Likewise.
20561 (asin_test_data): Likewise.
20562 (atanh_test_data): Likewise.
20563 (fmod_test_data): Likewise.
20564 (log_test_data): Likewise.
20565 (log10_test_data): Likewise.
20566 (log2_test_data): Likewise.
20567 (pow_test_data): Likewise.
20568 (sqrt_test_data): Likewise.
20569 (y0_test_data): Likewise.
20570 (y1_test_data): Likewise.
20571 (yn_test_data): Likewise.
20572
5575c0e5
JM
20573 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20574 function contents.
20575
d369f531
JM
20576 * math/libm-test.inc (struct test_ff_i_data): New type.
20577 (RUN_TEST_LOOP_ff_i_tg): New macro.
20578 (isgreater_test_data): New variable.
20579 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20580 (isgreaterequal_test_data): New variable.
20581 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20582 (isless_test_data): New variable.
20583 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20584 (islessequal_test_data): New variable.
20585 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20586 (islessgreater_test_data): New variable.
20587 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20588 (isunordered_test_data): New variable.
20589 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20590
781fd748
DM
205912013-05-14 David S. Miller <davem@davemloft.net>
20592
20593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20594
87aa21df
JM
205952013-05-14 Joseph Myers <joseph@codesourcery.com>
20596
5e908270
JM
20597 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20598
f71172e5
JM
20599 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20600 extra_test to int.
20601 (struct test_f_i_data): Change type of max_ulp to int.
20602
8cfa635a
JM
20603 * math/libm-test.inc (test_ffI_f1_data): New type.
20604 (RUN_TEST_LOOP_ffI_f1): New macro.
20605 (remquo_test_data): New variable.
20606 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20607
2bcb36b2
JM
20608 * setjmp/tst-setjmp-fp.c: New file.
20609 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20610 (link-libm): New variable.
20611 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20612
acbd839a
JM
20613 * math/libm-test.inc (struct test_f_i_data): New type.
20614 (RUN_TEST_LOOP_f_i): New macro.
20615 (RUN_TEST_LOOP_f_i_tg): Likewise.
20616 (fpclassify_test_data): New variable.
20617 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20618 (ilogb_test_data): New variable.
20619 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20620
e414d745
JM
20621 * math/libm-test.inc (scalbln_test): Correct function name in END
20622 call.
20623
d9c2a0fd
JM
20624 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20625 (RUN_TEST_LOOP_fI_f1): New macro.
20626 (frexp_test_data): New variable.
20627 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20628
9dc9095d
JM
20629 * math/libm-test.inc (struct test_fF_f1_data): New type.
20630 (RUN_TEST_LOOP_fF_f1): New macro.
20631 (modf_test_data): New variable.
20632 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20633
87aa21df
JM
20634 * math/libm-test.inc (struct test_f_f1_data): New type.
20635 (RUN_TEST_LOOP_f_f1): New macro.
20636 (gamma_test_data): New variable.
20637 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20638 (lgamma_test_data): New variable.
20639 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20640
141af660
CD
206412013-05-13 Carlos O'Donell <carlos@redhat.com>
20642
20643 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20644 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20645 (main): Comment "tls" pseudo-hwcap.
20646
6d33265c
JM
206472013-05-13 Joseph Myers <joseph@codesourcery.com>
20648
68fc074c
JM
20649 * math/libm-test.inc (struct test_fl_f_data): New type.
20650 (RUN_TEST_LOOP_fl_f): New variable.
20651 (scalbln_test_data): New variable.
20652 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20653
243216e1
JM
20654 * math/libm-test.inc (struct test_fi_f_data): New type.
20655 (RUN_TEST_LOOP_fi_f): New macro.
20656 (ldexp_test_data): New variable.
20657 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20658 (scalbn_test_data): New variable.
20659 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20660
6a1992e2
JM
20661 * math/libm-test.inc (struct test_c_f_data): New type.
20662 (RUN_TEST_LOOP_c_f): New macro.
20663 (cabs_test_data): New variable.
20664 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20665 (carg_test_data): New variable.
20666 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20667 (cimag_test_data): New variable.
20668 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20669 (creal_test_data): New variable.
20670 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20671
0e400df5
JM
20672 * math/libm-test.inc (struct test_if_f_data): New type.
20673 (RUN_TEST_LOOP_if_f): New macro.
20674 (jn_test_data): New variable.
20675 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20676 (yn_test_data): New variable.
20677 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20678
6d33265c
JM
20679 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20680
f98ece5f
AZ
206812013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20682
20683 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20684 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20685
0f7d347b
SP
206862013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20687
43fe811b
SP
20688 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20689 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20690 (bench-deps): Add bench-timing.h.
20691 * benchtests-bench-skeleton.c: Include bench-timing.h.
20692 (main): Use TIMING_* macros instead of clock_gettime.
20693 * benchtests/bench-timing.h: New file.
20694
0f7d347b
SP
20695 [BZ #14582]
20696 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20697 Renamed from _LIB_VERSION.
20698 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20699
601a3a5f
JM
207002013-05-12 Joseph Myers <joseph@codesourcery.com>
20701
4f184d30
JM
20702 * math/libm-test.inc (struct test_fff_f_data): New type.
20703 (RUN_TEST_LOOP_fff_f): New macro.
20704 (fma_test_data): New variable.
20705 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20706 (fma_towardzero_test_data): New variable.
20707 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20708 (fma_downward_test_data): New variable.
20709 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20710 (fma_upward_test_data): New variable.
20711 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20712
08198877
JM
20713 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20714 (struct test_c_c_data): New type.
20715 (RUN_TEST_LOOP_c_c): New macro.
20716 (cacos_test_data): New variable.
20717 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20718 (cacosh_test_data): New variable.
20719 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20720 (casin_test_data): New variable.
20721 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20722 (casinh_test_data): New variable.
20723 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20724 (catan_test_data): New variable.
20725 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20726 (catanh_test_data): New variable.
20727 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20728 (ccos_test_data): New variable.
20729 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20730 (ccosh_test_data): New variable.
20731 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20732 (cexp_test_data): New variable.
20733 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20734 (clog_test_data): New variable.
20735 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20736 (clog10_test_data): New variable.
20737 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20738 (conj_test_data): New variable.
20739 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20740 (cproj_test_data): New variable.
20741 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20742 (csin_test_data): New variable.
20743 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20744 (csinh_test_data): New variable.
20745 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20746 (csqrt_test_data): New variable.
20747 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20748 (ctan_test_data): New variable.
20749 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20750 (ctan_tonearest_test_data): New variable.
20751 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20752 (ctan_towardzero_test_data): New variable.
20753 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20754 (ctan_downward_test_data): New variable.
20755 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20756 (ctan_upward_test_data): New variable.
20757 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20758 (ctanh_test_data): New variable.
20759 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20760 (ctanh_tonearest_test_data): New variable.
20761 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20762 (ctanh_towardzero_test_data): New variable.
20763 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20764 (ctanh_downward_test_data): New variable.
20765 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20766 (ctanh_upward_test_data): New variable.
20767 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20768 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20769 of BUILD_COMPLEX.
20770
601a3a5f
JM
20771 * math/libm-test.inc (struct test_ff_f_data): New type.
20772 (struct test_ff_f_data_nexttoward): Likewise.
20773 (RUN_TEST_LOOP_2_f): New macro.
20774 (RUN_TEST_LOOP_ff_f): Likewise.
20775 (atan2_test_data): New variable.
20776 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20777 (copysign_test_data): New variable.
20778 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20779 (fdim_test_data): New variable.
20780 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20781 (fmax_test_data): New variable.
20782 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20783 (fmin_test_data): New variable.
20784 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20785 (fmod_test_data): New variable.
20786 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20787 (hypot_test_data): New variable.
20788 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20789 (nextafter_test_data): New variable.
20790 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20791 (nexttoward_test_data): New variable.
20792 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20793 (pow_test_data): New variable.
20794 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20795 (pow_tonearest_test_data): New variable.
20796 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20797 (pow_towardzero_test_data): New variable.
20798 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20799 (pow_downward_test_data): New variable.
20800 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20801 (pow_upward_test_data): New variable.
20802 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20803 (remainder_test_data): New variable.
20804 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20805 (scalb_test_data): New variable.
20806 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20807 * sysdeps/i386/fpu/libm-test-ulps: Update.
20808
74c57478
JM
208092013-05-11 Joseph Myers <joseph@codesourcery.com>
20810
8329e4da
JM
20811 * math/libm-test.inc (fma_test): Use max_value instead of local
20812 variable fltmax.
20813 (nextafter_test): Likewise.
20814
74c57478
JM
20815 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20816 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20817 (acos_downward_test_data): New variable.
20818 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20819 (acos_upward_test_data): New variable.
20820 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20821 (acosh_test_data): New variable.
20822 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20823 (asin_test_data): New variable.
20824 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20825 (asin_tonearest_test_data): New variable.
20826 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20827 (asin_towardzero_test_data): New variable.
20828 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20829 (asin_downward_test_data): New variable.
20830 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20831 (asin_upward_test_data): New variable.
20832 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20833 (asinh_test_data): New variable.
20834 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20835 (atan_test_data): New variable.
20836 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20837 (atanh_test_data): New variable.
20838 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20839 (cbrt_test_data): New variable.
20840 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20841 (ceil_test_data): New variable.
20842 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20843 (cos_test_data): New variable.
20844 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20845 (cos_tonearest_test_data): New variable.
20846 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20847 (cos_towardzero_test_data): New variable.
20848 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20849 (cos_downward_test_data): New variable.
20850 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20851 (cos_upward_test_data): New variable.
20852 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20853 (cosh_test_data): New variable.
20854 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20855 (cosh_tonearest_test_data): New variable.
20856 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20857 (cosh_towardzero_test_data): New variable.
20858 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20859 (cosh_downward_test_data): New variable.
20860 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20861 (cosh_upward_test_data): New variable.
20862 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20863 (erf_test_data): New variable.
20864 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20865 (erfc_test_data): New variable.
20866 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20867 (exp_test_data): New variable.
20868 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20869 (exp_tonearest_test_data): New variable.
20870 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20871 (exp_towardzero_test_data): New variable.
20872 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20873 (exp_downward_test_data): New variable.
20874 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20875 (exp_upward_test_data): New variable.
20876 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20877 (exp10_test_data): New variable.
20878 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20879 (exp2_test_data): New variable.
20880 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20881 (expm1_test_data): New variable.
20882 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20883 (fabs_test_data): New variable.
20884 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20885 (floor_test_data): New variable.
20886 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20887 (j0_test_data): New variable.
20888 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20889 (j1_test_data): New variable.
20890 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20891 (log_test_data): New variable.
20892 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20893 (log10_test_data): New variable.
20894 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20895 (log1p_test_data): New variable.
20896 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20897 (log2_test_data): New variable.
20898 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20899 (logb_test_data): New variable.
20900 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20901 (logb_downward_test_data): New variable.
20902 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20903 (nearbyint_test_data): New variable.
20904 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20905 (rint_test_data): New variable.
20906 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20907 (rint_tonearest_test_data): New variable.
20908 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20909 (rint_towardzero_test_data): New variable.
20910 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20911 (rint_downward_test_data): New variable.
20912 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20913 (rint_upward_test_data): New variable.
20914 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20915 (round_test_data): New variable.
20916 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20917 (sin_test_data): New variable.
20918 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20919 (sin_tonearest_test_data): New variable.
20920 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20921 (sin_towardzero_test_data): New variable.
20922 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20923 (sin_downward_test_data): New variable.
20924 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20925 (sin_upward_test_data): New variable.
20926 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20927 (sinh_test_data): New variable.
20928 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20929 (sinh_tonearest_test_data): New variable.
20930 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20931 (sinh_towardzero_test_data): New variable.
20932 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20933 (sinh_downward_test_data): New variable.
20934 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20935 (sinh_upward_test_data): New variable.
20936 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20937 (sqrt_test_data): New variable.
20938 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20939 (tan_test_data): New variable.
20940 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20941 (tan_tonearest_test_data): New variable.
20942 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20943 (tan_towardzero_test_data): New variable.
20944 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20945 (tan_downward_test_data): New variable.
20946 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20947 (tan_upward_test_data): New variable.
20948 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20949 (tanh_test_data): New variable.
20950 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20951 (tgamma_test_data): New variable.
20952 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20953 (trunc_test_data): New variable.
20954 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20955 (y0_test_data): New variable.
20956 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20957 (y1_test_data): New variable.
20958 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20959 (significand_test_data): New variable.
20960 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20961
7187d844
CG
209622013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20963
20964 [BZ #12387]
20965 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20966
f63fae73
PT
209672013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20968
20969 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20970
8a67a4b3
AJ
209712013-05-10 Andreas Jaeger <aj@suse.de>
20972
20973 [BZ #15448]
20974 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20975 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20976
51df539d
JM
209772013-05-10 Joseph Myers <joseph@codesourcery.com>
20978
20979 * math/gen-libm-test.pl (adjust_arg): New function.
20980 (special_functions): Handle generating output in both functions
20981 and arrays.
20982 (parse_args): Likewise.
20983 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20984 $in_func argument to parse_args.
20985 * math/libm-test.inc (struct test_f_f_data): New type.
20986 (IF_ROUND_INIT_): New macro.
20987 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20988 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20989 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20990 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20991 (ROUND_RESTORE_): Likewise.
20992 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20993 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20994 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20995 (ROUND_RESTORE_FE_UPWARD): Likewise.
20996 (RUN_TEST_LOOP_f_f): New macro.
20997 (acos_test_data): New variable.
20998 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20999 (acos_tonearest_test_data): New variable.
21000 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21001
5c637fe5
SP
210022013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21003
21004 * benchtests/bench-skeleton.c (startup): Fix coding style.
21005
ab2b9461
JM
210062013-05-10 Joseph Myers <joseph@codesourcery.com>
21007
21008 [BZ #6809]
21009 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21010 negative infinity argument.
21011 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21012 negative infinity argument.
21013 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21014 negative infinity argument.
21015 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21016 domain errors.
21017
4c0fe6fe
FW
210182013-05-10 Florian Weimer <fweimer@redhat.com>
21019
21020 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21021 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21022 * iconv/iconv_prog.c (main): Likewise.
21023 * locale/programs/charmap-dir.c (charmap_readdir)
21024 (fopen_uncompressed): Likewise.
21025 * locale/programs/locfile.c (siblings_uncached)
21026 (write_locale_data): Use lstat64 instead of lstat.
21027 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21028 stat.
21029
a3375d29
AJ
210302013-05-10 Andreas Jaeger <aj@suse.de>
21031
21032 [BZ #15395]
21033 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21034 localization.
21035 Include <locale.h>.
21036
36129722
CD
210372013-05-09 Carlos O'Donell <carlos@redhat.com>
21038
21039 * elf/dl-close.c (_dl_close_worker): Add comments.
21040
faa7f811
JM
210412013-05-09 Joseph Myers <joseph@codesourcery.com>
21042
ed41ffef
JM
21043 [BZ #15359]
21044 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21045 high part of pi/2.
21046 (__ieee754_rem_pio2l): Update comments.
21047
d0213cd0
JM
21048 [BZ #15429]
21049 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21050 high part of pi/2.
21051 (__ieee754_rem_pio2l): Update comments.
21052
0d3e777a
JM
21053 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21054 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21055
24f56066
JM
21056 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21057 M_PI_4l.
21058
faa7f811
JM
21059 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21060 (M_PI_34_LOG10El): Likewise.
21061 (M_PI2_LOG10El): Likewise.
21062 (M_PI4_LOG10El): Likewise.
21063 (M_PI_LOG10El): Likewise.
21064
e9a5e0fd
AZ
210652013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21066
21067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21068
d8cd06db
JM
210692013-05-08 Joseph Myers <joseph@codesourcery.com>
21070
a0d9f9d7
JM
21071 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21072 (MINUS_ZERO_INIT): Likewise.
21073 (PLUS_INFTY_INIT): Likewise.
21074 (MINUS_INFTY_INIT): Likewise.
21075 (QNAN_VALUE_INIT): Likewise.
21076 (MAX_VALUE_INIT): Likewise.
21077 (MIN_VALUE_INIT): Likewise.
21078 (MIN_SUBNORM_VALUE_INIT): Likewise.
21079 (plus_zero): Initialize with PLUS_ZERO_INIT.
21080 (minus_zero): Initialize with MINUS_ZERO_INIT.
21081 (plus_infty): Initialize with PLUS_INFTY_INIT.
21082 (minus_infty): Initialize with MINUS_INFTY_INIT.
21083 (qnan_value): Initialize with QNAN_VALUE_INIT.
21084 (max_value): Initialize with MAX_VALUE_INIT.
21085 (min_value): Initialize with MIN_VALUE_INIT.
21086 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21087
ae08db3b
JM
21088 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21089 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21090 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21091 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21092
f44bf14a
JM
21093 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21094 (RUN_TEST_2_f): Likewise.
21095 (RUN_TEST_ff_f): Likewise.
21096 (RUN_TEST_fi_f): Likewise.
21097 (RUN_TEST_fl_f): Likewise.
21098 (RUN_TEST_fff_f): Likewise.
21099 (RUN_TEST_c_f): Likewise.
21100 (RUN_TEST_f_f1): Likewise.
21101 (RUN_TEST_fF_f1): Likewise.
21102 (RUN_TEST_fI_f1): Likewise.
21103 (RUN_TEST_ffI_f1): Likewise.
21104 (RUN_TEST_c_c): Likewise.
21105 (RUN_TEST_cc_c): Likewise.
21106 (RUN_TEST_f_i): Likewise.
21107 (RUN_TEST_f_i_tg): Likewise.
21108 (RUN_TEST_ff_i_tg): Likewise.
21109 (RUN_TEST_f_b): Likewise.
21110 (RUN_TEST_f_b_tg): Likewise.
21111 (RUN_TEST_f_l): Likewise.
21112 (RUN_TEST_f_L): Likewise.
21113 (RUN_TEST_sincos): Likewise.
21114 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21115 whether to show exceptions. Do not include ");\n" in return
21116 value.
21117 (special_functions): Output call to RUN_TEST_sincos instead of
21118 check_float calls. Update calls to new_test.
21119 (parse_args): Output call to single RUN_TEST_* macro instead of
21120 check_* calls and other assignments. Update calls to new_test.
21121
d8cd06db
JM
21122 [BZ #2546]
21123 [BZ #2560]
21124 [BZ #5159]
21125 [BZ #15426]
21126 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21127 input to result for tgamma overflow.
21128 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21129 (gamma_coeff): New variable.
21130 (NCOEFF): New macro.
21131 (gamma_positive): New function.
21132 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21133 underflow here. Use gamma_positive instead of exp (lgamma) for
21134 other arguments.
21135 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21136 (gamma_coeff): New variable.
21137 (NCOEFF): New macro.
21138 (gammaf_positive): New function.
21139 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21140 underflow here. Use gamma_positive instead of exp (lgamma) for
21141 other arguments.
21142 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21143 (gamma_coeff): New variable.
21144 (NCOEFF): New macro.
21145 (gammal_positive): New function.
21146 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21147 underflow here. Use gamma_positive instead of exp (lgamma) for
21148 other arguments.
21149 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21150 (gamma_coeff): New variable.
21151 (NCOEFF): New macro.
21152 (gammal_positive): New function.
21153 (__ieee754_gammal_r): Handle positive infinity, overflow and
21154 underflow here. Handle NaN the same as positive infinity. Remove
21155 check x < 0xffffffff for negative integers. Use gamma_positive
21156 instead of exp (lgamma) for other arguments.
21157 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21158 (gamma_coeff): New variable.
21159 (NCOEFF): New macro.
21160 (gammal_positive): New function.
21161 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21162 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21163 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21164 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21165 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21166 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21167 * sysdeps/generic/math_private.h (__gamma_productf): New
21168 prototype.
21169 (__gamma_product): Likewise.
21170 (__gamma_productl): Likewise.
21171 * math/Makefile (libm-calls): Add gamma_product.
21172 * math/libm-test.inc (tgamma_test): Add more tests.
21173 * sysdeps/i386/fpu/libm-test-ulps: Update.
21174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21175
bb7cf681
OB
211762013-05-08 Ondřej Bílka <neleai@seznam.cz>
21177
21178 * benchtests/bench-skeleton.c (main): Preheat CPU.
21179
ba853947
AJ
211802013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21181
21182 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21183
8347c74c
RM
211842013-05-07 Roland McGrath <roland@hack.frob.com>
21185
21186 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21187 and _dl_skip_args_internal.
21188
e8dd4791
CD
211892013-05-07 Carlos O'Donell <carlos@redhat.com>
21190
21191 * manual/message.texi (Message Translation): Talk about users.
21192 Message to key mapping impacts design.
21193
c7405830
RM
211942013-05-06 Roland McGrath <roland@hack.frob.com>
21195
a9173057
RM
21196 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21197
976e2f03
RM
21198 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21199
9723ffc5
RM
21200 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21201 * sysdeps/wordsize-64/glob64.c: ... here.
21202
962e6658
RM
21203 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21204 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21205 New macros.
21206
ee586a6d
RM
21207 * debug/getlogin_r_chk.c: Moved to ...
21208 * login/getlogin_r_chk.c: ... here.
21209 * debug/Makefile (routines): Move getlogin_r_chk to ...
21210 * login/Makefile (routines): ... here.
21211 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21212 * login/Versions (libc: GLIBC_2.4): ... here.
21213
355f9165
RM
21214 * io/poll.c (__poll): Renamed from poll.
21215 Add libc_hidden_def.
21216 (poll): Define as weak alias.
21217
bd9ffde6
RM
21218 * debug/ptsname_r_chk.c: Moved to ...
21219 * login/ptsname_r_chk.c: ... here.
21220 * debug/Makefile (routines): Move ptsname_r_chk to ...
21221 * login/Makefile (routines): ... here.
21222 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21223 * login/Versions (libc: GLIBC_2.4): ... here.
21224
8fb16a04
RM
21225 * posix/getlogin.c: Moved to ...
21226 * login/getlogin.c: ... here.
21227 * posix/getlogin_r.c: Moved to ...
21228 * login/getlogin_r.c: ... here.
21229 * posix/getlogin_r.c: Moved to ...
21230 * login/getlogin_r.c: ... here.
21231 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21232 * login/Makefile (routines): ... here.
21233 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21234 * login/Versions (libc: GLIBC_2.0): ... here.
21235
b99b892f
RM
21236 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21237 (setrlimit): Define as weak alias.
21238
c7405830
RM
21239 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21240 Call __ names for open, ftruncate, and close.
21241 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21242 (truncate): Define as weak alias.
21243
5bf96de5
JM
212442013-05-06 Joseph Myers <joseph@codesourcery.com>
21245
9ea3513c
JM
21246 * math/gen-libm-test.pl (parse_args): Initialize x before each
21247 test of frexp, modf and remquo.
21248
5bf96de5
JM
21249 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21250 test signgam value.
21251
16e616a7
AZ
212522013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21253
21254 [BZ #15418]
21255 [BZ #15419]
21256 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21257 internal tests.
21258 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21259
d5e82754
RM
212602013-05-06 Roland McGrath <roland@hack.frob.com>
21261
21262 * elf/dl-writev.h: New file.
21263 * elf/dl-misc.c: Include it.
21264 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21265 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21266
a7548d41
JM
212672013-05-04 Joseph Myers <joseph@codesourcery.com>
21268
b7dab1e4
JM
21269 * math/libm-test.inc (noXFails): Remove variable.
21270 (noXPasses): Likewise.
21271 (BUILD_COMPLEX_INT): Remove macro.
21272 (print_screen): Remove xfail argument.
21273 (print_screen_max_error): Likewise.
21274 (update_stats): Likewise.
21275 (print_max_error): Likewise. Update calls to other affected
21276 functions.
21277 (print_complex_max_error): Likewise.
21278 (test_single_exception): Update calls to print_screen.
21279 (test_single_errno): Likewise.
21280 (check_float_internal): Remove xfail argument. Update calls to
21281 other affected functions.
21282 (check_float): Likewise.
21283 (check_complex): Likewise.
21284 (check_int): Likewise.
21285 (check_long): Likewise.
21286 (check_bool): Likewise.
21287 (check_longlong): Likewise.
21288 (main): Don't print noXFails and noXPasses.
21289 * math/gen-libm-test.pl (top level): Don't mention expected
21290 failure handling in comment.
21291 (new_test): Don't handle expected failures.
21292 (parse_args): Don't mention expected failure handling in comment.
21293 (generate_testfile): Don't handle expected failures.
21294 (parse_ulps): Likewise.
21295 (print_ulps_file): Likewise.
21296 (get_failure): Remove function.
21297 (output_test): Don't handle expected failures.
21298 * make/README.libm-test: Don't mention expected failure handling.
21299
a7548d41
JM
21300 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21301 (minus_zero): Likewise.
21302 (plus_infty): Likewise.
21303 (minus_infty): Likewise.
21304 (qnan_value): Likewise.
21305 (max_value): Likewise.
21306 (min_value): Likewise.
21307 (min_subnorm_value): Likewise.
21308 (initialize): Do not initialize those variables dynamically.
21309
60bfd54c
RM
213102013-05-03 Roland McGrath <roland@hack.frob.com>
21311
cc0e6ed8
RM
21312 * io/open.c (__open_2): Moved to ...
21313 * io/open_2.c: ... this new file.
21314 * io/open64.c (__open64_2): Moved to ...
21315 * io/open64_2.c: ... this new file.
21316 * io/openat.c (__openat_2): Moved to ...
21317 * io/openat_2.c: ... this new file.
21318 * io/openat64.c (__openat64_2): Moved to ...
21319 * io/openat64_2.c: ... this new file.
21320 * io/Makefile (routines): Add them.
21321 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21322 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21323 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21324 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21325 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21326 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21327 (__openat64): Add hidden_ver.
21328 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21329 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21330
60bfd54c
RM
21331 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21332 Separately conditionalize setting of GLRO(dl_sysinfo) so
21333 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21334 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21335
83e7640f
AZ
213362013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21337
21338 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21339 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21340 definition.
21341 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21342 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21343 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21344 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21345 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21346
d5dc2af3
JM
213472013-05-03 Joseph Myers <joseph@codesourcery.com>
21348
c31a5b1e
JM
21349 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21350 test signgam value.
21351
d5dc2af3
JM
21352 * math/libm-test.inc (hypot_test): Do not use
21353 IGNORE_ZERO_INF_SIGN.
21354
164fd39d
AJ
213552013-05-03 Andreas Jaeger <aj@suse.de>
21356
21357 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21358 Linux 3.9.
21359 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21360 (PF_MAX): Adjust for VSOCK change.
21361
8237f48c
AZ
213622013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21363
21364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21365
9df02941
CD
213662013-05-02 Carlos O'Donell <carlos@redhat.com>
21367
21368 [BZ #15264]
21369 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21370 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21371 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21372
d422395e
DM
213732013-05-02 David S. Miller <davem@davemloft.net>
21374
21375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21376
a07c5731
OB
213772013-05-01 Ondřej Bílka <neleai@seznam.cz>
21378
21379 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21380
1324e37f
RM
213812013-05-01 Roland McGrath <roland@hack.frob.com>
21382
21383 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21384
0695940b
RS
213852013-05-01 Richard Smith <richard@metafoo.co.uk>
21386
bb5f27ad 21387 [BZ #14952]
0695940b
RS
21388 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21389 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21390 Use __attribute__ ((__gnu_inline__)).
21391 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21392 Don't use __attribute__ ((__gnu_inline__)).
21393
10de07f5
JM
213942013-05-01 Joseph Myers <joseph@codesourcery.com>
21395
21396 [BZ #15423]
21397 * math/s_catan.c (__catan): Handle small real or imaginary part of
21398 input specially to avoid spurious underflow.
21399 * math/s_catanf.c (__catanf): Likewise.
21400 * math/s_catanh.c (__catanh): Likewise.
21401 * math/s_catanhf.c (__catanhf): Likewise.
21402 * math/s_catanhl.c (__catanhl): Likewise.
21403 * math/s_catanl.c (__catanl): Likewise.
21404 * math/libm-test.inc (catan_test): Add more tests.
21405 (catanh_test): Likewise.
21406 * sysdeps/i386/fpu/libm-test-ulps: Update.
21407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21408
cb4d5414
AZ
214092013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21410
21411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21412
caf84319
JM
214132013-04-30 Joseph Myers <joseph@codesourcery.com>
21414
21415 [BZ #15416]
21416 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21417 accurately for denominator in atan2.
21418 * math/s_catanf.c (__catanf): Likewise.
21419 * math/s_catanh.c (__catanh): Likewise.
21420 * math/s_catanhf.c (__catanhf): Likewise.
21421 * math/s_catanhl.c (__catanhl): Likewise.
21422 * math/s_catanl.c (__catanl): Likewise.
21423 * math/libm-test.inc (catan_test): Add more tests.
21424 (catanh_test): Likewise.
21425 * sysdeps/i386/fpu/libm-test-ulps: Update.
21426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21427
d569c6ee
SP
214282013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21429
6dbe713d
SP
21430 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21431
f0ee064b
SP
21432 * benchtests/Makefile (bench): Remove slow benchmarks.
21433 * benchtests/atan-inputs: Add slow benchmark inputs.
21434 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21435 (BENCH_FUNC): Accept variant offset.
21436 (VARIANT): Define.
21437 * benchtests/bench-skeleton.c (main): Run benchmark for each
21438 variant.
21439 * benchtests/cos-inputs: Add slow benchmark inputs.
21440 * benchtests/exp-inputs: Likewise.
21441 * benchtests/pow-inputs: Likewise.
21442 * benchtests/sin-inputs: Likewise.
21443 * benchtests/slowatan-inputs: Remove.
21444 * benchtests/slowatan.c: Remove.
21445 * benchtests/slowcos-inputs: Remove.
21446 * benchtests/slowcos.c: Remove.
21447 * benchtests/slowexp-inputs: Remove.
21448 * benchtests/slowexp.c: Remove.
21449 * benchtests/slowpow-inputs: Remove.
21450 * benchtests/slowpow.c: Remove.
21451 * benchtests/slowsin-inputs: Remove.
21452 * benchtests/slowsin.c: Remove.
21453 * benchtests/slowtan-inputs: Remove.
21454 * benchtests/slowtan.c: Remove.
21455 * benchtests/tan-inputs: Add slow benchmark inputs.
21456 * scripts/bench.pl: Parse comments and directives.
21457
d569c6ee
SP
21458 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21459 in CPPFLAGS.
21460 ($(objpfx)bench-%.c): Remove *-ITER.
21461 * benchtests/bench-modf.c: Remove definition of ITER.
21462 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21463 (main): Loop for DURATION seconds instead of fixed number of
21464 iterations.
21465 * scripts/bench.pl: Don't expect iterations in parameters.
21466
a6a242fe
RM
214672013-04-29 Roland McGrath <roland@hack.frob.com>
21468
21469 * io/fchdir.c (__fchdir): Renamed from fchdir.
21470 (fchdir): Define as weak alias.
21471
f2da7793
JM
214722013-04-29 Joseph Myers <joseph@codesourcery.com>
21473
21474 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21475 (ERRNO_EDOM): Likewise.
21476 (ERRNO_ERANGE): Likewise.
21477 (noErrnoTests): New variable.
21478 (init_max_error): Set errno to 0.
21479 (test_single_errno): New function.
21480 (test_errno): Likewise.
21481 (check_float_internal): Call test_errno. Set errno to 0.
21482 (check_complex): Refer to errno tests in comment.
21483 (check_int): Call test_errno. Set errno to 0.
21484 (check_long): Likewise.
21485 (check_bool): Likewise.
21486 (check_longlong): Likewise.
21487 (cos_test): Use ERRNO_* flags for errno tests instead of
21488 check_int.
21489 (expm1_test): Likewise.
21490 (fmod_test): Likewise.
21491 (ilogb_test): Likewise.
21492 (lgamma_test): Likewise.
21493 (pow_test): Likewise.
21494 (remainder_test): Likewise.
21495 (sin_test): Likewise.
21496 (tan_test): Likewise.
21497 (yn_test): Likewise.
21498 (initialize): Set errno to 0.
21499 (main): Print number of errno tests.
21500 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21501
b1a36ceb
AJ
215022013-04-29 Andreas Jaeger <aj@suse.de>
21503
c3ed8088
AJ
21504 [BZ #15084]
21505 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21506 and RES_USEVC.
21507
f1a24198
AJ
21508 [BZ #15085]
21509 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21510 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21511 unimplemented.
21512
9ce3b2cb
AJ
21513 [BZ #15380]
21514 * stdlib/random.c (__initstate): Return NULL if
21515 __initstate fails.
21516
f1a24198 21517 [BZ #15086]
b1a36ceb
AJ
21518 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21519 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21520 RES_SNGLKUPREOP.
21521
7e7b6f36
AZ
215222013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21523
21524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21525
4d14f449
JM
215262013-04-29 Joseph Myers <joseph@codesourcery.com>
21527
21528 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21529 of individual tests.
21530 (casin_test): Likewise.
21531 (casinh_test): Likewise.
21532
5b4217d7
JM
215332013-04-27 Joseph Myers <joseph@codesourcery.com>
21534
21535 [BZ #15409]
21536 * math/s_catan.c (__catan): Handle arguments with large real or
21537 imaginary part separately without squaring.
21538 * math/s_catanf.c (__catanf): Likewise.
21539 * math/s_catanh.c (__catanh): Likewise.
21540 * math/s_catanhf.c (__catanhf): Likewise.
21541 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21542 and redefine.
21543 (__catanhl): Handle arguments with large real or imaginary part
21544 separately without squaring.
21545 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21546 and redefine.
21547 (__catanl): Handle arguments with large real or imaginary part
21548 separately without squaring.
21549 * math/libm-test.inc (catan_test): Add more tests.
21550 (catanh_test): Likewise.
21551 * sysdeps/i386/fpu/libm-test-ulps: Update.
21552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21553
4220c3ef
AJ
215542013-04-27 Andreas Jaeger <aj@suse.de>
21555
21556 [BZ #15007]
21557 * stdlib/stdlib.h: Update guards for qecvt.
21558 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21559 <stdlib.h>.
21560
4721b2d1
AM
215612013-04-27 Allan McRae <allan@archlinux.org>
21562
21563 * sysdeps/i386/fpu/libm-test-ulps: Update.
21564
f0302940
JM
215652013-04-26 Joseph Myers <joseph@codesourcery.com>
21566
9457fd95
JM
21567 [BZ #15406]
21568 * math/s_catan.c: Include <float.h>.
21569 (__catan): Ensure underflow exception occurs for underflowed
21570 result.
21571 * math/s_catanf.c: Include <float.h>.
21572 (__catanf): Ensure underflow exception occurs for underflowed
21573 result.
21574 * math/s_catanh.c: Include <float.h>.
21575 (__catanh): Ensure underflow exception occurs for underflowed
21576 result.
21577 * math/s_catanhf.c: Include <float.h>.
21578 (__catanhf): Ensure underflow exception occurs for underflowed
21579 result.
21580 * math/s_catanhl.c: Include <float.h>.
21581 (__catanhl): Ensure underflow exception occurs for underflowed
21582 result.
21583 * math/s_catanl.c: Include <float.h>.
21584 (__catanl): Ensure underflow exception occurs for underflowed
21585 result.
21586 * math/libm-test.inc (catan_test): Add more tests.
21587 (catanh_test): Likewise.
21588
f0302940
JM
21589 [BZ #15405]
21590 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21591 underflowed result.
21592 * math/s_ccoshf.c (__ccoshf): Likewise.
21593 * math/s_ccoshl.c (__ccoshl): Likewise.
21594 * math/s_csin.c (__csin): Likewise.
21595 * math/s_csinf.c (__csinf): Likewise.
21596 * math/s_csinh.c (__csinh): Likewise.
21597 * math/s_csinhf.c (__csinhf): Likewise.
21598 * math/s_csinhl.c (__csinhl): Likewise.
21599 * math/s_csinl.c (__csinl): Likewise.
21600 * math/libm-test.inc (ccos_test): Add more tests.
21601 (ccosh_test): Likewise.
21602 (csin_test): Likewise.
21603 (csinh_test): Likewise.
21604
aa630f59
AZ
216052013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21606
21607 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21608 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21609 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21610 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21611 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21612 powerpc/power5+/fpu folders.
21613 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21614
21615
1b835983
MT
216162013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21617
21618 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21619
73709b26
JM
216202013-04-25 Joseph Myers <joseph@codesourcery.com>
21621
21622 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21623 additions to variable.
21624 [$(config-machine) = x86_64] (modules-names): Likewise.
21625 ($(objpfx)tst-audit3): Remove dependency.
21626 ($(objpfx)tst-audit3.out): Likewise.
21627 ($(objpfx)tst-audit4): Likewise.
21628 ($(objpfx)tst-audit4.out): Likewise.
21629 ($(objpfx)tst-audit5): Likewise.
21630 ($(objpfx)tst-audit5.out): Likewise.
21631 ($(objpfx)tst-audit6): Likewise.
21632 ($(objpfx)tst-audit6.out): Likewise.
21633 ($(objpfx)tst-audit7): Likewise.
21634 ($(objpfx)tst-audit7.out): Likewise.
21635 (tst-audit3-ENV): Remove variable.
21636 (tst-audit4-ENV): Likewise.
21637 (tst-audit5-ENV): Likewise.
21638 (tst-audit6-ENV): Likewise.
21639 (tst-audit7-ENV): Likewise.
21640 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21641 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21642 addition to variable.
21643 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21644 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21645 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21646 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21647 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21648 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21649 tst-audit3, tst-audit4 and tst-audit5.
21650 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21651 tst-audit6 and tst-audit7.
21652 [$(subdir) = elf] (modules-names): Add audit modules for those
21653 tests.
21654 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21655 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21656 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21657 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21658 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21659 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21660 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21661 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21662 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21663 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21664 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21665 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21666 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21667 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21668 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21669 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21670 Likewise.
21671 [$(subdir) = elf && $(config-cflags-avx) = yes]
21672 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21673 [$(subdir) = elf && $(config-cflags-avx) = yes]
21674 (CFLAGS-tst-auditmod4a.c): Likewise.
21675 [$(subdir) = elf && $(config-cflags-avx) = yes]
21676 (CFLAGS-tst-auditmod4b.c): Likewise.
21677 [$(subdir) = elf && $(config-cflags-avx) = yes]
21678 (CFLAGS-tst-auditmod6b.c): Likewise.
21679 [$(subdir) = elf && $(config-cflags-avx) = yes]
21680 (CFLAGS-tst-auditmod6c.c): Likewise.
21681 [$(subdir) = elf && $(config-cflags-avx) = yes]
21682 (CFLAGS-tst-auditmod7b.c): Likewise.
21683 * elf/tst-audit3.c: Move to ...
21684 * sysdeps/x86_64/tst-audit3.c: ... here.
21685 * elf/tst-audit4.c: Move to ...
21686 * sysdeps/x86_64/tst-audit4.c: ... here.
21687 * elf/tst-audit5.c: Move to ...
21688 * sysdeps/x86_64/tst-audit5.c: ... here.
21689 * elf/tst-audit6.c: Move to ...
21690 * sysdeps/x86_64/tst-audit6.c: ... here.
21691 * elf/tst-audit7.c: Move to ...
21692 * sysdeps/x86_64/tst-audit7.c: ... here.
21693 * elf/tst-auditmod3a.c: Move to ...
21694 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21695 * elf/tst-auditmod3b.c: Move to ...
21696 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21697 * elf/tst-auditmod4a.c: Move to ...
21698 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21699 * elf/tst-auditmod4b.c: Move to ...
21700 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21701 * elf/tst-auditmod5a.c: Move to ...
21702 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21703 * elf/tst-auditmod5b.c: Move to ...
21704 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21705 * elf/tst-auditmod6a.c: Move to ...
21706 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21707 * elf/tst-auditmod6b.c: Move to ...
21708 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21709 * elf/tst-auditmod6c.c: Move to ...
21710 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21711 * elf/tst-auditmod7a.c: Move to ...
21712 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21713 * elf/tst-auditmod7b.c: Move to ...
21714 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21715
1ef74943
PP
217162013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21717
21718 [BZ #15366]
21719 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21720 define unconditionally.
21721 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21722 define unconditionally.
21723 (INT8_C, INT16_C, etc.): Likewise.
21724
93fd48c5
MR
217252013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21726
ae9552cf
MR
21727 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21728 __ehdr_start with hidden visibility.
21729
93fd48c5
MR
21730 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21731
418601aa
CD
217322013-04-24 Carlos O'Donell <carlos@redhat.com>
21733
21734 * math/libm-test.inc (cos_test): Use accurate hex constants.
21735 (sincost_test): Likewise.
21736
2f38fbfe
JM
217372013-04-24 Joseph Myers <joseph@codesourcery.com>
21738
5e221800
JM
21739 * math/libm-test.inc (catan_test): Add more tests.
21740 (catanh_test): Likewise.
21741
77f143fd
JM
21742 * math/s_catanf.c (__catanf): Use suffixed floating-point
21743 constants.
21744 * math/s_catanhf.c (__catanhf): Likewise.
21745 * math/s_catanhl.c (__catanhl): Likewise.
21746 * math/s_catanl.c (__catanl): Likewise.
21747
2f38fbfe
JM
21748 [BZ #15394]
21749 * math/s_catan.c (__catan): Calculate imaginary part of result
21750 with log1p not log unless computing log of number close to 0.
21751 * math/s_catanf.c (__catanf): Likewise.
21752 * math/s_catanl.c (__catanl): Likewise.
21753 * math/s_catanh.c (__catanh): Calculate real part of result with
21754 log1p not log unless computing log of number close to 0.
21755 * math/s_catanhf.c (__catanhf): Likewise.
21756 * math/s_catanhl.c (__catanhl): Likewise.
21757 * math/libm-test.inc (catan_test): Add more tests.
21758 (catanh_test): Likewise.
21759 * sysdeps/i386/fpu/libm-test-ulps: Update.
21760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21761
45d69176
SP
217622013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21763
21764 * benchtests/Makefile: Mention files in which fast and slow
21765 paths of math functions are implemented.
21766
87f51853
RM
217672013-04-23 Roland McGrath <roland@hack.frob.com>
21768
21769 * sysdeps/posix/timespec_get.c: New file.
21770
3c026539
AZ
217712013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21772
21773 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21774 POWER.
21775 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21776 for POWER.
21777 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21778 powerpc/power5/fpu folders.
21779 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21780 * benchtests/Makefile: Add modf testcase.
21781 * benchtests/bench-modf.c: New file: Benchmark test for mo
21782
ff491d14
SP
217832013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21784
21785 [BZ #14888]
21786 * time/Makefile (tests): Add tst-strptime-whitespace.
21787 * time/strptime_l.c (get_number): Use ISSPACE.
21788 (__strptime_internal): Likewise.
21789 * time/tst-strptime-whitespace.c: New test case.
21790
7ed3f4e8
AS
217912013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21792
21793 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21794 member.
21795 (_nss_files_init): Set it here.
21796
5c95f7b6
HC
217972013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21798
21799 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21800 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21801 unsigned.
21802
d34c9158
JBG
218032013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21804
21805 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21806
2169712d
SP
218072013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21808
21809 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21810 size just once.
21811
29c5de99
DM
218122013-04-21 David S. Miller <davem@davemloft.net>
21813
21814 * po/ru.po: Update Russion translation from translation project.
21815
ccdad15d
AC
218162013-04-17 Adam Conrad <adconrad@0c3.net>
21817
21818 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21819 and setfsgid.
21820
0f122b8d
CD
218212013-04-17 Carlos O'Donell <carlos@redhat.com>
21822
5c5b07da 21823 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 21824 * configure: Regenerate.
5c5b07da 21825 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
21826 Add example to error message.
21827 * sysdeps/i386/configure: Regenerate.
21828
037714dd
SP
218292013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21830
21831 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21832 slowtan.
21833 * benchtests/cos-inputs: New file.
21834 * benchtests/slowcos-inputs: New file.
21835 * benchtests/slowcos.c: New file.
21836 * benchtests/slowtan-inputs: New file.
21837 * benchtests/slowtan.c: New file.
21838 * benchtests/tan-inputs: New file.
21839
e913141d
RM
218402013-04-16 Roland McGrath <roland@hack.frob.com>
21841
21842 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21843 considered kosher.
21844
a2964074
SP
218452013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21846
4856bcd2
SP
21847 * benchtests/Makefile: Include cppflags-iterator.mk to add
21848 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21849
a2964074
SP
21850 * Makefile.in (bench-clean): New target.
21851 * benchtests/Makefile (bench-clean): Likewise.
21852
9fbf9aca
DH
218532013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21854
21855 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21856
207d1e2a
TS
218572013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21858
21859 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21860
306dfba9
AS
218612013-04-15 Andreas Schwab <schwab@suse.de>
21862
21863 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21864 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21865 * nscd/pwdcache.c (cache_addpw): Likewise.
21866 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21867 more than recsize.
21868
206a6699
SP
218692013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21870
21871 * benchtests/Makefile (bench): Write all output to
21872 bench-out.tmp together.
21873
0582f6b3
AS
218742013-04-15 Andreas Schwab <schwab@suse.de>
21875
21876 * nscd/nscd.c (main): Don't fork again after closing files.
21877
acb4325f
SP
218782013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21879
5cb26d0a
SP
21880 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21881
acb4325f
SP
21882 * benchtests/Rules (bench-deps): Collect dependencies into a
21883 single variable. Add Makefile to dependencies.
21884 ($(objpfx)bench-%.c): Depend on bench-deps.
21885
47792506
RM
218862013-04-12 Roland McGrath <roland@hack.frob.com>
21887 Xavier Roche <roche+kml2@exalead.com>
21888
21889 [BZ #15361]
21890 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21891 just that it's a file descriptor.
21892 * manual/llio.texi (Synchronizing AIO Operations): Update description
21893 for EBADF error from aio_fsync.
21894
8fc1bee5
SP
218952013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21896
21897 * Rules (bench): Move target definition...
21898 * benchtests/Makefile: ... here.
21899
aba5e333
CD
219002013-04-11 Carlos O'Donell <carlos@redhat.com>
21901
21902 * math/libm-test.inc (cos_test): Fix PI/2 test.
21903 (sincos_test): Likewise.
21904 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21905 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21906
273cdee8
AS
219072013-04-11 Andreas Schwab <schwab@suse.de>
21908
6ecec3b6
AS
21909 [BZ #13988]
21910 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21911 accept exponent character only when digits were seen.
21912 * stdio-common/Makefile (tests): Add bug26.
21913 * stdio-common/bug26.c: New file.
21914
273cdee8
AS
21915 [BZ #14293]
21916 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21917 non-freeable.
21918
8da491f5
SP
219192013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21920
01dc6df9
SP
21921 * Makeconfig (rtld-prefix): Define built linker prefix.
21922 * Rules (run-bench): Use it.
21923 * math/Makefile (run-regen-ulps): Likewise.
21924
8da491f5
SP
21925 * Rules (bench): Remove eval.
21926
abe7f530
SP
219272013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21928 Roland McGrath <roland@hack.frob.com>
21929 Ondrej Bilka <neleai@seznam.cz>
21930
21931 [BZ #15346]
21932 * time/getdate.c: Include ctype.h and alloca.h.
21933 (__getdate_r): Trim leading and trailing spaces of input.
21934 * time/tst-getdate.c (tests): Add tests with leading and
21935 trailing spaces.
21936
61c23e62
RM
219372013-04-08 Roland McGrath <roland@hack.frob.com>
21938
21939 [BZ #14280]
21940 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21941 when computing value.
21942
7208a313
CD
219432013-04-06 Carlos O'Donell <carlos@redhat.com>
21944
085b2d41
CD
21945 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21946 Use testrun.sh to run libm tests.
21947
7208a313
CD
21948 [BZ #15309]
21949 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21950
872c0acd
MM
219512013-04-06 Marko Myllynen <myllynen@redhat.com>
21952
21953 [BZ #15264]
21954 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21955
26510bdd
CD
219562013-04-06 Carlos O'Donell <carlos@redhat.com>
21957
21958 * Makefile.in (regen-ulps): New target.
21959 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21960 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21961 [ifneq (no,$(PERL)] (regen-ulps): New target.
21962 [ifeq (no,$(PERL)] (regen-ulps): New target.
21963 * math/libm-test.inc (ulps_file_name): Define.
21964 (output_dir): New variable.
21965 (options): Add "output-dir" option.
21966 (parse_opt): Handle 'o' case.
21967 (main): If output_dir is non-NULL use it as a prefix
21968 otherwise use "".
21969 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21970
a01f19c8
CD
219712013-04-06 Carlos O'Donell <carlos@redhat.com>
21972
21973 [BZ #10060, #10062]
21974 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21975 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21976 fail configure if __sync_val_compare_and_swap is not inlined.
21977 * sysdeps/i386/configure: Regenerate.
21978 * configure.in: Build for i686 when configured for i386.
21979 * configure: Regenerate.
21980 * README: Remove i386 reference.
21981
b7a329a5
CD
219822013-04-06 Carlos O'Donell <carlos@redhat.com>
21983
21984 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21985 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21986
bf0f50df
TS
219872013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21988
ee091edf
TS
21989 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21990 (lmsnanval): New variables.
21991 (F): Add conversion tests.
21992 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21993 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21994
a8b792d6
TS
21995 * stdio-common/tstdiomisc.c (F): Properly collect individual
21996 tests' results.
21997
a1cbf437
TS
21998 [BZ #14686, #15336]
21999 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22000 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22001 Instead, use input NaN values or generate a qNaN by arithmetic
22002 operation. Also fix bugs to comply with the standard.
22003 * math/libm-test.inc (remainder_test): Add more tests.
22004
8b43a0c9
TS
22005 [BZ #15335, #15342]
22006 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22007 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22008 input NaN values or generate a qNaN by arithmetic operation.
22009
d91da4ce
TS
22010 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22011 unreachable code.
22012
bf0f50df
TS
22013 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22014 definitions.
22015
05e166c8
JM
220162013-04-03 Joseph Myers <joseph@codesourcery.com>
22017
22018 [BZ #14478]
22019 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22020 underflowed result.
22021 * math/s_cexpf.c (__cexpf): Likewise.
22022 * math/s_cexpl.c (__cexpl): Likewise.
22023 * math/libm-test.inc (cexp_test): Add more tests.
22024
1cef1b19
AS
220252013-04-03 Andreas Schwab <schwab@suse.de>
22026
22027 [BZ #15330]
22028 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22029 order arrays from heap if bigger than alloca cutoff.
22030
74d87055
TS
220312013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22032
22033 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22034 (SNAN_TESTS_double): Refer to GCC PR56831.
22035 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22036 GCC PR56828.
22037
d755bba4
SP
220382013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22039
90d5d5bb
SP
22040 * Rules (bench): Move bench.out after the run is complete.
22041
73e0cd5d
SP
22042 * Rules (bench): Echo currently running benchmark.
22043
64aabd4b
SP
22044 * benchtests/Makefile (bench): Add atan and slowatan.
22045 * benchtests/atan-inputs: New file.
22046 * benchtests/slowatan-inputs: New file.
22047 * benchtests/slowatan.c: New file.
22048
c871eccd
SP
22049 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22050 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22051 its value.
22052
d755bba4
SP
22053 [BZ #15305]
22054 * sysdeps/unix/sysv/linux/kernel-features.h
22055 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22056 __ASSUME_XFS_RESTRICTED_CHOWN.
22057 * sysdeps/unix/sysv/linux/pathconf.c
22058 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22059 Save and restore errno.
22060
52ce4860
JM
220612013-04-02 Joseph Myers <joseph@codesourcery.com>
22062
22063 [BZ #15327]
22064 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22065 arguments using __kernel_casinh.
22066 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22067 arguments using __kernel_casinhf.
22068 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22069 arguments using __kernel_casinhl.
22070 * math/libm-test.inc (cacosh_test): Add more tests.
22071 * sysdeps/i386/fpu/libm-test-ulps: Update.
22072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22073
81f311c2
SP
220742013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22075
e7906a47
SP
22076 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22077 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22078
92e3664b
SP
22079 * bench/Makefile (bench): Add sin and slowsin.
22080 * benchtests/sin-inputs: New file.
22081 * benchtests/slowsin-inputs: New file.
22082 * benchtests/slowsin.c: New file.
22083
81f311c2
SP
22084 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22085 (bench): Add slowexp and slowpow.
22086 (exp-ITER): Increase iterations.
22087 (pow-ITER): Likewise.
22088 * benchtests/exp-inputs: Change input.
22089 * benchtests/pow-inputs: Likewise.
22090 * benchtests/slowexp-inputs: New file.
22091 * benchtests/slowexp.c: New file.
22092 * benchtests/slowpow-inputs: New file.
22093 * benchtests/slowpow.c: New file.
22094
ab0f1aa9
AZ
220952013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22096
22097 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22098 instructions.
22099 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22100 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22101 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22102 * benchtests/Makefile: Add rint benchtest.
22103 * benchtests/rint-inputs: Input for rint benchtest.
22104
57267616
TS
221052013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22106
22107 * Versions.def (libm): Add GLIBC_2.18.
22108 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22109 hidden libm prototypes.
22110 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22111 * math/Makefile (libm-calls): Add s_issignaling.
22112 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22113 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22114 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22115 declaration.
22116 * math/math.h [__USE_GNU] (issignaling): New macro.
22117 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22118 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22119 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22120 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22121 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22122 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22123 * manual/arith.texi (issignaling): New section.
22124 * manual/libm-err-tab.pl (@all_functions): Update comment.
22125 * math/gen-libm-test.pl (parse_args): Apply special handling for
22126 issignaling.
22127 * math/libm-test.inc (print_float, issignaling_test): New
22128 functions.
22129 (check_float_internal): Add issignaling checks.
22130 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22131 default definition.
22132 * sysdeps/powerpc/math-tests.h: New file.
22133 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22134 tests.
22135 * math/test-snan.c (TEST_FUNC): Likewise.
22136
6142896d
DM
221372013-03-30 David S. Miller <davem@davemloft.net>
22138
22139 * po/de.po: Update from translation team.
22140
ccc8cadf
JM
221412013-03-30 Joseph Myers <joseph@codesourcery.com>
22142
22143 [BZ #10357]
22144 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22145 imaginary part less than 1.0 and real part less than 0.5
22146 specially.
22147 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22148 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22149 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22150 (cacos_test): Add more tests.
22151 (casin_test): Likewise.
22152 (casinh_test): Likewise.
22153 * sysdeps/i386/fpu/libm-test-ulps: Update.
22154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22155
0f6a8d4b
SP
221562013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22157
0d1029de
SP
22158 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22159 ONE with its value.
22160
c2d94018
SP
22161 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22162 (__pow_mp): Replace ONE and MONE with their values.
22163 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22164 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22165 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22166 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22167 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22168 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22169
27ec37f1
SP
22170 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22171
a64d7e0e
SP
22172 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22173 (__pow_mp): Replace ZERO and MZERO with their values.
22174 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22175 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22176 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22177 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22178 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22179 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22180 (__sqr): Likewise.
22181
d26dd3eb
SP
22182 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22183
0f6a8d4b
SP
22184 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22185
e57b0c61
RM
221862013-03-28 Roland McGrath <roland@hack.frob.com>
22187
22188 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22189 Declare with __attribute__ ((weak)).
22190 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22191 Call __call_tls_dtors only if it's not NULL.
22192
356b3480
RM
221932013-03-28 Roland McGrath <roland@hack.frob.com>
22194
288f7d79
RM
22195 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22196 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22197 magic __ehdr_start linker symbol if it's defined.
22198 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22199 them up here if it was already done.
22200
dc0a0263
RM
22201 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22202 (_dl_aux_init): Use const in cast when setting it.
22203 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22204 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22205 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22206
3d3436ae
RM
22207 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22208 Declare them here.
22209 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22210 * csu/libc-tls.c: Nor here.
22211 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22212
356b3480
RM
22213 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22214 (__libc_message): Never call vsyslog.
22215
b0f1246a
AM
222162013-03-28 Alan Modra <amodra@gmail.com>
22217
22218 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22219 Define as empty.
22220 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22221 Likewise.
22222
fbbe2b9a
AZ
222232013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22224
22225 [BZ #15214]
22226 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22227 underflow.
22228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22229
1728ab37
SP
222302013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22231
7a86be6e
SP
22232 [BZ #15304]
22233 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22234 Don't add gid passed as argument.
22235
1728ab37
SP
22236 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22237
3a7182a1
JM
222382013-03-27 Joseph Myers <joseph@codesourcery.com>
22239
22240 [BZ #15307]
22241 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22242 imaginary part between 1.0 and 1.5 and real part less than 0.5
22243 specially.
22244 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22245 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22246 * math/libm-test.inc (cacos_test): Add more tests.
22247 (casin_test): Likewise.
22248 (casinh_test): Likewise.
22249 * sysdeps/i386/fpu/libm-test-ulps: Update.
22250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22251
6f2e90e7
SP
222522013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22253
5739f705
SP
22254 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22255 constants.
22256 (norm): Likewise.
22257 (denorm): Likewise.
22258 (__dbl_mp): Likewise.
22259 (add_magnitudes): Likewise.
22260 (sub_magnitudes): Likewise.
22261 (__add): Likewise.
22262 (__sub): Likewise.
22263 (__mul): Likewise.
22264 (__sqr): Likewise.
22265 (__inv): Likewise.
22266 (__dvd): Likewise.
22267
e375e83d
SP
22268 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22269 commented code.
22270 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22271 (__dubcos): Likewise.
22272 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22273 (__ieee754_acos): Likewise.
22274 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22275 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22276 (__exp1): Likewise.
22277 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22278 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22279 (log1): Likewise.
22280 (my_log2): Likewise.
22281 (checkint): Likewise.
22282 * sysdeps/ieee754/dbl-64/e_remainder.c
22283 (__ieee754_remainder): Likewise.
22284 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22285 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22286 (bsloww): Likewise.
22287 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22288
6f2e90e7
SP
22289 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22290 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22291 MANTISSA_STORE_T to store computations on mantissa. Use
22292 macros for rounding and division.
22293 (denorm): Likewise.
22294 (__dbl_mp): Likewise.
22295 (add_magnitudes): Likewise.
22296 (sub_magnitudes): Likewise.
22297 (__mul): Likewise.
22298 (__sqr): Likewise.
22299 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22300 powers of two in terms of TWOPOW macro.
22301 (mp_no): Make type of mantissa as MANTISSA_T.
22302 [!RADIXI]: Define RADIXI.
22303 [!TWO52]: Define TWO52.
22304 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22305
fce14d4e
AZ
223062013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22307
22308 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22309 llroundl symbol when building for PPC32.
22310
9ad027fb
MW
223112013-03-24 Mark H Weaver <mhw@netris.org>
22312
22313 * manual/arith.texi (Normalization Functions): Fix prototypes for
22314 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22315
e42a38dd
AZ
223162013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22317
22318 [BZ #13889]
22319 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22320 high value to check if expl overflow.
22321 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22322 to check for underflow and overflow.
22323 * math/libm-test.inc: Add exp test.
22324
2e0fb521
DL
223252013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22326
22327 [BZ #11120]
22328 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22329 with NOT_IN_libc.
22330
b5784d95
AZ
223312013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22332
22333 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22334 symbol.
22335
5aa4a1a1
TS
223362013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22337
bdef0be7
TS
22338 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22339 wrap blocks consisting of several statements.
22340
5aa4a1a1
TS
22341 * sysdeps/generic/math-tests.h: New file.
22342 * sysdeps/i386/fpu/math-tests.h: Likewise.
22343 * math/test-snan.c: Include it.
22344 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22345
98c48fe5
JM
223462013-03-21 Joseph Myers <joseph@codesourcery.com>
22347
22348 [BZ #15285]
22349 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22350 (__ieee754_j0l): Do not improve calculations using cos of twice
22351 input for inputs above LDBL_MAX / 2.0L.
22352 (__ieee754_y0l): Likewise.
22353 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22354 (__ieee754_j1l): Do not improve calculations using cos of twice
22355 input for inputs above LDBL_MAX / 2.0L.
22356 (__ieee754_y1l): Likewise.
22357 * math/libm-test.inc (j0_test): Add another test.
22358 (j1_test): Likewise.
22359 (y0_test): Likewise.
22360 (y1_test): Likewise.
22361 * sysdeps/i386/fpu/libm-test-ulps: Update.
22362
3775a8bc
SP
223632013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22364
22365 * Rules ($(objpfx)bench-%.c): Include code from a C source
22366 file.
22367
0a1b2ae6
JM
223682013-03-21 Joseph Myers <joseph@codesourcery.com>
22369
22370 [BZ #15287]
22371 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22372 imaginary part 1.0 and real part less than 0.5 specially.
22373 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22374 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22375 * math/libm-test.inc (cacos_test): Add more tests.
22376 (casin_test): Likewise.
22377 (casinh_test): Likewise.
22378 * sysdeps/i386/fpu/libm-test-ulps: Update.
22379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22380
b33d4ce4
SP
223812013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22382
22383 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22384 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22385
bef0b507
JM
223862013-03-20 Joseph Myers <joseph@codesourcery.com>
22387
22388 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22389 * config.make.in (config-cflags-sse4): Remove variable.
22390 (config-cflags-avx): Likewise.
22391 (config-cflags-sse2avx): Likewise.
22392 (config-cflags-novzeroupper): Likewise.
22393 (config-asflags-i686): Likewise.
22394 (have-mfma4): Likewise.
22395 (have-as-vis3): Likewise.
22396 (MIG): Likewise.
22397 * configure.in (MIG): Do not AC_SUBST.
22398 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22399 (libc_cv_cc_sse4): Do not AC_SUBST.
22400 (libc_cv_cc_avx): Likewise.
22401 (libc_cv_cc_sse2avx): Likewise.
22402 (libc_cv_cc_novzeroupper): Likewise.
22403 (libc_cv_cc_fma4): Likewise.
22404 (libc_cv_as_i686): Likewise.
22405 (libc_cv_sparc_as_vis3): Likewise.
22406 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22407 LIBC_CONFIG_VAR.
22408 (config-asflags-i686): Likewise.
22409 (config-cflags-avx): Likewise.
22410 (config-cflags-sse2avx): Likewise.
22411 (have-mfma4): Likewise.
22412 (config-cflags-novzeroupper): Likewise.
22413 * sysdeps/mach/configure.in (MIG): Likewise.
22414 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22415 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22416 LIBC_CONFIG_VAR.
22417 (config-cflags-avx): Likewise.
22418 (config-cflags-sse2avx): Likewise.
22419 (have-mfma4): Likewise.
22420 (config-cflags-novzeroupper): Likewise.
22421 * configure: Regenerated.
22422 * sysdeps/i386/configure: Likewise.
22423 * sysdeps/mach/configure: Likewise.
22424 * sysdeps/sparc/configure: Likewise.
22425 * sysdeps/x86_64/configure: Likewise.
22426
912cc4b3
RM
224272013-03-20 Roland McGrath <roland@hack.frob.com>
22428
22429 [BZ #14812]
22430 * locale/programs/localedef.c (options): Put N_ translation marker
22431 on argument names, not just descriptions.
22432
04eed2b0
MS
224332013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22434
22435 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22436
a065ceff
OB
224372013-03-20 Ondřej Bílka <neleai@seznam.cz>
22438
9bb2a810 22439 [BZ #14176]
a065ceff
OB
22440 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22441
a600e5ce
RM
224422013-03-19 Roland McGrath <roland@hack.frob.com>
22443
22444 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22445 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22446 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22447 [!BEFORE_ABORT] (before_abort): New function.
22448 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22449 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22450 (writev_for_fatal): New function.
22451 (WRITEV_FOR_FATAL): New macro; call that.
22452 (backtrace_and_maps): New function.
22453 (BEFORE_ABORT): New macro; call that.
22454 (struct str_list): Type removed.
22455 (__libc_message, __libc_fatal): Functions removed.
22456 Include <sysdeps/posix/libc_fatal.c> instead.
22457
6b18bea6
JM
224582013-03-19 Joseph Myers <joseph@codesourcery.com>
22459
22460 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22461 constants.
22462 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22463 double constants.
22464
aaa8cb4b
AS
224652013-03-19 Andreas Schwab <schwab@suse.de>
22466
44673770
AS
22467 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22468 * sysdeps/gnu/configure: Regenerate.
22469
aaa8cb4b
AS
22470 * configure.in: Substitute libc_cv_rtlddir.
22471 * configure: Regenerate.
22472 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22473 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22474 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22475 * elf/Makefile (install-others, CFLAGS-interp.c)
22476 (ldso_install, common-ldd-rewrite): Likewise.
22477 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22478 $(inst_slibdir)/$(rtld-installed-name).
22479 * scripts/rellns-sh: Add -p option.
22480 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22481 for source.
22482
d3cfc668
SP
224832013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22484
22485 * manual/nptl.texi: Renamed to ...
22486 * manual/threads.texi: ... this.
22487 * manual/Makefile (chapters): Update.
22488
0e2b9cdd
RM
224892013-03-18 Roland McGrath <roland@hack.frob.com>
22490
22491 [BZ #14812]
22492 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22493 on argument names, not just descriptions.
0e2b9cdd
RM
22494 * malloc/memusagestat.c (options): Likewise.
22495 * nss/getent.c (options): Likewise.
63270c24
RM
22496
224972013-03-18 Benno Schulenberg <bensberg@justemail.net>
22498
22499 [BZ #14812]
22500 * iconv/iconv_prog.c (options): Put N_ translation marker
22501 on argument names, not just descriptions.
22502 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 22503
b2e1393c
OB
225042013-03-18 Ondrej Bilka <neleai@seznam.cz>
22505
22506 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22507 implementation which is faster on all x86_64 architectures.
22508 Tested on AMD, Intel Nehalem, SNB, IVB.
22509 * sysdeps/x86_64/strnlen.S: Likewise.
22510
22511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22512 Remove all multiarch strlen and strnlen versions.
22513 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22514 Remove strlen and strnlen related parts.
22515
22516 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22517 Inline strlen part.
22518 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22519
22520 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22521 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22522 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22523 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22524 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22525 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22526
ec4ff04d
CD
225272013-03-17 Carlos O'Donell <carlos@redhat.com>
22528
22529 * manual/memory.texi (Malloc Tunable Parameters):
22530 Sort parameters alphabetically. Add comments for missing entries.
22531
cd18e90a
DM
225322013-03-17 David S. Miller <davem@davemloft.net>
22533
22534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22535
2a185d32
JM
225362013-03-16 Joseph Myers <joseph@codesourcery.com>
22537
d2f9799e
JM
22538 [BZ #15283]
22539 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22540 for arguments at most half maximum finite value.
22541 * math/libm-test.inc (j0_test): Add more tests.
22542 (j1_test): Likewise.
22543 (y0_test): Likewise.
22544 (y1_test): Likewise.
22545 * sysdeps/i386/fpu/libm-test-ulps: Update.
22546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22547
2a185d32
JM
22548 [BZ #14155]
22549 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22550 1 / x and functions P and Q for arguments above 0x1p256L.
22551 (__ieee754_y0l): Likewise.
22552 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22553 (__ieee754_y1l): Likewise.
22554 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22555 (j1_test): Likewise.
22556 (y0_test): Likewise.
22557 (y1_test): Likewise.
22558
6cbec759
TS
225592013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22560
22561 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22562 variable.
22563
bc16e260
RM
225642013-03-15 Roland McGrath <roland@hack.frob.com>
22565
aefc9b8c
RM
22566 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22567 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22568 zero since it's initialized to EXEC_PAGESIZE.
22569
bc16e260
RM
22570 * sysdeps/unix/sysv/linux/ldsodefs.h
22571 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22572 * sysdeps/generic/ldsodefs.h: ... here.
22573
a57da955
TS
225742013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22575
af00a34d
TS
22576 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22577
495ded2c
TS
22578 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22579 math/test-snan.c.
22580 * math/test-snan.c: Renamed from
22581 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22582 * math/Makefile (tests): Add test-snan.
22583 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22584 test-powerpc-snan.
22585
777b0332
TS
22586 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22587 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22588 functions.
22589 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22590 __builtin_nan family of functions.
22591 * math/libm-test.inc (initialize): Initialize qnan_value with
22592 __builtin_nan family of functions.
22593 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22594 Remove variables.
22595 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22596 Remove functions.
22597 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22598 storage class. Initialize qNaN_var and sNaN_var with
22599 __builtin_nan and __builtin_nans families of functions,
22600 respectively.
22601
64d063b8
TS
22602 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22603 (sqrt_test): Remove duplicate test with qNaN input.
22604 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22605 (round_test, signbit_test, significand_test): Note missing +/-Inf
22606 as well as qNaN tests.
22607
67e971f1
TS
22608 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22609 qNaN_var. Fix a few strings, too.
22610 * math/libm-test.inc (nan_value): Rename to qnan_value.
22611 * math/gen-libm-test.pl (%beautify): Adjust to that.
22612 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22613 * math/test-misc.c (main): Likewise.
22614 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22615 to __qnan_bytes, and __qnan_union, respectively.
22616 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22617 Likewise.
22618 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22619 and lqnanval, respectively.
22620 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22621 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22622 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22623 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22624
64487e12
TS
22625 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22626 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22627 doubles.
22628
e015e27b
TS
22629 * math/test-misc.c (main): Fix copy'n'pastos.
22630 * misc/tst-efgcvt.c (special): Likewise.
22631
a57da955
TS
22632 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22633 Remove declarations.
22634
1e380345
SP
226352013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22636
22637 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22638 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22639 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22640 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22641
ef26eece
AZ
226422013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22643
22644 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22645 macro to return vdso values correctly in IFUNC implementations.
22646 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22647 Optimization by using IFUNC.
22648
8cfdb7e0
SP
226492013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22650 Richard Henderson <rth@redhat.com>
22651 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22652
22653 * Makefile.in (bench): New target.
22654 * NEWS: Mention the benchmark framework.
22655 * Rules (bench): Likewise.
22656 (binaries-bench): Generate binaries for functions to
22657 benchmark.
22658 * benchtests/Makefile: New makefile for benchmark tests.
22659 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22660 programs.
22661 * benchtests/exp-inputs: New input file for EXP function.
22662 * benchtests/pow-inputs: New input file for POW function.
22663 * scripts/bench.pl: New script to generate source files for
22664 benchmark programs.
22665
bcda9880
SP
226662013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22667
d22ca8cd
SP
22668 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22669 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22670 computations on mantissa. Use macros for rounding and
22671 division.
22672 (denorm): Likewise.
22673 (__dbl_mp): Likewise.
22674 (add_magnitudes): Likewise.
22675 (sub_magnitudes): Likewise.
22676 (__mul): Likewise.
22677 (__sqr): Likewise.
22678 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22679 powers of two in terms of TWOPOW macro.
22680 (mp_no): Make type of mantissa as MANTISSA_T.
22681 [!RADIXI]: Define RADIXI.
22682 [!TWO52]: Define TWO52.
22683 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22684
bcda9880
SP
22685 * manual/nptl.texi (cindex): Modify threads to pthreads.
22686
06d5adfb
JM
226872013-03-15 Joseph Myers <joseph@codesourcery.com>
22688
22689 * sysdeps/x86_64/preconfigure: Regenerated.
22690
41c7328e
JM
226912013-03-14 Joseph Myers <joseph@codesourcery.com>
22692
22693 [BZ #14155]
22694 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22695 0x1p28 and above.
22696 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22697 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22698 0x1p28 and above.
22699 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22700 * math/libm-test.inc (j0_test): Do not allow one spurious
22701 underflow exception.
22702 (y1_test): Likewise.
22703
e25cfa60
SP
227042013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22705
0409959c
SP
22706 * manual/Makefile (chapters): Add nptl.
22707 * manual/debug.texi (Debugging Support): Add link to Threads
22708 chapter.
22709 * manual/nptl.texi: New file.
22710
e25cfa60
SP
22711 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22712
58a1335e
PB
227132013-03-14 Petr Baudis <pasky@ucw.cz>
22714
22715 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22716 for non-NULL pointer before the memory validity test. Pointed
22717 out by Holger Brunck <holger.brunck@keymile.com>.
22718
9dc7c64f
AS
227192013-03-13 Andreas Schwab <schwab@suse.de>
22720
22721 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22722 instead of .os.
22723
54206aa6
JM
227242013-03-13 Joseph Myers <joseph@codesourcery.com>
22725
22726 * timezone/zic.c: Update from tzcode 2013b.
22727
e98cdb38
CD
227282013-03-12 Carlos O'Donell <carlos@redhat.com>
22729
22730 * manual/install.texi (Configuring and compiling):
22731 Mention i686 and i586.
22732 * INSTALL: Regenerate.
22733
9967e003
RM
227342013-03-12 Roland McGrath <roland@hack.frob.com>
22735
22736 * sysdeps/init_array/elf-init.c: New file.
22737 * csu/elf-init.c
22738 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22739 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22740
22741 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22742 __gmon_start__ as global, but as static with a .preinit_array pointer.
22743 * sysdeps/init_array/gmon-start.c: New file. Use that.
22744 * sysdeps/init_array/crti.S: New file, empty except for comments.
22745 * sysdeps/init_array/crtn.S: Likewise.
22746
e6b5a293 227472013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
22748
22749 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22750 definining bcopy.
80f844c9
OB
22751 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22752 Remove Prefer_SSE_for_memop.
22753 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22754 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22755 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
22756 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22757 memset-x86-64.
80f844c9 22758 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 22759 Remove bzero, memset ifunc support.
80f844c9
OB
22760 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22761 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22762 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22763 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22764
fb6b0fcb
AS
227652013-03-11 Andreas Schwab <schwab@suse.de>
22766
22767 [BZ #15234]
22768 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22769 by SHLIB_COMPAT.
22770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22771 (GLIBC_2.16): Remove pthread_atfork.
22772
3e6bd4b1
PP
227732013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22774
22775 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22776 (ptestcases.h): Likewise.
22777
222d7f00
RM
227782013-03-08 Roland McGrath <roland@hack.frob.com>
22779
22780 * Makeconfig ($(common-objpfx)config.status): Depend on
22781 sysdeps/*/preconfigure{,.in} too.
22782
1ba4f030
JM
227832013-03-08 Joseph Myers <joseph@codesourcery.com>
22784
a222d91a
JM
22785 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22786 (__free_hook): Use void * instead of __malloc_ptr_t.
22787 (__malloc_hook): Likewise.
22788 (__realloc_hook): Likewise.
22789 (__memalign_hook): Likewise.
22790 (__after_morecore_hook): Likewise.
22791 * malloc/arena.c (save_malloc_hook): Likewise.
22792 (save_free_hook): Likewise.
22793 * malloc/hooks.c (malloc_hook_ini): Likewise.
22794 (realloc_hook_ini): Likewise.
22795 (memalign_hook_ini): Likewise.
22796 * malloc/malloc.c (malloc_hook_ini): Likewise.
22797 (realloc_hook_ini): Likewise.
22798 (memalign_hook_ini): Likewise.
22799 (__free_hook): Likewise.
22800 (__malloc_hook): Likewise.
22801 (__realloc_hook): Likewise.
22802 (__memalign_hook): Likewise.
22803 (__libc_malloc): Likewise.
22804 (__libc_free): Likewise.
22805 (__libc_realloc): Likewise.
22806 (__libc_memalign): Likewise.
22807 (__libc_valloc): Likewise.
22808 (__libc_pvalloc): Likewise.
22809 (__libc_calloc): Likewise.
22810 (__posix_memalign): Likewise.
22811 * malloc/morecore.c (__sbrk): Likewise.
22812 (__default_morecore): Likewise.
22813
5cc45e10
JM
22814 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22815
dd54b864
JM
22816 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22817 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22818 __malloc_ptrdiff_t.
22819
1ba4f030
JM
22820 * malloc/malloc.h (__malloc_size_t): Remove macro.
22821 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22822 __malloc_size_t.
22823 (old_memalign_hook): Likewise.
22824 (old_realloc_hook): Likewise.
22825 (struct hdr): Likewise.
22826 (flood): Likewise.
22827 (mallochook): Likewise.
22828 (memalignhook): Likewise.
22829 (reallochook): Likewise.
22830 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22831 (tr_old_realloc_hook): Likewise.
22832 (tr_old_memalign_hook): Likewise.
22833 (tr_mallochook): Likewise.
22834 (tr_reallochook): Likewise.
22835 (tr_memalignhook): Likewise.
22836
edf66e57
AZ
228372013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22838
22839 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22840 default_ldbl_pack and using as default implementation.
22841 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22842 implementation.
22843 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22844 redundant definition.
22845 (ldbl_insert_mantissa): Likewise.
22846 (ldbl_canonicalize): Likewise.
22847 (ldbl_nearbyint): Likewise.
22848 (ldbl_pack): Rename to ldbl_pack_ppc.
22849 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22850 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22851 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22852
6d9145d8
SP
228532013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22854
22855 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22856 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22857 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22858 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22860 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22861 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22862 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22863
4dd4e157
AJ
228642013-03-07 Andreas Jaeger <aj@suse.de>
22865
22866 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22867 bits/mman-linux.h.
22868
adbb8027
SP
228692013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22870
ce544b5b
SP
22871 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22872 Include mpa.h and declare __MPEXP.
22873 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22874 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22875 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22876 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22877 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22878 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22879 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22880
4cc149fd
SP
22881 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22882 (__slowpow): Use long double EXPL and LOGL functions to
22883 compute POW.
22884 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22885 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22886 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22887 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22888 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22889 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22890
e6ebd4a7
SP
22891 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22892 intermediate variable to calculate exponent.
22893 (__sqr): Likewise.
22894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22895 Likewise.
22896 (__sqr): Likewise.
22897
82a9811d
SP
22898 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22899 [!NO__SQR]: Define __sqr.
22900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22901 and NO__SQR. Remove all code except __mul and __sqr. Include
22902 sysdeps/ieee754/dbl-64/mpa.c.
22903 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22904
adbb8027
SP
22905 [BZ #12723]
22906 * posix/Makefile (tests): Add tst-pathconf.
22907 * posix/tst-pathconf.c: New test case.
22908 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22909 _PC_PIPE_BUF.
22910 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22911
39120df9
PF
229122013-03-06 Patsy Franklin <pfrankli@redhat.com>
22913
22914 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22915
67525cb8
AJ
229162013-03-06 Andreas Jaeger <aj@suse.de>
22917
664a9ce4
AJ
22918 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22919 definition via __MAP_ANONYMOUS.
22920
8e39047d
AJ
22921 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22922 it's not part of Linux headers.
22923
67525cb8
AJ
22924 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22925 (MAP_HUGE_MASK): Define.
22926
22927 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22928 Define.
22929 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22930 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22931 Define.
22932 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22933 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22934 Define.
22935 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22936 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22937 Define.
22938 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22939
22940 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22941 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22942 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22943 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22944 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22945 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22946
22947 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22948 Handle f2fs.
22949
22950 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22951 Handle f2fs and efivarfs.
22952
22953 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22954 f2fs.
22955
22956 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22957 (EFIVARFS_MAGIC): Add.
22958 (F2FS_LINK_MAX): Add.
22959
e1b42695
PP
229602013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22961
22962 * stdio-common/vfprintf.c: Replace __builtin_expect with
22963 __glibc_unlikely.
22964
2d67d91a
JM
229652013-03-06 Joseph Myers <joseph@codesourcery.com>
22966
22967 [BZ #13550]
22968 * sysdeps/generic/bp-sym.h: Remove file.
22969 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22970 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22971 <bp-sym.h> and <bp-asm.h>.
22972 (__longjmp): Don't use BP_SYM.
22973 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22974 and <bp-asm.h>.
22975 (memcpy): Don't use BP_SYM.
22976 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22977 <bp-sym.h> and <bp-asm.h>.
22978 (memcpy): Don't use BP_SYM.
22979 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22980 <bp-asm.h>.
22981 (memcpy): Don't use BP_SYM.
22982 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22983 <bp-asm.h>.
22984 (memset): Don't use BP_SYM.
22985 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22986 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22987 (__bzero): Don't use BP_SYM.
22988 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22989 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22990 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22991 <bp-sym.h> and <bp-asm.h>.
22992 (memcmp): Don't use BP_SYM. Remove comment about bounded
22993 pointers.
22994 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22995 <bp-sym.h> and <bp-asm.h>.
22996 (memcpy): Don't use BP_SYM.
22997 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22998 <bp-sym.h> and <bp-asm.h>.
22999 (memset): Don't use BP_SYM.
23000 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23001 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23002 (__bzero): Don't use BP_SYM.
23003 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23004 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23005 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23006 <bp-sym.h> and <bp-asm.h>.
23007 (strncmp): Don't use BP_SYM. Remove comment about bounded
23008 pointers.
23009 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23010 <bp-sym.h> and <bp-asm.h>.
23011 (memcpy): Don't use BP_SYM.
23012 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23013 <bp-sym.h> and <bp-asm.h>.
23014 (memset): Don't use BP_SYM.
23015 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23016 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23017 (__bzero): Don't use BP_SYM.
23018 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23019 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23020 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23021 <bp-sym.h> and <bp-asm.h>.
23022 (__memchr): Don't use BP_SYM.
23023 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23024 <bp-sym.h> and <bp-asm.h>.
23025 (memcmp): Don't use BP_SYM. Remove comment about bounded
23026 pointers.
23027 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23028 <bp-sym.h> and <bp-asm.h>.
23029 (memcpy): Don't use BP_SYM.
23030 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23031 <bp-sym.h> and <bp-asm.h>.
23032 (__mempcpy): Don't use BP_SYM.
23033 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23034 <bp-sym.h> and <bp-asm.h>.
23035 (__memrchr): Don't use BP_SYM.
23036 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23037 <bp-sym.h> and <bp-asm.h>.
23038 (memset): Don't use BP_SYM.
23039 (__bzero): Likewise.
23040 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23041 <bp-sym.h> and <bp-asm.h>.
23042 (__rawmemchr): Don't use BP_SYM.
23043 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23044 <bp-sym.h> and <bp-asm.h>.
23045 (__STRCMP): Don't use BP_SYM.
23046 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23047 <bp-sym.h> and <bp-asm.h>.
23048 (strchr): Don't use BP_SYM.
23049 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23050 <bp-sym.h> and <bp-asm.h>.
23051 (__strchrnul): Don't use BP_SYM.
23052 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23053 <bp-sym.h> and <bp-asm.h>.
23054 (strlen): Don't use BP_SYM.
23055 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23056 <bp-sym.h> and <bp-asm.h>.
23057 (strncmp): Don't use BP_SYM. Remove comment about bounded
23058 pointers.
23059 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23060 <bp-sym.h> and <bp-asm.h>.
23061 (__strnlen): Don't use BP_SYM.
23062 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23063 <bp-sym.h> and <bp-asm.h>.
23064 (__GI__setjmp): Don't use BP_SYM.
23065 (_setjmp): Likewise.
23066 (__sigsetjmp): Likewise.
23067 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23068 (L(start_addresses)): Don't use BP_SYM.
23069 (_start): Likewise.
23070 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23071 <bp-asm.h>.
23072 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23073 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23074 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23075 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23076 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23077 <bp-asm.h>.
23078 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23079 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23080 about bounded pointers.
23081 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23082 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23083 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23084 <bp-asm.h>.
23085 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23086 about bounded pointers. Remove GKM FIXME comments.
23087 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23088 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23089 <bp-asm.h>.
23090 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23091 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23092 Remove GKM FIXME comments.
23093 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23094 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23095 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23096 <bp-asm.h>.
23097 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23098 about bounded pointers. Remove GKM FIXME comment.
23099 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23100 and <bp-asm.h>.
23101 (strncmp): Don't use BP_SYM. Remove comment about bounded
23102 pointers.
23103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23104 <bp-sym.h> and <bp-asm.h>.
23105 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23107 <bp-sym.h> and <bp-asm.h>.
23108 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23109 comment.
23110
cdcf361f
PP
231112013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23112
23113 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23114 call free(NULL).
23115
3c4a2b15
DM
231162013-03-05 David S. Miller <davem@davemloft.net>
23117
23118 * po/es.po: Update from translation team.
23119
cdcf361f 231202013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
23121
23122 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23123 <bits/mman-linux.h>.
23124 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23125 is fine.
23126 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23127 <bits/mman-linux.h> to end of file.
23128 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23129 is fine.
23130 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23131 <bits/mman-linux.h> to end of file.
23132 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23133 is fine.
23134 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23135 <bits/mman-linux.h> to end of file.
23136
23137 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23138 (MCL_CURRENT, MCL_FUTURE): Define here.
23139
5f67c04f
AK
231402013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23141
8a4473cc 23142 [BZ #15232]
5f67c04f
AK
23143 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23144 attribute_hidden.
23145 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23146
c3e94a95
AK
231472013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23148
23149 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23150 fourth parameter needed for rt_sigprocmask syscall.
23151 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23152 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23153 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23154 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23155 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23156 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23157
cfb6382a
JM
231582013-03-04 Joseph Myers <joseph@codesourcery.com>
23159
23160 [BZ #13550]
23161 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23162 comment about bounded pointers.
23163 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23164 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23165
539d8e01
AJ
231662013-03-04 Andreas Jaeger <aj@suse.de>
23167
23168 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23169 common definitions.
23170
23171 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23172 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23173 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23174 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23175 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
23176 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23177
2e167a70 231782013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
23179
23180 [BZ #15055]
23181 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23182 __ieee754_sqrl instead of __sqrl.
23183
68508633
JM
231842013-03-01 Joseph Myers <joseph@codesourcery.com>
23185
23186 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23187 * sysdeps/powerpc/fpu_control.h: ... here.
23188 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23189 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23190 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23191 * sysdeps/powerpc/bits/mathinline.h: ... here.
23192
7775448e
RM
231932013-03-01 Roland McGrath <roland@hack.frob.com>
23194
23195 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23196 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23197 to just [NEED_DL_SYSINFO_DSO].
23198 * elf/dl-support.c: Likewise.
23199 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23200 * elf/rtld.c (dl_main): Likewise.
23201 * elf/setup-vdso.h (setup_vdso): Likewise.
23202 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23203 * sysdeps/unix/sysv/linux/dl-sysdep.c
23204 (_dl_discover_osversion): Likewise.
23205
4e9b5995
CD
232062013-03-01 Carlos O'Donell <carlos@redhat.com>
23207
23208 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23209 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23210
e23872c8
SP
232112013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23212
e5c74c63
SP
23213 * NEWS: Mention libm performance improvements and non-x86 PI
23214 futex support.
23215
e23872c8
SP
23216 * csu/libc-start.c (__pthread_initialize_minimal): Change
23217 function arguments.
23218 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23219
b5510883
JM
232202013-02-28 Joseph Myers <joseph@codesourcery.com>
23221
23222 [BZ #13550]
23223 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23224 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23225 <bp-sym.h> and <bp-asm.h>.
23226 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23227 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23228 and <bp-asm.h>.
23229 (memcpy): Don't use BP_SYM.
23230 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23231 <bp-asm.h>.
23232 (__mpn_add_n): Don't use BP_SYM.
23233 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23234 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23235 and <bp-asm.h>.
23236 (__mpn_addmul_1): Don't use BP_SYM.
23237 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23238 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23239 <bp-sym.h>.
23240 (_setjmp): Don't use BP_SYM.
23241 (__novmx_setjmp): Likewise.
23242 (__GI__setjmp): Likewise.
23243 (__vmx_setjmp): Likewise.
23244 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23245 <bp-sym.h>.
23246 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23247 (__bzero): Don't use BP_SYM.
23248 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23249 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23250 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23251 <bp-sym.h> and <bp-asm.h>.
23252 (memcpy): Don't use BP_SYM.
23253 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23254 <bp-sym.h> and <bp-asm.h>.
23255 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23256 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23257 <bp-sym.h> and <bp-asm.h>.
23258 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23259 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23260 <bp-asm.h>.
23261 (__mpn_lshift): Don't use BP_SYM.
23262 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23263 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23264 <bp-asm.h>.
23265 (memset): Don't use BP_SYM.
23266 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23267 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23268 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23269 <bp-asm.h>.
23270 (__mpn_mul_1): Don't use BP_SYM.
23271 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23272 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23273 <bp-sym.h> and <bp-asm.h>.
23274 (memcmp): Don't use BP_SYM.
23275 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23276 <bp-sym.h> and <bp-asm.h>.
23277 (memcpy): Don't use BP_SYM.
23278 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23279 <bp-sym.h> and <bp-asm.h>.
23280 (memset): Don't use BP_SYM.
23281 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23282 <bp-sym.h> and <bp-asm.h>.
23283 (strncmp): Don't use BP_SYM.
23284 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23285 <bp-sym.h> and <bp-asm.h>.
23286 (memcpy): Don't use BP_SYM.
23287 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23288 <bp-sym.h> and <bp-asm.h>.
23289 (memset): Don't use BP_SYM.
23290 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23291 <bp-sym.h> and <bp-asm.h>.
23292 (__memchr): Don't use BP_SYM.
23293 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23294 <bp-sym.h> and <bp-asm.h>.
23295 (memcmp): Don't use BP_SYM.
23296 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23297 <bp-sym.h> and <bp-asm.h>.
23298 (memcpy): Don't use BP_SYM.
23299 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23300 <bp-sym.h> and <bp-asm.h>.
23301 (__mempcpy): Don't use BP_SYM.
23302 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23303 <bp-sym.h> and <bp-asm.h>.
23304 (__memrchr): Don't use BP_SYM.
23305 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23306 <bp-sym.h> and <bp-asm.h>.
23307 (memset): Don't use BP_SYM.
23308 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23309 <bp-sym.h> and <bp-asm.h>.
23310 (__rawmemchr): Don't use BP_SYM.
23311 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23312 <bp-sym.h> and <bp-asm.h>.
23313 (__STRCMP): Don't use BP_SYM.
23314 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23315 <bp-sym.h> and <bp-asm.h>.
23316 (strchr): Don't use BP_SYM.
23317 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23318 <bp-sym.h> and <bp-asm.h>.
23319 (__strchrnul): Don't use BP_SYM.
23320 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23321 <bp-sym.h> and <bp-asm.h>.
23322 (strlen): Don't use BP_SYM.
23323 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23324 <bp-sym.h> and <bp-asm.h>.
23325 (strncmp): Don't use BP_SYM.
23326 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23327 <bp-sym.h> and <bp-asm.h>.
23328 (__strnlen): Don't use BP_SYM.
23329 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23330 <bp-asm.h>.
23331 (__mpn_rshift): Don't use BP_SYM.
23332 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23333 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23334 <bp-sym.h> and <bp-asm.h>.
23335 (__sigsetjmp): Don't use BP_SYM.
23336 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23337 (L(start_addresses)): Don't use BP_SYM.
23338 (_start): Likewise.
23339 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23340 <bp-asm.h>.
23341 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23342 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23343 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23344 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23345 <bp-asm.h>.
23346 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23347 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23348 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23349 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23350 <bp-asm.h>.
23351 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23352 comments.
23353 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23354 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23355 <bp-asm.h>.
23356 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23357 FIXME comments.
23358 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23359 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23360 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23361 <bp-asm.h>.
23362 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23363 comment.
23364 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23365 and <bp-asm.h>.
23366 (strncmp): Don't use BP_SYM,
23367 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23368 <bp-asm.h>.
23369 (__mpn_sub_n): Don't use BP_SYM.
23370 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23371 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23372 and <bp-asm.h>.
23373 (__mpn_submul_1): Don't use BP_SYM.
23374 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23376 <bp-sym.h> and <bp-asm.h>.
23377 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23379 <bp-sym.h> and <bp-asm.h>.
23380 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23381 comment.
23382
8d19fe64
SP
233832013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23384
23385 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23386 Use ZK to minimize writes to Z.
23387 (sub_magnitudes): Simplify code a bit.
23388 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23389 Use ZK to minimize writes to Z.
23390 (sub_magnitudes): Simplify code a bit.
23391
85bd816a
RM
233922013-02-27 Roland McGrath <roland@hack.frob.com>
23393
23394 * csu/gmon-start.c: Add special exception to license text.
23395
b5977bf2
RH
233962013-02-27 Richard Henderson <rth@redhat.com>
23397
23398 * scripts/config.guess: Update from config.git.
23399 * scripts/config.sub: Likewise.
23400
11d6e2f2
SP
234012013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23402
09c14ed2
SP
23403 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23404
a688864e
SP
23405 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23406
6295157a
SP
23407 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23408
b8de2202
SP
23409 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23410
11d6e2f2
SP
23411 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23412
7e80ddb8
RM
234132013-02-26 Roland McGrath <roland@hack.frob.com>
23414
23415 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23416 [$(build-shared = yes].
7e80ddb8 23417
7da6d9ed
SP
234182013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23419
45f05884
SP
23420 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23421 (__mul): Reduce iterations for calculating mantissa.
23422
2236d359
SP
23423 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23424 MPTWO.
23425 (__mpranred): Likewise.
23426
7da6d9ed
SP
23427 [BZ #15160]
23428 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23429 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23430
b7688c42
PE
234312013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23432
23433 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23434 Define __attribute__.
23435
53a5c423
SP
234362013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23437
23438 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23439 unused.
23440 * posix/regex_internal.h (__attribute): Remove.
23441 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23442 (re_string_context_at): Likewise.
23443 (bitset_not): Use __attribute__ and mark function as possibly
23444 unused.
23445 (bitset_merge): Likewise.
23446 (bitset_mask): Likewise.
23447 (re_string_char_size_at): Likewise.
23448 (re_string_wchar_at): Likewise.
23449 (re_string_elem_size_at): Likewise.
23450
60f5a8b5
SP
234512013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23452
2a983a2e
SP
23453 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23454 code.
23455 (cc32): Likewise.
23456
e69804d1
SP
23457 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23458 (__acr): Likewise.
23459 (__cpy): Likewise.
23460 (norm): Likewise.
23461 (denorm): Likewise.
23462 (__dbl_mp): Likewise.
23463 (add_magnitudes): Likewise.
23464 (sub_magnitudes): Likewise.
23465 (__mul): Likewise.
23466 (__inv): Likewise.
23467
2f22a1e8
SP
23468 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23469 style.
23470
8930ddc7
SP
23471 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23472 style.
23473
dc60cb11
SP
23474 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23475 code.
23476
60f5a8b5
SP
23477 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23478 up changes with default code.
23479 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23480 Likewise.
23481
b4d1fd33
AM
234822013-02-24 Allan McRae <allan@archlinux.org>
23483
faf6f8bc
AM
23484 * manual/socket.texi (The Internet Namespace): Order menu items
23485 to match that in the file.
23486
b4d1fd33
AM
23487 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23488 node listing of the info page menu.
23489
2366713d
JM
234902013-02-21 Joseph Myers <joseph@codesourcery.com>
23491
23492 [BZ #13550]
23493 * sysdeps/i386/bp-asm.h: Remove file.
23494 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23495 (PARMS): Do not use macros from bp-asm.h.
23496 (S1): Likewise.
23497 (S2): Likewise.
23498 (SIZE): Likewise.
23499 (__mpn_add_n): Do not use BP_SYM
23500 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23501 "bp-asm.h".
23502 (PARMS): Do not use macros from bp-asm.h.
23503 (S1): Likewise.
23504 (SIZE): Likewise.
23505 (__mpn_addmul_1): Do not use BP_SYM
23506 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23507 "bp-asm.h".
23508 (PARMS): Do not use macros from bp-asm.h.
23509 (SIGMSK): Likewise.
23510 (_setjmp): Likewise. Do not use BP_SYM.
23511 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23512 "bp-asm.h".
23513 (PARMS): Do not use macros from bp-asm.h.
23514 (SIGMSK): Likewise.
23515 (setjmp): Likewise. Do not use BP_SYM.
23516 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23517 "bp-asm.h".
23518 (PARMS): Do not use macros from bp-asm.h.
23519 (__frexp): Do not use BP_SYM.
23520 (frexp): Likewise.
23521 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23522 "bp-asm.h".
23523 (PARMS): Do not use macros from bp-asm.h.
23524 (__frexpf): Do not use BP_SYM.
23525 (frexpf): Likewise.
23526 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23527 "bp-asm.h".
23528 (PARMS): Do not use macros from bp-asm.h.
23529 (__frexpl): Do not use BP_SYM.
23530 (frexpl): Likewise.
23531 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23532 "bp-asm.h".
23533 (PARMS): Do not use macros from bp-asm.h.
23534 (__remquo): Do not use BP_SYM.
23535 (remquo): Likewise.
23536 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23537 "bp-asm.h".
23538 (PARMS): Do not use macros from bp-asm.h.
23539 (__remquof): Do not use BP_SYM.
23540 (remquof): Likewise.
23541 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23542 "bp-asm.h".
23543 (PARMS): Do not use macros from bp-asm.h.
23544 (__remquol): Do not use BP_SYM.
23545 (remquol): Likewise.
23546 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23547 "bp-asm.h".
23548 (PARMS): Do not use macros from bp-asm.h.
23549 (DEST): Likewise.
23550 (SRC): Likewise.
23551 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23552 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23553 "bp-asm.h".
23554 (PARMS): Do not use macros from bp-asm.h.
23555 (strlen): Do not use BP_SYM.
23556 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23557 "bp-asm.h".
23558 (PARMS): Do not use macros from bp-asm.h.
23559 (S1): Likewise.
23560 (S2): Likewise.
23561 (SIZE): Likewise.
23562 (__mpn_add_n): Do not use BP_SYM.
23563 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23564 "bp-asm.h".
23565 (PARMS): Do not use macros from bp-asm.h.
23566 (S1): Likewise.
23567 (SIZE): Likewise.
23568 (__mpn_addmul_1): Do not use BP_SYM.
23569 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23570 weak_alias.
23571 (bzero): Likewise.
23572 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23573 "bp-asm.h".
23574 (PARMS): Do not use macros from bp-asm.h.
23575 (S): Likewise.
23576 (SIZE): Likewise.
23577 (__mpn_lshift): Do not use BP_SYM.
23578 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23579 "bp-asm.h".
23580 (PARMS): Do not use macros from bp-asm.h.
23581 (DEST): Likewise.
23582 (SRC): Likewise.
23583 (LEN): Likewise.
23584 (memcpy): Likewise. Do not use BP_SYM.
23585 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23586 libc_hidden_def and weak_alias.
23587 (mempcpy): Do not use BP_SYM in weak_alias.
23588 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23589 "bp-asm.h".
23590 (PARMS): Do not use macros from bp-asm.h.
23591 (DEST): Likewise.
23592 (LEN): Likewise.
23593 [!BZERO_P] (CHR): Likewise.
23594 (memset): Likewise. Do not use BP_SYM.
23595 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23596 "bp-asm.h".
23597 (PARMS): Do not use macros from bp-asm.h.
23598 (S1): Likewise.
23599 (SIZE): Likewise.
23600 (__mpn_mul_1): Do not use BP_SYM.
23601 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23602 "bp-asm.h".
23603 (PARMS): Do not use macros from bp-asm.h.
23604 (S): Likewise.
23605 (SIZE): Likewise.
23606 (__mpn_rshift): Do not use BP_SYM.
23607 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23608 "bp-asm.h".
23609 (PARMS): Do not use macros from bp-asm.h.
23610 (STR): Likewise.
23611 (CHR): Likewise.
23612 (strchr): Likewise. Do not use BP_SYM.
23613 (index): Do not use BP_SYM in weak_alias.
23614 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23615 "bp-asm.h".
23616 (PARMS): Do not use macros from bp-asm.h.
23617 (DEST): Likewise.
23618 (SRC): Likewise.
23619 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23620 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23621 "bp-asm.h".
23622 (PARMS): Do not use macros from bp-asm.h.
23623 (strlen): Do not use BP_SYM.
23624 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23625 "bp-asm.h".
23626 (PARMS): Do not use macros from bp-asm.h.
23627 (S1): Likewise.
23628 (S2): Likewise.
23629 (SIZE): Likewise.
23630 (__mpn_sub_n): Do not use BP_SYM.
23631 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23632 "bp-asm.h".
23633 (PARMS): Do not use macros from bp-asm.h.
23634 (S1): Likewise.
23635 (SIZE): Likewise.
23636 (__mpn_submul_1): Do not use BP_SYM.
23637 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23638 "bp-asm.h".
23639 (PARMS): Do not use macros from bp-asm.h.
23640 (S1): Likewise.
23641 (S2): Likewise.
23642 (SIZE): Likewise.
23643 (__mpn_add_n): Do not use BP_SYM.
23644 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23645 weak_alias.
23646 (bzero): Likewise.
23647 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23648 "bp-asm.h".
23649 (PARMS): Do not use macros from bp-asm.h.
23650 (BLK2): Likewise.
23651 (LEN): Likewise.
23652 (memcmp): Do not use BP_SYM.
23653 (bcmp): Do not use BP_SYM in weak_alias.
23654 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23655 "bp-asm.h".
23656 (PARMS): Do not use macros from bp-asm.h.
23657 (DEST): Likewise.
23658 (SRC): Likewise.
23659 (LEN): Likewise.
23660 (memcpy): Likewise. Do not use BP_SYM.
23661 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23662 "bp-asm.h".
23663 (PARMS): Do not use macros from bp-asm.h.
23664 (DEST): Likewise.
23665 (SRC): Likewise.
23666 (LEN): Likewise.
23667 (memmove): Likewise. Do not use BP_SYM.
23668 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23669 "bp-asm.h".
23670 (PARMS): Do not use macros from bp-asm.h.
23671 (DEST): Likewise.
23672 (SRC): Likewise.
23673 (LEN): Likewise.
23674 (__mempcpy): Likewise. Do not use BP_SYM.
23675 (mempcpy): Do not use BP_SYM in weak_alias.
23676 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23677 "bp-asm.h".
23678 (PARMS): Do not use macros from bp-asm.h.
23679 (DEST): Likewise.
23680 (LEN): Likewise.
23681 [!BZERO_P] (CHR): Likewise.
23682 (memset): Likewise. Do not use BP_SYM.
23683 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23684 "bp-asm.h".
23685 (PARMS): Do not use macros from bp-asm.h.
23686 (STR2): Likewise.
23687 (strcmp): Do not use BP_SYM.
23688 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23689 "bp-asm.h".
23690 (PARMS): Do not use macros from bp-asm.h.
23691 (STR): Likewise.
23692 (DELIM): Likewise.
23693 [USE_AS_STRTOK_R] (SAVE): Likewise.
23694 (FUNCTION): Likewise. Do not use BP_SYM.
23695 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23696 aliases.
23697 (strtok_r): Likewise.
23698 (__GI___strtok_r): Likewise.
23699 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23700 (PARMS): Do not use macros from bp-asm.h.
23701 (S): Likewise.
23702 (SIZE): Likewise.
23703 (__mpn_lshift): Do not use BP_SYM.
23704 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23705 (PARMS): Do not use macros from bp-asm.h.
23706 (STR): Likewise.
23707 (CHR): Likewise.
23708 (__memchr): Do not use BP_SYM.
23709 (memchr): Do not use BP_SYM in weak_alias.
23710 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23711 (PARMS): Do not use macros from bp-asm.h.
23712 (BLK2): Likewise.
23713 (LEN): Likewise.
23714 (memcmp): Do not use BP_SYM.
23715 (bcmp): Do not use BP_SYM in weak_alias.
23716 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23717 (PARMS): Do not use macros from bp-asm.h.
23718 (S1): Likewise.
23719 (SIZE): Likewise.
23720 (__mpn_mul_1): Do not use BP_SYM.
23721 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23722 "bp-asm.h".
23723 (PARMS): Do not use macros from bp-asm.h.
23724 (STR): Likewise.
23725 (CHR): Likewise.
23726 (__rawmemchr): Do not use BP_SYM.
23727 (rawmemchr): Do not use BP_SYM in weak_alias.
23728 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23729 (PARMS): Do not use macros from bp-asm.h.
23730 (S): Likewise.
23731 (SIZE): Likewise.
23732 (__mpn_rshift): Do not use BP_SYM.
23733 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23734 (PARMS): Do not use macros from bp-asm.h.
23735 (SIGMSK): Likewise.
23736 (__sigsetjmp): Likewise. Do not use BP_SYM.
23737 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23738 (_start): Do not use BP_SYM.
23739 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23740 (PARMS): Do not use macros from bp-asm.h.
23741 (DEST): Likewise.
23742 (SRC): Likewise.
23743 (__stpcpy): Likewise. Do not use BP_SYM.
23744 (stpcpy): Do not use BP_SYM in weak_alias.
23745 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23746 "bp-asm.h".
23747 (PARMS): Do not use macros from bp-asm.h.
23748 (DEST): Likewise.
23749 (SRC): Likewise.
23750 (LEN): Likewise.
23751 (__stpncpy): Likewise. Do not use BP_SYM.
23752 (stpncpy): Do not use BP_SYM in weak_alias.
23753 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23754 (PARMS): Do not use macros from bp-asm.h.
23755 (STR): Likewise.
23756 (CHR): Likewise.
23757 (strchr): Likewise. Do not use BP_SYM.
23758 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23759 "bp-asm.h".
23760 (PARMS): Do not use macros from bp-asm.h.
23761 (STR): Likewise.
23762 (CHR): Likewise.
23763 (__strchrnul): Likewise. Do not use BP_SYM.
23764 (strchrnul): Do not use BP_SYM in weak_alias.
23765 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23766 "bp-asm.h".
23767 (PARMS): Do not use macros from bp-asm.h.
23768 (STOP): Likewise.
23769 (strcspn): Do not use BP_SYM.
23770 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23771 "bp-asm.h".
23772 (PARMS): Do not use macros from bp-asm.h.
23773 (STR): Likewise.
23774 (STOP): Likewise.
23775 (strpbrk): Likewise. Do not use BP_SYM.
23776 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23777 "bp-asm.h".
23778 (PARMS): Do not use macros from bp-asm.h.
23779 (STR): Likewise.
23780 (CHR): Likewise.
23781 (strrchr): Likewise. Do not use BP_SYM.
23782 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23783 (PARMS): Do not use macros from bp-asm.h.
23784 (SKIP): Likewise.
23785 (strspn): Do not use BP_SYM.
23786 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23787 (PARMS): Do not use macros from bp-asm.h.
23788 (STR): Likewise.
23789 (DELIM): Likewise.
23790 (SAVE): Likewise.
23791 (FUNCTION): Likewise. Do not use BP_SYM.
23792 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23793 aliases.
23794 (strtok_r): Likewise.
23795 (__GI___strtok_r): Likewise.
23796 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23797 (PARMS): Do not use macros from bp-asm.h.
23798 (S1): Likewise.
23799 (S2): Likewise.
23800 (SIZE): Likewise.
23801 (__mpn_sub_n): Do not use BP_SYM.
23802 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23803 "bp-asm.h".
23804 (PARMS): Do not use macros from bp-asm.h.
23805 (S1): Likewise.
23806 (SIZE): Likewise.
23807 (__mpn_submul_1): Do not use BP_SYM.
23808 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23809 <bp-sym.h>.
23810 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23811 and <bp-asm.h>.
23812 (PARMS): Do not use macros from bp-asm.h.
23813 (FLAGS): Likewise.
23814 (PTID): Likewise.
23815 (TLS): Likewise.
23816 (CTID): Likewise.
23817 (__clone): Do not use BP_SYM.
23818 (clone): Do not use BP_SYM in weak_alias.
23819 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23820 and <bp-asm.h>.
23821 (PARMS): Do not use macros from bp-asm.h.
23822 (LEN): Likewise.
23823 (__mmap64): Do not use BP_SYM.
23824 (mmap64): Do not use BP_SYM in weak_alias.
23825 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23826 <bp-sym.h> and <bp-asm.h>.
23827 (PARMS): Do not use macros from bp-asm.h.
23828 (__posix_fadvise64_l64): Do not use BP_SYM.
23829 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23830 (PARMS): Do not use macros from bp-asm.h.
23831 (NSOPS): Likewise.
23832 (semtimedop): Do not use BP_SYM.
23833 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23834 and <bp-asm.h>.
23835
582a3cff
AM
238362013-02-21 Allan McRae <allan@archlinux.org>
23837
23838 * manual/message.texi (Charset conversion in gettext):
23839 Move @end statement to beginning of line.
23840
bab8a695
SP
238412013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23842
80945231
SP
23843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23844 static.
23845 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23846 Likewise.
23847
bab8a695
SP
23848 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23849 (denorm): Likewise.
23850 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23852
e21d7aa7
AK
238532013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23854
23855 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23856 tail-call to the resolved function if pltexit isn't needed.
23857
4c7a4263
SP
238582013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23859
23860 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23861 or Y being zero as being unlikely.
23862 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23863 Likewise.
23864
41f49342
CD
238652013-02-20 Carlos O'Donell <carlos@redhat.com>
23866
23867 * manual/nss.texi (System Databases and Name Service Switch):
23868 Remove frobnicate @pxref.
23869
50022a93
TS
238702013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23871
23872 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23873 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23874
08cbd996
PM
238752013-02-20 Petr Machata <pmachata@redhat.com>
23876
23877 * elf/elf.h (R_ARM_TARGET1): New macro.
23878 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23879 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23880 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23881 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23882 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23883 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23884 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23885 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23886 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23887 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23888 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23889 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23890 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23891 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23892 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23893 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23894 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23895 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23896 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23897 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23898 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23899 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23900 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23901 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23902 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23903 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23904 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23905 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23906 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23907 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23908 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23909 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23910 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23911 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23912 (R_ARM_THM_GOT_BREL12): Likewise.
23913 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23914 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23915 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23916 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23917 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23918 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23919 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23920 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23921 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23922
c7b275d6
TS
239232013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23924
23925 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23926 __attribute_used__ to __attribute__ ((unused)).
23927
20cd7fb3
SP
239282013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23929
23930 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23931 powerpc mpa.c.
23932 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23933 comment formatting.
23934 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23935
92945b52
JM
239362013-02-19 Joseph Myers <joseph@codesourcery.com>
23937
23938 [BZ #13550]
23939 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23940 Remove macro.
23941 (ENTER): Remove both macro definitions.
23942 (LEAVE): Likewise.
23943 (CHECK_BOUNDS_LOW): Likewise.
23944 (CHECK_BOUNDS_HIGH): Likewise.
23945 (CHECK_BOUNDS_BOTH): Likewise.
23946 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23947 (RETURN_BOUNDED_POINTER): Likewise.
23948 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23949 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23950 (POP_ERRNO_LOCATION_RETURN): Likewise.
23951 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23952 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23953 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23954 macros.
23955 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23956 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23957 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23958 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23959 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23960 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23961 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23962 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23963 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23964 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23965 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23966 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23967 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23968 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23969 removed macros.
23970 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23971 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23972 macros.
23973 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23974 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23975 * sysdeps/i386/i586/memset.S (memset): Likewise.
23976 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23977 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23978 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23979 macros.
23980 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23981 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23982 Change uses of L(2) to L(out).
23983 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23984 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23985 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23986 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23987 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23988 removed macros.
23989 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23990 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23991 macros.
23992 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23993 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23994 (RETURN): Do not use macro LEAVE.
23995 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23996 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23997 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23998 * sysdeps/i386/i686/memset.S (memset): Likewise.
23999 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24000 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24001 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24002 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24003 Likewise.
24004 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24005 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24006 L(1_2) and L(1_3) into L(1).
24007 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24008 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24009 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24010 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24011 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24012 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24013 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24014 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24015 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24016 macros.
24017 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24018 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24019 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24020 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24021 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24022 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24023 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24024 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24025 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24026 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24027 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24028 * sysdeps/i386/strspn.S (strspn): Likewise.
24029 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24030 conditional code.
24031 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24032 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24033 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24034 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24035 L(1_3) into L(1_1).
24036 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24037 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24038 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24039 macros.
24040 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24041
2389741a
JJ
240422013-02-19 Jakub Jelinek <jakub@redhat.com>
24043
24044 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24045 macro.
24046
2016b3cd
SP
240472013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24048
e4f22324
SP
24049 * math/atest-exp.c (exp_mpn): Remove ROUND.
24050 * math/atest-exp2.c (exp_mpn): Likewise.
24051 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24052
2016b3cd
SP
24053 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24054 * stdlib/tst-tls-atexit-lib.c: Likewise.
24055 * stdlib/tst-tls-atexit.c: Likewise.
24056
4be9b544
MF
240572013-02-18 Mike Frysinger <vapier@gentoo.org>
24058
24059 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24060 and __attribute_alloc_size__.
24061
2f62b9ee
MF
240622013-02-18 Mike Frysinger <vapier@gentoo.org>
24063
24064 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24065 __attribute_alloc_size__.
24066 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24067 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24068
6ff444c4
MF
240692013-02-18 Mike Frysinger <vapier@gentoo.org>
24070
24071 * include/programs/xmalloc.h: New file.
24072 * catgets/gencat.c: Include it.
24073 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24074 * elf/pldd.c: Likewise.
24075 * iconv/iconv_charmap.c: Likewise.
24076 * iconv/iconvconfig.c: Likewise.
24077 * iconv/strtab.c: Likewise.
24078 * locale/programs/locale.c: Likewise.
24079 * locale/programs/localedef.h: Likewise.
24080 * locale/programs/simple-hash.c: Likewise.
24081 * nscd/nscd.h: Likewise.
24082 * nss/makedb.c: Likewise.
24083 * sysdeps/generic/ldconfig.h: Likewise.
24084
be179c8a
SP
240852013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24086
ba384f6e
SP
24087 * Versions.def: Add GLIBC_2.18.
24088 * include/link.h (struct link_map): New member l_tls_dtor_count.
24089 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24090 (__call_tls_dtors): Likewise.
24091 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24092 __cxa_thread_atexit_impl.
24093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24094 Likewise.
24095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24096 Likewise.
24097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24098 Likewise.
24099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24100 Likewise.
24101 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24103 Likewise.
24104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24105 Likewise.
24106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24108 Likewise.
24109 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24110 (tests): Add test case tst-tls-atexit.
24111 (modules-names): Add shared library for tst-tls-atexit.
85891aca 24112 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
24113 (GLIBC_PRIVATE): Add __call_tls_dtors.
24114 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24115 for libstdc++.
24116 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24117 * stdlib/tst-tls-atexit.c: New test case.
24118 * stdlib/tst-tls-atexit-lib.c: New test case.
24119
ffaa74cf 24120 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 24121
be179c8a
SP
24122 * elf/Versions (ld): Add _dl_find_dso_for_object.
24123 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24124 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24125 (dl_open_worker): Use _dl_find_dso_for_object.
24126 * elf/dl-sym.c (do_sym): Likewise.
24127 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24128
f78b5caa
AK
241292013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24130
24131 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24132 Syntactic changes only.
24133 (_dl_runtime_profile): Do a tail-call to the resolved function.
24134
29691210
JM
241352013-02-17 Joseph Myers <joseph@codesourcery.com>
24136
24137 [BZ #13550]
24138 * sysdeps/x86_64/bp-asm.h: Remove file.
24139 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24140 <bp-sym.h> and <bp-asm.h>.
24141 (__clone): Do not use BP_SYM.
24142 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24143 <bp-sym.h> and <bp-asm.h>.
24144 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24145 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24146 "bp-asm.h".
24147 (_setjmp): Do not use BP_SYM.
24148 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24149 "bp-asm.h".
24150 (setjmp): Do not use BP_SYM.
24151 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24152 libc_hidden_def.
24153 (mempcpy): Do not use BP_SYM in weak_alias.
24154 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24155 "bp-asm.h".
24156 (strchr): Do not use BP_SYM.
24157 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24158 "bp-asm.h".
24159 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24160 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24161 (_start): Do not use BP_SYM.
24162 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24163 "bp-asm.h".
24164 (strcat): Do not use BP_SYM.
24165 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24166 "bp-asm.h".
24167 (STRCMP): Do not use BP_SYM.
24168 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24169 "bp-asm.h".
24170 (STRCPY): Do not use BP_SYM.
24171 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24172 "bp-asm.h".
24173 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24174 "bp-asm.h".
24175 (FUNCTION): Do not use BP_SYM.
24176 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24177 weak_alias.
24178 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24179
f238fd19
AJ
241802013-02-17 Andreas Jaeger <aj@suse.de>
24181
24182 * time/Versions: Sort entries.
24183 * string/Versions: Likewise.
24184 * resolv/Versions: Likewise.
24185 * posix/Versions: Likewise.
24186 * iconv/Versions: Likewise.
24187 * elf/Versions: Likewise.
24188 * wcsmbs/Versions: Likewise.
24189
bd07f23c 241902013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 24191
22af19f9
SP
24192 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24193 loop termination condition.
24194
4709fe76
SP
24195 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24196 variable to calculate EZ.
24197 (__sqr): Likewise.
2d0e0f29
SP
24198
24199 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24200 the lower precision input.
24201
daaa7713
JM
242022013-02-15 Joseph Myers <joseph@codesourcery.com>
24203
24204 [BZ #13550]
24205 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24206 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24207 (run-via-rtld-prefix): Do not handle %-bp tests.
24208 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24209 (all-object-suffixes): Remove .ob.
24210 (bppfx): Remove variable.
24211 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24212 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24213 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24214 [$(build-bounded) = yes] (libtype.ob): Likewise.
24215 * Makerules (elide-routines.ob): Remove variable.
24216 (do-tests-clean): Do not handle *-bp.out.
24217 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24218 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24219 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24220 (tests): Do not include $(tests-bp.out).
24221 (xtests): Do not include $(xtests-bp.out).
24222 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24223 [$(build-bounded) = yes] ($(addprefix
24224 $(objpfx),$(binaries-bounded))): Remove rule.
24225 ($(objpfx)%-bp.out): Remove rule.
24226 * config.make.in (build-bounded): Remove variable.
24227 * crypt/Makefile [$(build-bounded) = yes]
24228 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24229 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24230 append to variable.
24231 [$(build-bounded) = yes] (install-lib): Likewise.
24232 [$(build-bounded) = yes] (generated): Likewise.
24233 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24234 Remove rule.
24235 * intl/Makefile [$(build-bounded) = yes]
24236 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24237 * math/Makefile [$(build-bounded) = yes]
24238 ($(tests:%=$(objpfx)%-bp): Likewise.
24239 * misc/Makefile [$(build-bounded) = yes]
24240 ($(objpfx)tst-tsearch-bp): Likewise.
24241 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24242 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24243 Remove dependency.
24244 * string/Makefile (o-objects.ob): Remove variable.
24245 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24246 (CFLAGS-.ob): Remove variable.
24247 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24248 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24249 both definitions of variable.
24250 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24251 (ASFLAGS-.ob): Remove variable.
24252
e97ed6dd
JM
242532013-02-14 Joseph Myers <joseph@codesourcery.com>
24254
2bdd4ca6
JM
24255 [BZ #13550]
24256 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24257 Remove __BOUNDED_POINTERS__ from condition.
24258 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24259 * string/bits/string2.h [!__NO_STRING_INLINES &&
24260 !__BOUNDED_POINTERS__]: Likewise.
24261 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24262 Likewise.
24263 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24264 Remove conditional code.
24265 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24266 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24267 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24268 condition.
24269
e97ed6dd
JM
24270 [BZ #13550]
24271 * csu/libc-start.c: Do not include <bp-sym.h>.
24272 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24273 * elf/dl-open.c: Do not include <bp-sym.h>.
24274 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24275 * math/fegetenv.c: Do not include <bp-sym.h>.
24276 (fegetenv): Do not use BP_SYM in versioned symbols.
24277 * nptl/sysdeps/pthread/bits/libc-lockP.h
24278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24279 <bp-sym.h>.
24280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24281 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24283 (__pthread_mutex_destroy): Likewise.
24284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24285 (__pthread_mutex_lock): Likewise.
24286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24287 (__pthread_mutex_trylock): Likewise.
24288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24289 (__pthread_mutex_unlock): Likewise.
24290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24291 (__pthread_mutexattr_init): Likewise.
24292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24293 (__pthread_mutexattr_destroy): Likewise.
24294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24295 (__pthread_mutexattr_settype): Likewise.
24296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24297 (__pthread_rwlock_init): Likewise.
24298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24299 (__pthread_rwlock_destroy): Likewise.
24300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24301 (__pthread_rwlock_rdlock): Likewise.
24302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24303 (__pthread_rwlock_tryrdlock): Likewise.
24304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24305 (__pthread_rwlock_wrlock): Likewise.
24306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24307 (__pthread_rwlock_trywrlock): Likewise.
24308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24309 (__pthread_rwlock_unlock): Likewise.
24310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24311 (__pthread_key_create): Likewise.
24312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24313 (__pthread_setspecific): Likewise.
24314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24315 (__pthread_getspecific): Likewise.
24316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24317 Likewise.
24318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24319 (_pthread_cleanup_push_defer): Likewise.
24320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24321 (_pthread_cleanup_pop_restore): Likewise.
24322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24323 (pthread_setcancelstate): Likewise.
24324 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24325 <bp-sym.h>.
24326 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24327 (memchr): Do not use BP_SYM in weak_alias.
24328 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24329 (fegetenv): Do not use BP_SYM in versioned symbols.
24330 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24331 (fesetenv): Do not use BP_SYM in versioned symbols.
24332 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24333 (feupdateenv): Do not use BP_SYM in versioned symbols.
24334 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24335 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24336 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24337 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24338 (open64): Do not use BP_SYM in weak_alias.
24339 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24340 (fegetenv): Do not use BP_SYM in versioned symbols.
24341 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24342 (fesetenv): Do not use BP_SYM in versioned symbols.
24343 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24344 (feupdateenv): Do not use BP_SYM in versioned symbols.
24345 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24346 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24347 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24348 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24349 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24350 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24351 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24352 <bp-sym.h>.
24353 (__libc_start_main): Do not use BP_SYM.
24354
d6752ccd
SP
243552013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24356
cb57ce60
SP
24357 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24358 redundant return line.
24359 (norm): Likewise.
24360 (denorm): Likewise.
24361 (dbl_mp): Likewise.
24362 (sub_magnitudes): Likewise.
24363 (__add): Likewise.
24364 (__sub): Likewise.
24365 (__mul): Likewise.
24366 (__inv): Likewise.
24367 (__dvd): Likewise.
24368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24369 (norm): Likewise.
24370 (denorm): Likewise.
24371 (dbl_mp): Likewise.
24372 (sub_magnitudes): Likewise.
24373 (__add): Likewise.
24374 (__sub): Likewise.
24375 (__mul): Likewise.
24376 (__inv): Likewise.
24377 (__dvd): Likewise.
24378
f414520d
SP
24379 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24380 instead of __mul.
24381 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24382 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24383 (cc32): Likewise.
24384
d6752ccd
SP
24385 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24386 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24387 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24388 of __mul for squares.
24389 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24390 function
24391 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24392 Likewise.
24393 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24394 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24395
70d9946a
JM
243962013-02-13 Joseph Myers <joseph@codesourcery.com>
24397
24398 [BZ #13550]
24399 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24400 code.
24401 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24402 prototype or function definition. Rename ubp_* variables and
24403 parameters. Remove argv definitions conditional on
24404 [__BOUNDED_POINTERS__].
24405 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24406 * elf/dl-runtime.c (_dl_fixup): Likewise.
24407 * include/set-hooks.h (RUN_HOOK): Likewise.
24408 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24409 definition.
24410 * string/strcpy.c (strcpy): Do not use __unbounded.
24411 * sysdeps/generic/frame.h (struct layout): Likewise.
24412 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24413 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24414 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24415 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24416 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24417 (__backtrace): Likewise.
24418 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24419 use __ptrvalue.
24420 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24421 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24422 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24423 Likewise.
24424 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24425 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24426 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24427 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24428 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24429 Do not use __unbounded.
24430 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24431 Rename __unboundedrlimits parameter to rlimits in prototype.
24432 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24433 Do not use __unbounded.
24434 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24435 not use __ptrvalue.
24436 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24437 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24438 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24439 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24440 __ptrvalue or __unbounded.
24441 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24442 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24443 use __unbounded.
24444 (__new_msgctl): Do not use __ptrvalue.
24445 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24446 __unbounded.
24447 (__libc_msgrcv): Do not use __ptrvalue.
24448 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24449 startup_info): Do not use __unbounded.
24450 (__libc_start_main): Likewise. Rename ubp_* variables and
24451 parameters. Remove argv definitions conditional on
24452 [__BOUNDED_POINTERS__].
24453 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24454 __ptrvalue.
24455 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24456 use __unbounded.
24457 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24458 or __ptrvalue.
24459 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24460 use __unbounded.
24461 (__new_shmctl): Do not use __ptrvalue.
24462 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24463 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24464 Likewise.
24465 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24466 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24467 (__libc_sigaction): Likewise.
24468 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24469 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24470 Likewise.
24471 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24472
cc7834d6
OB
244732013-02-13 Ondřej Bílka <neleai@seznam.cz>
24474
ffb1ec7b 24475 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
24476
24477 * string/mempcpy.c: Implement by calling memcpy.
24478
bdf02814
SP
244792013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24480
c2af38aa
SP
24481 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24482
4e92d59e
SP
24483 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24484 evaluation.
24485
909279a5
SP
24486 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24487 values in the mantissa.
24488
bdf02814
SP
24489 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24490 minimize writes to Z.
24491 (sub_magnitudes): Simplify code a bit.
24492
cd525923
RM
244932013-02-12 Roland McGrath <roland@hack.frob.com>
24494
24495 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24496 from the message. The linker prefixes all warnings with that already.
24497
7e2f0d2d
AS
244982013-02-12 Andreas Schwab <schwab@suse.de>
24499
a445af0b
AS
24500 [BZ #15078]
24501 * posix/regexec.c (extend_buffers): Add parameter min_len.
24502 (check_matching): Pass minimum needed length.
24503 (clean_state_log_if_needed): Likewise.
24504 (get_subexp): Likewise.
24505 * posix/Makefile (tests): Add bug-regex34.
24506 (bug-regex34-ENV): Define.
24507 * posix/bug-regex34.c: New file.
24508
7e2f0d2d
AS
24509 [BZ #11561]
24510 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24511 elements compare against the byte sequence of it, not its name.
24512 * posix/Makefile (tests): Add bug-regex35.
24513 (bug-regex35-ENV): Define.
24514 * posix/bug-regex35.c: New file.
24515
a175b684
TV
245162013-02-11 Tom de Vries <tom@codesourcery.com>
24517
24518 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24519 comment.
24520 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24521 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24522 (CHECK_EOL): Add undef.
24523
310998fe 245242013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
24525
24526 * bits/stdlib-bsearch.h: New file.
24527 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 24528 * stdlib/stdlib.h: Likewise.
41eda41d 24529
8ded91fb
RM
245302013-02-11 Roland McGrath <roland@hack.frob.com>
24531
24532 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24533 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24534 declaration.
24535 * manual/search.texi (Array Search Function): Add missing const in
24536 lfind prototype.
24537 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24538 declaration to use rlim_t.
24539 (Basic Scheduling Functions): Remove erroneous const from
24540 sched_getparam prototype. Remove erroneous * from
24541 sched_get_priority_max and sched_get_priority_min prototypes.
24542 (Resource Usage): Fix summary @comment on vtimes to refer to
24543 sys/vtimes.h rather than vtimes.h.
24544 Add missing *s in vtimes prototype.
24545 (Limits on Resources): Fix ulimit prototype to return long int.
24546 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24547 prototypes to use long int rather than double.
24548 (BSD Random): Fix initstate and setstate to use char *, not void *.
24549 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24550 prototype to make second argument 'struct aiocb64 *const[]'.
24551 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24552 (Status of AIO Operations): Remove erroneous const in aio_return and
24553 aio_return64 prototypes.
24554 (Synchronizing I/O): Fix sync prototype to return void.
24555 * manual/startup.texi (Suboptions): Remove an erroneous const in
24556 getsubopt prototype.
24557 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24558 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24559 use size_t rather than int.
24560 (Scanning All Users): Likewise for getpwent_r.
24561 (Setting Groups): Add missing const to setgroups prototype.
24562 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24563 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24564 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24565 'const void *' rather than 'const char *'.
24566 (Host Address Functions): Likewise for inet_ntop.
24567 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24568 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24569 ssize_t for return value.
24570 (Sending Data): Likewise for send, sendto, sendmsg.
24571 (Socket Option Functions): Add a missing const in setsockopt prototype.
24572 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24573 use wchar_t for the argument.
24574 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24575 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24576 take no arguments.
24577 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24578 double/float/long double for second argument.
24579 Fix return types of significand, significandf, significandl.
24580 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24581 argument in fchmod prototype.
24582 (File Owner): Use uid_t and gid_t in fchown prototype.
24583 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24584 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24585 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24586 use 'const struct dirent **' as argument types to CMP function pointer
24587 argument.
24588 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24589 (File Times): Fix summary magic @comment for struct utimbuf and utime
24590 to refer to utime.h, not time.h.
24591 * manual/string.texi (Argz Functions): Add missing const in
24592 argz_extract and argz_next prototypes.
24593 (Finding Tokens in a String): Likewise for basename.
24594 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24595 (Copying and Concatenation): Fix typo in wmemmove prototype.
24596 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24597 (Signal Stack): Remove erroneous const in sigstack prototype.
24598 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24599 prototype.
24600 (Simple Calendar Time): Likewise for stime.
24601 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24602 prototype.
24603 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24604 say sys/sysctl.h instead.
24605 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24606 and vsyslog prototypes.
24607
fe77fe6d
TV
246082013-02-11 Tom de Vries <tom@codesourcery.com>
24609
24610 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24611 Remove.
24612
3a09b620
RM
246132013-02-11 Roland McGrath <roland@hack.frob.com>
24614
24615 * misc/sys/mman.h: Fix typo in mremap comment.
24616
550a0b89
RM
246172013-02-08 Roland McGrath <roland@hack.frob.com>
24618
24619 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24620 the '\0' terminator.
24621
a2da1673
JM
246222013-02-08 Joseph Myers <joseph@codesourcery.com>
24623
24624 [BZ #13550]
24625 * debug/segfault.c: Don't include <bp-checks.h>.
24626 * sysdeps/generic/bp-checks.h: Remove file.
24627 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24628 (__GETDENTS): Don't use CHECK_N.
24629 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24630 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24631 (__getgroups): Don't use CHECK_N.
24632 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24633 (setgroups): Don't use CHECK_N.
24634 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24635 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24636 (__libc_msgrcv): Don't use CHECK_N.
24637 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24638 (__libc_msgsnd): Don't use CHECK_N.
24639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24640 <bp-checks.h>.
24641 (__libc_pread): Don't use CHECK_N.
24642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24643 include <bp-checks.h>.
24644 (__libc_pread64): Don't use CHECK_N.
24645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24646 include <bp-checks.h>.
24647 (__libc_pwrite): Don't use CHECK_N.
24648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24649 include <bp-checks.h>.
24650 (__libc_pwrite64): Don't use CHECK_N.
24651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24652 <bp-checks.h>.
24653 (__libc_pread): Don't use CHECK_N.
24654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24655 include <bp-checks.h>.
24656 (__libc_pread64): Don't use CHECK_N.
24657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24658 include <bp-checks.h>.
24659 (__libc_pwrite): Don't use CHECK_N.
24660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24661 include <bp-checks.h>.
24662 (__libc_pwrite64): Don't use CHECK_N.
24663 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24664 (do_pread): Don't use CHECK_N.
24665 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24666 (do_pread64): Don't use CHECK_N.
24667 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24668 (do_pwrite): Don't use CHECK_N.
24669 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24670 (do_pwrite64): Don't use CHECK_N.
24671 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24672 (__libc_readv): Don't use CHECK_N.
24673 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24674 (semop): Don't use CHECK_N.
24675 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24676 <bp-checks.h>.
24677 (semtimedop): Don't use CHECK_N.
24678 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24679 (__libc_pread): Don't use CHECK_N.
24680 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24681 <bp-checks.h>.
24682 (__libc_pread64): Don't use CHECK_N.
24683 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24684 <bp-checks.h>.
24685 (__libc_pwrite): Don't use CHECK_N.
24686 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24687 <bp-checks.h>.
24688 (__libc_pwrite64): Don't use CHECK_N.
24689 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24690 <bp-checks.h>.
24691 (__libc_msgrcv): Don't use CHECK_N.
24692 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24693 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24694 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24695 (__libc_writev): Don't use CHECK_N.
24696
b84660a8
RM
246972013-02-08 Roland McGrath <roland@hack.frob.com>
24698
7f3e75f8
RM
24699 * string/strcpy.c: Removed unused variable.
24700
b84660a8
RM
24701 * Makeconfig (+sysdep-includes): Define with := rather than =.
24702 Use an existing include/ subdir of each sysdeps dir before it.
24703
471514d3
CD
247042013-02-08 Carlos O'Donell <carlos@redhat.com>
24705
24706 * nscd/connection.c (register_traced_file): Comment function.
24707 [HAVE_INOTIFY] (union __inev): Define.
24708 [HAVE_INOTIFY] (inotify_check_files): New function.
24709 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24710 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24711 clear_db_cache.
24712 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24713
b2d3c3be
CD
247142013-02-08 Carlos O'Donell <carlos@redhat.com>
24715
24716 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24717 loaded if not already and that a failure is permanent.
24718
b39949d2
CD
247192013-02-08 Carlos O'Donell <carlos@redhat.com>
24720
ddacd1db 24721 [BZ #15006]
b39949d2
CD
24722 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24723 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24724
b2c9eff4
JM
247252013-02-08 Joseph Myers <joseph@codesourcery.com>
24726
f3aae3f3
JM
24727 [BZ #13550]
24728 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24729 (CHECK_1_NULL_OK): Likewise.
24730 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24731 (__fxstat): Do not use CHECK_1.
24732 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24733 <bp-checks.h>.
24734 (___fxstat64): Do not use CHECK_1.
24735 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24736 <bp-checks.h>.
24737 (__fxstatat): Do not use CHECK_1.
24738 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24739 <bp-checks.h>.
24740 (__fxstatat64): Do not use CHECK_1.
24741 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24742 <bp-checks.h>.
24743 (__fxstat): Do not use CHECK_1.
24744 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24745 <bp-checks.h>.
24746 (__fxstatat): Do not use CHECK_1.
24747 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24748 <bp-checks.h>.
24749 (__getresgid): Do not use CHECK_1.
24750 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24751 <bp-checks.h>.
24752 (__getresuid): Do not use CHECK_1.
24753 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24754 <bp-checks.h>.
24755 (__lxstat): Do not use CHECK_1.
24756 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24757 <bp-checks.h>.
24758 (__old_msgctl): Do not use CHECK_1.
24759 (__new_msgctl): Likewise.
24760 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24761 <bp-checks.h>.
24762 (__new_setrlimit): Do not use CHECK_1.
24763 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24764 <bp-checks.h>.
24765 (__old_shmctl): Do not use CHECK_1.
24766 (__new_shmctl): Likewise.
24767 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24768 <bp-checks.h>.
24769 (__xstat): Do not use CHECK_1.
24770 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24771 (__lxstat): Do not use CHECK_1.
24772 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24773 <bp-checks.h>.
24774 (___lxstat64): Do not use CHECK_1.
24775 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24776 (__old_msgctl): Do not use CHECK_1.
24777 (__new_msgctl): Likewise.
24778 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24779 <bp-checks.h>.
24780 (__gettimeofday): Do not use CHECK_1.
24781 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24782 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24783 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24784 <bp-checks.h>.
24785 (__gettimeofday): Do not use CHECK_1.
24786 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24787 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24788 (__new_shmctl): Do not use CHECK_1.
24789 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24790 <bp-checks.h>.
24791 (do_sigtimedwait): Do not use CHECK_1.
24792 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24793 <bp-checks.h>.
24794 (do_sigwaitinfo): Do not use CHECK_1.
24795 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24796 <bp-checks.h>.
24797 (msgctl): Do not use CHECK_1.
24798 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24799 <bp-checks.h>.
24800 (shmctl): Do not use CHECK_1.
24801 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24802 (ustat): Do not use CHECK_1.
24803 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24804 <bp-checks.h>.
24805 (__fxstat): Do not use CHECK_1.
24806 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24807 <bp-checks.h>.
24808 (__fxstatat): Do not use CHECK_1.
24809 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24810 <bp-checks.h>.
24811 (__lxstat): Do not use CHECK_1.
24812 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24813 <bp-checks.h>.
24814 (__xstat): Do not use CHECK_1.
24815 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24816 (__xstat): Do not use CHECK_1.
24817 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24818 (___xstat64): Do not use CHECK_1.
24819
b2c9eff4
JM
24820 [BZ #13550]
24821 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24822 definitions.
24823 (CHECK_BOUNDS_HIGH): Likewise.
24824 * string/strcpy.c: Do not include <bp-checks.h>.
24825 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24826
f1d70dad
RM
248272013-02-07 Roland McGrath <roland@hack.frob.com>
24828
24829 * nscd/nscd-client.h (__nscd_drop_map_ref):
24830 Add __attribute__ ((unused)).
24831 * nis/nss-nisplus.h (niserr2nss): Likewise.
24832
24833 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24834 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24835
24836 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24837 Remove inline keyword.
24838 * include/rounding-mode.h (round_away): Likewise.
24839 * libio/wfileops.c (adjust_wide_data): Likewise.
24840 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24841 (__m128i_strloadu_tolower): Likewise.
24842 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24843 (__m128i_strloadu_tolower): Likewise.
24844 * time/mktime.c (ydhms_diff): Likewise.
24845 * locale/elem-hash.h (elem_hash): Likewise.
24846 * locale/setlocale.c (setdata): Likewise.
24847 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24848 (re_string_wchar_at): Likewise.
24849 (bitset_not, bitset_merge, bitset_mask): Likewise.
24850 [!(__GNUC__ > 3)] (inline): Remove macro.
24851 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24852 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24853 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24854 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24855 * string/memcmp.c (memcmp_bytes): Likewise.
24856 * locale/programs/locarchive.c (compute_hashval): Likewise.
24857 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24858 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24859 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24860 * nss/getent.c (print_rpc, print_protocols): Likewise.
24861 (print_passwd, print_group, print_aliases): Likewise.
24862 * nis/nss-nisplus.h (niserr2nss): Likewise.
24863 * nscd/connections.c (restart_p): Likewise.
24864 Change return type to bool.
24865
eab55bfb
RM
248662013-02-05 Roland McGrath <roland@hack.frob.com>
24867
7bd642f5
RM
24868 * Makeconfig (all-Depend-files): Add existing
24869 $(sorted-subdirs:=/Depend) files.
24870 (all-subdirs): Remove nss.
24871 * sysdeps/unix/inet/Subdirs: Add it here instead.
24872 * hesiod/Depend: New file.
24873
573c29b2
RM
24874 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24875 instead of calling alloca.
24876
b2e25af0
RM
24877 * io/lseek.c (__lseek): Rename to __libc_lseek.
24878 Define __lseek as an alias.
24879
eab55bfb
RM
24880 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24881
9a0d1941
CD
248822013-02-04 Carlos O'Donell <carlos@redhat.com>
24883
24884 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24885 else clause and remove check for non-standard endianness.
24886
b83bbec4
DM
248872013-02-04 David S. Miller <davem@davemloft.net>
24888
24889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24890
6277fdab
JM
248912013-02-04 Joseph Myers <joseph@codesourcery.com>
24892
24893 [BZ #13550]
24894 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24895 (__ubp_memchr): Remove prototype.
24896 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24897 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24898 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24899 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24900 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24901 Remove alias.
24902 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24903 (__ubp_memchr): Likewise.
24904 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24905 (__ubp_memchr): Likewise.
24906 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24907 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24908 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24909 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24910 CHECK_STRING.
24911 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24912 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24913 (__getcwd): Do not use CHECK_STRING.
24914 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24915 <bp-checks.h>.
24916 (__real_chown): Do not use CHECK_STRING.
24917 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24918 <bp-checks.h>.
24919 (fchownat): Do not use CHECK_STRING.
24920 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24921 CHECK_STRING.
24922 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24923 <bp-checks.h>.
24924 (__lchown): Do not use CHECK_STRING.
24925 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24926 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24927 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24928 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24930 include <bp-checks.h>.
24931 (truncate64): Do not use CHECK_STRING.
24932 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24933 <bp-checks.h>.
24934 (__real_chown): Do not use CHECK_STRING.
24935 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24936 <bp-checks.h>.
24937 (__lchown): Do not use CHECK_STRING.
24938 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24939 <bp-checks.h>.
24940 (__chown): Do not use CHECK_STRING.
24941 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24942 <bp-checks.h>.
24943 (truncate64): Do not use CHECK_STRING.
24944 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24945 Likewise.
24946 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24947 (__xmknod): Do not use CHECK_STRING.
24948 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24949 <bp-checks.h>.
24950 (__xmknodat): Do not use CHECK_STRING.
24951 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24952 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24953
903ae060
AS
249542013-02-04 Andreas Schwab <schwab@suse.de>
24955
24956 [BZ #14142]
24957 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24958 * include/netdb.h: Likewise for h_errno.
24959 * elf/tst-stackguard1.c: Include <tls.h>.
24960
542f9466
JK
249612013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24962
24963 * elf/link.h (struct link_map): Extend the l_addr comment.
24964 * include/link.h (struct link_map): Likewise.
24965
e782a927
JM
249662013-02-01 Joseph Myers <joseph@codesourcery.com>
24967
24968 [BZ #13550]
24969 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24970 (BOUNDED_1): Remove macro.
24971 * debug/backtrace.c: Don't include <bp-checks.h>.
24972 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24973 (__backtrace): Likewise.
24974 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24975 <bp-checks.h>.
24976 (__backtrace): Don't use BOUNDED_1.
24977 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24978 <bp-checks.h>.
24979 (__backtrace): Don't use BOUNDED_1.
24980 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24981 (__backtrace): Don't use BOUNDED_1.
24982 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24983 (shmat): Don't use BOUNDED_N.
24984
8cf28c5e
JM
249852013-01-31 Joseph Myers <joseph@codesourcery.com>
24986
3a7ac8a0
JM
24987 [BZ #13550]
24988 * sysdeps/generic/bp-start.h: Remove file.
24989 * csu/libc-start.c: Don't include <bp-start.h>.
24990 (LIBC_START_MAIN): Set up __environ directly instead of using
24991 INIT_ARGV_and_ENVIRON.
24992 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24993 <bp-start.h>.
24994
f3499f95
JM
24995 [BZ #13550]
24996 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24997 definitions.
24998 (CHECK_FCNTL): Likewise.
24999 (CHECK_N_PAGES): Likewise.
25000
32a45bea
JM
25001 [BZ #13550]
25002 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25003 definitions.
25004 (CHECK_SIGSET_NULL_OK): Likewise.
25005 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25006 <bp-checks.h>.
25007 (sigpending): Don't use CHECK_SIGSET.
25008 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25009 <bp-checks.h>.
25010 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25011 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25012 <bp-checks.h>.
25013 (do_sigsuspend): Don't use CHECK_SIGSET.
25014 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25015 use CHECK_SIGSET.
25016 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25017 (do_sigwait): Don't use CHECK_SIGSET.
25018 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25019 use CHECK_SIGSET.
25020 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25021 include <bp-checks.h>.
25022 (sigpending): Don't use CHECK_SIGSET.
25023 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25024 include <bp-checks.h>.
25025 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25026 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25027 <bp-checks.h>.
25028 (sigpending): Don't use CHECK_SIGSET.
25029 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25030 <bp-checks.h>.
25031 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25032
2e8a5c8c
JM
25033 [BZ #13550]
25034 * sysdeps/generic/bp-semctl.h: Remove file.
25035 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25036 <bp-checks.h> and <bp-semctl.h>.
25037 (__old_semctl): Don't use CHECK_SEMCTL.
25038 (__new_semctl): Likewise.
25039 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25040 and <bp-semctl.h>.
25041 (__old_semctl): Don't use CHECK_SEMCTL.
25042 (__new_semctl): Likewise.
25043 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25044 <bp-checks.h> and <bp-semctl.h>.
25045 (__old_semctl): Don't use CHECK_SEMCTL.
25046 (__new_semctl): Likewise.
25047 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25048 <bp-checks.h> and <bp-semctl.h>.
25049 (semctl): Don't use CHECK_SEMCTL.
25050
c2d54929
JM
25051 [BZ #13550]
25052 * Makerules (elide-bp-thunks): Remove variable.
25053 (elide-routines.oS): Don't use $(elide-bp-thunks).
25054 (elide-routines.os): Likewise.
25055 (elide-routines.o): Likewise.
25056 (elide-routines.op): Likewise.
25057 (elide-routines.og): Likewise.
25058 (objects): Don't use $(bp-thunks).
25059 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25060 include.
25061 (common-generated): Do not add s-proto-bp.d.
25062 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25063 (int): Likewise.
25064 (typ): Likewise.
25065 Do not generate makefile rules for bounded-pointer thunks.
25066 * sysdeps/generic/bp-thunks.h: Remove file.
25067 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25068 * sysdeps/unix/s-proto-bp.S: Likewise.
25069
8cf28c5e
JM
25070 [BZ #15062]
25071 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25072 parts of result separately when argument is not close to line from
25073 -i to i and one part of argument is small.
25074 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25075 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25076 * math/libm-test.inc (cacos_test): Add more tests.
25077 (casin_test): Likewise.
25078 (casinh_test): Likewise.
25079 * sysdeps/i386/fpu/libm-test-ulps: Update.
25080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25081
c4e33b8d
DM
250822013-01-31 David S. Miller <davem@davemloft.net>
25083
25084 * po/de.po: Update from translation team.
25085
3b60b421
MK
250862013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25087
25088 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25089
bb931195
TS
250902013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25091
b5a5da23
TS
25092 * configure.in (_AC_PROG_CC_C89): New definition.
25093 * configure: Regenerate.
25094
bb931195
TS
25095 * configure.in (AC_PROG_CPP): New definition.
25096 * configure: Regenerate.
25097
8c53a12c
JM
250982013-01-23 Joseph Myers <joseph@codesourcery.com>
25099
25100 * debug/tst-backtrace.h: New file.
25101 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25102 (ret): Remove variable.
25103 (x): Likewise.
25104 (FAIL): Remove macro.
25105 (NO_INLINE): Likewise.
25106 (fn1): Use match function instead of strstr.
25107 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25108 (ret): Remove variable.
25109 (x): Likewise.
25110 (FAIL): Remove macro.
25111 (NO_INLINE): Likewise.
25112 (fn): Use match function instead of strstr.
25113 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25114 (ret): Remove variable.
25115 (x): Likewise.
25116 (FAIL): Remove macro.
25117 (NO_INLINE): Likewise.
25118 (handle_signal): Use match function instead of strstr.
25119 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25120 (ret): Remove variable.
25121 (x): Likewise.
25122 (FAIL): Remove macro.
25123 (NO_INLINE): Likewise.
25124 (handle_signal): Use match function instead of strstr.
25125
4858fa2a
RM
251262013-01-23 Roland McGrath <roland@hack.frob.com>
25127
25128 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25129
bae8e7f5
DM
251302013-01-23 David S. Miller <davem@davemloft.net>
25131
25132 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25133 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25134 argument of CAS if possible.
25135 * sysdeps/sparc/sparc64/bits/atomic.h
25136 (__arch_compare_and_exchange_val_32_acq): Likewise.
25137 (__arch_compare_and_exchange_val_64_acq): Likewise.
25138
9cbbc4ae
PT
251392013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25140
25141 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25142 * sysdeps/posix/ulimit.c: ... this.
92a601b8 25143 Include <limits.h>.
67b3f58c 25144 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 25145
5655a0b5
AC
251462013-01-23 Adam Conrad <adconrad@0c3.net>
25147
25148 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25149 (LDFLAGS-tst-array5): Likewise.
25150
052aff95
JM
251512013-01-23 Joseph Myers <joseph@codesourcery.com>
25152
25153 [BZ #15036]
25154 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25155 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25156 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25157 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25158
7c1e01aa
DM
251592013-01-21 David S. Miller <davem@davemloft.net>
25160
25161 * sysdeps/sparc/backtrace.c: New file.
25162 * sysdeps/sparc/sparc32/backtrace.h: New file.
25163 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25164 * sysdeps/sparc/sparc64/backtrace.h: New file.
25165 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25166 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25167 -funwind-tables.
25168
ab087e0a
AS
251692013-01-21 Andreas Schwab <schwab@suse.de>
25170
25171 [BZ #15020]
25172 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25173 closed its stdout.
25174
ed689c2f
AS
251752013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25176
25177 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25178 "mpa2.h".
25179 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25180
31d470ac
JM
251812013-01-18 Joseph Myers <joseph@codesourcery.com>
25182 Mark Mitchell <mark@codesourcery.com>
25183 Tom de Vries <tom@codesourcery.com>
25184 Paul Pluzhnikov <ppluzhnikov@google.com>
25185
25186 * debug/tst-backtrace2.c: New file.
25187 * debug/tst-backtrace3.c: Likewise.
25188 * debug/tst-backtrace4.c: Likewise.
25189 * debug/tst-backtrace5.c: Likewise.
25190 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25191 (CFLAGS-tst-backtrace3.c): Likewise.
25192 (CFLAGS-tst-backtrace4.c): Likewise.
25193 (CFLAGS-tst-backtrace5.c): Likewise.
25194 (LDFLAGS-tst-backtrace2): Likewise.
25195 (LDFLAGS-tst-backtrace3): Likewise.
25196 (LDFLAGS-tst-backtrace4): Likewise.
25197 (LDFLAGS-tst-backtrace5): Likewise.
25198 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25199 tst-backtrace4 and tst-backtrace5.
25200
90567f30 252012013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
25202 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25203
25204 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25205 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25206 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25207 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25209 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25210 "+r" and remove output regs list as redundant. Add explicit inline
25211 asm to specify register of return val to work around compiler codegen
25212 bug. Remove (int) cast on return value. Add return type parameter to
25213 use in macro so that this macro does not truncate return value for
25214 64-bit values.
25215 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25216 pass to INTERNAL_VSYSCALL_NCS.
25217 (INLINE_VSYSCALL): Add 'long int' as return type to
25218 INTERNAL_VSYSCALL_NCS macro invocation.
25219 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25220 INTERNAL_VSYSCALL_NCS macro invocation.
25221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25222
d3b9ea61
SP
252232013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25224
0b57daeb
SP
25225 [BZ #14496]
25226 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25227 Fix application of SIMD FP exception mask.
25228
caa99d06
SP
25229 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25230 mp_no from a power of two.
25231 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25232 __mpexp_twomm1. Use __pow_mp.
25233
d3b9ea61
SP
25234 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25235 multiplication.
25236
1dbaee3c
DM
252372013-01-17 David S. Miller <davem@davemloft.net>
25238
25239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25240
728d7b43
JM
252412013-01-17 Joseph Myers <joseph@codesourcery.com>
25242
25243 [BZ #15023]
25244 * include/complex.h: Condition contents on [!_COMPLEX_H].
25245 (__kernel_casinhf): New prototype.
25246 (__kernel_casinh): Likewise.
25247 (__kernel_casinhl): Likewise.
25248 * math/Makefile (libm_calls): Add k_casinh.
25249 * math/k_casinh.c: New file.
25250 * math/k_casinhf.c: Likewise.
25251 * math/k_casinhl.c: Likewise.
25252 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25253 finite nonzero arguments.
25254 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25255 finite nonzero arguments.
25256 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25257 finite nonzero arguments.
25258 * math/s_casinh.c: Do not include <float.h>.
25259 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25260 * math/s_casinhf.c: Do not include <float.h>.
25261 (__casinhf): Move code for finite nonzero arguments to
25262 k_casinhf.c.
25263 * math/s_casinhl.c: Do not include <float.h>.
25264 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25265 redefine.
25266 (__casinhl): Move code for finite nonzero arguments to
25267 k_casinhl.c.
25268 * math/libm-test.inc (cacos_test): Add more tests.
25269 * sysdeps/i386/fpu/libm-test-ulps: Update.
25270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25271
2a26ef3a
PT
252722013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25273
25274 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25275 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25276 [!HAVE_MREMAP]: Remove [defined linux] case.
25277 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25278
a897655d
SP
252792013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25280
25281 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25282
881ebe89 252832013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
25284
25285 * elf/elf.h (R_386_SIZE32): New relocation.
25286 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25287 R_386_SIZE32.
25288 (elf_machine_rela): Likewise.
25289 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25290 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25291
59981e9b
JM
252922013-01-17 Joseph Myers <joseph@codesourcery.com>
25293
25294 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25295 (FP_FAST_FMA): Do not define.
25296 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25297 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25298 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25299 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25300 !_SOFT_FLOAT]: Likewise.
25301 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25302 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25303 value.
25304 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25305 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25306 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25307 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25308 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25309 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25310 file.
25311
cfa8054f
AS
253122013-01-16 Andreas Schwab <schwab@suse.de>
25313
25314 [BZ #14327]
25315 * include/stdlib.h (__mktemp): Add declaration.
25316 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25317 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25318
dd930cc5
SP
253192013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25320
881ebe89
SP
25321 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25322 definitions.
25323 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25324 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25325 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25326 definitions here.
25327 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25328 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25329 definitions.
25330 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25331 and ONE.
25332 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25333 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25334 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25335 definitions.
25336 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25337 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25338 definitions.
25339 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 25340
dd930cc5
SP
25341 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25342
c19a9f89
DM
253432013-01-15 David S. Miller <davem@davemloft.net>
25344
1aa61767
DM
25345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25346 trunc{,f} to libm-sysdep_routes.
25347 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25349 file.
25350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25352 file.
25353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25354 file.
25355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25357 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25358 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25359 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25360 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25361 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25362 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25363
c42d5e98
DM
25364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25365 nearbyint{,f} to libm-sysdep_routes.
25366 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25368 New file.
25369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25370 file.
25371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25372 New file.
25373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25374 file.
25375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25377 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25378 file.
25379 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25380 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25381 file.
25382 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25383 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25384 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25385
c19a9f89
DM
25386 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25387 libc_feholdexcept and libc_fesetenv.
25388
357679d2
MF
253892013-01-15 Mike Frysinger <vapier@gentoo.org>
25390
25391 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25392
65a82e3d
DM
253932013-01-14 David S. Miller <davem@davemloft.net>
25394
8b954ab9
DM
25395 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25396 (SPARC_ASM_VIS2_IFUNC): Likewise.
25397 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25399 use of 'siam' instruction.
25400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25401 Likewise.
25402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25403 Likewise.
25404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25405 Likewise.
25406 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25407 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25408 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25409 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25411 file.
25412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25413 file.
25414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25415 file.
25416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25417 file.
25418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25419 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25420 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25421 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25423 new VIS2 routines.
25424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25427 Likewise.
25428 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25429 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25430 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25431 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25433 routines to libm-sysdep_routines.
25434 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25435
65a82e3d
DM
25436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25437 fdim/fdimf to libm-sysdep_routines.
25438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25439 file.
25440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25442 file.
25443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25446 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25447 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25448 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25449 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25450
e34ab705
SP
254512013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25452
2a91b573
SP
25453 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25454 to optimize copies.
25455
1066a534
SP
25456 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25457 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25458 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25459
e34ab705
SP
25460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25461 local variable MPTWO.
25462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25463 Likewise.
25464
aba5e596
MF
254652013-01-13 Mike Frysinger <vapier@gentoo.org>
25466
25467 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25468 GLOB_NOESCAPE.
25469
e557e9e5
MF
254702013-01-13 Mike Frysinger <vapier@gentoo.org>
25471
25472 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25473
0428cec9
MF
254742013-01-13 Mike Frysinger <vapier@gentoo.org>
25475
25476 * manual/pattern.texi (glob_t): Document gl_flags.
25477 (glob64_t): Likewise.
25478
8794a964
DM
254792013-01-11 David S. Miller <davem@davemloft.net>
25480
66438c3f
RM
25481 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25482 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25483 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
25484 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25485 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25486 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25487 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25488 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25489 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25490 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25491 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25492 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25493 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25494
4ae4244d
DM
25495 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25496 sparc V9 rather than using V8 code.
25497 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25498 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25499
8794a964
DM
25500 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25501 Move to...
25502 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25503 Here.
25504
6270516e
RM
255052013-01-11 Roland McGrath <roland@hack.frob.com>
25506
25507 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25508 not in the main loop.
25509 * configure: Regenerated.
25510
6a57d931
JM
255112013-01-11 Joseph Myers <joseph@codesourcery.com>
25512
25513 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25514 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25515 to just #else.
25516 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25517 [!__GLIBC_HAVE_LONG_LONG] case.
25518 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25519 condition to just #else.
25520 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25521 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25522 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25523 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25524 unconditional.
25525 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25526 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25527 #elif condition to just #else.
25528 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25529 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25530 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25531 #elif condition to just #else.
25532
0e8529e9
SE
255332013-01-11 Steve Ellcey <sellcey@mips.com>
25534
25535 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25536 (EF_MIPS_ARCH_64): Fix value.
25537 (EF_MIPS_ARCH_32R2): New.
25538 (EF_MIPS_ARCH_64R2): New.
25539
740b3dbe
L
255402013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25541
25542 * Makeconfig (+link-pie-before-libc): New.
25543 (+link-pie-after-libc): Likewise.
25544 (+link-pie-tests): Likewise.
25545 (+link-pie): Rewritten.
25546 (link-before-libc): Remove $(config-LDFLAGS).
25547 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25548 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25549 (config-LDFLAGS): Renamed to ...
25550 (rtld-LDFLAGS): This.
25551 (rtld-tests-LDFLAGS): New macro.
25552 (link-libc-rpath-link): Likewise.
25553 (link-libc-tests-rpath-link): Likewise.
25554 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25555 (link-libc): Prepand $(link-libc-rpath-link).
25556 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25557 (test-program-prefix): New macro.
25558 (test-via-rtld-prefix): Likewise.
25559 (test-program-cmd): Likewise.
25560 (host-test-program-cmd): Likewise.
25561 * Makefile ($(common-objpfx)testrun.sh): Replace
25562 $(run-program-prefix) with $(test-program-prefix).
25563 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25564 $(rtld-LDFLAGS).
25565 ($(common-objpfx)shlib.lds): Likewise.
25566 (build-module-helper): Likewise.
25567 ($(common-objpfx)format.lds): Likewise.
25568 * Rules (binaries-pie-tests): New.
25569 (binaries-pie-notests): Likewise.
25570 (binaries-pie): Rewritten.
25571 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25572 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25573 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25574 (make-test-out): Replace $(host-built-program-cmd) with
25575 $(host-test-program-cmd).
25576 * config.make.in (build-hardcoded-path-in-tests): New variable.
25577 * configure.in (--enable-hardcoded-path-in-tests): New configure
25578 option.
25579 (hardcoded_path_in_tests): New AC_SUBST.
25580 * configure: Regenerated.
25581 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25582 $(built-program-cmd) with $(test-program-cmd).
25583 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25584 (test_program_cmd): This.
25585 * elf/Makefile ($(objpfx)order.out): Run test with
25586 $(test-program-prefix).
25587 ($(objpfx)order2.out): Likewise.
25588 ($(objpfx)tst-initorder.out): Likewise.
25589 ($(objpfx)tst-initorder2.out): Likewise.
25590 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25591 $(test-program-cmd).
25592 ($(objpfx)tst-array1-static.out): Likewise.
25593 ($(objpfx)tst-array2.out): Likewise.
25594 ($(objpfx)tst-array3.out): Likewise.
25595 ($(objpfx)tst-array4.out): Likewise.
25596 ($(objpfx)tst-array5.out): Likewise.
25597 ($(objpfx)tst-array5-static.out): Likewise.
25598 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25599 $(test-program-cmd).
25600 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25601 $(run-program-prefix) with $(test-program-prefix).
25602 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25603 (test_program_prefix): This.
25604 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25605 $(run-program-prefix) with $(test-program-prefix).
25606 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25607 (test_program_prefix): This.
25608 * iconvdata/tst-tables.sh: Likewise.
25609 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25610 $(run-program-prefix) with $(test-program-prefix).
25611 ($(objpfx)tst-translit.out): Likewise.
25612 ($(objpfx)tst-gettext2.out): Likewise.
25613 ($(objpfx)tst-gettext4.out): Likewise.
25614 ($(objpfx)tst-gettext6.out): Likewise.
25615 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25616 (test_program_prefix): This.
25617 * intl/tst-gettext2.sh: Likewise.
25618 * intl/tst-gettext4.sh Likewise.
25619 * intl/tst-gettext6.sh: Likewise.
25620 * intl/tst-translit.sh: Likewise.
25621 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25622 with $(test-program-cmd).
25623 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25624 $(run-program-prefix) with $(test-program-prefix).
25625 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25626 (test_program_prefix): This.
25627 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25628 $(run-program-prefix) with $(test-program-prefix).
25629 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25630 (test_program_prefix): This.
25631 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25632 * posix/Makefile ($(objpfx)globtest.out): Replace
25633 $(run-via-rtld-prefix) and $(test-wrapper) with
25634 $(test-program-prefix) and $(test-via-rtld-prefix).
25635 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25636 $(test-program-prefix).
25637 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25638 $(host-test-program-cmd).
25639 (tst-spawn-ARGS): Likewise.
25640 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25641 $(test-program-prefix).
25642 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25643 (test_via_rtld_prefix): This.
25644 (test_wrapper): Renamed to ...
25645 (test_program_prefix): This.
25646 (run_program_prefix): Replaced by test_program_prefix.
25647 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25648 (test_program_prefix): This.
25649 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25650 with $(host-test-program-cmd).
25651 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25652 $(run-program-prefix) with $(test-program-prefix).
25653 ($(objpfx)tst-printf.out): Likewise.
25654 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25655 $(test-program-cmd).
25656 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25657 (test_program_prefix): This.
25658 * stdio-common/tst-unbputc.sh: Likewise.
25659 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25660 $(run-program-prefix) with $(test-program-prefix).
25661 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25662 (test_program_prefix): This.
25663 * string/Makefile ($(objpfx)tst-svc.out): Replace
25664 $(built-program-cmd) with $(test-program-cmd).
25665
c6fe55cf
AJ
256662013-01-11 Andreas Jaeger <aj@suse.de>
25667
25668 [BZ #15003]
25669 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25670 value. Sync with Linux 3.7.
25671
9e6919c8
DM
256722013-01-10 David S. Miller <davem@davemloft.net>
25673
25674 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25675 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25676 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25677
1c9f1a02
RM
256782013-01-10 Roland McGrath <roland@hack.frob.com>
25679
25680 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25681 never set.
25682 * configure: Regenerated.
25683
b9de2dde
DM
256842013-01-10 David S. Miller <davem@davemloft.net>
25685
25686 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25687 sparc V9 rather than using V8 code.
25688 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25689 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25690
e7f68ef4
RM
256912013-01-10 Roland McGrath <roland@hack.frob.com>
25692
25693 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25694 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25695 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25696 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25697 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25698 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25699 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25700 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25701 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25702 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25703 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25704 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25705 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25706 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25707 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25708 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25709 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25710 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25711 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25712 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25713 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25714 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25715 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25716 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25717 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25718 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25719 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25720
5a47cc9c
DM
257212013-01-10 David S. Miller <davem@davemloft.net>
25722
25723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25724
4cf8f209
L
257252013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25726
25727 * posix/Makefile (tests-static): New variable.
25728 (tests): Add $(tests-static).
25729 (tst-exec-static-ARGS): New variable.
25730 (tst-spawn-static-ARGS): Likewise.
25731 * posix/tst-exec-static.c: New file.
25732 * posix/tst-spawn-static.c: Likewise.
25733 * posix/tst-exec.c: Support run directly.
25734 * posix/tst-spawn.c: Likewise.
25735
fed0faa1
JM
257362013-01-10 Joseph Myers <joseph@codesourcery.com>
25737
828beb13
JM
25738 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25739 long.
25740 * math/bits/mathcalls.h (llrint): Likewise.
25741 (llround): Likewise.
25742 * stdlib/stdlib.h (struct drand48_data): Likewise.
25743 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25744 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25745 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25746 Likewise.
25747 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25748 Likewise.
25749 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25750 (elf_greg_t): Likewise.
25751 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25752 (__jmp_buf): Likewise.
25753 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25754 definitions.
25755 (llrint): Likewise, for all definitions.
25756 (llrintl): Likewise.
25757
fed0faa1
JM
25758 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25759 Remove [__GNUC__] condition.
25760 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25761 condition to just [__USE_ISOC99].
25762 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25763
1a20cb20
L
257642013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25765
25766 [BZ #14200]
25767 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25768 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25769 defined.
25770 (_POSIX_V6_ILP32_OFF32): Likewise.
25771 (_XBS5_ILP32_OFF32): Likewise.
25772 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25773 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25774
751b85f7
SP
257752013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25776
7490eb81
SP
25777 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25778
751b85f7
SP
25779 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25780 doubles __mpexp_twomm1. Adjust usage.
25781 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25782 Remove.
25783
988197f0
AS
257842013-01-10 Andreas Schwab <schwab@suse.de>
25785
25786 [BZ #14964]
25787 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25788 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25789
e83d7298
DM
257902013-01-09 David S. Miller <davem@davemloft.net>
25791
034ed64b 25792 [BZ #15003]
57f41c40
AS
25793 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25794 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25795 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25796 (TCP_FASTOPEN): Define.
e83d7298
DM
25797 (tcp_repair_opt): New structure.
25798 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25799 enum values.
57f41c40
AS
25800 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25801 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25802 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
25803 (tcp_cookie_transactions): New structure.
25804
d5e0b9bd
AB
258052013-01-09 Anton Blanchard <anton@samba.org>
25806
25807 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25808 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25809 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25810 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25811
0c07e3ea
JM
258122013-01-09 Joseph Myers <joseph@codesourcery.com>
25813
25814 * include/features.h (__USE_ANSI): Remove.
25815
232f7002
RM
258162013-01-09 Roland McGrath <roland@hack.frob.com>
25817
ad98e30c
RM
25818 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25819
232f7002
RM
25820 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25821
950c99ca
SP
258222013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25823
b5792741
SP
25824 * sysdeps/s390/fpu/libm-test-ulps: Update.
25825
47cf2278
SP
25826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25827
950c99ca
SP
25828 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25829 (__acr): Likewise.
25830 (__cpy): Likewise.
25831 (norm): Likewise.
25832 (denorm): Likewise.
25833 (__mp_dbl): Likewise.
25834 (__dbl_mp): Likewise.
25835 (add_magnitudes): Likewise.
25836 (sub_magnitudes): Likewise.
25837 (__add): Likewise.
25838 (__sub): Likewise.
25839 (__mul): Likewise.
25840 (__inv): Likewise.
25841 (__dvd): Likewise.
25842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25843 (__acr): Likewise.
25844 (__cpy): Likewise.
25845 (norm): Likewise.
25846 (denorm): Likewise.
25847 (__mp_dbl): Likewise.
25848 (__dbl_mp): Likewise.
25849 (add_magnitudes): Likewise.
25850 (sub_magnitudes): Likewise.
25851 (__add): Likewise.
25852 (__sub): Likewise.
25853 (__mul): Likewise.
25854 (__inv): Likewise.
25855 (__dvd): Likewise.
25856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25857 (__acr): Likewise.
25858 (__cpy): Likewise.
25859 (norm): Likewise.
25860 (denorm): Likewise.
25861 (__mp_dbl): Likewise.
25862 (__dbl_mp): Likewise.
25863 (add_magnitudes): Likewise.
25864 (sub_magnitudes): Likewise.
25865 (__add): Likewise.
25866 (__sub): Likewise.
25867 (__mul): Likewise.
25868 (__inv): Likewise.
25869 (__dvd): Likewise.
25870
eede9df9
JM
258712013-01-08 Joseph Myers <joseph@codesourcery.com>
25872
25873 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25874 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25875 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25876 2 && __USE_EXTERN_INLINES]: Likewise.
25877
c40ea3d9
AJ
258782013-01-08 Andreas Jaeger <aj@suse.de>
25879
25880 [BZ# 14985]
25881 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25882 Remove.
25883 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25884 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25885
2ccdea26
AB
258862013-01-07 Anton Blanchard <anton@samba.org>
25887
25888 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25889 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25890 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25891 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25892 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25893 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25894 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25895 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25896 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25897 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25898 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25899 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25900 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25901 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25902 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25903 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25904 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25905 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25906 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25907 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25908 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25909 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25910 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25911 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25912 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25913 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25914 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25915 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25916 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25917 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25918 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25919 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25920 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25921 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25922 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25923 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25924 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25925 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25926 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25927 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25928 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25929 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25930 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25931
a9708fed
JM
259322013-01-07 Joseph Myers <joseph@codesourcery.com>
25933
375607b9
JM
25934 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25935 (__MALLOC_PMT): Likewise.
25936 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25937 [__GNUC__], only on [_LIBC].
25938 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25939 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25940 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25941 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25942 forward declaration.
25943 (realloc_hook_ini): Likewise.
25944 (memalign_hook_ini): Likewise.
25945 (__libc_memalign): Do not use __MALLOC_PMT in variable
25946 declaration.
25947 (__libc_valloc): Likewise.
25948 (__libc_pvalloc): Likewise.
25949 (__libc_calloc): Likewise.
25950 (__posix_memalign): Likewise.
25951
a9708fed
JM
25952 [BZ #14996]
25953 * math/s_casinh.c: Include <float.h>.
25954 (__casinh): Do not do computation with squaring and square root
25955 for large arguments.
25956 * math/s_casinhf.c: Include <float.h>.
25957 (__casinhf): Do not do computation with squaring and square root
25958 for large arguments.
25959 * math/s_casinhl.c: Include <float.h>.
25960 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25961 (__casinhl): Do not do computation with squaring and square root
25962 for large arguments.
25963 * math/libm-test.inc (casin_test): Add more tests.
25964 (casinh_test): Likewise.
25965 * sysdeps/i386/fpu/libm-test-ulps: Update.
25966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25967
afec409a
L
259682013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25969
25970 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25971 (__x86_64_raw_data_cache_size): Likewise.
25972 (__x86_64_data_cache_size_half): Likewise.
25973 (__x86_64_raw_data_cache_size_half): Likewise.
25974 (__x86_64_shared_cache_size): Likewise.
25975 (__x86_64_raw_shared_cache_size): Likewise.
25976 (__x86_64_shared_cache_size_half): Likewise.
25977 (__x86_64_raw_shared_cache_size_half): Likewise.
25978 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25979 to ...
25980 (__x86_data_cache_size): This.
25981 (__x86_64_raw_data_cache_size): Renamed to ...
25982 (__x86_raw_data_cache_size): This.
25983 (__x86_64_data_cache_size_half): Renamed to ...
25984 (__x86_data_cache_size_half): This.
25985 (__x86_64_raw_data_cache_size_half): Renamed to ...
25986 (__x86_raw_data_cache_size_half): This.
25987 (__x86_64_shared_cache_size): Renamed to ...
25988 (__x86_shared_cache_size): This.
25989 (__x86_64_raw_shared_cache_size): Renamed to ...
25990 (__x86_raw_shared_cache_size): This.
25991 (__x86_64_shared_cache_size_half): Renamed to ...
25992 (__x86_shared_cache_size_half): This.
25993 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25994 (__x86_raw_shared_cache_size_half): This.
25995 * sysdeps/x86_64/memcpy.S: Updated.
25996 * sysdeps/x86_64/memset.S: Likewise.
25997 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25998 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25999 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26000
0b3986d0
DM
260012013-01-04 David S. Miller <davem@davemloft.net>
26002
26003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26004
e47686e9
AS
260052013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26006
d643bac1
AS
26007 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26008 1 to avoid redefinition warning.
26009 (__USE_GNU): Don't define.
26010 (init_signaling_nan): Protoize.
26011
e47686e9
AS
26012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26013
b18decba
SP
260142013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26015
fffb407f
SP
26016 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26017 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26018 (__cpymn): Likewise.
26019 (norm): Remove commented code.
26020 (denorm): Likewise.
26021 (__mp_dbl): Likewise.
26022 (__inv): Likewise.
26023 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26024 (__cpymn): Likewise.
26025 (norm): Remove commented code.
26026 (denorm): Likewise.
26027 (__mp_dbl): Likewise.
26028 (__inv): Likewise.
26029
b18decba
SP
26030 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26031 mp_no value for 1.0 and 2.0.
26032 (norm): Use RADIXI instead of radixi.d.
26033 (denorm): Likewise.
26034 (__mul): Use 0.0 instead of zero.d.
26035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26036 mp_no value for 1.0 and 2.0.
26037 (norm): Use RADIXI instead of radixi.d.
26038 (denorm): Likewise.
26039 (__mul): Use 0.0 instead of zero.d.
26040
cdc1c96f
JM
260412013-01-04 Joseph Myers <joseph@codesourcery.com>
26042
26043 [BZ #14994]
26044 * math/s_casinh.c (__casinh): Reduce finite argument to first
26045 quadrant then set signs of results at the end.
26046 * math/s_casinhf.c (__casinhf): Likewise.
26047 * math/s_casinhl.c (__casinhl): Likewise.
26048 * math/libm-test.inc (casin_test): Add more tests.
26049 (casinh_test): Likewise.
26050 * sysdeps/i386/fpu/libm-test-ulps: Update.
26051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26052
302913e1
SP
260532013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26054
6420d207
SP
26055 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26056
a9e48ab4
SP
26057 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26058
b7837264
SP
26059 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26060 declarations.
26061 (denorm): Likewise.
26062 (__mp_dbl): Likewise.
26063 (__inv): Likewise.
26064
f8af25d2
SP
26065 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26066 and adjust the header comment.
26067
302913e1
SP
26068 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26069 variable name from declaration.
26070
5d7dd1ca
L
260712013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26072
26073 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26074 Initialize COMMON_CPUID_INDEX_7 element.
26075 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26076 (CPUID_RTM): Likewise.
26077 (HAS_RTM): Likewise.
26078 (COMMON_CPUID_INDEX_7): New enum.
26079
2f5f40f4
AS
260802013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26081
26082 [BZ #14981]
26083 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26084 size is zero, record memory as freed.
26085
4056f4a0
AJ
260862013-01-03 Andreas Jaeger <aj@suse.de>
26087
26088 * po/ia.po: Add new Interlingua translation.
26089
ab15736f 260902012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
26091
26092 * locale/programs/localedef.c: Fix description of '--posix' flag.
26093
568035b7
JM
260942013-01-02 Joseph Myers <joseph@codesourcery.com>
26095
e6898b8d
JM
26096 * NEWS: Update dates in second copyright notice.
26097 * README: Update copyright dates in example.
26098 * manual/libc.texinfo: Update copyright dates.
26099 * scripts/test-installation.pl: Update copyright date in --version
26100 output.
26101
0e2f9562
JM
26102 * hurd/ctty-input.c: Fix copyright notice formatting.
26103 * hurd/ctty-output.c: Likewise.
26104 * hurd/dtable.c: Likewise.
26105 * hurd/hurd-raise.c: Likewise.
26106 * hurd/hurdprio.c: Likewise.
26107 * hurd/msgportdemux.c: Likewise.
26108 * misc/sys/file.h: Likewise.
26109 * misc/sys/ioctl.h: Likewise.
26110 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26111 * sysdeps/mach/hurd/chdir.c: Likewise.
26112 * sysdeps/mach/hurd/fchdir.c: Likewise.
26113 * sysdeps/mach/hurd/rename.c: Likewise.
26114 * sysdeps/mach/hurd/rmdir.c: Likewise.
26115 * sysdeps/mach/hurd/seekdir.c: Likewise.
26116 * sysdeps/mach/hurd/setsid.c: Likewise.
26117 * sysdeps/posix/wait3.c: Likewise.
26118
568035b7
JM
26119 * All files with FSF copyright notices: Update copyright dates
26120 using scripts/update-copyrights.
26121 * intl/plural.c: Regenerated.
26122 * locale/programs/charmap-kw.h: Likewise.
26123 * locale/programs/locfile-kw.h: Likewise.
26124
da08f647
SP
261252013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26126
0f5477af
SP
26127 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26128 four values.
26129
44e0d4c2
SP
26130 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26131 calculation loop and add branch prediction.
26132
4d55b4e5
SP
26133 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26134 check access beyond bounds of m1np.
26135
da08f647
SP
26136 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26137 MPTWO.
26138 (__inv): Remove local variable MPTWO to use the global
26139 constant.
26140 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26141 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26142 variable MPTWO.
26143 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26144 MP3HALFS static const.
26145
8e051029
DM
261462013-01-01 David S. Miller <davem@davemloft.net>
26147
26148 * po/ca.po: Update from translation team.
26149
f4cf5f2d
JM
261502013-01-01 Joseph Myers <joseph@codesourcery.com>
26151
26152 * scripts/update-copyrights: New file.
26153 * Makeconfig: Reformat copyright notice.
26154 * ctype/ctype.h: Likewise.
26155 * debug/swprintf_chk.c: Likewise.
26156 * elf/dl-cache.c: Likewise.
26157 * elf/dl-debug.c: Likewise.
26158 * elf/dl-object.c: Likewise.
26159 * grp/initgroups.c: Likewise.
26160 * hurd/Makefile: Likewise.
26161 * hurd/hurd/signal.h: Likewise.
26162 * hurd/hurdfault.c: Likewise.
26163 * hurd/hurdioctl.c: Likewise.
26164 * hurd/hurdlookup.c: Likewise.
26165 * hurd/intr-msg.c: Likewise.
26166 * iconv/gconv_open.c: Likewise.
26167 * libio/swprintf.c: Likewise.
26168 * locale/lc-ctype.c: Likewise.
26169 * locale/nl_langinfo.c: Likewise.
26170 * mach/Machrules: Likewise.
26171 * mach/Makefile: Likewise.
26172 * malloc/obstack.h: Likewise.
26173 * manual/Makefile: Likewise.
26174 * manual/tsort.awk: Likewise.
26175 * misc/bits/stab.def: Likewise.
26176 * nis/nis_print_group_entry.c: Likewise.
26177 * nis/nis_table.c: Likewise.
26178 * nis/nss_compat/compat-pwd.c: Likewise.
26179 * nis/nss_compat/compat-spwd.c: Likewise.
26180 * po/Makefile: Likewise.
26181 * posix/fnmatch.c: Likewise.
26182 * posix/regex.h: Likewise.
26183 * resolv/Makefile: Likewise.
26184 * resolv/nss_dns/dns-network.c: Likewise.
26185 * resolv/res_hconf.c: Likewise.
26186 * scripts/gen-sorted.awk: Likewise.
26187 * soft-fp/soft-fp.h: Likewise.
26188 * stdio-common/printf.h: Likewise.
26189 * stdlib/monetary.h: Likewise.
26190 * stdlib/random.c: Likewise.
26191 * stdlib/random_r.c: Likewise.
26192 * sysdeps/generic/Makefile: Likewise.
26193 * sysdeps/gnu/Makefile: Likewise.
26194 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26195 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26196 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26197 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26198 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26199 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26200 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26201 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26202 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26203 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26204 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26205 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26206 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26207 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26208 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26209 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26210 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26211 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26212 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26213 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26214 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26215 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26216 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26217 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26218 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26219 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26220 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26221 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26222 * sysdeps/mach/hurd/errnos.awk: Likewise.
26223 * sysdeps/mach/hurd/fork.c: Likewise.
26224 * sysdeps/mach/hurd/getcwd.c: Likewise.
26225 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26226 * sysdeps/mach/hurd/mmap.c: Likewise.
26227 * sysdeps/mach/hurd/utimes.c: Likewise.
26228 * sysdeps/mach/hurd/xmknod.c: Likewise.
26229 * sysdeps/posix/profil.c: Likewise.
26230 * sysdeps/posix/readdir_r.c: Likewise.
26231 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26232 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26233 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26234 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26235 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26236 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26237 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26238 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26239 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26240 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26241 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26242 * sysdeps/pthread/lio_listio.c: Likewise.
26243 * sysdeps/sparc/dl-procinfo.h: Likewise.
26244 * sysdeps/unix/i386/sysdep.S: Likewise.
26245 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26246 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26247 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26248 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26250 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26251 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26252 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26253 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26254 * sysdeps/wordsize-32/divdi3.c: Likewise.
26255 * time/sys/time.h: Likewise.
26256 * wcsmbs/Makefile: Likewise.
26257
0549fbba
DM
262582013-01-01 David S. Miller <davem@davemloft.net>
26259
a141f1a7
DM
26260 * po/fr.po: Update from translation team.
26261
0549fbba
DM
26262 * catgets/gencat.c: Update copyright year.
26263 * csu/version.c: Likewise.
26264 * debug/catchsegv.sh: Likewise.
26265 * debug/pcprofiledump.c: Likewise.
26266 * debug/xtrace.sh: Likewise.
26267 * elf/ldconfig.c: Likewise.
26268 * elf/ldd.bash.in: Likewise.
26269 * elf/pldd.c: Likewise.
26270 * elf/sotruss.ksh: Likewise.
26271 * elf/sprof.c: Likewise.
26272 * iconv/iconv_prog.c: Likewise.
26273 * iconv/iconvconfig.c: Likewise.
26274 * locale/programs/locale.c: Likewise.
26275 * locale/programs/localedef.c: Likewise.
26276 * login/programs/pt_chown.c: Likewise.
26277 * malloc/memusage.sh: Likewise.
26278 * malloc/memusagestat.c: Likewise.
26279 * malloc/mtrace.pl: Likewise.
26280 * nscd/nscd.c: Likewise.
26281 * nss/getent.c: Likewise.
26282 * nss/makedb.c: Likewise.
26283 * posix/getconf.c: Likewise.
26284
18ea052c
SP
262852012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26286
26287 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26288 numbers.
26289
9c89fca6
MF
262902012-12-30 Mike Frysinger <vapier@gentoo.org>
26291
26292 * math/bits/mathcalls.h (modf): Use __nonnull.
26293
085ec079
SP
262942012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26295
26296 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26297 (split): Use macro CN instead of the bare value.
26298 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26299 could be used.
26300 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26301 instead of the bare value.
26302 (power1): Likewise.
26303
6d9f97e1
SP
263042012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26305
d63f73be
SP
26306 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26307 __ATAN_TWOM.
26308 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26309
6d9f97e1
SP
26310 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26311 their values.
26312 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26313 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26314 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26315 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26316
4c4febf5
AJ
263172012-12-28 Andreas Jaeger <aj@suse.de>
26318
af5843ef
AJ
26319 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26320 values are from Linux 3.7.
26321
4c4febf5
AJ
26322 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26323 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26324
99136f82
SP
263252012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26326
2f216c3c 26327 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
26328 TRUE case.
26329
99136f82
SP
26330 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26331 (norm): Likewise.
26332 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26333 variables with preprocessor constants.
26334 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26335 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26336 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26337
7fffbdff
BH
263382012-12-27 Bruno Haible <bruno@clisp.org>
26339
26340 [BZ #14317]
26341 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26342 only if needed.
26343
b76eb5f0
SP
263442012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26345
31a7fe5c
SP
26346 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26347 and use variable directly.
26348 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26349
b76eb5f0
SP
26350 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26351 MPONE.
26352 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26353 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26354 variable MPONE.
26355 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26356 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26357 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26358 include directive. Remove local variable MPONE.
26359 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26360 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26361 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26362
2c8bfe7d
DM
263632012-12-25 David S. Miller <davem@davemloft.net>
26364
26365 * version.h (RELEASE): Set to "development".
26366 (VERSION): Set to "2.17.90".
26367 * NEWS: Add 2.18 section.
26368
147d03b0
DM
263692012-12-21 David S. Miller <davem@davemloft.net>
26370
26371 * po/hr.po: Update from translation team.
26372
a8ebb2b9
AK
263732012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26374
26375 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26376
95b4f1b6
SE
263772012-12-19 Steve Ellcey <sellcey@mips.com>
26378
b2d94007 26379 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 26380
cedb2a90
MS
263812012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26382
26383 * manual/contrib.texi (Contributors): Spelling correction.
26384
bbf527d6
DM
263852012-12-15 David S. Miller <davem@davemloft.net>
26386
26387 * po/ru.po: Update from translation team.
26388
bc38c906
DM
263892012-12-13 David S. Miller <davem@davemloft.net>
26390
85429b1a
DM
26391 * NEWS: Mention IFUNC testsuite enhancements.
26392
d283e353
DM
26393 * po/pl.po: Update from translation team.
26394 * po/bg.po: Likewise.
26395
bc38c906
DM
26396 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26397 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26398
a181b0d7
DM
263992012-12-11 David S. Miller <davem@davemloft.net>
26400
4641d57e
DM
26401 * po/sv.po: Update from translation team.
26402
f7bc6495
DM
26403 * po/vi.po: Update from translation team.
26404
6fc9048f
DM
26405 * po/cs.po: Update from translation team.
26406
a181b0d7
DM
26407 * po/de.po: Update from translation team.
26408 * po/eo.po: Likewise.
26409 * po/nl.po: Likewise.
26410
f70bfe80
SP
264112012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26412
3c8b4190
SP
26413 [BZ #14246]
26414 * manual/argp.texi (Argp Helper Functions): Move node to follow
26415 Argp Parsing State.
26416
f70bfe80
SP
26417 [BZ #14872]
26418 * manual/conf.texi (Limits on File System Capacity): Mention if
26419 terminating null is included in the max size.
26420
188f0adf
AJ
264212012-12-10 Andreas Jaeger <aj@suse.de>
26422
26423 * po/cs.po: Update from translation team.
26424
56e7d3ad
SP
264252012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26426
26427 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26428 void pointer and cast to uintptr_t.
26429 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26430 path.
26431 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26432 * sysdeps/s390/s390-64/memset.S: Likewise.
26433
76f2d2ea 264342012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
26435
26436 [BZ #14833]
26437 * menual/message.texi (Message Translation): Fix typos.
26438 (Helper programs for gettext): Likewise.
26439
67cbf9a2
AS
264402012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26441
26442 [BZ #14898]
26443 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26444 Change to -1.
26445
682d0e9a
DM
264462012-12-07 David S. Miller <davem@davemloft.net>
26447
26448 * po/libc.pot: Update.
26449
573cd484
RH
264502012-12-07 Richard Henderson <rth@redhat.com>
26451
7e9da188 26452 [BZ #10114]
573cd484
RH
26453 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26454 normal/normal case to before the switch.
26455 (_FP_DIV): Likewise.
26456
e933a943
MF
264572012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26458 Mike Frysinger <vapier@gentoo.org>
26459
26460 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26461 check for __NR_fadvise64_64.
26462
82123268
CM
264632012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26464
26465 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26466 0, not just to plain "0" as a statement.
26467 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26468 with cw.
26469
d9814526
JM
264702012-12-06 Joseph Myers <joseph@codesourcery.com>
26471
26472 * NEWS: Use sourceware.org in Bugzilla URL.
26473
7728c574
SP
264742012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26475
f16946dd
SP
26476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26477 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26478
5704bbcb
SP
26479 * stdio-common/tst-put-error.c (do_test): Add newline to the
26480 padded test to ensure flush.
26481
17aa0516
JL
264822012-12-05 Jeff Law <law@redhat.com>
26483
26484 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26485
363313b5
JM
264862012-12-05 Joseph Myers <joseph@codesourcery.com>
26487
effbd42a
JM
26488 * README: Don't refer to ports add-on as distributed separately.
26489 Mention AArch64 in list of systems supported in the ports add-on.
26490
87600365
JM
26491 * LICENSES: Add more non-FSF copyright and license notices.
26492
a0d7066a
JM
26493 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26494 ((unused)).
26495
66ca5a5b
JM
26496 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26497
363313b5
JM
26498 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26499 10000 as width of padded output.
26500
b37984ad
JM
265012012-12-04 Joseph Myers <joseph@codesourcery.com>
26502
9003570a
JM
26503 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26504
b37984ad
JM
26505 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26506 variable LX with __attribute__ ((unused)).
26507 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26508 Likewise.
26509 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26510 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26511 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26512 with __attribute__ ((unused)).
26513
c8df52ec
DM
265142012-12-04 David S. Miller <davem@abraco.davemloft.net>
26515
26516 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26517
b3b099af
JM
265182012-12-04 Joseph Myers <joseph@codesourcery.com>
26519
c33aa6e3
JM
26520 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26521 (CFLAGS-nldbl-acos.c): New variable.
26522 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26523 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26524 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26525 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26526 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26527 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26528 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26529 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26530 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26531 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26532 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26533 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26534 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26535 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26536 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26537 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26538 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26539 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26540 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26541 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26542 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26543 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26544 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26545 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26546 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26547 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26548 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26549 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26550 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26551 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26552 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26553 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26554 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26555 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26556 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26557 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26558 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26559 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26560 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26561 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26562 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26563 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26564 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26565 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26566 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26567 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26568 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26569 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26570 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26571 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26572 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26573 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26574 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26575 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26576 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26577 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26578 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26579 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26580 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26581 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26582 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26583 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26584 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26585 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26586 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26587 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26588 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26589 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26590 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26591 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26592 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26593 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26594 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26595 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26596 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26597 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26598 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26599 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26600 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26601 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26602 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26603 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26604 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26605 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26606 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26607 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26608 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26609 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26610 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26611 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26612 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26613 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26614 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26615 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26616 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26617 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26618 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26619
20f0018d
JM
26620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26621 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26622
b3b099af
JM
26623 [BZ #14914]
26624 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26625 whole low double instead of just low 47 bits when splitting values
26626 into two parts.
26627
029264d1
AM
266282012-12-03 Allan McRae <allan@archlinux.org>
26629
26630 * manual/stdio.texi (Predefined Printf Handlers): Remove
26631 @hsep and @vsep usage.
26632
c9d6789e
MF
266332012-12-03 Mike Frysinger <vapier@gentoo.org>
26634
26635 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26636 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26637
4b7634a5
JL
266382012-12-03 Jeff Law <law@redhat.com>
26639
26640 * time/sys/time.h (settimeofday): Do not mark TV argument
26641 as __nonnull.
26642
eb6cbd24
MF
266432012-12-01 Mike Frysinger <vapier@gentoo.org>
26644
26645 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26646 when currently writing and seek to current position when not.
26647 * libio/Makefile (tests): Remove bug-fclose1.
26648 * libio/bug-fclose1.c: Delete.
26649
f638872a
JM
266502012-12-01 Joseph Myers <joseph@codesourcery.com>
26651
26652 * manual/arith.texi (feenableexcept): Fix typo.
26653 (fedisableexcept): Likewise.
26654
48085d14
RM
266552012-11-30 Roland McGrath <roland@hack.frob.com>
26656
26657 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26658 second, differently-typed declaration, rather than a cast.
26659
1a538b9f
SP
266602012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26661
26662 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26663 * include/rpc/svc.h: ... here.
26664
d07f2ff1 266652012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
26666
26667 [BZ #13013]
26668 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26669 depending n and resplen2 to catch cases where answer
26670 equals answerp2.
26671
c93ec1f0
CD
266722012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26673
26674 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26675 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26676
37db69de
MF
266772012-11-29 Mike Frysinger <vapier@gentoo.org>
26678
26679 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26680
e10c4e4f
RM
266812012-11-29 Roland McGrath <roland@hack.frob.com>
26682
26683 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26684
2af1b328
JL
266852012-11-28 Jeff Law <law@redhat.com>
26686
26687 [BZ #13761]
26688 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26689 dataset_temporary. Track alloca usage into alloca_used.
26690 If dataset is large allocate and release it via malloc/free.
26691
111db5b1
FW
266922012-06-04 Florian Weimer <fweimer@redhat.com>
26693
f06cc227 26694 [BZ #14197]
111db5b1
FW
26695 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26696
dd694abd
DM
266972012-11-28 David S. Miller <davem@davemloft.net>
26698
26699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26700
9984dd01
JM
267012012-11-28 Joseph Myers <joseph@codesourcery.com>
26702
26703 [BZ #14803]
26704 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26705 of pi/2 rounded to nearest to 64 bits.
26706 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26707 nearest to 64 bits.
26708 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26709 bits.
26710
14bc93a9
JL
267112012-11-28 Jeff Law <law@redhat.com>
26712 Martin Osvald <mosvald@redhat.com>
26713
26714 [BZ #14889]
26715 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26716 * sunrpc/svc.c: Include time.h.
26717 (__svc_accept_failed): New function.
26718 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26719 any reason other than EINTR, call __svc_accept_failed.
26720 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26721 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26722
e3c6aa3a
AS
267232012-11-28 Andreas Schwab <schwab@suse.de>
26724
26725 * scripts/abilist.awk: Also handle indirect functions in .opd
26726 section.
26727
1bead169
JM
267282012-11-28 Joseph Myers <joseph@codesourcery.com>
26729
26730 [BZ #13881]
26731 * sysdeps/x86/fpu/powl_helper.c: New file.
26732 * sysdeps/x86/fpu/Makefile: Likewise.
26733 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26734 (p3): New object.
26735 (__ieee754_powl): Use __powl_helper for finite arguments except
26736 integer exponents below 8.
26737 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26738 (p3): New object.
26739 (__ieee754_powl): Use __powl_helper for finite arguments except
26740 integer exponents below 8.
26741 * math/libm-test.inc (pow_test): Add more tests and enable some
26742 previously disabled tests.
26743 * sysdeps/i386/fpu/libm-test-ulps: Update.
26744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26745
0817d63d
SP
267462012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26747 Carlos O'Donell <carlos_odonell@mentor.com>
26748
26749 * nss/makedb.c (is_prime): Assert that input is odd and greater
26750 than 4. Note that fact in a comment too.
26751 (next_prime): Add 4 to input.
26752
de2fd463
SP
267532012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26754
26755 [BZ #11741]
26756 * libio/Makefile (tests): Add test case tst-fwrite-error.
26757 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26758 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26759 * libio/tst-fwrite-error.c: New test case.
26760
c515fb51
L
267612012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26762
26763 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26764 before casting to void *.
26765 * include/libc-internal.h (__pointer_type): New macro.
26766 (__integer_if_pointer_type_sub): Likewise.
26767 (__integer_if_pointer_type): Likewise.
26768 (cast_to_integer): Likewise.
26769 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26770 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26771 before casting to atomic64_t.
26772 (atomic_exchange_acq): Likewise.
26773 (__arch_exchange_and_add_body): Likewise.
26774 (__arch_add_body): Likewise.
26775 (atomic_add_negative): Likewise.
26776 (atomic_add_zero): Likewise.
26777
4cf77aa9
JM
267782012-11-26 Joseph Myers <joseph@codesourcery.com>
26779
26780 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26781 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26782 (add_fdes): Likewise.
26783 (linear_search_fdes): Likewise.
26784 (binary_search_unencoded_fdes): Likewise.
26785
d260b3b4
AS
267862012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26787
26788 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26789
67060746
AC
267902012-11-24 Adam Conrad <adconrad@0c3.net>
26791
26792 * configure.in: Autodetect C++ header directories.
26793 * configure: Regenerated.
26794
800938a1
MF
267952012-11-23 Mike Frysinger <vapier@gentoo.org>
26796
26797 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26798
4e6e34e6
AS
267992012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26800
26801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26802
7c7feb47
JM
268032012-11-22 Joseph Myers <joseph@codesourcery.com>
26804
7184dcdf
JM
26805 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26806 LDBL_MANT_DIG == 106]: Disable some tests.
26807 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26808 Likewise.
26809 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26810 Likewise.
26811
0a42601f
JM
26812 [BZ #14871]
26813 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26814 input for small inputs. Return +/- pi/2 for large inputs.
26815 * math/libm-test.inc (atan_test): Add more tests.
26816
79c9b9fe
JM
26817 * sysdeps/generic/unwind-dw2-fde-glibc.c
26818 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26819 __attribute__ ((unused)).
26820
c60d3bf2
JM
26821 [BZ #14645]
26822 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26823 x * y if x and y are nonzero and z is zero.
26824
ef1e0867
JM
26825 [BZ #14811]
26826 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26827 nonzero exponents with absolute value below 0x1p-117 to +/-
26828 0x1p-117.
26829
1468ded3
JM
26830 [BZ #14869]
26831 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26832 up arguments below 2**-450, not just those below 2**-500.
26833 * math/libm-test.inc (hypot_test): Add another test.
26834
8e27e3cc
JM
26835 [BZ #14868]
26836 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26837 Return a+b for ratio over 2**120, not 2**60.
26838 * math/libm-test.inc (hypot_test): Add another test.
26839
c9c0279b
JM
26840 * math/libm-test.inc (clog_test): Use
26841 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26842 (clog10_test): Likewise.
26843
7c7feb47
JM
26844 [BZ #6778]
26845 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26846
fff1530e
AS
268472012-11-22 Andreas Schwab <schwab@suse.de>
26848
26849 * sysdeps/i386/fpu/libm-test-ulps: Update.
26850
94558d30
PT
268512012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26852
26853 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26854 printf output with newline.
26855
7e1be741
L
268562012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26857
6bfea974
L
26858 [BZ #14865]
26859 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26860 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26861 -z nodlopen, -z initfirst and -z execstack support.
26862 * configure: Regenerated.
26863
7e1be741
L
26864 * elf/elf.h (DF_1_NODIRECT): New macro.
26865 (DF_1_IGNMULDEF): Likewise.
26866 (DF_1_NOKSYMS): Likewise.
26867 (DF_1_NOHDR): Likewise.
26868 (DF_1_EDITED): Likewise.
26869 (DF_1_NORELOC): Likewise.
26870 (DF_1_SYMINTPOSE): Likewise.
26871 (DF_1_GLOBAUDIT): Likewise.
26872 (DF_1_SINGLETON): Likewise.
26873 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26874 DT_1_SUPPORTED_MASK bits.
26875 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26876
105ce2ce
CD
268772012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26878
26879 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26880
123be9de
TS
268812012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26882
d072f3f7
TS
26883 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26884 macro.
26885
123be9de
TS
26886 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26887 (sendmmsg): Move declarations...
26888 * socket/sys/socket.h: ... here.
26889 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26890 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26891 include it from...
26892 * socket/recvmmsg.c: ... this new file.
26893 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26894 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26895 definition of __sendmmsg hidden.
26896 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26897 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26898 Move ENOSYS stub into and include it from...
26899 * socket/sendmmsg.c: ... this new file.
26900 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26901 (sysdep_routines): Move recvmmsg and sendmmsg...
26902 * socket/Makefile (routines): ... here.
26903 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26904 (GLIBC_PRIVATE): Add __sendmmsg.
26905 * include/sys/socket.h (__sendmmsg): Add declarations.
26906 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26907 sendmmsg.
26908
cf9a5d18
JM
269092012-11-20 Joseph Myers <joseph@codesourcery.com>
26910
26911 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26912 variable I1 with __attribute__ ((unused)).
26913 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26914
ecd4caf9
JM
269152012-11-19 Joseph Myers <joseph@codesourcery.com>
26916
be14d48f
JM
26917 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26918 DUMMY variables with __attribute__ ((unused)).
26919
ecd4caf9
JM
26920 * bits/byteswap.h: Include <bits/types.h>.
26921 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26922
986cab95
PT
269232012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26924
26925 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26926 string_t. Do not manually set errno.
26927 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26928 length with __strnlen. Make sure to both set errno and return it on
26929 failure.
26930
6d33cc9d
DM
269312012-11-19 David S. Miller <davem@davemloft.net>
26932
26933 With help from Joseph Myers.
26934 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26935 very large arguments properly.
26936 * math/libm-test.inc (atan_test): New tests.
26937 (atan2_test): New tests.
26938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26940
ee663277
JM
269412012-11-19 Joseph Myers <joseph@codesourcery.com>
26942
877f2d8e
JM
26943 [BZ #14856]
26944 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26945 Define to 3.
26946
116fc08a
JM
26947 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26948 [POSIX] (EADDRNOTAVAIL): Likewise.
26949 [POSIX] (EAFNOSUPPORT): Likewise.
26950 [POSIX] (EALREADY): Likewise.
26951 [POSIX] (ECONNABORTED): Likewise.
26952 [POSIX] (ECONNREFUSED): Likewise.
26953 [POSIX] (ECONNRESET): Likewise.
26954 [POSIX] (EDESTADDRREQ): Likewise.
26955 [POSIX] (EDQUOT): Likewise.
26956 [POSIX] (EHOSTUNREACH): Likewise.
26957 [POSIX] (EIDRM): Likewise.
26958 [POSIX] (EISCONN): Likewise.
26959 [POSIX] (ELOOP): Likewise.
26960 [POSIX] (EMULTIHOP): Likewise.
26961 [POSIX] (ENETDOWN): Likewise.
26962 [POSIX] (ENETUNREACH): Likewise.
26963 [POSIX] (ENOBUFS): Likewise.
26964 [POSIX] (ENODATA): Likewise.
26965 [POSIX] (ENOLINK): Likewise.
26966 [POSIX] (ENOMSG): Likewise.
26967 [POSIX] (ENOPROTOOPT): Likewise.
26968 [POSIX] (ENOSR): Likewise.
26969 [POSIX] (ENOSTR): Likewise.
26970 [POSIX] (ENOTCONN): Likewise.
26971 [POSIX] (ENOTSOCK): Likewise.
26972 [POSIX] (EOPNOTSUPP): Likewise.
26973 [POSIX] (EOVERFLOW): Likewise.
26974 [POSIX] (EPROTO): Likewise.
26975 [POSIX] (EPROTONOSUPPORT): Likewise.
26976 [POSIX] (EPROTOTYPE): Likewise.
26977 [POSIX] (ESTALE): Likewise.
26978 [POSIX] (ETIME): Likewise.
26979 [POSIX] (ETXTBSY): Likewise.
26980 [POSIX] (EWOULDBLOCK): Likewise.
26981 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26982 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26983 [POSIX] (SEEK_CUR): Likewise.
26984 [POSIX] (SEEK_END): Likewise.
26985 [POSIX || UNIX98] (mode_t): Do not require.
26986 [POSIX] (off_t): Likewise.
26987 [POSIX] (pid_t): Likewise.
26988 [POSIX] (sys/stat.h): Do not allow header.
26989 [POSIX] (unistd.h): Likewise.
26990 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26991 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26992 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26993 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26994 require.
26995 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26996 sigevent): Specify elements.
26997 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26998 entry.
26999 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27000 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27001
a483863f
JM
27002 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27003 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27004 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27005 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27006 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27007 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27008 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27009 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27010 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27011 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27012 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27013 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27014 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27015 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27016 Likewise.
27017 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27018 Likewise.
27019 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27020 Likewise.
27021 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27022 Likewise.
27023 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27024 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27025 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27026 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27027 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27028 Specify lower bound on value.
27029 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27030 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27031 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27032 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27033 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27034 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27035 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27036 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27037 value.
27038 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27039 as optional.
27040 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27041 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27042 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27043 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27044 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27045 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27046 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27047 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27048 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27049 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27050 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27051 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27052 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27053 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27054 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27055 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27056 entry.
27057 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27058 optional.
27059 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27060 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27061 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27062 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27063 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27064 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27065 Likewise.
27066 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27067 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27068 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27069 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27070 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27071 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27072 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27073 as optional.
27074 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27075 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27076 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27077 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27078 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27079 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27080 specify as optional.
27081 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27082 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27083 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27084 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27085 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27086 [XPG3] (NL_LANGMAX): Likewise.
27087 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27088 [POSIX || XPG3] (NL_NMAX): Likewise.
27089 [POSIX || XPG3] (NL_SETMAX): Likewise.
27090 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27091 [XPG3] (NZERO): Likewise.
27092 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27093 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27094 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27095 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27096 (REG_ERANGE): Expect.
27097 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27098 optional-constant.
27099 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27100 Use (void) in prototype.
27101 [POSIX] (*_t): Allow.
27102 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27103 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27104 (WRDE_BADVAL): Expect.
27105
5ba924e3
JM
27106 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27107 expect.
27108 [XPG3 || XPG4] (O_RSYNC): Likewise.
27109 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27110 Likewise.
27111 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27112 [XPG3 || XPG4] (sigqueue): Likewise.
27113 [XPG3 || XPG4] (sigtimedwait): Likewise.
27114 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27115 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27116 [XPG3 || XPG4] (vsnprintf): Likewise.
27117 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27118 Likewise.
27119 [XPG3 || XPG4] (blksize_t): Likewise.
27120 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27121 Likewise.
27122 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27123 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27124 [XPG3 || XPG4] (struct itimerspec): Likewise.
27125 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27126 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27127 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27128 [XPG3 || XPG4] (clockid_t): Likewise.
27129 [XPG3 || XPG4] (timer_t): Likewise.
27130 [XPG3 || XPG4] (clock_getres): Likewise.
27131 [XPG3 || XPG4] (clock_gettime): Likewise.
27132 [XPG3 || XPG4] (clock_settime): Likewise.
27133 [XPG3 || XPG4] (nanosleep): Likewise.
27134 [XPG3 || XPG4] (timer_create): Likewise.
27135 [XPG3 || XPG4] (timer_delete): Likewise.
27136 [XPG3 || XPG4] (timer_gettime): Likewise.
27137 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27138 [XPG3 || XPG4] (timer_settime): Likewise.
27139 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27140 [XPG3 || XPG4] (getlogin_r): Likewise.
27141 [XPG3 || XPG4] (pread): Likewise.
27142 [XPG3 || XPG4] (pthread_atfork): Likewise.
27143 [XPG3 || XPG4] (pwrite): Likewise.
27144
ee663277
JM
27145 [BZ #14835]
27146 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27147 <bits/siginfo.h>.
27148
942caa16
PT
271492012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27150
e19af380
PT
27151 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27152 finalizing MALLSTREAM.
27153
942caa16
PT
27154 * sysdeps/mach/hurd/syncfs.c: New file.
27155
cfde9b46
SP
271562012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27157
27158 [BZ #14719]
27159 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27160 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27161 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27162 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27163 (_nss_dns_gethostbyname4_r): Likewise.
27164 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27165 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27166
f6da27e5
PH
271672012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27168
27169 [BZ #13763]
27170 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27171
6665d4a2
SM
271722012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27173
1f51ee92
SM
27174 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27175 * elf/cache.c (print_entry): Print ",AArch64" for
27176 FLAG_AARCH64_LIB64
27177
6665d4a2
SM
27178 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27179 * elf/cache.c (print_entry): Print ",hard-float" for
27180 FLAG_ARM_LIBHF.
27181
05b227bd
DM
271822012-11-18 David S. Miller <davem@davemloft.net>
27183
27184 With help from Joseph Myers.
27185 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27186 cutoff to 2**-13.
27187 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27188 cutoff to 2**-25.
27189 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27190 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27191 small.
27192 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27193 * math/libm-test.inc (y0_test): New tests.
27194 (y1_test): New tests.
27195 * sysdeps/i386/fpu/libm-test-ulps: Update.
27196 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27198
786b0b67
AS
271992012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27200
27201 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27202 64-bit targets.
27203 * configure: Regenerated.
27204
8e18b86d
DM
272052012-11-17 David S. Miller <davem@davemloft.net>
27206
27207 [BZ #14811]
27208 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27209 nonzero exponents with absolute value below 0x1p-128 to +/-
27210 0x1p-128.
27211
531f1ae0
JM
272122012-11-17 Joseph Myers <joseph@codesourcery.com>
27213
12df29e2
JM
27214 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27215
150dc1a0
JM
27216 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27217
531f1ae0
JM
27218 * posix/getconf-speclist.c: New file.
27219 * posix/posix-envs.def: Likewise.
27220 * posix/confstr.c (START_ENV_GROUP): New macro.
27221 (END_ENV_GROUP): Likewise.
27222 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27223 (KNOWN_PRESENT_ENV_STRING): Likewise.
27224 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27225 (UNKNOWN_ENVIRONMENT): Likewise.
27226 (confstr): Include posix-envs.def instead of handling
27227 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27228 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27229 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27230 (END_ENV_GROUP): Likewise.
27231 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27232 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27233 (UNKNOWN_ENVIRONMENT): Likewise.
27234 (__sysconf): Include posix-envs.def instead of handling associated
27235 cases directly here.
27236 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27237 preprocessing getconf-speclist.c rather than running getconf or
27238 generating empty file.
27239
a93f9cbc
PT
272402012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27241
27242 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27243
d64d9f87
AL
272442012-11-16 Andrej Lajovic <natrij@gmail.com>
27245
27246 [BZ #14672]
27247 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27248
447885eb
DM
272492012-11-16 David S. Miller <davem@davemloft.net>
27250
27251 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27252 smaller than LDBL_EPSILON/2.0L, just return xm1.
27253
bcbf9830
L
272542012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27255
27256 * elf/tst-array1.c (init): Set constructor priority to 1000.
27257 (fini): Set destructor priority to 1000.
27258 * elf/tst-array2dep.c: Likewise.
27259
2b766585
SP
272602012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27261
27262 [BZ #11741]
27263 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27264 (_IO_new_file_xsputn): Also return EOF if none of the input
27265 data was written when overflow failed.
27266 * libio/iopadn.c (_IO_padn): Likewise.
27267 * libio/iowpadn.c (_IO_wpadn): Likewise.
27268 * stdio-common/tst-put-error.c: Add copyright notice.
27269 (do_test): Add case for printing padded string.
27270 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27271 _IO_padn returned error.
27272 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27273 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27274 return EOF.
27275
b1848fde
SP
272762012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27277
27278 * libio/libioP.h: Add comment note that the references to C++
27279 bits are now obsolete.
27280
2fd89785
MS
272812012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27282
27283 * math/libm-test.inc (check_complex): Use asprintf.
27284
e3ea5409
JM
272852012-11-14 Joseph Myers <joseph@codesourcery.com>
27286
27287 * debug/pcprofiledump.c (print_version): Update copyright year.
27288 * malloc/memusagestat.c (print_version): Likewise.
27289
2e64d265
L
272902012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27291
27292 [BZ #14831]
27293 * elf/Makefile (tests): Add tst-audit8.
27294 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27295 ($(objpfx)tst-audit8.out): New target.
27296 (tst-audit8-ENV): New variable.
27297 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27298 audit if l_reloc_result is NULL.
27299 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27300 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27301 * elf/tst-audit8.c: New file.
27302
c485e4d2
MS
273032012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27304
27305 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27306 * misc/Makefile (CFLAGS-select.c): Define.
27307 * posix/Makefile (CFLAGS-pause.c): Define.
27308
3a0d900a
DM
273092012-11-13 David S. Miller <davem@davemloft.net>
27310
27311 * crypt/Makefile: Move test targets after toplevel Rules
27312 inclusion. Grab any necessary sysdep routines when linking.
27313 * crypt/md5.c (md5_process_block): Remove define, we will always
27314 name it __md5_process_block.
27315 (md5_finish_ctx): Update md5_process_block call.
27316 (md5_stream): Likewise.
27317 (md5_process_bytes): Likewise.
27318 (md5_process_block): Rename to __md5_process_block and move to ...
27319 * crypt/md5-block.c: ... here.
27320 * crypt/sha256.c (sha256_process_block): Move to ...
27321 * crypt/sha256-block.c: ... here.
27322 * crypt/sha512.c (sha512_process_block): Move to ...
27323 * crypt/sha512-block.c: ... here.
27324 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27325 path.
27326 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27327 * sysdeps/sparc/sparc64/multiarch/Makefile
27328 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27329 crypt subdir.
27330 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27331 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27332 multiarch changes.
27333 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27334 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27335 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27336 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27337 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27338 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27339 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27340 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27341 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27342 file.
27343 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27344 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27345 file.
27346 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27347
8ca89318
JM
273482012-11-13 Joseph Myers <joseph@codesourcery.com>
27349
e27d476a
JM
27350 * timezone/tzselect.ksh: Update from tzcode git revision
27351 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27352 * timezone/zdump.c: Likewise.
27353 * timezone/zic.c: Likewise.
27354 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27355 in TZVERSION setting, not $(PKGVERSION).
27356 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27357 REPORT_BUGS_TO settings.
27358
8ca89318
JM
27359 [BZ #14838]
27360 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27361 macro.
27362
47594329
MS
273632012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27364
27365 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27366 detection to immediately after _FP_ROUND().
27367 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27368 bits are 0.
27369
640ac3f1
DM
273702012-11-11 David S. Miller <davem@davemloft.net>
27371
27372 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27373 inttypes.h
27374 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27375 __close rather than their public counterparts.
27376
3d2577bb
JM
273772012-11-10 Joseph Myers <joseph@codesourcery.com>
27378
27379 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27380 file.
27381 [UNIX98] (sem_timedwait): Do not expect.
27382 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27383 [XPG4 || UNIX98] (sockatmark): Do not expect.
27384 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27385 (clock_getcpuclockid): Do not expect.
27386 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27387 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27388 Do not expect.
27389 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27390 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27391 [UNIX98] (vwscanf): Likewise.
27392 [UNIX98] (vswscanf): Likewise.
27393
fb1ae1ee
JM
273942012-11-09 Joseph Myers <joseph@codesourcery.com>
27395
9ec6f8bd
JM
27396 * timezone/version.h: Remove file.
27397 * timezone/README: Do not refer to version.h.
27398 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27399 $(objpfx)version.h.
27400 ($(objpfx)zdump.o): Likewise.
c3f81911 27401 ($(objpfx)version.h): New target.
9ec6f8bd 27402
0aa8f8a1
JM
27403 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27404 2012i.
27405 * timezone/README: Don't mention modification to tzselect.ksh.
27406 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27407 work on unmodified tzselect.ksh. Substitute version numbers in
27408 tzselect.ksh.
27409
4e87147f
JM
27410 * Makefile (format-me): Remove.
27411 (INSTALL): Adjust indentation. Use commands directly instead of
27412 using $(format-me).
27413
8b748aed
JM
27414 * aclocal.m4 (ACX_PKGVERSION): New macro.
27415 (ACX_BUGURL): Likewise.
27416 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27417 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27418 (REPORT_BUGS_TO): Likewise.
27419 * configure: Regenerated.
27420 * config.h.in (PKGVERSION): New macro.
27421 (REPORT_BUGS_TO): Likewise.
27422 * config.make.in (PKGVERSION): New variable.
27423 (PKGVERSION_TEXI): Likewise.
27424 (REPORT_BUGS_TO): Likewise.
27425 (REPORT_BUGS_TEXI): Likewise.
27426 * Makefile (format-me): Use -I$(common-objpfx)manual.
27427 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27428 ($(common-objpfx)manual/%): New target.
27429 (manual/%): Remove target.
27430 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27431 (print_version): Use PKGVERSION.
27432 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27433 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27434 and REPORT_BUGS_TO.
27435 ($(objpfx)xtrace): Likewise.
27436 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27437 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27438 (print_version): Use PKGVERSION.
27439 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27440 (do_version): Use PKGVERSION.
27441 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27442 REPORT_BUGS_TO.
27443 (common-ldd-rewrite): Likewise.
27444 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27445 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27446 (print_version): Use PKGVERSION.
27447 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27448 * elf/pldd.c (argp_program_bug_address): Remove variable.
27449 (more_help): New function.
27450 (argp): Use more_help.
27451 (print_version): Use PKGVERSION.
27452 * elf/sln.c (main): Use PKGVERSION.
27453 (usage): Use REPORT_BUGS_TO.
27454 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27455 (top level): Use PKGVERSION.
27456 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27457 (print_version): Use PKGVERSION.
27458 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27459 (print_version): Use PKGVERSION.
27460 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27461 (print_version): Use PKGVERSION.
27462 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27463 (print_version): Use PKGVERSION.
27464 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27465 (print_version): Use PKGVERSION.
27466 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27467 (print_version): Use PKGVERSION.
27468 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27469 and BUGURL.
27470 ($(objpfx)memusage): Likewise.
27471 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27472 (do_version): Use PKGVERSION.
27473 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27474 (print_version): Use PKGVERSION.
27475 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27476 ($PKGVERSION): New variable.
27477 ($REPORT_BUGS_TO): Likewise.
27478 (usage): Use $REPORT_BUGS_TO.
27479 (top level): Use $PKGVERSION.
27480 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27481 ($(objpfx)pkgvers.texi): New rule.
27482 ($(objpfx)stamp-pkgvers): Likewise.
27483 * manual/install.texi: Include pkgvers.texi.
27484 (--with-pkgversion): Document new configure option.
27485 (--with-bugurl): Likewise.
27486 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27487 than necessarily for this particular distribution. Use
27488 REPORT_BUGS_TO for where to report bugs.
27489 * INSTALL: Regenerated.
27490 * manual/libc.texinfo: Include pkgvers.texi.
27491 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27492 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27493 (print_version): Use PKGVERSION.
27494 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27495 (print_version): Use PKGVERSION.
27496 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27497 (print_version): Use PKGVERSION.
27498 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27499 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27500 macro.
27501 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27502 (print_version): Use PKGVERSION.
27503 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27504 (print_version): Use PKGVERSION.
27505 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27506 and PKGVERSION.
27507
92e4b6a9
JM
27508 * timezone/checktab.awk: Update from tzcode 2012i.
27509 * timezone/ialloc.c: Likewise.
27510 * timezone/private.h: Likewise.
27511 * timezone/scheck.c: Likewise.
27512 * timezone/tzfile.h: Likewise.
27513 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27514 (TZVERSION): Hardcode tzcode version number.
27515 * timezone/zdump.c: Update from tzcode 2012i.
27516 * timezone/zic.c: Likewise.
27517 * timezone/version.h: New file.
27518 * timezone/README: Describe version.h. Update upstream location.
27519
9bde902c
JM
27520 [BZ #14824]
27521 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27522 (mktemp): Enable declaration.
27523 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27524 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27525 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27526 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27527 Likewise.
27528 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27529 Likewise.
27530 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27531 Likewise.
27532 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27533 Likewise.
27534 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27535 Likewise.
27536 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27537 Likewise.
27538
fb1ae1ee
JM
27539 [BZ #14821]
27540 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27541 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27542 for copies of such integer values.
27543 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27544 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27545
2c1adbcb
AJ
275462012-11-09 Andreas Jaeger <aj@suse.de>
27547
27548 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27549 definitions and declarations that are provided by
27550 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27551
d0f8457e
AK
275522012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27553
3a235abb 27554 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
27555 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27556 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27557 definition.
27558
57241e26
MS
275592012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27560
27561 * elf/elf.h: Update comment before AArch64 relocations.
27562
60e8270d
DM
275632012-11-07 David S. Miller <davem@davemloft.net>
27564
27565 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27566 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27567 (__start_context): Declare.
27568 (__makecontext_ret): Delete.
27569 (__makecontext): Hook up __start_context instead of
27570 __makecontext_ret.
27571 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27572 (sysdep_routines): Add __start_context when in stdlib.
27573
0fbb0fbc
JM
275742012-11-07 Joseph Myers <joseph@codesourcery.com>
27575
27576 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27577 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27578 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27579 hardcoded "nm".
27580 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27581 (READELF): New variable. Use it instead of hardcoded "readelf".
27582
eb48db7e
L
275832012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27584
27585 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27586 * sysdeps/x86/Makefile: Here.
27587 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27588 * sysdeps/x86/tst-xmmymm.sh: This.
27589
05bcf62a
JM
275902012-11-07 Joseph Myers <joseph@codesourcery.com>
27591
c4b6cf53
JM
27592 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27593 expectations.
27594 [UNIX98] (pthread_barrier_t): Do not expect.
27595 [UNIX98] (pthread_barrierattr_t): Likewise.
27596 [UNIX98] (pthread_spinlock_t): Likewise.
27597 [UNIX98] (pthread_barrier_destroy): Likewise.
27598 [UNIX98] (pthread_barrier_init): Likewise.
27599 [UNIX98] (pthread_barrier_wait): Likewise.
27600 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27601 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27602 [UNIX98] (pthread_barrierattr_init): Likewise.
27603 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27604 [UNIX98] (pthread_getcpuclockid): Likewise.
27605 [UNIX98] (pthread_mutex_timedlock): Likewise.
27606 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27607 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27608 [UNIX98] (pthread_sigmask): Likewise.
27609 [UNIX98] (pthread_spin_destroy): Likewise.
27610 [UNIX98] (pthread_spin_init): Likewise.
27611 [UNIX98] (pthread_spin_lock): Likewise.
27612 [UNIX98] (pthread_spin_trylock): Likewise.
27613 [UNIX98] (pthread_spin_unlock): Likewise.
27614 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27615 Do not expect.
27616 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27617 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27618 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27619 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27620 [XPG3 || XPG4] (pthread_key_t): Likewise.
27621 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27622 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27623 [XPG3 || XPG4] (pthread_once_t): Likewise.
27624 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27625 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27626 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27627 [XPG3 || XPG4] (pthread_t): Likewise.
27628
cbe6e120
JM
27629 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27630 not expect.
27631 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27632
1b126443
JM
27633 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27634 Change function return type to int.
27635
b961a573
JM
27636 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27637 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27638 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27639 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27640 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27641 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27642 [!POSIX] (posix_madvise): Likewise.
27643 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27644 && !UNIX98].
27645 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27646 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27647 (mode_t): Likewise.
27648 (posix_mem_offset): Likewise.
27649 (posix_typed_mem_get_info): Likewise.
27650 (posix_typed_mem_open): Likewise.
27651
9e188909
JM
27652 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27653 Change condition to [XOPEN2K8].
27654
05bcf62a
JM
27655 * conform/conformtest.pl: Preprocess allow-header data with -x c
27656 instead of from stdin.
27657 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27658 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27659 [C99-based standards] (cerfc): Likewise.
27660 [C99-based standards] (cexp2): Likewise.
27661 [C99-based standards] (cexpm1): Likewise.
27662 [C99-based standards] (clog10): Likewise.
27663 [C99-based standards] (clog1p): Likewise.
27664 [C99-based standards] (clog2): Likewise.
27665 [C99-based standards] (clgamma): Likewise.
27666 [C99-based standards] (ctgamma): Likewise.
27667 [C99-based standards] (cerff): Likewise.
27668 [C99-based standards] (cerfcf): Likewise.
27669 [C99-based standards] (cexp2f): Likewise.
27670 [C99-based standards] (cexpm1f): Likewise.
27671 [C99-based standards] (clog10f): Likewise.
27672 [C99-based standards] (clog1pf): Likewise.
27673 [C99-based standards] (clog2f): Likewise.
27674 [C99-based standards] (clgammaf): Likewise.
27675 [C99-based standards] (ctgammaf): Likewise.
27676 [C99-based standards] (cerfl): Likewise.
27677 [C99-based standards] (cerfcl): Likewise.
27678 [C99-based standards] (cexp2l): Likewise.
27679 [C99-based standards] (cexpm1l): Likewise.
27680 [C99-based standards] (clog10l): Likewise.
27681 [C99-based standards] (clog1pl): Likewise.
27682 [C99-based standards] (clog2l): Likewise.
27683 [C99-based standards] (clgammal): Likewise.
27684 [C99-based standards] (ctgammal): Likewise.
27685 * conform/data/inttypes.h-data [C99-based standards]: Include
27686 stdint.h-data. Remove all expectations for stdint.h contents.
27687 [C99-based standards] (PRI*): Do not allow.
27688 [C99-based standards] (SCN*): Likewise.
27689 [C99-based standards] (*_t): Likewise.
27690 [C99-based-standards] (PRId8): Expect macro.
27691 [C99-based-standards] (PRIi8): Likewise.
27692 [C99-based-standards] (PRIo8): Likewise.
27693 [C99-based-standards] (PRIu8): Likewise.
27694 [C99-based-standards] (PRIx8): Likewise.
27695 [C99-based-standards] (PRIX8): Likewise.
27696 [C99-based-standards] (SCNd8): Likewise.
27697 [C99-based-standards] (SCNi8): Likewise.
27698 [C99-based-standards] (SCNo8): Likewise.
27699 [C99-based-standards] (SCNu8): Likewise.
27700 [C99-based-standards] (SCNx8): Likewise.
27701 [C99-based-standards] (PRIdLEAST8): Likewise.
27702 [C99-based-standards] (PRIiLEAST8): Likewise.
27703 [C99-based-standards] (PRIoLEAST8): Likewise.
27704 [C99-based-standards] (PRIuLEAST8): Likewise.
27705 [C99-based-standards] (PRIxLEAST8): Likewise.
27706 [C99-based-standards] (PRIXLEAST8): Likewise.
27707 [C99-based-standards] (SCNdLEAST8): Likewise.
27708 [C99-based-standards] (SCNiLEAST8): Likewise.
27709 [C99-based-standards] (SCNoLEAST8): Likewise.
27710 [C99-based-standards] (SCNuLEAST8): Likewise.
27711 [C99-based-standards] (SCNxLEAST8): Likewise.
27712 [C99-based-standards] (PRIdFAST8): Likewise.
27713 [C99-based-standards] (PRIiFAST8): Likewise.
27714 [C99-based-standards] (PRIoFAST8): Likewise.
27715 [C99-based-standards] (PRIuFAST8): Likewise.
27716 [C99-based-standards] (PRIxFAST8): Likewise.
27717 [C99-based-standards] (PRIXFAST8): Likewise.
27718 [C99-based-standards] (SCNdFAST8): Likewise.
27719 [C99-based-standards] (SCNiFAST8): Likewise.
27720 [C99-based-standards] (SCNoFAST8): Likewise.
27721 [C99-based-standards] (SCNuFAST8): Likewise.
27722 [C99-based-standards] (SCNxFAST8): Likewise.
27723 [C99-based-standards] (PRId16): Likewise.
27724 [C99-based-standards] (PRIi16): Likewise.
27725 [C99-based-standards] (PRIo16): Likewise.
27726 [C99-based-standards] (PRIu16): Likewise.
27727 [C99-based-standards] (PRIx16): Likewise.
27728 [C99-based-standards] (PRIX16): Likewise.
27729 [C99-based-standards] (SCNd16): Likewise.
27730 [C99-based-standards] (SCNi16): Likewise.
27731 [C99-based-standards] (SCNo16): Likewise.
27732 [C99-based-standards] (SCNu16): Likewise.
27733 [C99-based-standards] (SCNx16): Likewise.
27734 [C99-based-standards] (PRIdLEAST16): Likewise.
27735 [C99-based-standards] (PRIiLEAST16): Likewise.
27736 [C99-based-standards] (PRIoLEAST16): Likewise.
27737 [C99-based-standards] (PRIuLEAST16): Likewise.
27738 [C99-based-standards] (PRIxLEAST16): Likewise.
27739 [C99-based-standards] (PRIXLEAST16): Likewise.
27740 [C99-based-standards] (SCNdLEAST16): Likewise.
27741 [C99-based-standards] (SCNiLEAST16): Likewise.
27742 [C99-based-standards] (SCNoLEAST16): Likewise.
27743 [C99-based-standards] (SCNuLEAST16): Likewise.
27744 [C99-based-standards] (SCNxLEAST16): Likewise.
27745 [C99-based-standards] (PRIdFAST16): Likewise.
27746 [C99-based-standards] (PRIiFAST16): Likewise.
27747 [C99-based-standards] (PRIoFAST16): Likewise.
27748 [C99-based-standards] (PRIuFAST16): Likewise.
27749 [C99-based-standards] (PRIxFAST16): Likewise.
27750 [C99-based-standards] (PRIXFAST16): Likewise.
27751 [C99-based-standards] (SCNdFAST16): Likewise.
27752 [C99-based-standards] (SCNiFAST16): Likewise.
27753 [C99-based-standards] (SCNoFAST16): Likewise.
27754 [C99-based-standards] (SCNuFAST16): Likewise.
27755 [C99-based-standards] (SCNxFAST16): Likewise.
27756 [C99-based-standards] (PRId32): Likewise.
27757 [C99-based-standards] (PRIi32): Likewise.
27758 [C99-based-standards] (PRIo32): Likewise.
27759 [C99-based-standards] (PRIu32): Likewise.
27760 [C99-based-standards] (PRIx32): Likewise.
27761 [C99-based-standards] (PRIX32): Likewise.
27762 [C99-based-standards] (SCNd32): Likewise.
27763 [C99-based-standards] (SCNi32): Likewise.
27764 [C99-based-standards] (SCNo32): Likewise.
27765 [C99-based-standards] (SCNu32): Likewise.
27766 [C99-based-standards] (SCNx32): Likewise.
27767 [C99-based-standards] (PRIdLEAST32): Likewise.
27768 [C99-based-standards] (PRIiLEAST32): Likewise.
27769 [C99-based-standards] (PRIoLEAST32): Likewise.
27770 [C99-based-standards] (PRIuLEAST32): Likewise.
27771 [C99-based-standards] (PRIxLEAST32): Likewise.
27772 [C99-based-standards] (PRIXLEAST32): Likewise.
27773 [C99-based-standards] (SCNdLEAST32): Likewise.
27774 [C99-based-standards] (SCNiLEAST32): Likewise.
27775 [C99-based-standards] (SCNoLEAST32): Likewise.
27776 [C99-based-standards] (SCNuLEAST32): Likewise.
27777 [C99-based-standards] (SCNxLEAST32): Likewise.
27778 [C99-based-standards] (PRIdFAST32): Likewise.
27779 [C99-based-standards] (PRIiFAST32): Likewise.
27780 [C99-based-standards] (PRIoFAST32): Likewise.
27781 [C99-based-standards] (PRIuFAST32): Likewise.
27782 [C99-based-standards] (PRIxFAST32): Likewise.
27783 [C99-based-standards] (PRIXFAST32): Likewise.
27784 [C99-based-standards] (SCNdFAST32): Likewise.
27785 [C99-based-standards] (SCNiFAST32): Likewise.
27786 [C99-based-standards] (SCNoFAST32): Likewise.
27787 [C99-based-standards] (SCNuFAST32): Likewise.
27788 [C99-based-standards] (SCNxFAST32): Likewise.
27789 [C99-based-standards] (PRId64): Likewise.
27790 [C99-based-standards] (PRIi64): Likewise.
27791 [C99-based-standards] (PRIo64): Likewise.
27792 [C99-based-standards] (PRIu64): Likewise.
27793 [C99-based-standards] (PRIx64): Likewise.
27794 [C99-based-standards] (PRIX64): Likewise.
27795 [C99-based-standards] (SCNd64): Likewise.
27796 [C99-based-standards] (SCNi64): Likewise.
27797 [C99-based-standards] (SCNo64): Likewise.
27798 [C99-based-standards] (SCNu64): Likewise.
27799 [C99-based-standards] (SCNx64): Likewise.
27800 [C99-based-standards] (PRIdLEAST64): Likewise.
27801 [C99-based-standards] (PRIiLEAST64): Likewise.
27802 [C99-based-standards] (PRIoLEAST64): Likewise.
27803 [C99-based-standards] (PRIuLEAST64): Likewise.
27804 [C99-based-standards] (PRIxLEAST64): Likewise.
27805 [C99-based-standards] (PRIXLEAST64): Likewise.
27806 [C99-based-standards] (SCNdLEAST64): Likewise.
27807 [C99-based-standards] (SCNiLEAST64): Likewise.
27808 [C99-based-standards] (SCNoLEAST64): Likewise.
27809 [C99-based-standards] (SCNuLEAST64): Likewise.
27810 [C99-based-standards] (SCNxLEAST64): Likewise.
27811 [C99-based-standards] (PRIdFAST64): Likewise.
27812 [C99-based-standards] (PRIiFAST64): Likewise.
27813 [C99-based-standards] (PRIoFAST64): Likewise.
27814 [C99-based-standards] (PRIuFAST64): Likewise.
27815 [C99-based-standards] (PRIxFAST64): Likewise.
27816 [C99-based-standards] (PRIXFAST64): Likewise.
27817 [C99-based-standards] (SCNdFAST64): Likewise.
27818 [C99-based-standards] (SCNiFAST64): Likewise.
27819 [C99-based-standards] (SCNoFAST64): Likewise.
27820 [C99-based-standards] (SCNuFAST64): Likewise.
27821 [C99-based-standards] (SCNxFAST64): Likewise.
27822 [C99-based-standards] (PRIdMAX): Likewise.
27823 [C99-based-standards] (PRIiMAX): Likewise.
27824 [C99-based-standards] (PRIoMAX): Likewise.
27825 [C99-based-standards] (PRIuMAX): Likewise.
27826 [C99-based-standards] (PRIxMAX): Likewise.
27827 [C99-based-standards] (PRIXMAX): Likewise.
27828 [C99-based-standards] (SCNdMAX): Likewise.
27829 [C99-based-standards] (SCNiMAX): Likewise.
27830 [C99-based-standards] (SCNoMAX): Likewise.
27831 [C99-based-standards] (SCNuMAX): Likewise.
27832 [C99-based-standards] (SCNxMAX): Likewise.
27833 [C99-based-standards] (PRIdPTR): Likewise.
27834 [C99-based-standards] (PRIiPTR): Likewise.
27835 [C99-based-standards] (PRIoPTR): Likewise.
27836 [C99-based-standards] (PRIuPTR): Likewise.
27837 [C99-based-standards] (PRIxPTR): Likewise.
27838 [C99-based-standards] (PRIXPTR): Likewise.
27839 [C99-based-standards] (SCNdPTR): Likewise.
27840 [C99-based-standards] (SCNiPTR): Likewise.
27841 [C99-based-standards] (SCNoPTR): Likewise.
27842 [C99-based-standards] (SCNuPTR): Likewise.
27843 [C99-based-standards] (SCNxPTR): Likewise.
27844 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27845 allow.
27846 * conform/data/stdint.h-data: Update comments to clarify
27847 requirements.
27848 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27849 type.
27850 [C99-based standards] (INT8_MAX): Likewise.
27851 [C99-based standards] (INT16_MIN): Likewise.
27852 [C99-based standards] (INT16_MAX): Likewise.
27853 [C99-based standards] (INT32_MIN): Likewise.
27854 [C99-based standards] (INT32_MAX): Likewise.
27855 [C99-based standards] (INT64_MIN): Likewise.
27856 [C99-based standards] (INT64_MAX): Likewise.
27857 [C99-based standards] (UINT8_MAX): Likewise.
27858 [C99-based standards] (UINT16_MAX): Likewise.
27859 [C99-based standards] (UINT32_MAX): Likewise.
27860 [C99-based standards] (UINT64_MAX): Likewise.
27861 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27862 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27863 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27864 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27865 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27866 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27867 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27868 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27869 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27870 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27871 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27872 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27873 [C99-based standards] (INT_FAST8_MIN): Likewise.
27874 [C99-based standards] (INT_FAST8_MAX): Likewise.
27875 [C99-based standards] (INT_FAST16_MIN): Likewise.
27876 [C99-based standards] (INT_FAST16_MAX): Likewise.
27877 [C99-based standards] (INT_FAST32_MIN): Likewise.
27878 [C99-based standards] (INT_FAST32_MAX): Likewise.
27879 [C99-based standards] (INT_FAST64_MIN): Likewise.
27880 [C99-based standards] (INT_FAST64_MAX): Likewise.
27881 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27882 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27883 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27884 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27885 [C99-based standards] (INTPTR_MIN): Likewise.
27886 [C99-based standards] (INTPTR_MAX): Likewise.
27887 [C99-based standards] (UINTPTR_MAX): Likewise.
27888 [C99-based standards] (INTMAX_MIN): Likewise.
27889 [C99-based standards] (INTMAX_MAX): Likewise.
27890 [C99-based standards] (UINTMAX_MAX): Likewise.
27891 [C99-based standards] (PTRDIFF_MIN): Likewise.
27892 [C99-based standards] (PTRDIFF_MAX): Likewise.
27893 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27894 [C99-based standards] (SIZE_MAX): Likewise.
27895 [C99-based standards] (WCHAR_MAX): Likewise.
27896 [C99-based standards] (WINT_MAX): Likewise.
27897 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27898 constraint on value.
27899 [C99-based standards] (WCHAR_MIN): Likewise.
27900 [C99-based standards] (WINT_MIN): Likewise.
27901 [C99-based standards] (*_t): Allow.
27902 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27903 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27904 Include math.h-data and complex.h-data. Remove all expectations
27905 of math.h and complex.h contents.
27906 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27907 at end of line.
27908 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27909 (struct tm): Expect tag.
27910 [C99-based-standards] (wcstof): Expect function.
27911 [C99-based-standards] (wcstold): Likewise.
27912 [C99-based-standards] (wcstoll): Likewise.
27913 [C99-based-standards] (wcstoull): Likewise.
27914 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27915 macro-int-constant. Specify type.
27916 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27917 constraint on value.
27918 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27919 Specify type.
27920 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27921 Specify value.
27922 [ISO C standards]: Do not allow headers.
27923 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27924 wcs[abcdefghijklmnopqrstuvwxyz]*.
27925 [ISO C standards] (*_t): Do not allow.
27926 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27927 Expect function.
27928 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27929 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27930 Specify type.
27931 [ISO C standards]: Do not allow headers.
27932 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27933 is[abcdefghijklmnopqrstuvwxyz]*.
27934 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27935 to[abcdefghijklmnopqrstuvwxyz]*.
27936 [ISO C standards] (*_t): Do not allow.
27937 * conform/data/stdalign.h-data: New file.
27938 * conform/data/stdbool.h-data: Likewise.
27939 * conform/data/stdnoreturn.h-data: Likewise.
27940
7514feb8
RM
279412012-11-07 Roland McGrath <roland@hack.frob.com>
27942
27943 [BZ #14815]
27944 * manual/filesys.texi (Directory Entries): Typo fix.
27945 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27946
19b2ecfc
MS
279472012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27948
27949 * elf/elf.h (EM_AARCH64): New macro.
27950 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27951 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27952 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27953 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27954 (R_AARCH64_TLSDESC): Likewise.
27955 (NT_ARM_TLS): Likewise.
27956 (NT_ARM_HW_BREAK): Likewise.
27957 (NT_ARM_HW_WATCH): Likewise.
27958
60e235ee
JM
279592012-11-07 Joseph Myers <joseph@codesourcery.com>
27960
27961 [BZ #14811]
27962 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27963 (__ieee754_powl): Saturate nonzero exponents with absolute value
27964 below 0x1p-79 to +/- 0x1p-79.
27965 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27966 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27967 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27968 nonzero exponents with absolute value below 0x1p-32 to +/-
27969 0x1p-32.
27970 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27971 (__ieee754_powl): Saturate nonzero exponents with absolute value
27972 below 0x1p-79 to +/- 0x1p-79.
27973 * math/libm-test.inc (pow_test): Add more tests.
27974
0ab234b7
AK
279752012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27976
27977 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27978 _dl_s390_cap_flags with kernel. Increase string length.
27979 (_dl_s390_platforms): Add z196 and zEC12.
27980
45832f74
JM
279812012-11-07 Joseph Myers <joseph@codesourcery.com>
27982
27983 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27984 Change XOPEN21K to XOPEN2K.
27985
19218757
MK
279862012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27987
27988 * string/memmove.c: Use memcpy when possible.
27989
c5f45721
AJ
279902012-11-06 Andreas Jaeger <aj@suse.de>
27991
27992 * po/eo.po: Update from translation team.
27993
82477c28
JM
279942012-11-06 Joseph Myers <joseph@codesourcery.com>
27995
27996 [BZ #14793]
27997 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27998 exponent and small x and y exponents, scale x or y up. Increase
27999 by 2 the exponent used in scaling up.
28000 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28001 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28002 * math/libm-test.inc (fma_test): Add more tests.
28003 (fma_test_towardzero): Likewise.
28004 (fma_test_downward): Likewise.
28005 (fma_test_upward): Likewise.
28006
99252c8c
JM
280072012-11-05 Joseph Myers <joseph@codesourcery.com>
28008
acfa885f
JM
28009 [BZ #14805]
28010 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28011 fenv_t *.
28012
99252c8c
JM
28013 [BZ #14801]
28014 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28015 namespace for names of struct fields.
28016 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28017 fenv_t fields.
28018 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28019 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28020
d6d98dea
ST
280212012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28022
28023 [BZ #3665]
28024 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28025
e10bb107
TS
280262012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28027
28028 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28029 PTR_DEMANGLE.
28030
28031 [BZ #5246]
28032 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28033 PTR_DEMANGLE.
28034
a0c2940d
JM
280352012-11-04 Joseph Myers <joseph@codesourcery.com>
28036
28037 [BZ #14797]
28038 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28039 definitely overflow as x * y not x * y + z.
28040 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28041 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28042 * math/libm-test.inc (fma_test): Add more tests.
28043 (fma_test_towardzero): Likewise.
28044 (fma_test_downward): Likewise.
28045 (fma_test_upward): Likewise.
28046
b830319d
TS
280472012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28048
28049 [BZ #157]
28050
28051 * include/stub-tag.h: Remove file.
28052 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28053 '#include' of it.
28054 * manual/maint.texi (Porting): Don't reference it.
28055 * Makerules ($(objpfx)stubs): Likewise.
28056 * dirent/closedir.c: Don't include <stub-tag.h>.
28057 * dirent/dirfd.c: Likewise.
28058 * dirent/fdopendir.c: Likewise.
28059 * dirent/getdents.c: Likewise.
28060 * dirent/getdents64.c: Likewise.
28061 * dirent/opendir.c: Likewise.
28062 * dirent/readdir.c: Likewise.
28063 * dirent/readdir64.c: Likewise.
28064 * dirent/readdir64_r.c: Likewise.
28065 * dirent/readdir_r.c: Likewise.
28066 * dirent/rewinddir.c: Likewise.
28067 * dirent/seekdir.c: Likewise.
28068 * dirent/telldir.c: Likewise.
28069 * gmon/profil.c: Likewise.
28070 * grp/setgroups.c: Likewise.
28071 * inet/if_index.c: Likewise.
28072 * io/access.c: Likewise.
28073 * io/chdir.c: Likewise.
28074 * io/chmod.c: Likewise.
28075 * io/chown.c: Likewise.
28076 * io/close.c: Likewise.
28077 * io/dup.c: Likewise.
28078 * io/dup2.c: Likewise.
28079 * io/dup3.c: Likewise.
28080 * io/euidaccess.c: Likewise.
28081 * io/faccessat.c: Likewise.
28082 * io/fchdir.c: Likewise.
28083 * io/fchmod.c: Likewise.
28084 * io/fchmodat.c: Likewise.
28085 * io/fchown.c: Likewise.
28086 * io/fchownat.c: Likewise.
28087 * io/fcntl.c: Likewise.
28088 * io/flock.c: Likewise.
28089 * io/fstatfs.c: Likewise.
28090 * io/fstatfs64.c: Likewise.
28091 * io/fstatvfs.c: Likewise.
28092 * io/fstatvfs64.c: Likewise.
28093 * io/futimens.c: Likewise.
28094 * io/fxstat.c: Likewise.
28095 * io/fxstat64.c: Likewise.
28096 * io/fxstatat.c: Likewise.
28097 * io/fxstatat64.c: Likewise.
28098 * io/getcwd.c: Likewise.
28099 * io/isatty.c: Likewise.
28100 * io/lchmod.c: Likewise.
28101 * io/lchown.c: Likewise.
28102 * io/link.c: Likewise.
28103 * io/linkat.c: Likewise.
28104 * io/lseek.c: Likewise.
28105 * io/lseek64.c: Likewise.
28106 * io/lxstat64.c: Likewise.
28107 * io/mkdir.c: Likewise.
28108 * io/mkdirat.c: Likewise.
28109 * io/mkfifo.c: Likewise.
28110 * io/mkfifoat.c: Likewise.
28111 * io/open.c: Likewise.
28112 * io/open64.c: Likewise.
28113 * io/openat.c: Likewise.
28114 * io/openat64.c: Likewise.
28115 * io/pipe.c: Likewise.
28116 * io/pipe2.c: Likewise.
28117 * io/poll.c: Likewise.
28118 * io/posix_fadvise.c: Likewise.
28119 * io/posix_fadvise64.c: Likewise.
28120 * io/posix_fallocate.c: Likewise.
28121 * io/posix_fallocate64.c: Likewise.
28122 * io/read.c: Likewise.
28123 * io/readlink.c: Likewise.
28124 * io/readlinkat.c: Likewise.
28125 * io/rmdir.c: Likewise.
28126 * io/sendfile.c: Likewise.
28127 * io/sendfile64.c: Likewise.
28128 * io/statfs.c: Likewise.
28129 * io/statfs64.c: Likewise.
28130 * io/statvfs.c: Likewise.
28131 * io/statvfs64.c: Likewise.
28132 * io/symlink.c: Likewise.
28133 * io/symlinkat.c: Likewise.
28134 * io/ttyname.c: Likewise.
28135 * io/ttyname_r.c: Likewise.
28136 * io/umask.c: Likewise.
28137 * io/unlink.c: Likewise.
28138 * io/unlinkat.c: Likewise.
28139 * io/utime.c: Likewise.
28140 * io/utimensat.c: Likewise.
28141 * io/write.c: Likewise.
28142 * io/xmknod.c: Likewise.
28143 * io/xmknodat.c: Likewise.
28144 * io/xstat.c: Likewise.
28145 * io/xstat64.c: Likewise.
28146 * login/getpt.c: Likewise.
28147 * login/grantpt.c: Likewise.
28148 * login/unlockpt.c: Likewise.
28149 * math/e_acoshl.c: Likewise.
28150 * math/e_acosl.c: Likewise.
28151 * math/e_asinl.c: Likewise.
28152 * math/e_atan2l.c: Likewise.
28153 * math/e_atanhl.c: Likewise.
28154 * math/e_coshl.c: Likewise.
28155 * math/e_expl.c: Likewise.
28156 * math/e_fmodl.c: Likewise.
28157 * math/e_gammal_r.c: Likewise.
28158 * math/e_hypotl.c: Likewise.
28159 * math/e_j0l.c: Likewise.
28160 * math/e_j1l.c: Likewise.
28161 * math/e_jnl.c: Likewise.
28162 * math/e_lgammal_r.c: Likewise.
28163 * math/e_log10l.c: Likewise.
28164 * math/e_log2l.c: Likewise.
28165 * math/e_logl.c: Likewise.
28166 * math/e_powl.c: Likewise.
28167 * math/e_rem_pio2l.c: Likewise.
28168 * math/e_sinhl.c: Likewise.
28169 * math/e_sqrtl.c: Likewise.
28170 * math/fclrexcpt.c: Likewise.
28171 * math/fedisblxcpt.c: Likewise.
28172 * math/feenablxcpt.c: Likewise.
28173 * math/fegetenv.c: Likewise.
28174 * math/fegetexcept.c: Likewise.
28175 * math/fegetround.c: Likewise.
28176 * math/feholdexcpt.c: Likewise.
28177 * math/fesetenv.c: Likewise.
28178 * math/fesetround.c: Likewise.
28179 * math/feupdateenv.c: Likewise.
28180 * math/fgetexcptflg.c: Likewise.
28181 * math/fraiseexcpt.c: Likewise.
28182 * math/fsetexcptflg.c: Likewise.
28183 * math/ftestexcept.c: Likewise.
28184 * math/k_cosl.c: Likewise.
28185 * math/k_rem_pio2l.c: Likewise.
28186 * math/k_sinl.c: Likewise.
28187 * math/k_tanl.c: Likewise.
28188 * math/s_asinhl.c: Likewise.
28189 * math/s_atanl.c: Likewise.
28190 * math/s_cbrtl.c: Likewise.
28191 * math/s_erfl.c: Likewise.
28192 * math/s_expm1l.c: Likewise.
28193 * math/s_log1pl.c: Likewise.
28194 * math/s_tanhl.c: Likewise.
28195 * misc/acct.c: Likewise.
28196 * misc/brk.c: Likewise.
28197 * misc/chflags.c: Likewise.
28198 * misc/chroot.c: Likewise.
28199 * misc/fchflags.c: Likewise.
28200 * misc/fgetxattr.c: Likewise.
28201 * misc/flistxattr.c: Likewise.
28202 * misc/fremovexattr.c: Likewise.
28203 * misc/fsetxattr.c: Likewise.
28204 * misc/fsync.c: Likewise.
28205 * misc/ftruncate.c: Likewise.
28206 * misc/futimes.c: Likewise.
28207 * misc/futimesat.c: Likewise.
28208 * misc/getdomain.c: Likewise.
28209 * misc/getdtsz.c: Likewise.
28210 * misc/gethostid.c: Likewise.
28211 * misc/gethostname.c: Likewise.
28212 * misc/getloadavg.c: Likewise.
28213 * misc/getpagesize.c: Likewise.
28214 * misc/getsysstats.c: Likewise.
28215 * misc/getxattr.c: Likewise.
28216 * misc/gtty.c: Likewise.
28217 * misc/ioctl.c: Likewise.
28218 * misc/lgetxattr.c: Likewise.
28219 * misc/listxattr.c: Likewise.
28220 * misc/llistxattr.c: Likewise.
28221 * misc/lremovexattr.c: Likewise.
28222 * misc/lsetxattr.c: Likewise.
28223 * misc/lutimes.c: Likewise.
28224 * misc/madvise.c: Likewise.
28225 * misc/mincore.c: Likewise.
28226 * misc/mlock.c: Likewise.
28227 * misc/mlockall.c: Likewise.
28228 * misc/mmap.c: Likewise.
28229 * misc/mprotect.c: Likewise.
28230 * misc/msync.c: Likewise.
28231 * misc/munlock.c: Likewise.
28232 * misc/munlockall.c: Likewise.
28233 * misc/munmap.c: Likewise.
28234 * misc/preadv.c: Likewise.
28235 * misc/preadv64.c: Likewise.
28236 * misc/ptrace.c: Likewise.
28237 * misc/pwritev.c: Likewise.
28238 * misc/pwritev64.c: Likewise.
28239 * misc/readv.c: Likewise.
28240 * misc/reboot.c: Likewise.
28241 * misc/remap_file_pages.c: Likewise.
28242 * misc/removexattr.c: Likewise.
28243 * misc/revoke.c: Likewise.
28244 * misc/select.c: Likewise.
28245 * misc/setdomain.c: Likewise.
28246 * misc/setegid.c: Likewise.
28247 * misc/seteuid.c: Likewise.
28248 * misc/sethostid.c: Likewise.
28249 * misc/sethostname.c: Likewise.
28250 * misc/setregid.c: Likewise.
28251 * misc/setreuid.c: Likewise.
28252 * misc/setxattr.c: Likewise.
28253 * misc/sstk.c: Likewise.
28254 * misc/stty.c: Likewise.
28255 * misc/swapoff.c: Likewise.
28256 * misc/swapon.c: Likewise.
28257 * misc/sync.c: Likewise.
28258 * misc/syncfs.c: Likewise.
28259 * misc/syscall.c: Likewise.
28260 * misc/truncate.c: Likewise.
28261 * misc/ualarm.c: Likewise.
28262 * misc/usleep.c: Likewise.
28263 * misc/ustat.c: Likewise.
28264 * misc/utimes.c: Likewise.
28265 * misc/vhangup.c: Likewise.
28266 * misc/writev.c: Likewise.
28267 * posix/_exit.c: Likewise.
28268 * posix/alarm.c: Likewise.
28269 * posix/execve.c: Likewise.
28270 * posix/fexecve.c: Likewise.
28271 * posix/fork.c: Likewise.
28272 * posix/fpathconf.c: Likewise.
28273 * posix/getaddrinfo.c: Likewise.
28274 * posix/getegid.c: Likewise.
28275 * posix/geteuid.c: Likewise.
28276 * posix/getgid.c: Likewise.
28277 * posix/getgroups.c: Likewise.
28278 * posix/getlogin.c: Likewise.
28279 * posix/getlogin_r.c: Likewise.
28280 * posix/getpgid.c: Likewise.
28281 * posix/getpid.c: Likewise.
28282 * posix/getppid.c: Likewise.
28283 * posix/getresgid.c: Likewise.
28284 * posix/getresuid.c: Likewise.
28285 * posix/getsid.c: Likewise.
28286 * posix/getuid.c: Likewise.
28287 * posix/glob64.c: Likewise.
28288 * posix/nanosleep.c: Likewise.
28289 * posix/pathconf.c: Likewise.
28290 * posix/pause.c: Likewise.
28291 * posix/posix_madvise.c: Likewise.
28292 * posix/pread.c: Likewise.
28293 * posix/pread64.c: Likewise.
28294 * posix/pwrite.c: Likewise.
28295 * posix/pwrite64.c: Likewise.
28296 * posix/sched_getaffinity.c: Likewise.
28297 * posix/sched_getp.c: Likewise.
28298 * posix/sched_gets.c: Likewise.
28299 * posix/sched_primax.c: Likewise.
28300 * posix/sched_primin.c: Likewise.
28301 * posix/sched_rr_gi.c: Likewise.
28302 * posix/sched_setaffinity.c: Likewise.
28303 * posix/sched_setp.c: Likewise.
28304 * posix/sched_sets.c: Likewise.
28305 * posix/sched_yield.c: Likewise.
28306 * posix/setgid.c: Likewise.
28307 * posix/setlogin.c: Likewise.
28308 * posix/setpgid.c: Likewise.
28309 * posix/setresgid.c: Likewise.
28310 * posix/setresuid.c: Likewise.
28311 * posix/setsid.c: Likewise.
28312 * posix/setuid.c: Likewise.
28313 * posix/sleep.c: Likewise.
28314 * posix/spawni.c: Likewise.
28315 * posix/sysconf.c: Likewise.
28316 * posix/times.c: Likewise.
28317 * posix/wait.c: Likewise.
28318 * posix/wait3.c: Likewise.
28319 * posix/wait4.c: Likewise.
28320 * posix/waitpid.c: Likewise.
28321 * resolv/gai_sigqueue.c: Likewise.
28322 * resource/getpriority.c: Likewise.
28323 * resource/getrlimit.c: Likewise.
28324 * resource/getrusage.c: Likewise.
28325 * resource/nice.c: Likewise.
28326 * resource/setpriority.c: Likewise.
28327 * resource/setrlimit.c: Likewise.
28328 * resource/ulimit.c: Likewise.
28329 * rt/aio_cancel.c: Likewise.
28330 * rt/aio_fsync.c: Likewise.
28331 * rt/aio_read.c: Likewise.
28332 * rt/aio_sigqueue.c: Likewise.
28333 * rt/aio_suspend.c: Likewise.
28334 * rt/aio_write.c: Likewise.
28335 * rt/clock_getres.c: Likewise.
28336 * rt/clock_gettime.c: Likewise.
28337 * rt/clock_nanosleep.c: Likewise.
28338 * rt/clock_settime.c: Likewise.
28339 * rt/lio_listio.c: Likewise.
28340 * rt/mq_close.c: Likewise.
28341 * rt/mq_getattr.c: Likewise.
28342 * rt/mq_notify.c: Likewise.
28343 * rt/mq_open.c: Likewise.
28344 * rt/mq_receive.c: Likewise.
28345 * rt/mq_send.c: Likewise.
28346 * rt/mq_setattr.c: Likewise.
28347 * rt/mq_timedreceive.c: Likewise.
28348 * rt/mq_timedsend.c: Likewise.
28349 * rt/mq_unlink.c: Likewise.
28350 * rt/shm_open.c: Likewise.
28351 * rt/shm_unlink.c: Likewise.
28352 * rt/timer_create.c: Likewise.
28353 * rt/timer_delete.c: Likewise.
28354 * rt/timer_getoverr.c: Likewise.
28355 * rt/timer_gettime.c: Likewise.
28356 * rt/timer_settime.c: Likewise.
28357 * setjmp/__longjmp.c: Likewise.
28358 * setjmp/setjmp.c: Likewise.
28359 * signal/kill.c: Likewise.
28360 * signal/killpg.c: Likewise.
28361 * signal/raise.c: Likewise.
28362 * signal/sigaction.c: Likewise.
28363 * signal/sigaltstack.c: Likewise.
28364 * signal/sigblock.c: Likewise.
28365 * signal/sigignore.c: Likewise.
28366 * signal/sigintr.c: Likewise.
28367 * signal/signal.c: Likewise.
28368 * signal/sigpause.c: Likewise.
28369 * signal/sigpending.c: Likewise.
28370 * signal/sigqueue.c: Likewise.
28371 * signal/sigreturn.c: Likewise.
28372 * signal/sigset.c: Likewise.
28373 * signal/sigsetmask.c: Likewise.
28374 * signal/sigstack.c: Likewise.
28375 * signal/sigsuspend.c: Likewise.
28376 * signal/sigtimedwait.c: Likewise.
28377 * signal/sigvec.c: Likewise.
28378 * signal/sigwait.c: Likewise.
28379 * signal/sigwaitinfo.c: Likewise.
28380 * signal/sysv_signal.c: Likewise.
28381 * socket/accept.c: Likewise.
28382 * socket/accept4.c: Likewise.
28383 * socket/bind.c: Likewise.
28384 * socket/connect.c: Likewise.
28385 * socket/getpeername.c: Likewise.
28386 * socket/getsockname.c: Likewise.
28387 * socket/getsockopt.c: Likewise.
28388 * socket/isfdtype.c: Likewise.
28389 * socket/listen.c: Likewise.
28390 * socket/recv.c: Likewise.
28391 * socket/recvfrom.c: Likewise.
28392 * socket/recvmsg.c: Likewise.
28393 * socket/send.c: Likewise.
28394 * socket/sendmsg.c: Likewise.
28395 * socket/sendto.c: Likewise.
28396 * socket/setsockopt.c: Likewise.
28397 * socket/shutdown.c: Likewise.
28398 * socket/sockatmark.c: Likewise.
28399 * socket/socket.c: Likewise.
28400 * socket/socketpair.c: Likewise.
28401 * stdio-common/ctermid.c: Likewise.
28402 * stdio-common/cuserid.c: Likewise.
28403 * stdio-common/remove.c: Likewise.
28404 * stdio-common/rename.c: Likewise.
28405 * stdio-common/renameat.c: Likewise.
28406 * stdio-common/tempname.c: Likewise.
28407 * stdlib/getcontext.c: Likewise.
28408 * stdlib/makecontext.c: Likewise.
28409 * stdlib/setcontext.c: Likewise.
28410 * stdlib/swapcontext.c: Likewise.
28411 * stdlib/system.c: Likewise.
28412 * streams/fattach.c: Likewise.
28413 * streams/fdetach.c: Likewise.
28414 * streams/getmsg.c: Likewise.
28415 * streams/getpmsg.c: Likewise.
28416 * streams/putmsg.c: Likewise.
28417 * streams/putpmsg.c: Likewise.
28418 * sysdeps/unix/bsd/getpt.c: Likewise.
28419 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28420 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28421 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28423 Likewise.
28424 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28425 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28426 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28427 * sysvipc/msgctl.c: Likewise.
28428 * sysvipc/msgget.c: Likewise.
28429 * sysvipc/msgrcv.c: Likewise.
28430 * sysvipc/msgsnd.c: Likewise.
28431 * sysvipc/semctl.c: Likewise.
28432 * sysvipc/semget.c: Likewise.
28433 * sysvipc/semop.c: Likewise.
28434 * sysvipc/semtimedop.c: Likewise.
28435 * sysvipc/shmat.c: Likewise.
28436 * sysvipc/shmctl.c: Likewise.
28437 * sysvipc/shmdt.c: Likewise.
28438 * sysvipc/shmget.c: Likewise.
28439 * termios/tcdrain.c: Likewise.
28440 * termios/tcflow.c: Likewise.
28441 * termios/tcflush.c: Likewise.
28442 * termios/tcgetattr.c: Likewise.
28443 * termios/tcgetpgrp.c: Likewise.
28444 * termios/tcsendbrk.c: Likewise.
28445 * termios/tcsetattr.c: Likewise.
28446 * termios/tcsetpgrp.c: Likewise.
28447 * time/adjtime.c: Likewise.
28448 * time/clock.c: Likewise.
28449 * time/getitimer.c: Likewise.
28450 * time/gettimeofday.c: Likewise.
28451 * time/setitimer.c: Likewise.
28452 * time/settimeofday.c: Likewise.
28453 * time/stime.c: Likewise.
28454 * time/time.c: Likewise.
28455
284562012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 28457
a20492cf
PT
28458 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28459 /usr/old/bin.
28460
72e182e3
PT
28461 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28462 instead of spaces.
28463 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28464
fbeafede
JM
284652012-11-03 Joseph Myers <joseph@codesourcery.com>
28466
5b5b04d6
JM
28467 [BZ #14796]
28468 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28469 FE_TONEAREST before applying Dekker multiplication and Knuth
28470 addition. Clear inexact exceptions and check for exact zero
28471 results afterwards.
28472 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28473 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28474 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28475 * math/libm-test.inc (fma_test): Add more tests.
28476 (fma_test_towardzero): Likewise.
28477 (fma_test_downward): Likewise.
28478 (fma_test_upward): Likewise.
28479 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28480 function.
28481 (libc_fesetround): New macro.
28482 (libc_fesetroundf): Likewise.
28483 (libc_fesetroundl): Likewise.
28484 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28485 function.
28486 (libc_fesetround_387): Likewise.
28487 (libc_fesetroundf): New macro.
28488 (libc_fesetround): Likewise.
28489 (libc_fesetroundl): Likewise.
28490 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28491 function.
28492 (libc_fesetroundf): New macro.
28493 (libc_fesetround): Likewise.
28494 (libc_fesetroundl): Likewise.
28495 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28496 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28497 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28498 libm_hidden_ver.
28499 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28500 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28501 libm_hidden_def.
28502 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28503 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28504 libm_hidden_ver.
28505 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28506 libm_hidden_def.
28507
fbeafede
JM
28508 [BZ #3439]
28509 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28510 integer constant usable in #if and use that to give value to enum
28511 constant.
28512 (FE_DIVBYZERO): Likewise.
28513 (FE_UNDERFLOW): Likewise.
28514 (FE_OVERFLOW): Likewise.
28515 (FE_INVALID): Likewise.
28516 (FE_INVALID_SNAN): Likewise.
28517 (FE_INVALID_ISI): Likewise.
28518 (FE_INVALID_IDI): Likewise.
28519 (FE_INVALID_ZDZ): Likewise.
28520 (FE_INVALID_IMZ): Likewise.
28521 (FE_INVALID_COMPARE): Likewise.
28522 (FE_INVALID_SOFTWARE): Likewise.
28523 (FE_INVALID_SQRT): Likewise.
28524 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28525 (FE_TONEAREST): Likewise.
28526 (FE_TOWARDZERO): Likewise.
28527 (FE_UPWARD): Likewise.
28528 (FE_DOWNWARD): Likewise.
28529 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28530 (FE_DIVBYZERO): Likewise.
28531 (FE_OVERFLOW): Likewise.
28532 (FE_UNDERFLOW): Likewise.
28533 (FE_INEXACT): Likewise.
28534 (FE_TONEAREST): Likewise.
28535 (FE_DOWNWARD): Likewise.
28536 (FE_UPWARD): Likewise.
28537 (FE_TOWARDZERO): Likewise.
28538 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28539 (FE_UNDERFLOW): Likewise.
28540 (FE_OVERFLOW): Likewise.
28541 (FE_DIVBYZERO): Likewise.
28542 (FE_INVALID): Likewise.
28543 (FE_TONEAREST): Likewise.
28544 (FE_TOWARDZERO): Likewise.
28545 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28546 (FE_OVERFLOW): Likewise.
28547 (FE_UNDERFLOW): Likewise.
28548 (FE_DIVBYZERO): Likewise.
28549 (FE_INEXACT): Likewise.
28550 (FE_TONEAREST): Likewise.
28551 (FE_TOWARDZERO): Likewise.
28552 (FE_UPWARD): Likewise.
28553 (FE_DOWNWARD): Likewise.
28554 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28555 (FE_DIVBYZERO): Likewise.
28556 (FE_OVERFLOW): Likewise.
28557 (FE_UNDERFLOW): Likewise.
28558 (FE_INEXACT): Likewise.
28559 (FE_TONEAREST): Likewise.
28560 (FE_DOWNWARD): Likewise.
28561 (FE_UPWARD): Likewise.
28562 (FE_TOWARDZERO): Likewise.
28563
105ca950
CM
285642012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28565
28566 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28567
a542b389
AS
285682012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28569
28570 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28571 commands. Quote $PWD.
28572 (blacklist_exports): Don't use remove_newlines. Replace "declare
28573 -x" by "export".
28574 (remove_newlines): Remove.
28575
f62c8abc
L
285762012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28577
28578 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28579 * stdlib/stdlib.h (atof): Moved to ...
28580 * include/bits/stdlib-float.h: Here. New file.
28581 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28582 * stdlib/bits/stdlib-float.h: New file.
28583 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28584 -mno-sse -mno-mmx.
28585 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28586 <xmmintrin.h>.
28587
0155d5b2
JM
285882012-11-02 Joseph Myers <joseph@codesourcery.com>
28589
a68d0680
JM
28590 * conform/conformtest.pl (@headers): Add fenv.h.
28591 * conform/data/fenv.h-data: New file.
28592 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28593 include of <math/fenv.h>.
28594
caf7f573
JM
28595 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28596 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28597 && !UNIX98]. Enables tests for XOPEN2K8.
28598 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28599 POSIX2008]: Likewise.
28600
6c073ad6
JM
28601 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28602 (struct rusage): Do not expect type or its members.
28603
0155d5b2
JM
28604 [BZ #3439]
28605 * math/math.h (FP_NAN): Define macro to integer constant usable in
28606 #if and use that to give value to enum constant.
28607 (FP_INFINITE): Likewise.
28608 (FP_ZERO): Likewise.
28609 (FP_SUBNORMAL): Likewise.
28610 (FP_NORMAL): Likewise.
28611
b5dcacb4
AS
286122012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28613
28614 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28615 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28616 arguments.
28617
f7934be8
RM
286182012-11-02 Roland McGrath <roland@hack.frob.com>
28619
28620 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28621 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28622 autoconf-time if not.
28623 * configure.in: Remove AC_PREREQ.
28624
d7d08bde
TMQMF
286252012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28626
28627 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28628 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28629 of the internal implementation.
28630
dcdae19a
JM
286312012-11-02 Joseph Myers <joseph@codesourcery.com>
28632
28633 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28634 except include of <misc/sys/syslog.h>.
28635
d6cffd3e
AS
286362012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28637
28638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28639 function returns with a NULL context exit with zero.
28640
b3563932
TMQMF
286412012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28642
28643 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28644
b288a93d
L
286452012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28646
28647 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28648 (run_program_cmd): This.
28649 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28650 (tst_langinfo): New variable. Use it.
28651
a2421a68
SAS
286522012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28653
28654 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28655 floating point opcodes.
28656
6f796e1b
TS
286572012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28658
7402596b
TS
28659 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28660 variable.
28661
d0d4f868
TS
28662 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28663
6f796e1b
TS
28664 * sysdeps/mach/hurd/powerpc: Remove directory.
28665 * sysdeps/mach/powerpc: Likewise.
28666
4da224a2
AS
286672012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28668
28669 * scripts/check-local-headers.sh: Ignore c++ headers.
28670
341dd673
TS
286712012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28672
28673 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28674 __libc_cleanup_region_start argument.
28675
473611b2
JM
286762012-11-01 Joseph Myers <joseph@codesourcery.com>
28677
28678 [BZ #14784]
28679 [BZ #14785]
28680 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28681 x * y using scaling, not as x * y + z.
28682 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28683 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28684 * math/libm-test.inc (fma_test): Add more tests.
28685 (fma_test_towardzero): Likewise.
28686 (fma_test_downward): Likewise.
28687 (fma_test_upward): Likewise.
28688
4078da3d
TS
286892012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28690
28691 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28692
903252aa
JM
286932012-10-31 Joseph Myers <joseph@codesourcery.com>
28694
28695 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28696 New variable.
28697
cbc818d0
TS
286982012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28699
28700 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28701
5a03cb1e
AS
287022012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28703
28704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28705 Fix sort order.
28706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28707 Likewise.
28708
90aff2ff
TMQMF
287092012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28710
28711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28712 Fix the order of the list for glibc 2.17.
28713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28714 Likewise.
28715
1818fcb7
AS
287162012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28717
28718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28719
ef82f4da
JM
287202012-10-31 Joseph Myers <joseph@codesourcery.com>
28721
16a0e2ec
JM
28722 [BZ #14610]
28723 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28724 for low part of x being zero before using __atanl (y).
28725 * math/libm-test.inc (atan2_test): Add another test.
28726
0eb69512
JM
28727 * manual/install.texi (Configuring and compiling): Document
28728 general use of test-wrapper and test-wrapper-env.
28729 * INSTALL: Regenerated.
28730
ef82f4da
JM
28731 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28732 (__fma): Do not extract and scale down low bits on after-rounding
28733 systems when result rounded to normal precision would have normal
28734 exponent.
28735 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28736 (__fmal): Do not extract and scale down low bits on after-rounding
28737 systems when result rounded to normal precision would have normal
28738 exponent.
28739 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28740 (__fmal): Do not extract and scale down low bits on after-rounding
28741 systems when result rounded to normal precision would have normal
28742 exponent.
28743 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28744 macro.
28745 (fma_test): Add more tests.
28746 (fma_test_towardzero): Likewise.
28747 (fma_test_downward): Likewise.
28748 (fma_test_upward): Likewise.
28749
954ef0d9
L
287502012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28751
28752 * sysdeps/i386/tininess.h: Renamed to ...
28753 * sysdeps/x86/tininess.h: This.
28754 * sysdeps/x86_64/tininess.h: Removed.
28755
df61ffb2
JM
287562012-10-30 Joseph Myers <joseph@codesourcery.com>
28757
28758 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28759 input. Use $(build-program-cmd).
28760 ($(objpfx)tst-array1-static.out): Likewise.
28761 ($(objpfx)tst-array2.out): Likewise.
28762 ($(objpfx)tst-array3.out): Likewise.
28763 ($(objpfx)tst-array4.out): Likewise.
28764 ($(objpfx)tst-array5.out): Likewise.
28765 ($(objpfx)tst-array5-static.out): Likewise.
28766
01767843
CM
287672012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28768
47cc1490
CM
28769 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28770 if defined.
28771
01767843
CM
28772 * nss/nsswitch.h (nss_interface_function): Provide new
28773 macro for use with NSS functions.
28774 * grp/initgroups.c: Use new macro.
28775 * nss/getXXbyYY.c: Likewise.
28776 * nss/getXXbyYY_r.c: Likewise.
28777 * nss/getXXent.c: Likewise.
28778 * nss/getXXent_r.c: Likewise.
28779 * sysdeps/posix/getaddrinfo.c: Likewise.
28780
8321aa97
AJ
287812012-10-30 Andreas Jaeger <aj@suse.de>
28782
28783 * po/ru.po: Update Russion translation from translation project.
28784
2a27fd6d
JM
287852012-10-30 Joseph Myers <joseph@codesourcery.com>
28786
8627a232
JM
28787 [BZ #14152]
28788 [BZ #14783]
28789 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28790 result and shift together with sticky bit instead of replicating
28791 round-to-nearest rounding.
28792 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28793 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28794 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28795 missing underflow exceptions.
28796 (fma_test_towardzero): Add more tests.
28797 (fma_test_downward): Likewise.
28798 (fma_test_upward): Likewise.
28799
2a27fd6d
JM
28800 [BZ #14047]
28801 * sysdeps/generic/tininess.h: New file.
28802 * sysdeps/i386/tininess.h: Likewise.
28803 * sysdeps/sh/tininess.h: Likewise.
28804 * sysdeps/x86_64/tininess.h: Likewise.
28805 * stdlib/tst-strtod-underflow.c: Likewise.
28806 * stdlib/tst-tininess.c: Likewise.
28807 * stdlib/strtod_l.c: Include <tininess.h>.
28808 (round_and_return): Do not set errno for exact underflow cases.
28809 Force an underflow exception when setting errno for underflow.
28810 Determine underflow based on rounding to normal precision if
28811 TININESS_AFTER_ROUNDING.
28812 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28813 ERANGE for exact underflow cases.
28814 * stdlib/Makefile (tests): Add tst-tininess and
28815 tst-strtod-underflow.
28816 ($(objpfx)tst-tininess): Use $(link-libm).
28817 ($(objpfx)tst-strtod-underflow): Likewise.
28818
e7170363
AJ
288192012-10-30 Andreas Jaeger <aj@suse.de>
28820
e5088dc6
AJ
28821 [BZ#14767]
28822 * elf/Makefile (tests): Remove conditional for have-initfini-array
28823 since this is now always required and the variable does not exist
28824 anymore.
28825 (tests-static): Likewise.
28826 (modules-names): Likewise.
28827
e7170363 28828 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
28829
28830 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28831 merged with constructor/destructor.
28832 (init_array): Likewise.
28833 * elf/tst-array2dep.c (fini_array): Likewise.
28834 (init_array): Likewise.
28835
60457d8a
MF
288362012-10-29 Mike Frysinger <vapier@gentoo.org>
28837
28838 * manual/message.texi: Delete @cartouche tags.
28839
8bece752
PT
288402012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28841
94ce799f
PT
28842 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28843 EOPNOTSUPP.
28844 * sysdeps/mach/hurd/fsync.c: Likewise.
28845
8bece752
PT
28846 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28847 [_POSIX_REALTIME_SIGNALS]: Change condition to
28848 [_POSIX_REALTIME_SIGNALS > 0].
28849
86ebe6b1
AJ
288502012-10-27 Andreas Jaeger <aj@suse.de>
28851
28852 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28853 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28854 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28855 [__WORDSIZE != 64]: Likewise.
28856
54399c08
L
288572012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28858
28859 * iconvdata/tst-table.sh: Remove ${SHELL}.
28860 * iconvdata/tst-tables.sh: Likewise.
28861
e2211bed
DM
288622012-10-25 David S. Miller <davem@davemloft.net>
28863
28864 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28865 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28866 of strtoull.
28867
f303f97c
DM
28868 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28869 ifunc-impl-list.c
28870 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28871 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28872 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28873 file.
28874
1e9d84cd
RM
288752012-10-25 Roland McGrath <roland@hack.frob.com>
28876
28877 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28878 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28879 __getdirentries.
28880
df381762
JM
288812012-10-25 Joseph Myers <joseph@codesourcery.com>
28882 Jim Blandy <jimb@codesourcery.com>
28883
28884 * scripts/cross-test-ssh.sh: New file.
28885 * manual/install.texi (Configuring and compiling): Document use of
28886 cross-test-ssh.sh.
28887 * INSTALL: Regenerated.
28888
bff64913
PT
288892012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28890
28891 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28892 EOPNOTSUPP.
28893
25fe8932
JM
288942012-10-25 Joseph Myers <joseph@codesourcery.com>
28895
28896 * Makeconfig (run-program-prefix): Fix comment.
28897
cc1290d0
JM
288982012-10-24 Joseph Myers <joseph@codesourcery.com>
28899 Jim Blandy <jimb@codesourcery.com>
28900
28901 * Makeconfig (test-wrapper): New variable,
28902 (test-wrapper-env): Likewise.
28903 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28904 (run-built-tests): Define to yes.
28905 (run-program-prefix): Use $(test-wrapper).
28906 (built-program-cmd): Likewise.
28907 * Rules (make-test-out): Use $(test-wrapper-env) and
28908 $(host-built-program-cmd).
28909 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28910 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28911 tst-pathopt.sh.
28912 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28913 $(test-wrapper-env) to tst-rtld-load-self.sh.
28914 ($(objpfx)order2.out): Use $(test-wrapper).
28915 ($(objpfx)tst-initorder.out): Likewise.
28916 ($(objpfx)tst-initorder2.out): Likewise.
28917 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28918 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28919 (test_wrapper_env): New variable. Use it to run ld.so.
28920 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28921 Use it to run ld.so.
28922 (test_wrapper_env): Likewise.
28923 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28924 $(test-wrapper) to run-iconv-test.sh.
28925 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28926 (ICONV): Use $test_wrapper.
28927 * posix/Makefile ($(objpfx)globtest.out): Pass
28928 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28929 globtest.sh, not $(run-program-prefix).
28930 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28931 (test_wrapper): Likewise.
28932 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28933 set together with run_via_rtld_prefix.
28934 (run_program_prefix): Define in terms of test_wrapper and
28935 run_via_rtld_prefix.
28936
6e6249d0
RM
289372012-10-24 Roland McGrath <roland@hack.frob.com>
28938
28939 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28940 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28941 Targets removed.
28942
28943 [BZ #14743]
28944 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28945 Declare __clock_getres, __clock_gettime, __clock_settime,
28946 __clock_nanosleep, and __clock_getcpuclockid.
28947 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28948 Remove librt_hidden_def (clock_gettime).
28949 * sysdeps/unix/clock_gettime.c: Likewise.
28950 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28951 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28952 * rt/clock_getres.c: Define __clock_getres as an alias.
28953 * sysdeps/posix/clock_getres.c: Likewise.
28954 * rt/clock_settime.c: Define __clock_settime as an alias.
28955 * sysdeps/unix/clock_settime.c: Likewise.
28956 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28957 * sysdeps/unix/clock_nanosleep.c: Likewise.
28958 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28959 * rt/clock-compat.c: New file.
28960 * rt/Makefile (librt-routines): Add clock-compat and move
28961 $(clock-routines) to ...
28962 (routines): ... here, new variable.
28963 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28964 Don't add get_clockfreq here.
28965 * rt/Versions (libc: GLIBC_2.17): New version set.
28966 Add clock_* symbols here.
28967 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28968 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28969 (GLIBC_2.17): Add clock_* symbols.
28970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28972 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28974 Likewise.
28975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28976 Likewise.
28977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28981 * NEWS: Mention the move.
28982
28983 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28984 Use __open, __read, __close rather than their public counterparts.
28985 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28986 (__get_clockfreq_via_cpuinfo): Likewise.
28987 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28988 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28989
28990 * config.h.in (HAVE_IFUNC): New #undef.
28991 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28992 was successful.
28993 * configure: Regenerated.
28994
0cae3f4b
MF
289952012-10-24 Mike Frysinger <vapier@gentoo.org>
28996
28997 * configure.in: Move READELF check to start of file.
28998 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28999 libc_cv_asm_gnu_indirect_function in the process.
29000 * configure: Regenerated.
29001
8175a253
MF
290022012-10-24 Mike Frysinger <vapier@gentoo.org>
29003
29004 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29005 send the output to /dev/null.
29006 (libc_cv_cc_with_libunwind): Likewise.
29007 (libc_cv_as_noexecstack): Likewise.
29008 * configure: Regenerate.
29009
0708a7d1
JM
290102012-10-24 Joseph Myers <joseph@codesourcery.com>
29011
10b40d85
JM
29012 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29013
0708a7d1
JM
29014 * posix/globtest.sh (TMPDIR): Do not set.
29015 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29016 (testout): Likewise.
29017
9fddec1a
AJ
290182012-10-24 Andreas Jaeger <aj@suse.de>
29019
3a8db22f
AJ
29020 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29021 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29022 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29023 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29024 posix_fadvise64, posix_fallocate64.
29025
9fddec1a
AJ
29026 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29027 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29028 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29029 Likewise.
29030 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29031 Likewise.
29032 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29033
29034 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29035 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29036 <bits/fcntl-linux.h>.
29037 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29038
29039 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29040 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29041 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29042 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29043 [__WORDSIZE != 64]: Likewise.
29044
ebfd1bbd
JM
290452012-10-23 Joseph Myers <joseph@codesourcery.com>
29046
03ac099f
JM
29047 * Makeconfig (run-built-tests): New variable.
29048 * Rules [$(cross-compiling) = yes]: Change condition to
29049 [$(run-built-tests) = no].
29050 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29051 to [$(run-built-tests) = yes].
29052 * elf/Makefile [$(cross-compiling) = no]: Likewise
29053 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29054 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29055 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29056 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29057 * io/Makefile [$(cross-compiling) = no]: Likewise.
29058 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29059 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29060 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29061 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29062 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29063 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29064 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29065 * string/Makefile [$(cross-compiling) = no]: Likewise.
29066
ebfd1bbd
JM
29067 * posix/Makefile ($(objpfx)globtest.out): Pass
29068 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29069 $(rtld-installed-name).
29070 * posix/globtest.sh (elf_objpfx): Remove variable.
29071 (rtld_installed_name): Likewise.
29072 (library_path): Likewise.
29073 (run_program_prefix): New variable. Use for running globtest
29074 binary.
29075
166bca24
JB
290762012-10-23 Jim Blandy <jimb@codesourcery.com>
29077 Joseph Myers <joseph@codesourcery.com>
29078
29079 * Makeconfig (host-built-program-cmd): New variable.
29080 * elf/Makefile (tst-stackguard1-ARGS): Use
29081 $(host-built-program-cmd).
29082 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29083 (tst-spawn-ARGS): Likewise.
29084 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29085
88866099
JM
290862012-10-23 Joseph Myers <joseph@codesourcery.com>
29087 Jim Blandy <jimb@codesourcery.com>
29088
29089 * Makeconfig (run-via-rtld-prefix): New variable.
29090 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29091 (built-program-cmd): Likewise.
29092
b4b4c296
AJ
290932012-10-22 Andreas Jaeger <aj@suse.de>
29094
29095 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29096 __O_RSYNC if it exists, otherwise to O_SYNC.
29097
6fb54a22
JB
290982012-10-22 Jim Blandy <jimb@codesourcery.com>
29099 Joseph Myers <joseph@codesourcery.com>
29100
29101 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29102 /dev/null.
29103 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29104 from /dev/null
29105 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29106 /dev/null.
29107
481b90b9
AJ
291082012-10-22 Andreas Jaeger <aj@suse.de>
29109
2a0e2669
AJ
29110 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29111 Define always.
29112 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29113
76e38f9a
AJ
29114 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29115 bits/fcntl-linux.h.
29116
7cd37b43
AJ
29117 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29118 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29119
481b90b9
AJ
29120 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29121 to __O_LARGEFILE.
29122 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29123 to __O_LARGEFILE.
29124
aba75984
JB
291252012-10-21 Jim Blandy <jimb@codesourcery.com>
29126 Joseph Myers <joseph@codesourcery.com>
29127
29128 * config.make.in (NM): New variable.
29129
88d4247f
AJ
291302012-10-21 Andreas Jaeger <aj@suse.de>
29131
29132 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29133 definitions and declarations that are provided by
29134 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29135
f2eed205
L
291362012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29137
29138 [BZ #14683]
29139 * elf/Makefile (tests-static): Add tst-leaks1-static.
29140 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29141 ($(objpfx)tst-leaks1-static): New rule.
29142 ($(objpfx)tst-leaks1-static-mem): Likewise.
29143 (tst-leaks1-static-ENV): New macro.
29144 * elf/dl-open.c (dl_open_worker): Check the main application
29145 only if SHARED is defined.
29146 * elf/tst-leaks1-static.c: New file.
29147
335e6931
AJ
291482012-10-20 Andreas Jaeger <aj@suse.de>
29149
29150 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29151 generic values for Linux.
29152 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29153 and declarations that are provided by <bits/fcntl-linux.h> and
29154 include <bits/fcntl-linux.h>.
29155 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29156 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29157
ac5c94d3
RM
291582012-10-20 Roland McGrath <roland@hack.frob.com>
29159
29160 * io/fcntl.h: Move include of <bits/types.h> to the top and
29161 include it unconditionally.
29162
de54b33a
L
291632012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29164
228cfb01
L
29165 * wcsmbs/Makefile (tests-ifunc): New variable.
29166 (tests): Add $(tests-ifunc).
29167 * wcsmbs/test-wcschr-ifunc.c: New file.
29168 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29169 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29170 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29171 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29172 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29173
69f07e5f
L
29174 * string/Makefile (tests-ifunc): New variable.
29175 (tests): Add $(tests-ifunc).
29176 * string/test-memccpy.c (TEST_NAME): New macro.
29177 * string/test-memchr.c (TEST_NAME): Likewise.
29178 * string/test-memcmp.c (TEST_NAME): Likewise.
29179 * string/test-memcpy.c (TEST_NAME): Likewise.
29180 * string/test-memmem.c (TEST_NAME): Likewise.
29181 * string/test-memmove.c (TEST_NAME): Likewise.
29182 * string/test-memset.c (TEST_NAME): Likewise.
29183 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29184 * string/test-stpcpy.c (TEST_NAME): Likewise.
29185 * string/test-stpncpy.c (TEST_NAME): Likewise.
29186 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29187 * string/test-strcasestr.c (TEST_NAME): Likewise.
29188 * string/test-strcat.c (TEST_NAME): Likewise.
29189 * string/test-strchr.c (TEST_NAME): Likewise.
29190 * string/test-strcmp.c(TEST_NAME): Likewise.
29191 * string/test-strcpy.c (TEST_NAME): Likewise.
29192 * string/test-strcspn.c (TEST_NAME): Likewise.
29193 * string/test-strlen.c (TEST_NAME): Likewise.
29194 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29195 * string/test-strncmp.c (TEST_NAME): Likewise.
29196 * string/test-strncpy.c (TEST_NAME): Likewise.
29197 * string/test-strnlen.c (TEST_NAME): Likewise.
29198 * string/test-strpbrk.c (TEST_NAME): Likewise.
29199 * string/test-strrchr.c (TEST_NAME): Likewise.
29200 * string/test-strspn.c (TEST_NAME): Likewise.
29201 * string/test-strstr.c (TEST_NAME): Likewise.
29202 * string/test-bcopy-ifunc.c: New file.
29203 * string/test-bzero-ifunc.c: Likewise.
29204 * string/test-memccpy-ifunc.c: Likewise.
29205 * string/test-memchr-ifunc.c: Likewise.
29206 * string/test-memcmp-ifunc.c: Likewise.
29207 * string/test-memcpy-ifunc.c: Likewise.
29208 * string/test-memmem-ifunc.c: Likewise.
29209 * string/test-memmove-ifunc.c: Likewise.
29210 * string/test-mempcpy-ifunc.c: Likewise.
29211 * string/test-memset-ifunc.c: Likewise.
29212 * string/test-rawmemchr-ifunc.c: Likewise.
29213 * string/test-stpcpy-ifunc.c: Likewise.
29214 * string/test-stpncpy-ifunc.c: Likewise.
29215 * string/test-strcasecmp-ifunc.c: Likewise.
29216 * string/test-strcasestr-ifunc.c: Likewise.
29217 * string/test-strcat-ifunc.c: Likewise.
29218 * string/test-strchr-ifunc.c: Likewise.
29219 * string/test-strchrnul-ifunc.c: Likewise.
29220 * string/test-strcmp-ifunc.c: Likewise.
29221 * string/test-strcpy-ifunc.c: Likewise.
29222 * string/test-strcspn-ifunc.c: Likewise.
29223 * string/test-strlen-ifunc.c: Likewise.
29224 * string/test-strncasecmp-ifunc.c: Likewise.
29225 * string/test-strncat-ifunc.c: Likewise.
29226 * string/test-strncmp-ifunc.c: Likewise.
29227 * string/test-strncpy-ifunc.c: Likewise.
29228 * string/test-strnlen-ifunc.c: Likewise.
29229 * string/test-strpbrk-ifunc.c: Likewise.
29230 * string/test-strrchr-ifunc.c: Likewise.
29231 * string/test-strspn-ifunc.c: Likewise.
29232 * string/test-strstr-ifunc.c: Likewise.
29233
de54b33a
L
29234 * debug/Makefile (tests-ifunc): New variable.
29235 (tests): Add $(tests-ifunc).
29236 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29237 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29238 * debug/test-stpcpy_chk-ifunc.c: New file.
29239 * debug/test-strcpy_chk-ifunc.c: Likewise.
29240
88481c16
SP
292412012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29242
29243 [BZ #13601]
29244 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29245 header is not read in.
29246
135948bd
JM
292472012-10-19 Joseph Myers <joseph@codesourcery.com>
29248
89f1c388
JM
29249 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29250 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29251 directly. Pass built executable to script as
29252 $(built-program-cmd).
29253 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29254 $testprogram without using LD_LIBRARY_PATH and $ldso.
29255
e40a0d21
JM
29256 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29257 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29258 $(rtld-installed-name).
29259 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29260 (rtld_installed_name): Likewise.
29261 (library_path): Likewise.
29262 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29263 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29264 $(run-program-prefix) to tst-tables.sh.
29265 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29266 it to run tst-table-from and tst-table-to.
29267 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29268 Pass it to tst-table.sh.
29269 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29270 $(run-program-prefix) to tst-gettext.sh.
29271 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29272 tst-translit.sh.
29273 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29274 tst-gettext2.sh.
29275 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29276 to run tst-gettext.
29277 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29278 to run tst-gettext2.
29279 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29280 to run tst-translit.
29281 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29282 $(run-program-prefix) to tst-mtrace.sh.
29283 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29284 to run tst-mtrace.
29285 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29286 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29287 $(rtld-installed-name).
29288 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29289 (rtld_installed_name): Likewise.
29290 (run_program_prefix): New variable. Use it to run wordexp-test.
29291
728e272a
JM
29292 * Makeconfig (ARCH): Remove all definitions.
29293 (machine): Likewise.
29294 [ARCH]: Remove conditional code.
29295 [!objdir]: Give error.
29296 [!objdir] (objpfx): Remove.
29297 [!objdir] (common-objpfx): Likewise.
29298 [!objdir] (common-objdir): Likewise.
29299 * configure.in (config_makefile): Remove. Hardcode Makefile in
29300 AC_CONFIG_FILES call.
29301 * configure: Regenerated.
29302
d528cdcf
JM
29303 [BZ #13888]
29304 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29305 or TMPDIR.
29306 (testout): Likewise.
29307
135948bd
JM
29308 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29309 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29310 $(rtld-installed-name).
29311 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29312 (rtld_installed_name): Likwise.
29313 (runit): Remove function.
29314 (run_getconf): New variable, Use it for running getconf binary.
29315
38c78296
L
293162012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29317
29318 [BZ #14716]
29319 * string/test-memmem.c (check_result): New function.
29320 (do_one_test): Use it.
29321 (check1): New function.
29322 (test_main): Use it.
29323
d077f65f
MT
293242012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29325
29326 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29327
ced52c71
JM
293282012-10-18 Joseph Myers <joseph@codesourcery.com>
29329
29330 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29331 (_G_LSEEK64): Likewise.
29332 (_G_MMAP64): Likewise.
29333 (_G_FSTAT64): Likewise.
29334 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29335 (_G_LSEEK64): Likewise.
29336 (_G_MMAP64): Likewise.
29337 (_G_FSTAT64): Likewise.
29338 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29339 unconditional. Call __mmap64 directly.
29340 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29341 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29342 __lseek64 directly.
29343 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29344 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29345 __mmap64 directly.
29346 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29347 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29348 __lseek64 directly.
29349 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29350 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29351 __lseek64 directly.
29352 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29353 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29354 __lseek64 directly.
29355 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29356 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29357 __fxstat64 directly.
29358 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29359 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29360 unconditional.
29361 (freopen64) [!_G_OPEN64]: Remove conditional code.
29362 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29363 unconditional.
29364 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29365 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29366 unconditional.
29367 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29368 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29369 unconditional.
29370 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29371 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29372 unconditional.
29373 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29374 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29375 unconditional.
29376 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29377 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29378 unconditional.
29379 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29380 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29381 unconditional.
29382 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29383
b741de23
SP
293842012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29385
29386 [BZ #12140]
29387 * manual/memory.texi (Malloc Tunable Parameters): Add note
29388 about free list pointers overwriting some perturb bytes.
29389 Wording suggested by Roland McGrath.
29390
f9b9d9c9
JM
293912012-10-17 Joseph Myers <joseph@codesourcery.com>
29392
29393 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29394 (lgamma_test): Likewise.
29395 (tgamma_test): Likewise.
29396
172a631a
FW
293972012-10-16 Florian Weimer <fweimer@redhat.com>
29398
29399 [BZ #14700]
29400 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29401 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29402
e9f37252
MK
294032012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29404
29405 * NEWS: Mention BZ #14716.
29406 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29407 when removing AVAILABLE1_USES_J macro.
29408
d394eb74
L
294092012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29410
29411 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29412 (__bswap_64): __uint64_t for unsigned 64-bit int.
29413
ca38dc17
AS
294142012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29415
29416 * include/string.h (memmem): Declare libc hidden alias.
29417 * string/memmem.c (memmem): Define libc hidden alias.
29418 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29419 __read, __close instead of open, read, close.
29420
9a387d1f
L
294212012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29422
ac49ecaf
L
29423 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29424 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29425 global and hidden.
29426 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29427 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29428 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29429 Likewise.
29430 (__rawmemchr_sse2): Likewise.
29431 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29432 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29433 (__strchr_sse2): Likewise.
29434 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29435 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29436 (__strcasecmp_sse2): Likewise.
29437 (__strncasecmp_sse2): Likewise.
29438 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29439 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29440 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29441 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29442 (__strrchr_sse2): Likewise.
29443 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29444 ifunc-impl-list.c.
29445 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29446 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29447 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29448 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29449 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29450 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29451 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29452 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29453 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29454 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29455 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29456 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29457 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29458 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29459 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29460 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29461 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29462 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29463 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29464 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29465 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29466 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29467 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29468 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29469 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29470 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29471 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29472 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29473 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29474 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29475
b090e8ea
L
29476 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29477 global and hidden.
29478 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29479 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29480 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29481 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29482 Likewise.
29483 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29484 Likewise.
29485 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29486 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29487 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29488 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29489 ifunc-impl-list.c.
29490 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29491 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29492 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29493 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29494 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29495 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29496 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29497 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29498 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29499 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29500 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29501 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29502 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29503 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29504 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29505 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29506 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29507 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29508 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29509 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29510 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29511 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29512 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29513 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29514 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29515 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29516 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29517 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29518 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29519 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29520 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29521 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29522 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29523 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29524 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29525 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29526 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29527 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29528 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29529 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29530 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29531
11dd4af6
L
29532 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29533 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29534 * include/ifunc-impl-list.h: New file.
29535 * misc/ifunc-impl-list.c: Likewise.
29536 * misc/Makefile (routines): Add ifunc-impl-list.
29537 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29538 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
29539 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29540 TEST_NAME]: New variables.
11dd4af6
L
29541 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29542 are defined.
29543 (test_init): Call __libc_ifunc_impl_list to initialize
29544 func_list if TEST_IFUNC and TEST_NAME are defined.
29545
9a387d1f
L
29546 * string/Makefile (strop-tests): Add bcopy and bzero.
29547 * string/test-bcopy.c: New file.
29548 * string/test-bzero.c: Likewise.
29549 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29550 defined.
29551 * string/test-memset.c: Support bzero test if TEST_BZERO is
29552 defined.
29553 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29554 __libc_memmove.
29555 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29556 __libc_memset.
29557 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29558 of memset.
29559
472371b9
JM
295602012-10-10 Joseph Myers <joseph@codesourcery.com>
29561
1e4a9536
JM
29562 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29563 * configure: Regenerated.
29564
d173d12e
JM
29565 * Makeconfig (+link-static-before-libc): Don't include
29566 $(link-static-libc).
29567
472371b9
JM
29568 * libio/libio.h (_IO_pos_t): Remove.
29569
89a3ad0b
AO
295702012-10-10 Alexandre Oliva <aoliva@redhat.com>
29571
29572 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29573 McGrath.
29574
e7451425
AO
295752012-10-10 Alexandre Oliva <aoliva@redhat.com>
29576
29577 * crypt/crypt-entry.c: Include fips-private.h.
29578 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29579 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29580 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29581 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29582
4ba74a35
AO
295832012-10-10 Alexandre Oliva <aoliva@redhat.com>
29584
29585 * crypt/crypt-private.h: Include stdbool.h.
29586 (_ufc_setup_salt_r): Return bool.
29587 * crypt/crypt-entry.c: Include errno.h.
29588 (__crypt_r): Return NULL with EINVAL for bad salt.
29589 * crypt/crypt_util.c (bad_for_salt): New.
29590 (_ufc_setup_salt_r): Check that salt is long enough and within
29591 the specified alphabet.
29592 * crypt/badsalttest.c: New file.
29593 * crypt/Makefile (tests): Add it.
29594 ($(objpfx)badsalttest): New.
29595
f96f1242
MK
295962012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29597
29598 * NEWS: Add entry for BZ #14602.
29599
0e8e0c1c
JM
296002012-10-09 Joseph Myers <joseph@codesourcery.com>
29601
29602 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29603 type-generic.
29604 * math/libm-test.inc: Update comment listing what functions and
29605 macros are tested.
29606 (isgreater_test): New function.
29607 (isgreaterequal_test): Likewise.
29608 (isless_test): Likewise.
29609 (islessequal_test): Likewise.
29610 (islessgreater_test): Likewise.
29611 (isunordered_test): Likewise.
29612 (main): Call the new functions.
29613
273edc5e
RM
296142012-10-09 Roland McGrath <roland@hack.frob.com>
29615
b8493de0
RM
29616 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29617 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29618 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29619 * sysdeps/i386/configure: Regenerated.
29620 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29621 * sysdeps/mach/configure: Regenerated.
29622 * sysdeps/mach/hurd/configure: Regenerated.
29623 * sysdeps/powerpc/configure: Regenerated.
29624 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29625 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29626 * sysdeps/s390/s390-32/configure: Regenerated.
29627 * sysdeps/s390/s390-64/configure: Regenerated.
29628 * sysdeps/sh/configure: Regenerated.
29629 * sysdeps/sparc/configure: Regenerated.
29630 * sysdeps/unix/sysv/linux/configure: Regenerated.
29631 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29632 * sysdeps/x86_64/configure: Regenerated.
29633
273edc5e
RM
29634 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29635 defined. Don't check if MAP is NULL.
29636
c8450f70
JM
296372012-10-09 Joseph Myers <joseph@codesourcery.com>
29638
29639 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29640 (_G_stat64): Likewise.
29641 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29642 (_G_stat64): Likewise.
29643 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29644 instead of struct _G_stat64.
29645 * libio/fileops.c (mmap_remap_check): Likewise.
29646 (decide_maybe_mmap): Likewise.
29647 (_IO_new_file_seekoff): Likewise.
29648 (_IO_file_stat): Likewise.
29649 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29650 _G_off64_t.
29651 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29652 instead of struct _G_stat64.
29653 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29654
57e605ba
MK
296552012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29656
29657 [BZ #14602]
29658 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29659 Replace with ...
29660 (CHECK_EOL): New macro.
29661 (two_way_short_needle): Check beginning of haystack for EOL. Use
29662 CHECK_EOL.
29663 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29664 Replace with CHECK_EOL.
29665 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29666 Replace with CHECK_EOL.
29667
ef1bb361
JM
296682012-10-08 Joseph Myers <joseph@codesourcery.com>
29669
29670 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29671 type-generic.
29672 * math/libm-test.inc: Update comment listing what functions and
29673 macros are tested.
29674 (finite_test): New function.
29675 (isinf_test): Likewise.
29676 (isnan_test): Likewise.
29677 (fpclassify_test): Test subnormal input.
29678 (isfinite_test): Likewise.
29679 (isnormal_test): Likewise.
29680 (main): Call the new functions.
29681
55f11534
JN
296822012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29683
29684 [BZ #14660]
29685 * Makerules (%.dynsym): Force C locale when running
29686 $(OBJDUMP) --dynamic-syms.
29687
1ab29350
AS
296882012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29689
29690 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29691 <stdint.h>.
29692
f1ecb7ef
DM
296932012-10-06 David S. Miller <davem@davemloft.net>
29694
29695 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29696 upper 32-bits of the length value in %o2 since we use branch-on-register
29697 tests which consider the entire 64-bit register.
29698
5d41d91a
L
296992012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29700
29701 * string/test-strstr.c (check2): Add a test for page boundary.
29702
3baddb72
DM
297032012-10-05 David S. Miller <davem@davemloft.net>
29704
29705 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29706 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29707 file.
29708 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29709 sysdep_routines.
29710 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29711 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29712 and bzero when HWCAP_SPARC_CRYPTO is present.
29713
9cee5585
L
297142012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29715
d7e0dab9
L
29716 [BZ #14602]
29717 * string/test-strstr.c (check2): New function.
29718 (test_main): Call check2.
29719
03759f47
L
29720 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29721 and bug-strchr1.
29722 * string/bug-strcasestr1.c (do_test): Moved to ...
29723 * string/test-strcasestr.c (check1): Here. New function.
29724 (do_one_test): Break out result checking code into ...
29725 (check_result): This. New function.
29726 (do_one_test): Call check_result.
29727 (test_main): Call check1.
29728 * string/bug-strchr1.c (do_test): Moved to ...
29729 * string/test-strchr.c (check1): Here. New function.
29730 (do_one_test): Break out result checking code into ...
29731 (check_result): This. New function.
29732 (do_one_test): Call check_result.
29733 (test_main): Call check1.
29734 * string/bug-strstr1.c (main): Moved to ...
046f153e 29735 * string/test-strstr.c (check1): Here. New function.
03759f47
L
29736 (do_one_test): Break out result checking code into ...
29737 (check_result): This. New function.
29738 (do_one_test): Call check_result.
29739 (test_main): Call check1.
29740 * string/bug-strcasestr1.c: Removed.
29741 * string/bug-strchr1.c: Likewise.
29742 * string/bug-strstr1.c: Likewise.
29743
53cea63e
L
29744 * elf/Makefile (dl-routines): Add hwcaps.
29745 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29746 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29747 (_dl_important_hwcaps): Moved to ...
29748 * elf/dl-hwcaps.c: Here. New file.
29749 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29750
9cee5585 29751 [BZ #14557]
bb859b06
L
29752 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29753 if IS_IN_rtld isn't defined.
29754
9cee5585
L
29755 * elf/dl-support.c (_dl_sysinfo_map): New.
29756 Include "get-dynamic-info.h" and "setup-vdso.h".
29757 (_dl_non_dynamic_init): Call setup_vdso.
29758 * elf/dynamic-link.h: Don't include <assert.h>.
29759 (elf_get_dynamic_info): Moved to ...
29760 * elf/get-dynamic-info.h: Here. New file.
29761 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29762 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29763 * elf/setup-vdso.h: Here. New file.
29764 * elf/rtld.c: Include "setup-vdso.h".
29765 (dl_main): Call setup_vdso.
29766
23c31b76
JM
297672012-10-05 Joseph Myers <joseph@codesourcery.com>
29768
28234b07
JM
29769 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29770 creal in comment listing functions tested. List finite, isinf,
29771 isnan, isless, islessequal, isgreater, isgreaterequal,
29772 islessgreater, isunordered, lgamma_r and pow10 as functions and
29773 macros not tested. Mention which functions not tested are aliases
29774 for other functions. Fix typo. Note that signs of NaNs are not
29775 tested.
29776
23c31b76
JM
29777 * scripts/config.guess: Update from config.git.
29778 * scripts/config.sub: Likewise.
29779
9043e228
RM
297802012-10-04 Roland McGrath <roland@hack.frob.com>
29781
29782 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29783 * misc/madvise.c (madvise): Renamed to __madvise.
29784 Make madvise a weak alias.
29785 * include/sys/mman.h: Declare __madvise.
29786 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29787 * sysdeps/unix/syscalls.list
29788 (madvise): Make __madvise the strong name, and madvise a weak alias.
29789 * sysdeps/unix/sysv/linux/syscalls.list
29790 (madvise, mmap): Remove redundant entries.
29791 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29792 * malloc/malloc.c (mtrim): Likewise.
29793 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29794
f57f8055
RM
297952012-10-03 Roland McGrath <roland@hack.frob.com>
29796
29797 * sysdeps/mach/hurd/dl-cache.c: File removed.
29798 * config.h.in (USE_LDCONFIG): New #undef.
29799 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29800 * configure: Regenerated.
29801 * elf/Makefile (dl-routines): Add dl-cache only under
29802 [$(use-ldconfig) = yes].
29803 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29804 cache on [USE_LDCONFIG].
29805 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29806 [USE_LDCONFIG].
29807 * elf/rtld.c (dl_main): Likewise.
29808
5bb0c10a
PT
298092012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29810
29811 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29812 _SC_LEVEL4_CACHE_LINESIZE.
29813
010188c6
RM
298142012-10-03 Roland McGrath <roland@hack.frob.com>
29815
29816 * sysdeps/unix/bsd/confstr.h: File removed.
29817
b6c5ec07
AO
298182012-10-02 Alexandre Oliva <aoliva@redhat.com>
29819
29820 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29821 sys/sdt-config.h.
29822
408223d4
RM
298232012-10-02 Roland McGrath <roland@hack.frob.com>
29824
29825 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29826 Make 'mapoff' field ElfW(Off) rather than off_t.
29827
bb9510dc
DL
298282012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29829
fc997c6e
DL
29830 * nscd/Makefile: Remove nscd-cflags and all its users.
29831 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29832 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29833
bb9510dc
DL
29834 [BZ #10631]
29835 * malloc.c (malloc_printerr): Clarify error message.
29836
05699367
L
298372012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29838
29839 [BZ #14648]
29840 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29841 Set bit_FMA_Usable if FMA is supported.
29842 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29843 macro.
29844 (bit_FMA4_Usable): Updated.
29845 (index_FMA_Usable): New macro.
29846 (CPUID_FMA): Likewise
29847 (HAS_FMA): Defined with bit_FMA_Usable.
29848
51367701
RM
298492012-10-01 Roland McGrath <roland@hack.frob.com>
29850
29851 * bits/types.h (__swblk_t): Type removed.
29852 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29853 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29854 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29855 (__SWBLK_T_TYPE): Likewise.
29856 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29857 (__SWBLK_T_TYPE): Likewise.
29858 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29859 (__SWBLK_T_TYPE): Likewise.
29860 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29861 (__SWBLK_T_TYPE): Likewise.
29862
4d57bf63 298632012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 29864 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
29865
29866 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29867 (xdr_mapname): Use YPMAXMAP as maxsize.
29868 (xdr_peername): Use YPMAXPEER as maxsize.
29869 (xdr_keydat): Use YPAXRECORD as maxsize.
29870 (xdr_valdat): Use YPMAXRECORD as maxsize.
29871
93c65d43
RM
298722012-10-01 Roland McGrath <roland@hack.frob.com>
29873
497a03d6
RM
29874 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29875
93c65d43
RM
29876 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29877 * csu/init-first.c: ... here.
29878 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29879 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29880 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29881 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29882 * sysdeps/i386/init-first.c: File removed.
29883 * sysdeps/sh/init-first.c: File removed.
29884
bec749fd
JM
298852012-10-01 Joseph Myers <joseph@codesourcery.com>
29886
29887 [BZ #14645]
29888 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29889 if x * y might underflow to zero and z is zero.
29890 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29891 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29892 * math/libm-test.inc (min_subnorm_value): New variable.
29893 (fma_test): Add more tests.
29894 (fma_test_towardzero): Likewise.
29895 (fma_test_downward): Likewise
29896 (fma_test_upward): Likewise.
29897 (initialize): Set min_subnorm_value.
29898
8ec5b013
JM
298992012-09-29 Joseph Myers <joseph@codesourcery.com>
29900
29901 [BZ #14638]
29902 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29903 0 + 0.
29904 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29905 mode for addition resulting in exact zero.
29906 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29907 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29908 exact 0 + 0.
29909 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29910 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29911 * math/libm-test.inc (fma_test): Add more tests.
29912 (fma_test_towardzero): New function.
29913 (fma_test_downward): Likewise.
29914 (fma_test_upward): Likewise.
29915 (main): Call the new functions.
29916
b1fa802e
DM
299172012-09-28 David S. Miller <davem@davemloft.net>
29918
29919 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29920
d3b9fd9e
RM
299212012-09-28 Roland McGrath <roland@hack.frob.com>
29922
ea4d37b3
RM
29923 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29924 instead of SIGALRM.
29925
ac51c949
RM
29926 * sysdeps/gnu/_G_config.h: Moved to ...
29927 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29928 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29929 * sysdeps/generic/_G_config.h: ... here.
29930
28c195f7
RM
29931 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29932
848917f9
RM
29933 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29934
6bacf05b
RM
29935 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29936 Conditionalize target on [libnss_test1.so-version].
29937
91363dbb
RM
29938 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29939
cc87f7d8
RM
29940 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29941 (elfobjdir): Move out of conditionals.
29942
b1c608fe
RM
29943 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29944 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29945 (__nss_lookup_function): Conditionalize label remove_from_tree on
29946 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 29947
1d9a6d96
DM
299482012-09-28 David S. Miller <davem@davemloft.net>
29949
29950 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29951 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29952 file.
29953 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29954 sysdep_routines.
29955 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29956 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29957 when HWCAP_SPARC_CRYPTO is present.
29958
72581615
PT
299592012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29960
29961 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29962
715a900c
JL
299632012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29964
29965 [BZ #6530]
29966 * stdio-common/vfprintf.c (process_string_arg): Revert
29967 2000-07-22 change.
29968
299692011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29970
29971 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29972 for testcase.
29973 * stdio-common/tst-sprintf.c: Include <locale.h>
29974 (main): Test sprintf's handling of incomplete multibyte
29975 characters.
29976
9bac1d86
L
299772012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29978
29979 * elf/dl-runtime.c (VERSYMIDX): Removed.
29980 * elf/dl-version.c (VERSYMIDX): Likewise.
29981 * elf/do-rel.h (VERSYMIDX): Likewise.
29982 (VALIDX): Likewise.
29983 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29984 * elf/rtld.c (VALIDX): Likewise.
29985 (ADDRIDX): Likewise.
9bac1d86
L
29986 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29987 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29988 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
29989 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29990 (VALIDX): Likewise.
29991 (ADDRIDX): Likewise.
9bac1d86 29992
b31606c0
PT
299932012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29994
29995 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29996
11541177
JL
299972012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29998
29999 [BZ #11438]
30000 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30001 to global scope.
30002 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30003 addresses are in the same scope as 192.0.2/24.
30004 * posix/gai.conf: Document new scope table defaults.
30005
adb26fae
SP
300062012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30007
30008 [BZ #5298]
30009 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30010 for ftell. Compute offsets from write pointers instead.
30011 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30012
4573c6b0
SP
300132012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30014
30015 [BZ #14543]
30016 * libio/Makefile (tests): New test case tst-fseek.
30017 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30018 combination works in wide mode.
30019 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30020 state when the external buffer state changes.
30021
aa9bbfe6
DM
300222012-09-27 David S. Miller <davem@davemloft.net>
30023
30024 [BZ #14376]
30025 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30026 pass reloc->r_addend in as the 'high' argument to
30027 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30028
784421e7
DM
30029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30030
c39bc8b8
PT
300312012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30032
30033 * rt/tst-aio2.c: Include <pthread.h>.
30034 * rt/tst-aio3.c: Likewise.
30035
1ccc2399
SE
300362012-09-27 Steve Ellcey <sellcey@mips.com>
30037
30038 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30039
31ed4153
L
300402012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30041
25f5f885
L
30042 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30043 contents on [SHARED].
31ed4153 30044
b7bfe116
MP
300452012-09-26 Marek Polacek <polacek@redhat.com>
30046
30047 [BZ #14530]
30048 [BZ #13741]
30049 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30050 for C++ and GCC <4.3 as well as for non GCC compilers.
30051
43c4edba
MT
300522012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30053
30054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30055
6a1bf82f
RM
300562012-09-25 Roland McGrath <roland@hack.frob.com>
30057
30058 * Makefile.in (all, install): Declare with .PHONY.
30059 Reported by Michael Hope <michael.hope@linaro.org>.
30060
8ad11b9a
TMQMF
300612012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30062
30063 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30064 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30065 system header.
30066 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30067 Likewise.
30068 (sydep_routines): Add the new and the internal functions.
30069 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30070 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30072 (GLIBC_2.17): Add the new function.
30073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30074 (GLIBC_2.17): Likewise.
30075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30076 (GLIBC_2.17): Likewise.
30077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30078 (GLIBC_2.17): Likewise.
30079 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30080
7e2fca8d
AM
300812012-09-25 Alan Modra <amodra@gmail.com>
30082
30083 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30084 Add release barrier before setting once_control to say
30085 initialisation is done. Add hints on lwarx. Use macro in
30086 place of isync.
30087 (clear_once_control): Add release barrier.
30088
b87c4b24
JM
300892012-09-25 Joseph Myers <joseph@codesourcery.com>
30090
d032e0d2
JM
30091 [BZ #13629]
30092 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30093 specially.
30094 * math/s_clog10.c (__clog10): Likewise.
30095 * math/s_clog10f.c (__clog10f): Likewise.
30096 * math/s_clog10l.c (__clog10l): Likewise.
30097 * math/s_clogf.c (__clogf): Likewise.
30098 * math/s_clogl.c (__clogl): Likewise.
30099 * math/Makefile (libm-calls): Add x2y2m1.
30100 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30101 (__x2y2m1): Likewise.
30102 (__x2y2m1l): Likewise.
30103 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30104 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30105 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30106 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30107 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30108 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30109 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30110 * sysdeps/i386/fpu/libm-test-ulps: Update.
30111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30112
b87c4b24
JM
30113 [BZ #14621]
30114 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30115 int as type of variable DEPTH.
30116 (glob): Use size_t instead of int as type of variables NEWCOUNT
30117 and OLD_PATHC.
30118
6d3bf199
LD
301192012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30120
22bf5c17
LD
30121 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30122 Add s_sincosf-sse2.
30123 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30124 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30125 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30126 macros for using routine as __sincosf_ia32.
30127 Use macro for function declaration and weak_alias.
30128 * sysdeps/i386/fpu/libm-test-ulps: Update.
30129
30130 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30131 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30132
30133 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
30134 subnormal argument.
30135 * math/s_cexpf.c (__cexpf): Likewise.
30136 * math/s_csinf.c (__csinf): Likewise.
30137 * math/s_csinhf.c (__csinhf): Likewise.
30138 * math/s_ctanf.c (__ctanf): Likewise.
30139 * math/s_ctanhf.c (__ctanhf): Likewise.
30140 * math/s_ccosh.c (__ccoshf): Likewise.
30141 * math/s_cexp.c (__cexpl): Likewise.
30142 * math/s_csin.c (__csin): Likewise.
30143 * math/s_csinh.c (__csinh): Likewise.
30144 * math/s_ctan.c (__ctan): Likewise.
30145 * math/s_ctanh.c (ctanh): Likewise.
30146 * math/s_ccoshl.c (__ccoshl): Likewise.
30147 * math/s_cexpl.c (__cexpl): Likewise.
30148 * math/s_csinl.c (__csinl): Likewise.
30149 * math/s_csinhl.c (__csinhl): Likewise.
30150 * math/s_ctanl.c (__ctanl): Likewise.
30151 * math/s_ctanhl.c (__ctanhl): Likewise.
30152
203e5603
JM
301532012-09-25 Joseph Myers <joseph@codesourcery.com>
30154
30155 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30156 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30157 (_IO_off_t): Define to __off_t, not _G_off_t.
30158 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30159 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30160 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30161 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30162 type of __dummy and __dummy2 fields.
30163 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30164 (_G_ssize_t): Likewise.
30165 (_G_off_t): Likewise.
30166 (_G_pid_t): Likewise.
30167 (_G_uid_t): Likewise.
30168 (_G_wchar_t): Likewise.
30169 (_G_wint_t): Likewise.
30170 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30171 (_G_ssize_t): Likewise.
30172 (_G_off_t): Likewise.
30173 (_G_pid_t): Likewise.
30174 (_G_uid_t): Likewise.
30175 (_G_wchar_t): Likewise.
30176 (_G_wint_t): Likewise.
30177 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30178 (_G_ssize_t): Likewise.
30179 (_G_off_t): Likewise.
30180 (_G_pid_t): Likewise.
30181 (_G_uid_t): Likewise.
30182 (_G_wchar_t): Likewise.
30183 (_G_wint_t): Likewise.
30184
9fab36eb
SP
301852012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30186
30187 * malloc/arena.c: Include malloc-sysdep.h.
30188 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30189 is sufficient to shrink the heap or an unmap is needed.
30190 * sysdeps/generic/malloc-sysdep.h: New file. Define
30191 new function check_may_shrink_heap.
30192 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30193 new function check_may_shrink_heap.
30194
2b4f00d1
SP
301952012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30196
30197 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30198 comments.
30199
9a9028b1
DL
302002012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30201
57c69bef
DL
30202 * catgets/test-gencat.sh: Add "set -e".
30203 * elf/tst-pathopt.sh: Likewise.
30204 * grp/tst_fgetgrent.sh: Likewise.
30205 * iconvdata/run-iconv-test.sh: Likewise.
30206 * intl/tst-gettext.sh: Likewise.
30207 * intl/tst-gettext2.sh: Likewise.
30208 * intl/tst-gettext4.sh: Likewise.
30209 * intl/tst-gettext6.sh: Likewise.
30210 * intl/tst-translit.sh: Likewise.
30211 * io/ftwtest-sh: Likewise.
30212 * libio/test-freopen.sh: Likewise.
30213 * malloc/tst-mtrace.sh: Likewise.
30214 * posix/globtest.sh: Likewise.
30215 * posix/tst-getconf.sh: Likewise.
30216 * posix/wordexp-tst.sh: Likewise.
30217 * stdio-common/tst-printf.sh: Likewise.
30218 * stdio-common/tst-unbputc.sh: Likewise.
30219 * stdlib/tst-fmtmsg.sh: Likewise.
30220 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30221 * catgets/Makefile: Do not specify -e option when running
30222 testsuite shell scripts.
30223 * elf/Makefile: Likewise.
30224 * grp/Makefile: Likewise.
30225 * iconvdata/Makefile: Likewise.
30226 * intl/Makefile: Likewise.
30227 * io/Makefile: Likewise.
30228 * libio/Makefile: Likewise.
30229 * malloc/Makefile: Likewise.
30230 * posix/Makefile: Likewise.
30231 * stdio-common/Makefile: Likewise.
30232 * stdlib/Makefile: Likewise.
30233 * sysdeps/x86_64/Makefile: Likewise.
30234
9a9028b1
DL
30235 * io/ftwtest-sh: Add copyright header.
30236 * posix/globtest.sh: Likewise.
30237 * posix/tst-getconf.sh: Likewise.
30238 * posix/wordexp-tst.sh: Likewise.
30239 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30240
ced6f16e
L
302412012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30242
94b32c39
L
30243 [BZ #13679]
30244 * Makeconfig (+link): Defined as $(+link-static) if
30245 $(build-shared) isn't yes.
30246 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30247 isn't yes.
30248 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30249
189e935b
L
30250 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30251
ced6f16e
L
30252 [BZ #14562]
30253 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30254 new chunk size with MALLOC_ALIGN_MASK.
30255
a9f8e53a
JM
302562012-09-24 Joseph Myers <joseph@codesourcery.com>
30257
30258 [BZ #5044]
30259 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30260 <rounding-mode.h>.
30261 (__printf_fphex): Determine rounding using get_rounding_mode and
30262 round_away.
30263 * stdio-common/tst-printf-round.c (struct hex_test): New
30264 structure.
30265 (hex_tests): New variable.
30266 (test_hex_in_one_mode): New function.
30267 (do_test): Also run tests for hex float output.
30268
43153109
JM
302692012-09-21 Joseph Myers <joseph@codesourcery.com>
30270
30271 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30272 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30273 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30274 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30275 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30276 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30277 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30278 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30279
8a26625d
JM
302802012-09-20 Joseph Myers <joseph@codesourcery.com>
30281
30282 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30283 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30284 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30285 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30286
f3fd569c
DL
302872012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30288
30289 [BZ #14579]
30290 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30291 mode only.
30292 * elf/tst-rtld-load-self.sh: New test.
30293 * elf/Makefile: Run it.
30294
63bbedd4
JM
302952012-09-18 Joseph Myers <joseph@codesourcery.com>
30296
30297 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30298 (tst-writev-ENV): Remove.
30299 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30300
626f8b6a
CM
303012012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30302
30303 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30304
b7aaa4d6
JM
303052012-09-17 Joseph Myers <joseph@codesourcery.com>
30306
30307 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30308 unconditional.
30309 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30310 Likewise.
30311 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30312 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30313 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30314 Likewise.
30315
65513990
L
303162012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30317
30318 [BZ #14587]
30319 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30320 * config.make.in (have-cpp-asm-debuginfo): Removed.
30321 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30322 * configure: Regenerated.
30323
784761be
JM
303242012-09-14 Joseph Myers <joseph@codesourcery.com>
30325
30326 [BZ #5044]
30327 * stdio-common/printf_fp.c: Include <stdbool.h> and
30328 <rounding-mode.h>.
30329 (___printf_fp): Determine rounding using get_rounding_mode and
30330 round_away.
30331 * stdio-common/tst-printf-round.c: New file.
30332 * stdio-common/Makefile (tests): Add tst-printf-round.
30333 (link-libm): New variable.
30334 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30335
9503345f
L
303362012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30337
30338 [BZ #14576]
30339 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30340 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30341 Likewise.
30342 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30343 Likewise.
30344
ad35fc00
JM
303452012-09-13 Joseph Myers <joseph@codesourcery.com>
30346
30347 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30348 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30349 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30350 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30351
6c9b0f68
JM
303522012-09-12 Joseph Myers <joseph@codesourcery.com>
30353
30354 [BZ #14518]
30355 * include/rounding-mode.h: New file.
30356 * sysdeps/generic/get-rounding-mode.h: Likewise.
30357 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30358 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30359 (MAX_VALUE): New macro.
30360 (MIN_VALUE): Likewise.
30361 (overflow_value): New function.
30362 (underflow_value): Likewise.
30363 (round_and_return): Use overflow_value and underflow_value to
30364 determine return values in overflow and underflow cases. Use
30365 round_away to determine rounding depending on rounding mode.
30366 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30367 determine return values in overflow and underflow cases.
30368 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30369 (struct test_results): New structure.
30370 (struct test): Use struct test_results to store expected results
30371 for all rounding modes.
30372 (TEST): Include expected results for all rounding modes.
30373 (test_in_one_mode): New function.
30374 (do_test): Use test_in_one_mode to compute and check results.
30375 Check results for all rounding modes.
30376 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30377 $(link-libm).
30378
19fcedd5
AM
303792012-12-09 Allan McRae <allan@archlinux.org>
30380
1e9d84cd 30381 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 30382
8bbfd2f1
JM
303832012-09-11 Joseph Myers <joseph@codesourcery.com>
30384
30385 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30386 (_G_int32_t): Likewise.
30387 (_G_uint16_t): Likewise.
30388 (_G_uint32_t): Likewise.
30389 (_G_HAVE_BOOL): Likewise.
30390 (_G_HAVE_ATEXIT): Likewise.
30391 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30392 (_G_HAVE_IO_FILE_OPEN): Likewise.
30393 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30394 (_G_int32_t): Likewise.
30395 (_G_uint16_t): Likewise.
30396 (_G_uint32_t): Likewise.
30397 (_G_HAVE_BOOL): Likewise.
30398 (_G_HAVE_ATEXIT): Likewise.
30399 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30400 (_G_HAVE_IO_FILE_OPEN): Likewise.
30401 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30402 (_G_int32_t): Likewise.
30403 (_G_uint16_t): Likewise.
30404 (_G_uint32_t): Likewise.
30405 (_G_HAVE_BOOL): Likewise.
30406 (_G_HAVE_ATEXIT): Likewise.
30407 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30408 (_G_HAVE_IO_FILE_OPEN): Likewise.
30409
b1dc5912
L
304102012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30411
30412 * csu/libc-tls.c: Update copyright years.
30413
0e886ef9
JM
304142012-09-10 Joseph Myers <joseph@codesourcery.com>
30415
28361c5e
JM
30416 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30417 [!_G_USING_THUNKS]: Remove conditional code.
30418 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30419 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30420
0e886ef9
JM
30421 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30422 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30423 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30424 (_G_VTABLE_LABEL_PREFIX): Likewise.
30425 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30426 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30427 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30428 (_G_VTABLE_LABEL_PREFIX): Likewise.
30429 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30430 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30431 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30432 (_G_VTABLE_LABEL_PREFIX): Likewise.
30433 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30434
bcba7aa2
L
304352012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30436
30437 * libio/Makefile: Include ../Makeconfig before tests.
30438 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30439 only if $(build-shared) is yes.
30440
06585ee8
L
30441 * iconv/gconv_db.c: Update copyright years.
30442
80ccd52c
LD
304432012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30444
30445 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30446 unwind info if defined PIC. Fix special cases description.
30447 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30448
30449 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30450 DP_HI_MASK entry.
30451 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30452
691bc9c1
L
304532012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30454
3d9b46b3
L
30455 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30456
de2139a9
L
30457 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30458 is NULL.
30459
5ca78dd0
L
30460 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30461 (LDLIBS-tst-chk4): This.
30462 (LDFLAGS-tst-chk5): Renamed to ...
30463 (LDLIBS-tst-chk5): This.
30464 (LDFLAGS-tst-chk6): Renamed to ...
30465 (LDLIBS-tst-chk6): This.
30466 (LDFLAGS-tst-lfschk4): Renamed to ...
30467 (LDLIBS-tst-lfschk4): This.
30468 (LDFLAGS-tst-lfschk5): Renamed to ...
30469 (LDLIBS-tst-lfschk5): This.
30470 (LDFLAGS-tst-lfschk6): Renamed to ...
30471 (LDLIBS-tst-lfschk6): This.
30472
691bc9c1
L
30473 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30474 on $(common-objpfx)soversions.mk.
30475
65cafb1c
JM
304762012-09-07 Joseph Myers <joseph@codesourcery.com>
30477
30478 [BZ #10014]
30479 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30480 example host name.
30481
c78ab094
SP
304822012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30483
30484 * malloc/arena.c (arena_get_retry): New function that gets
30485 another arena for the caller to try its request on.
30486 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30487 current arena cannot fulfill the request.
30488 (__libc_memalign): Likewise.
30489 (__libc_memalign): Likewise.
30490 (__libc_pvalloc): Likewise.
30491 (__libc_calloc): Likewise.
30492
01f49f59
JT
304932012-09-05 John Tobey <john.tobey@gmail.com>
30494
30495 [BZ #13542]
30496 * manual/arith.texi (Operations on Complex): Fix description
30497 of carg branch cut.
30498
4c23fed5
JM
304992012-09-06 Joseph Myers <joseph@codesourcery.com>
30500
1d3c8572
JM
30501 [BZ #10014]
30502 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30503 host name.
30504
4c23fed5
JM
30505 [BZ #10038]
30506 * manual/memory.texi (Memory): Make order of menu items match
30507 order of sections.
30508
04570aaa
L
305092012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30510
30511 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30512 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30513 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30514
b80af2f4
L
305152012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30516
30517 * csu/libc-tls.c (static_dtv): Renamed to ...
30518 (_dl_static_dtv): This. Make it global.
30519 (_dl_initial_dtv): Removed.
30520 (__libc_setup_tls): Updated.
30521 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30522 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30523 DL_INITIAL_DTV.
30524
2abe9f15
PM
305252012-09-06 Petr Machata <pmachata@redhat.com>
30526
30527 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30528 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30529 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30530 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30531
0948c3af
L
305322012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30533
30534 [BZ #14545]
30535 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30536 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30537 freeing dtv[-1].
30538
a5055ad1
L
305392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30540
30541 [BZ #14544]
30542 * Makeconfig (link-static-before-libc): Replace $(+prector)
30543 with $(+prectorT).
30544 (link-static-after-libc): Replace $(+postctor) with
30545 $(+postctorT).
30546 (link-bounded): Replace $(+prector)/$(+postctor) with
30547 $(+prectorT)/$(+postctorT).
30548 (+prectorT): New macro.
30549 (+postctorT): Likewise.
30550
ed8c2ecd
JM
305512012-09-06 Joseph Myers <joseph@codesourcery.com>
30552
30553 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30554 (round_str): Handle values above the maximum for IBM long double
30555 as inexact.
30556 * stdlib/tst-strtod-round.c (tests): Regenerated.
30557
14c996c8
AK
305582012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30559
30560 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30561 assembler flag.
30562 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30563 zarch_nohighgprs around the zarch optimized routines.
30564 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30565 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30566 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30567 for zarch.
30568
430d6ce6
DM
305692012-09-05 David S. Miller <davem@davemloft.net>
30570
30571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30572
57f41c40
AS
30573 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30574 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
30575 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30576 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30577 entries.
30578
24d4e01b
AO
305792012-09-05 Alexandre Oliva <aoliva@redhat.com>
30580
30581 * malloc/arena.c: Fold copyright years.
30582 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30583
61d58174
AO
305842012-09-05 Alexandre Oliva <aoliva@redhat.com>
30585
30586 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30587
20196a5e
AO
305882012-09-05 Alexandre Oliva <aoliva@redhat.com>
30589
30590 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30591
5c447383
AO
305922012-09-05 Alexandre Oliva <aoliva@redhat.com>
30593
30594 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30595 change internal state upon failure.
30596
fad64255
AO
305972012-09-05 Alexandre Oliva <aoliva@redhat.com>
30598
30599 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30600 * malloc/memusage.c (mmap): Likewise.
30601 (mmap64, mremap): Likewise. Adjust name in comment.
30602
1ffb8c90
SP
306032012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30604
30605 * libio/fileops.c: Fix typos in comments.
30606 * libio/oldfileops.c: Likewise.
30607 * libio/wfileops.c: Likewise.
30608
6ef9cc37
SP
306092012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30610
30611 [BZ #1349]
30612 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30613 (tst-malloc-usable-ENV): Set environment for test case.
30614 * malloc/hooks.c (malloc_check_get_size): New function to get
30615 requested size.
30616 * malloc/malloc.c (musable): Use malloc_check_get_size.
30617 * malloc/tst-malloc-usable.c: New test case.
30618
4d038ae3
AS
306192012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30620
30621 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30622
c4e85184
AM
306232012-09-05 Allan McRae <allan@archlinux.org>
30624
b9dafc56 30625 [BZ #13966]
c4e85184
AM
30626 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30627 determine header location.
30628 * configure: Regenerated.
30629
e1343020
AS
306302012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30631
30632 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30633 float format.
30634 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
30635 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30636 format.
e1343020
AS
30637 (test): Regenerate.
30638
0a9f1987
DM
306392012-09-04 David S. Miller <davem@davemloft.net>
30640
30641 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30642 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30643 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30644
29237804
FW
306452012-09-04 Florian Weimer <fweimer@redhat.com>
30646
30647 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30648 failures.
30649
edb3cb88
FW
30650 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30651
60160d83
JM
306522012-09-04 Joseph Myers <joseph@codesourcery.com>
30653
30654 [BZ #9914]
30655 * libio/iogetdelim.c: Include <limits.h>.
30656 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30657 + len + 1 would overflow.
30658
bcd6c8dc
AJ
306592012-09-03 Andreas Jaeger <aj@suse.de>
30660
30661 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30662 * sysdeps/i386/fpu/libm-test-ulps: Update.
30663
4ffffbd2
LD
306642012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30665
30666 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30667 Add s_sinf-sse2, s_conf-sse2.
30668
30669 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30670 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30671 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30672 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30673
30674 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30675 for using routine as __sinf_ia32.
30676 Use macro for function declaration and weak_alias.
30677 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30678 for using routine as __cosf_ia32.
30679 Use macro for function declaration and weak_alias.
30680
30681 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30682 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30683
30684 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30685 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30686 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30687
30688 * math/libm-test.inc (cos_test): Add more test cases.
30689 (sin_test): Likewise.
30690 (sincos_test): Likewise.
30691
511fa286
AK
306922012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30693
30694 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30695 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30696 hidden.
30697 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30698
5f30cfec
L
306992012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30700
30701 [BZ #14538]
30702 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30703 first element of the GOT.
30704 (elf_machine_load_address): Return the difference between
30705 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30706
0786794f
AM
307072012-09-01 Allan McRae <allan@archlinux.org>
30708
5f30cfec
L
30709 [BZ #13412]
30710 * configure.in (AWK): Require gawk version 3.0 or later.
30711 * configure: Regenerated.
0786794f 30712
26889eac
JM
307132012-09-01 Joseph Myers <joseph@codesourcery.com>
30714
30715 * sysdeps/unix/sysv/linux/kernel-features.h
30716 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30717 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30718 [__NR_clock_getres]: Make code unconditional.
30719 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30720 (clock_getcpuclockid): Remove code left unreachable by removal of
30721 conditionals.
30722 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30723 code unconditional.
30724 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30725 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30726 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30727 Make code unconditional.
30728 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30729 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30730 * sysdeps/unix/sysv/linux/clock_settime.c
30731 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30732 conditional code.
30733 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30734 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30735
d22e28b0
L
307362012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30737
30738 [BZ #14476]
30739 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30740 scripts/test-installation.pl.
30741
30742 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30743 and $ld_so_version if it is set.
30744
050af9c4
SP
307452012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30746
30747 [BZ #14516]
30748 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30749 failure if reading from procfs failed.
30750 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30751
ad845c0b
JM
307522012-08-27 Joseph Myers <joseph@codesourcery.com>
30753
30754 * sysdeps/unix/sysv/linux/kernel-features.h
30755 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30756 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30757 Remove conditional code.
30758 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30759 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30760 Remove conditional code.
30761 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30762 * sysdeps/unix/sysv/linux/i386/fxstat.c
30763 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30764 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30765 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30766 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30767 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30768 * sysdeps/unix/sysv/linux/i386/lxstat.c
30769 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30770 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30771 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30772 Remove conditional code.
30773 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30774 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30775 Remove conditional code.
30776 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30777 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30778 <kernel-features.h>.
30779 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30780 Remove.
30781 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30782 Remove conditional code.
30783 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30784 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30785 Remove conditional.
30786
5dbf56af
MF
307872012-08-27 Mike Frysinger <vapier@gentoo.org>
30788
30789 [BZ #5400]
30790 * NEWS: Add fixed bug number.
30791
d6e70f43
JM
307922012-08-27 Joseph Myers <joseph@codesourcery.com>
30793
7efb4737
JM
30794 [BZ #14519]
30795 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30796 underflowing exponent in case of negative sign.
30797 * stdlib/tst-strtod-round-data: Add more tests.
30798 * stdlib/tst-strtod-round.c (tests): Regenerated.
30799
af92131a
JM
30800 [BZ #3479]
30801 * stdlib/strtod_l.c (NDIG): Remove.
30802 (HEXNDIG): Likewise.
30803 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30804 smallest representable value.
30805 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30806 lie within an exact representation of 1/2 ulp of the result.
30807 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30808 unconditionally.
30809 (TENS_P9_IDX): Define unconditionally.
30810 (TENS_P9_SIZE): Likewise.
30811 (TENS_P10_IDX): Likewise.
30812 (TENS_P10_SIZE): Likewise.
30813 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30814 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30815 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30816 entries for 10^2^13 and 10^2^14.
30817 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30818 (TENS_P13_IDX): Define.
30819 (TENS_P13_SIZE): Likewise.
30820 (TENS_P14_IDX): Likewise.
30821 (TENS_P14_SIZE): Likewise.
30822 (_fpioconst_pow10): Change array size to
30823 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30824 unconditional.
30825 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30826 1024]: Add entries for 10^2^13 and 10^2^14.
30827 [LAST_POW10 > _LAST_POW10]: Remove #error.
30828 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30829 (_fpioconst_pow10): Change array size to
30830 FPIOCONST_POW10_ARRAY_SIZE.
30831 * stdlib/gen-fpioconst.c: New file.
30832 * stdlib/gen-tst-strtod-round.c: Likewise.
30833 * stdlib/tst-strtod-round-data: Likewise.
30834 * stdlib/tst-strtod-round.c: Likewise.
30835 * stdlib/Makefile (tests): Add tst-strtod-round.
30836
d6e70f43
JM
30837 [BZ #14459]
30838 * stdlib/strtod_l.c: Include <stdint.h>.
30839 (NDEBUG): Do not define.
30840 (round_and_return): Change EXPONENT parameter to type intmax_t.
30841 Rearrange calculations to avoid internal overflow possibilities.
30842 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30843 Rearrange calculations to avoid internal overflow possibilities.
30844 Assert that number fits inside MPNSIZE limbs.
30845 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30846 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30847 calculations and add assertions to avoid internal overflow
30848 possibilities. Add casts to avoid signed/unsigned operations.
30849 * stdlib/tst-strtod-overflow.c: New file.
30850 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30851
1f529f7d
MP
308522012-08-25 Marek Polacek <polacek@redhat.com>
30853
30854 * time/time.h: Fix some typos in comments.
30855
59a629f1
RM
308562012-08-23 Roland McGrath <roland@hack.frob.com>
30857
30858 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30859 * posix/tst-rfc3484-2.c: Likewise.
30860 * posix/tst-rfc3484-3.c: Likewise.
30861
d3bafbc9
SM
308622012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30863
30864 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30865 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30866
4efcc022
JM
308672012-08-23 Joseph Myers <joseph@codesourcery.com>
30868
30869 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30870 #include of fxstatat64.c.
30871
3cc3ef96
RM
308722012-08-22 Roland McGrath <roland@hack.frob.com>
30873
f04e2132
RM
30874 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30875 * shadow/getspent_r.c: Likewise.
30876 * shadow/getspnam.c: Likewise.
30877 * shadow/getspnam_r.c: Likewise.
30878 * gshadow/getsgent.c: Likewise.
30879 * gshadow/getsgent_r.c: Likewise.
30880 * gshadow/getsgnam.c: Likewise.
30881 * gshadow/getsgnam_r.c: Likewise.
30882 * inet/getnetbyad.c: Likewise.
30883 * inet/getnetbyad_r.c: Likewise.
30884 * inet/getnetbynm.c: Likewise.
30885 * inet/getnetbynm_r.c: Likewise.
30886 * inet/getnetent.c: Likewise.
30887 * inet/getnetent_r.c: Likewise.
30888 * inet/getproto.c: Likewise.
30889 * inet/getproto_r.c: Likewise.
30890 * inet/getprtent.c: Likewise.
30891 * inet/getprtent_r.c: Likewise.
30892 * inet/getprtname.c: Likewise.
30893 * inet/getprtname_r.c: Likewise.
30894 * inet/getrpcbyname.c: Likewise.
30895 * inet/getrpcbyname_r.c: Likewise.
30896 * inet/getrpcbynumber.c: Likewise.
30897 * inet/getrpcbynumber_r.c: Likewise.
30898 * inet/getrpcent.c: Likewise.
30899 * inet/getrpcent_r.c: Likewise.
30900 * inet/getaliasent.c: Likewise.
30901 * inet/getaliasent_r.c: Likewise.
30902 * inet/getaliasname.c: Likewise.
30903 * inet/getaliasname_r.c: Likewise.
30904 * nscd/getgrgid_r.c: Likewise.
30905 * nscd/getgrnam_r.c: Likewise.
30906 * nscd/gethstbyad_r.c: Likewise.
30907 * nscd/gethstbynm3_r.c: Likewise.
30908 * nscd/getpwnam_r.c: Likewise.
30909 * nscd/getpwuid_r.c: Likewise.
30910 * nscd/getsrvbynm_r.c: Likewise.
30911 * nscd/getsrvbypt_r.c: Likewise.
30912 * nscd/gai.c: Likewise.
30913
c53d909c
RM
30914 * configure.in (build_nscd): New substituted variable, set
30915 by --disable-build-nscd and defaults to $use_nscd.
30916 * configure: Regenerated.
30917 * config.make.in (build-nscd): New substituted variable.
30918 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30919 Change conditional to require [$(build-nscd) = yes] as well.
30920 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30921
3cc3ef96
RM
30922 [BZ# 13696]
30923 * configure.in (use_nscd): New substituted variable, set by
30924 --disable-nscd. If enabled, define USE_NSCD.
30925 * configure: Regenerated.
30926 * config.h.in: Add USE_NSCD.
30927 * config.make.in (use-nscd): New substituted variable.
30928 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30929 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30930 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30931 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30932 (CFLAGS-getgrnam_r.c): Likewise.
30933 (CFLAGS-initgroups.c): Likewise.
30934 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30935 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30936 Variables removed.
30937 * inet/getnetgrent_r.c
30938 (nscd_setnetgrent): New function, broken out of ...
30939 (setnetgrent): ... here. Call it.
30940 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30941 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30942 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30943 * nscd/Makefile (routines, aux): Move definitions after include of
30944 Makeconfig. Conditionalize on [$(use-nscd) != no].
30945 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30946 Conditionalize on [USE_NSCD].
30947 (is_nscd, nscd_init_cb): Likewise.
30948 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30949 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30950 * nss/nss_db/db-init.c: Likewise.
30951 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30952 [USE_NSCD].
30953 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30954 (make_request): Use it.
30955 (cache_valid_p): New function.
30956 (__check_pf): Use it.
30957 * NEWS: Add item for --disable-nscd.
30958
07e51550
DL
309592012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30960
30961 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30962 to support sed >= 4.2.1-20-ga9bf076.
30963 * configure: Regenerated.
30964
35a5b08b
RM
309652012-08-22 Roland McGrath <roland@hack.frob.com>
30966
30967 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30968 Conditionalize whole body on [IREL].
30969
8479f23a
JL
309702012-08-22 Jeff Law <law@redhat.com>
30971
30972 [BZ #14505]
30973 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30974 if the family is PF_UNSPEC.
30975
48da0b21
MF
309762012-08-22 Mike Frysinger <vapier@gentoo.org>
30977
30978 * Makerules (lib-version): Rename from V.
30979 (install-lib-nosubdir): Change V to lib-version.
30980
15d0da8c
WS
309812012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30982
30983 [BZ #14252]
30984 * powerpc32/power6/wcschr.c: New file.
30985 * powerpc32/power6/wcscpy.c: New file.
30986 * powerpc32/power6/wcsrchr.c: New file.
30987 * powerpc64/power6/wcschr.c: New file.
30988 * powerpc64/power6/wcscpy.c: New file.
30989 * powerpc64/power6/wcsrchr.c: New file.
30990
bcca0895
MK
309912012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30992
30993 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30994 (two_way_short_needle): Use it.
5a4aaa33
RM
30995 * string/strstr.c (AVAILABLE1_USES_J): Define.
30996 * string/strcasestr.c: Likewise.
99677e57
MK
30997
30998 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30999 array references.
31000 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31001
400726de
MK
31002 [BZ #11607]
31003 * NEWS: Add an entry.
31004 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31005 define their defaults.
31006 (two_way_short_needle): Detect end-of-string on-the-fly.
31007 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31008 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31009 * string/bug-strcasestr1.c: New test.
31010 * string/Makefile: Run it.
31011
20a71f2c
MK
310122012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31013
31014 [BZ #11607]
31015 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31016 the first character.
31017
21ad0558
RM
310182012-08-21 Roland McGrath <roland@hack.frob.com>
31019
31020 * csu/elf-init.c (__libc_csu_irel): Function removed.
31021 * csu/libc-start.c (apply_irel): New function.
31022 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31023
0e1d9911
JM
310242012-08-21 Joseph Myers <joseph@codesourcery.com>
31025
31026 * sysdeps/unix/sysv/linux/kernel-features.h
31027 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31028 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31029 <kernel-features.h>.
31030 [__NR_fadvise64_64]: Make code unconditional.
31031 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31032 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31033 !__NR_fadvise64_64)]: Likewise.
31034 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31035 !__NR_fadvise64_64))]: Likewise.
31036 [__NR_fadvise64]: Make code unconditional.
31037 [!__NR_fadvise64]: Remove conditional code.
31038 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31039 <kernel-features.h>.
31040 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31041 unconditional.
31042 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31043 conditional code.
31044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31045 not include <kernel-features.h>.
31046 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31047 unconditional.
31048 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31049 conditional code.
31050 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31051 include <kernel-features.h>.
31052 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31053 unconditional.
31054 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31055 conditional code.
31056
14a50c9d
WS
310572012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31058
31059 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31060 slight instruction rearrangements per scrollpipe analysis.
31061 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31062
c0f4faf0
RM
310632012-08-20 Roland McGrath <roland@hack.frob.com>
31064
696da859
RM
31065 * manual/syslog.texi (syslog; vsyslog, closelog):
31066 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31067 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31068
c0f4faf0
RM
31069 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31070 DSOCAPS to match condition on defining it.
31071
348363b2
JM
310722012-08-20 Joseph Myers <joseph@codesourcery.com>
31073
a35cbf28
JM
31074 * sysdeps/unix/sysv/linux/kernel-features.h
31075 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31077 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31078 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31080 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31081 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31083 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31084 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31085
445f7ecd
JM
31086 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31087 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31088
348363b2
JM
31089 * sysdeps/unix/sysv/linux/kernel-features.h
31090 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31091 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31092 unconditional.
31093 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31094 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31095 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31096 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31097 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31098 Make code unconditional.
31099 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31100 (__mmap64) [!__NR_mmap2]: Likewise.
31101 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31102 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31103 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31104 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31105 [__NR_mmap2]: Make code unconditional.
31106 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31107 (__mmap64) [!__NR_mmap2]: Likewise.
31108
bc5bc0e5
AK
311092012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31110
31111 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31112
88d506de
AJ
311132012-08-18 Andreas Jaeger <aj@suse.de>
31114
31115 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31116
493387d2
MF
311172012-08-18 Mike Frysinger <vapier@gentoo.org>
31118
31119 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31120 * include/unistd.h (__have_sock_cloexec): Likewise.
31121 (__have_pipe2): Likewise.
31122 (__have_dup3): Likewise.
31123
a277af22
MF
311242012-08-18 Mike Frysinger <vapier@gentoo.org>
31125
31126 [BZ #9685]
31127 * include/unistd.h (__have_pipe2): Change define into an extern int.
31128 (__have_dup3): Likewise.
31129 * socket/have_sock_cloexec.c: Include fcntl.h.
31130 (__have_pipe2): New variable.
31131 (__have_dup3): Likewise.
31132
fdab8fd3
MF
311332012-08-17 Mike Frysinger <vapier@gentoo.org>
31134
31135 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31136
31035e80
MP
311372012-08-17 Marek Polacek <polacek@redhat.com>
31138
31139 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31140 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31141
3bd9e993
RM
311422012-08-17 Roland McGrath <roland@hack.frob.com>
31143
c91c505f
RM
31144 * configure.in: Add AC_SUBST for sysheaders.
31145 * configure: Regenerated.
31146 * config.make.in (sysheaders): New substituted variable.
31147
7c6f9d53
RM
31148 * sysdeps/unix/mkfifo.c: Moved ...
31149 * sysdeps/posix/mkfifo.c: ... here.
31150 * sysdeps/unix/mkfifoat.c: Moved ...
31151 * sysdeps/posix/mkfifoat.c: ... here.
31152
31153 * sysdeps/unix/utime.c: Moved ...
31154 * sysdeps/posix/utime.c: ... here.
31155
31156 * sysdeps/unix/time.c: Moved ...
31157 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
31158 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31159 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
31160
31161 * sysdeps/unix/nice.c: Moved ...
31162 * sysdeps/posix/nice.c: ... here.
31163
31164 * sysdeps/unix/alarm.c: Moved ...
31165 * sysdeps/posix/alarm.c: ... here.
31166
3bd9e993
RM
31167 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31168
d1f09384
JL
311692012-08-17 Jeff Law <law@redhat.com>
31170
31171 * intl/Makefile (codeset_mo): New variable.
31172 ($(codeset_mo)): New target.
31173 (tst-codeset.out): Depend on that. Remove explicit rule.
31174 (tst-gettext3.out, tst-gettext5.out): Likewise.
31175 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31176 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31177 * intl/tst-codeset.sh: Remove.
31178 * intl/tst-gettext3.sh: Likewise.
31179 * intl/tst-gettext5.sh: Likewise.
31180
2ae1ae5c
RM
311812012-08-17 Roland McGrath <roland@hack.frob.com>
31182
c31fdb83
RM
31183 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31184 * sysdeps/unix/syscalls.list: ... here.
31185
a0844057
RM
31186 * sysdeps/posix/getaddrinfo.c
31187 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31188 (gaiconf_init, gaiconf_reload): Use them.
31189 [!_STATBUF_ST_NSEC]
31190 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31191 Define using time_t rather than struct timespec.
31192
750c1f2a
RM
31193 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31194 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31195 Macros removed.
31196 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31197 [!NO_THREADS].
31198 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31199 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31200 Likewise.
31201
2ae1ae5c
RM
31202 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31203 __libc_cleanup_push argument.
31204
e66a42f5
RM
31205 * bits/param.h: New file.
31206 * misc/sys/param.h: New file.
31207 * include/sys/param.h: New file.
31208 * misc/Makefile (headers): Add bits/param.h.
31209 * sysdeps/generic/sys/param.h: File removed.
31210 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31211 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31212 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 31213 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 31214
b7c08a66
RM
31215 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31216 last change.
31217
b2e1c562
RM
31218 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31219 [_IO_MTSAFE_IO].
31220 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31221 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31222 New macros.
31223
c75ccd4c
RM
31224 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31225 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31226 rather than -D_IO_MTSAFE_IO conditionally.
31227 * stdio-common/Makefile (CPPFLAGS): Likewise.
31228 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31229 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31230 Use $(libio-mtsafe).
31231 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31232 of -D_IO_MTSAFE_IO.
31233 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31234 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31235 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31236 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31237 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31238 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31239 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31240 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31241 (CFLAGS-fread_u_chk.c): Likewise.
31242 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31243 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31244 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31245 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31246 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31247 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31248 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31249 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31250 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31251
31252 * libio/Makefile: Test [$(libc-reentrant) = yes]
31253 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31254
31255 * Makeconfig
31256 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31257 * sysdeps/pthread/configure: File removed.
31258 * sysdeps/pthread/Makeconfig: New file.
31259 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31260 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31261
d9195db8
GB
312622012-08-16 Gary Benson <gbenson@redhat.com>
31263
31264 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31265 unmapping the first object in a namespace.
31266
86466cd9
RM
312672012-08-16 Roland McGrath <roland@hack.frob.com>
31268
31269 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31270 (__internal_setnetgrent): ... this. Add internal_function to
31271 definition. Add libc_hidden_def.
31272 (setnetgrent): Update caller.
31273 (internal_endnetgrent): Renamed to ...
31274 (__internal_endnetgrent): ... this. Add internal_function to
31275 definition. Add libc_hidden_def.
31276 (endnetgrent): Update caller.
31277 (internal_getnetgrent_r): Renamed to ...
31278 (__internal_getnetgrent_r): ... this. Add internal_function to
31279 definition. Add libc_hidden_def.
31280 (__getnetgrent_r): Update caller.
31281 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31282
c3c8283c
JM
312832012-08-16 Joseph Myers <joseph@codesourcery.com>
31284
31285 * stdlib/longlong.h: Update from GCC.
31286
db1ee0a8
RM
312872012-08-16 Roland McGrath <roland@hack.frob.com>
31288
31289 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31290 on _QL, which is set by umul_ppmm but never used.
31291 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31292 variables, which are set by GMP macros but never used.
31293 * stdio-common/_itowa.c (_itowa): Likewise.
31294 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31295 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31296
30f69637
CD
312972012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31298
31299 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31300 struct La_sh_regs is not constant.
31301 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31302 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31303 and struct La_sparc64_regs are not constant.
31304
93a78ac4
JM
313052012-08-16 Joseph Myers <joseph@codesourcery.com>
31306
31307 * sysdeps/unix/sysv/linux/kernel-features.h
31308 (__ASSUME_POSIX_TIMERS): Remove.
31309 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31310 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31311 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31312 Make code unconditional.
31313 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31314 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31315 Make code unconditional.
31316 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31317 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31318 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31319 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31320 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31321 Make code unconditional.
31322 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31323 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31324 (__libc_missing_posix_timers): Remove.
31325
dd924cd7
RM
313262012-08-15 Roland McGrath <roland@hack.frob.com>
31327
4b4f2771
RM
31328 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31329 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31330
601c888b
RM
31331 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31332
176790a7
RM
31333 * elf/dl-sym.c: Include <stdlib.h>.
31334
329bc018
RM
31335 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31336 constants, which avoids warnings in 32-bit builds.
31337
e04e272d
RM
31338 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31339 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31340
952bf94a
RM
31341 * misc/lseek.c: File moved to ...
31342 * io/lseek.c: ... here.
31343
7c99b50a
RM
31344 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31345
dd924cd7
RM
31346 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31347 shifting LEN more than 31 bits at once.
31348
b3f479a8
LD
313492012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31350
31351 [BZ #14195]
8c4ae0d4
RM
31352 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31353 segmentation fault for a case of two empty input strings.
b3f479a8
LD
31354 * string/test-strncasecmp.c (check1): Renamed to...
31355 (bz12205): ...this.
31356 (bz14195): Add new testcase for two empty input strings and N > 0.
31357 (test_main): Call new testcase, adapt for renamed function.
31358
9c55864e
AJ
313592012-08-15 Andreas Jaeger <aj@suse.de>
31360
31361 [BZ #14090]
31362 * crypt/md5test2.c: New test, based on test supplied by Serge
31363 Belyshev <belyshev@depni.sinp.msu.ru>.
31364 * crypt/Makefile (xtests): Add md5test-giant..
31365 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31366
02dcb6c5
PE
313672012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31368
31369 [BZ #14090]
31370 * crypt/md5.c (md5_process_block): Don't assume the buffer
31371 length is less than 2**32.
31372 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31373 length is less than 2**64.
31374
a3f95dcc
RM
313752012-08-15 Roland McGrath <roland@hack.frob.com>
31376
be75d758
RM
31377 * string/str-two-way.h: Include <sys/param.h>.
31378 (MAX): Macro removed.
31379
7312ca90
RM
31380 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31381 Move #define and #undef of memmove to just before and after
31382 including <string.h>.
31383
9a0a5486
RM
31384 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31385 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31386 and after including <string.h>. Move declarations of
31387 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31388 to before #include "string/memmove.c".
31389
67cc348d
RM
31390 * include/dirent.h: Declare __getdirentries.
31391
a3f95dcc
RM
31392 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31393 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31394
ca98e171
MF
313952012-08-14 Mike Frysinger <vapier@gentoo.org>
31396
31397 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31398 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31399 * sysdeps/i386/configure: Regenerated.
31400 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31401 STABS_CURRENT_FILE, and STABS_FUN.
31402 (END): Remove call to STABS_FUN_END.
31403 (STABS_CURRENT_FILE1): Delete.
31404 (STABS_CURRENT_FILE): Likewise.
31405 (STABS_FUN): Likewise.
31406 (STABS_FUN_END): Likewise.
31407 (STABS_FUN2): Likewise.
31408 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31409 * sysdeps/x86_64/configure: Regenerated.
31410
5908bf46
RM
314112012-08-14 Roland McGrath <roland@hack.frob.com>
31412
31413 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 31414 * elf/dl-lookup.c: Likewise.
5908bf46 31415
f2c05b9e
JM
314162012-08-14 Joseph Myers <joseph@codesourcery.com>
31417
31418 * sysdeps/unix/sysv/linux/kernel-features.h
31419 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31420 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31421 unconditionally.
31422 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31423 unconditionally.
31424 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31425 condition on __ASSUME_CLONE_THREAD_FLAGS.
31426
e11f5155
AJ
314272012-08-14 Andreas Jaeger <aj@suse.de>
31428
31429 * sysdeps/i386/fpu/libm-test-ulps: Update.
31430
51a9ba86
MK
314312012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31432
2fdd4f78
AJ
31433 * include/atomic.h (atomic_exchange_and_add): Split into ...
31434 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31435 New atomic macros.
51a9ba86 31436
ba6cba9e
MT
314372012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31438
31439 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31440
42443a47
JL
314412012-08-13 Jeff Law <law@redhat.com>
31442
31443 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31444 null byte in the output string.
31445
121dce05
JM
314462012-08-10 Joseph Myers <joseph@codesourcery.com>
31447
31448 * sysdeps/unix/sysv/linux/kernel-features.h
31449 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31450 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31451 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31452 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31453 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31454 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31455 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31456
bf51f568
JL
314572012-08-09 Jeff Law <law@redhat.com>
31458
31459 [BZ #13939]
31460 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31461 When avoid_arena is set, don't retry in the that arena. Pick the
31462 next one, whatever it might be.
31463 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31464 (arena_lock): Pass in new parameter to arena_get2.
31465 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31466 arena_get2.
31467 (__libc_malloc): Unify retrying after main arena failure with
31468 __libc_memalign version.
31469 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31470
f85fa270
L
314712012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31472
31473 [BZ #14166]
31474 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31475 to __redirect_strstr.
31476 (__strstr_sse42): Use typeof __redirect_strstr.
31477 (__strstr_ia32): Likewise.
31478 (__libc_strstr): New prototype.
31479 (strstr): Renamed to ...
31480 (__libc_strstr): This.
31481 (strstr): New strong alias of __libc_strstr.
31482 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31483 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31484 __redirect_time.
31485 Include <time.h>.
31486 (__libc_time): New prototype.
31487 (time_ifunc): Replace time with __libc_time.
31488 (time): New strong alias and hidden definition of __libc_time.
31489 (__GI_time): Remove strong alias.
31490 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31491 Include <stddef.h>.
31492 (memmove): Redefined to __redirect_memmove.
31493 (__memmove_sse2): Use typeof __redirect_memmove.
31494 (__memmove_ssse3): Likewise.
31495 (__memmove_ssse3_back): Likewise.
31496 (__libc_memmove): New prototype.
31497 (memmove): Renamed to ...
31498 (__libc_memmove): This.
31499 (memmove): New strong alias of __libc_memmove.
31500
33b4a91e
MS
315012012-08-08 Mark Salter <msalter@redhat.com>
31502
31503 * elf/elf.h
31504 (R_MN10300_TLS_GD): Define.
31505 (R_MN10300_TLS_LD): Likewise.
31506 (R_MN10300_TLS_LDO): Likewise.
31507 (R_MN10300_TLS_GOTIE): Likewise.
31508 (R_MN10300_TLS_IE): Likewise.
31509 (R_MN10300_TLS_LE): Likewise.
31510 (R_MN10300_TLS_DTPMOD): Likewise.
31511 (R_MN10300_TLS_DTPOFF): Likewise.
31512 (R_MN10300_TLS_TPOFF): Likewise.
31513 (R_MN10300_SYM_DIFF): Likewise.
31514 (R_MN10300_ALIGN): Likewise.
31515 (R_MN10300_NUM): Update.
31516
b36137f1
JM
315172012-08-08 Joseph Myers <joseph@codesourcery.com>
31518
31519 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31520 Remove.
31521
cdd915fd
RM
315222012-08-08 Roland McGrath <roland@hack.frob.com>
31523
a2433aac
RM
31524 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31525
cdd915fd
RM
31526 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31527 sysdeps/unix -> sysdeps/posix move.
31528 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31529
bf9b740a
AM
315302012-08-07 Allan McRae <allan@archlinux.org>
31531
31532 [BZ #14303]
31533 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31534 (SUNOS_CPP): Likewise.
31535 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31536 not found.
31537 (open_input): Call CPP using execvp.
31538
93df14ee
JM
315392012-08-07 Joseph Myers <joseph@codesourcery.com>
31540
31541 * sysdeps/unix/sysv/linux/kernel-features.h
31542 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31543 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31544 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31545 (__ASSUME_WAITID_SYSCALL): Likewise.
31546 * sysdeps/unix/sysv/linux/dl-execstack.c
31547 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31548 code unconditional.
31549 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31550 conditional code.
31551 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31552 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31553 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31554 code.
31555 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31556 unconditional.
31557 [__ASSUME_WAITID_SYSCALL]: Likewise.
31558 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31559
d34689de
RM
315602012-08-07 Roland McGrath <roland@hack.frob.com>
31561
a281decc
RM
31562 * sysdeps/unix/closedir.c: Renamed to ...
31563 * sysdeps/posix/closedir.c: ... here.
31564 * sysdeps/unix/dirfd.c: Renamed to ...
31565 * sysdeps/posix/dirfd.c: ... here.
31566 * sysdeps/unix/dirstream.h: Renamed to ...
31567 * sysdeps/posix/dirstream.h: ... here.
31568 * sysdeps/unix/fdopendir.c: Renamed to ...
31569 * sysdeps/posix/fdopendir.c: ... here.
31570 * sysdeps/unix/opendir.c: Renamed to ...
31571 * sysdeps/posix/opendir.c: ... here.
31572 * sysdeps/unix/readdir.c: Renamed to ...
31573 * sysdeps/posix/readdir.c: ... here.
31574 * sysdeps/unix/readdir_r.c: Renamed to ...
31575 * sysdeps/posix/readdir_r.c: ... here.
31576 * sysdeps/unix/rewinddir.c: Renamed to ...
31577 * sysdeps/posix/rewinddir.c: ... here.
31578 * sysdeps/unix/seekdir.c: Renamed to ...
31579 * sysdeps/posix/seekdir.c: ... here.
31580 * sysdeps/unix/telldir.c: Renamed to ...
31581 * sysdeps/posix/telldir.c: ... here.
31582 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31583 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31584 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31585 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31586
22895b47
RM
31587 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31588 * bits/fcntl.h: ... here.
31589
707a53b6
RM
31590 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31591 not 0.
31592 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31593 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31594 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31595 (struct flock): Move l_start, l_len to the beginning.
31596 Use __pid_t for l_pid.
31597 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31598 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31599 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31600 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31601 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31602 [__USE_LARGEFILE64] (struct flock64): New type.
31603 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31604
f0bd3e25
RM
31605 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31606 * bits/dirent.h: ... here.
31607
d34689de
RM
31608 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31609 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31610
6dad2c06
JM
316112012-08-07 Joseph Myers <joseph@codesourcery.com>
31612
31613 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31614 Change from 2.6.0 to 2.6.16.
31615 * sysdeps/unix/sysv/linux/configure: Regenerated.
31616 * sysdeps/unix/sysv/linux/kernel-features.h
31617 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31618 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31619 version.
31620 (__ASSUME_UTIMES): Likewise.
31621 (__ASSUME_CLONE_STOPPED): Remove.
31622 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31623 architectures, not kernel version.
31624 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31625 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31626 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31627 (__ASSUME_WAITID_SYSCALL): Likewise.
31628 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31629 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31630 * README: State 2.6.16 as minimum Linux kernel version. Do not
31631 refer to older versions.
31632
03af9520
RM
316332012-08-06 Roland McGrath <roland@hack.frob.com>
31634
8e49df1d
RM
31635 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31636 Define alphasort64 as an alias.
31637 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31638 Define versionsort64 as an alias.
31639 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31640 Define scandir64 as an alias.
31641 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31642 Define scandirat64 as an alias.
31643 * dirent/alphasort64.c (alphasort64):
31644 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31645 * dirent/versionsort64.c: Likewise.
31646 * dirent/scandir64.c: Likewise.
31647 * dirent/scandirat64.c: Likewise.
31648 * sysdeps/wordsize-64/alphasort.c: File removed.
31649 * sysdeps/wordsize-64/alphasort64.c: File removed.
31650 * sysdeps/wordsize-64/scandir.c: File removed.
31651 * sysdeps/wordsize-64/scandir64.c: File removed.
31652 * sysdeps/wordsize-64/scandirat.c: File removed.
31653 * sysdeps/wordsize-64/scandirat64.c: File removed.
31654 * sysdeps/wordsize-64/versionsort.c: File removed.
31655 * sysdeps/wordsize-64/versionsort64.c: File removed.
31656 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31657 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31658 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31659 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31660 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31661 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31662 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31663 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31664
31665 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31666 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31667 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31668 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31669 [defined __arch64__ || defined __sparcv9]
31670 (__INO_T_MATCHES_INO64_T): New macro.
31671 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31672 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31673 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31674 * sysdeps/unix/sysv/linux/bits/dirent.h
31675 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31676 (_DIRENT_MATCHES_DIRENT64): New macro.
31677
03af9520
RM
31678 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31679 Define lockf64 as an alias.
31680 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31681 Define fseeko64 as an alias.
31682 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31683 Define ftello64 as an alias.
31684 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31685 Define _IO_fgetpos64 and fgetpos64 as aliases.
31686 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31687 Define _IO_fsetpos64 and fsetpos64 as aliases.
31688 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31689 Conditionalize body on this.
31690 * libio/fseeko64.c: Likewise.
31691 * libio/ftello64.c: Likewise.
31692 * libio/iofgetpos64.c: Likewise.
31693 * libio/iofsetpos64.c: Likewise.
31694 * sysdeps/wordsize-64/lockf.c: File removed.
31695 * sysdeps/wordsize-64/lockf64.c: File removed.
31696 * sysdeps/wordsize-64/fseeko.c: File removed.
31697 * sysdeps/wordsize-64/fseeko64.c: File removed.
31698 * sysdeps/wordsize-64/ftello.c: File removed.
31699 * sysdeps/wordsize-64/ftello64.c: File removed.
31700 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31701 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31702 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31703 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31704 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31705 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31706 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31707 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31708 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31709 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31710 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31711 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31712 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31713 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31714
31715 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31716 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31717 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31718 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31719 [defined __arch64__ || defined __sparcv9]
31720 (__OFF_T_MATCHES_OFF64_T): New macro.
31721 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31722 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31723 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31724 (__OFF_T_MATCHES_OFF64_T): New macro.
31725
c5757acd
L
317262012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31727
31728 * stdlib/secure-getenv.c (__secure_getenv): Replace
31729 GLIBC_2_16 with GLIBC_2_17.
31730
3a31811e
L
317312012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31732
31733 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31734 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31735
faa2bccb
DM
317362012-08-03 David S. Miller <davem@davemloft.net>
31737
31738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31739
85fe1997
JM
317402012-08-03 Joseph Myers <joseph@codesourcery.com>
31741
31742 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31743 Remove.
31744 (__ASSUME_CORRECT_SI_PID): Likewise.
31745 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31746 (__ASSUME_TMPFS_NAME): Likewise.
31747 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31748 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31749 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31750 (HAVE_AUX_SECURE): Make definition unconditional.
31751 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31752 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31753
4f75b7a0
RM
317542012-08-03 Roland McGrath <roland@hack.frob.com>
31755
31756 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31757 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31758 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31759 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31760 __eloop_threshold instead of SYMLOOP_MAX.
31761
31762 * sysdeps/generic/eloop-threshold.h: New file.
31763 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31764 of MAXSYMLINKS.
31765 * elf/chroot_canon.c (chroot_canon): Likewise.
31766
7aab07e4
JM
317672012-08-03 Joseph Myers <joseph@codesourcery.com>
31768
31769 [BZ #13717]
31770 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31771 Change to 2.6.0 everywhere.
31772 * sysdeps/unix/sysv/linux/configure: Regenerated.
31773 * sysdeps/unix/sysv/linux/kernel-features.h
31774 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31775 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31776 kernel versions.
31777 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31778 (__ASSUME_FUTEX_REQUEUE): Remove.
31779 (__ASSUME_STATFS64): Define unconditionally.
31780 (__ASSUME_AT_SECURE): Likewise.
31781 (__ASSUME_CORRECT_SI_PID): Likewise.
31782 (__ASSUME_TGKILL): Define without depending on kernel version for
31783 i386.
31784 (__ASSUME_UTIMES): Likewise.
31785 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31786 kernel version.
31787 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31788 (__ASSUME_TMPFS_NAME): Likewise.
31789 * README: Update reference to Linux kernel versions.
31790
b67e9372
MP
317912012-08-02 Marek Polacek <polacek@redhat.com>
31792
1f529f7d 31793 [BZ# 14150]
b67e9372
MP
31794 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31795 libc_cv_asm_type_prefix with %.
31796 * configure: Regenerated.
d2441631
RM
31797 * include/libc-symbols.h: Remove comment about
31798 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
31799 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31800 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31801 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31802 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31803 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31804 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31805 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31806 * elf/tst-unique2mod1.c: Likewise.
31807 * elf/tst-unique1mod2.c: Likewise.
31808 * elf/tst-unique1mod1.c: Likewise.
31809 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31810 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31811 Replace ASM_TYPE_DIRECTIVE with .type.
31812 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31813 * sysdeps/i386/sysdep.h: Likewise.
31814 * sysdeps/x86_64/sysdep.h: Likewise.
31815 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
31816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31817 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 31818 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
31819 * sysdeps/powerpc/powerpc32/sysdep.h:
31820 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
31821 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31822 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31823 * sysdeps/i386/fpu/e_powf.S: Likewise.
31824 * sysdeps/i386/fpu/e_expl.S: Likewise.
31825 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31826 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31827 * sysdeps/i386/fpu/e_pow.S: Likewise.
31828 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31829 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31830 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31831 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31832 * sysdeps/i386/fpu/e_log2.S: Likewise.
31833 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31834 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31835 * sysdeps/i386/fpu/e_powl.S: Likewise.
31836 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31837 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31838 * sysdeps/i386/fpu/e_logl.S: Likewise.
31839 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31840 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31841 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31842 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31843 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31844 * sysdeps/i386/fpu/e_log.S: Likewise.
31845 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31846 * sysdeps/i386/fpu/e_logf.S: Likewise.
31847 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31848 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31849 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31850 * sysdeps/i386/fpu/e_log10.S: Likewise.
31851 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31852 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31853 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31854 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31855 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31856 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31857 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31858 * sysdeps/i386/i686/strtok.S: Likewise.
31859 * sysdeps/i386/i386-mcount.S: Likewise.
31860 * sysdeps/i386/strtok.S: Likewise.
31861 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31862 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31863 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31864 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31865 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31866 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31867 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31868 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31869 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31870 * sysdeps/x86_64/_mcount.S: Likewise.
31871 * sysdeps/x86_64/strtok.S: Likewise.
31872 * sysdeps/sh/_mcount.S: Likewise.
31873
2747bf9a
RM
318742012-08-01 Roland McGrath <roland@hack.frob.com>
31875
31876 * libio/iofopen.c: Include <fcntl.h>.
31877 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31878 (_IO_fopen64, fopen64): Define as aliases.
31879 * libio/iofopen64.c: Include <fcntl.h>.
31880 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31881 Conditionalize body on this.
31882 * sysdeps/wordsize-64/iofopen.c: File removed.
31883 * sysdeps/wordsize-64/iofopen64.c: File removed.
31884
3fb791b8
MP
318852012-08-01 Marek Polacek <polacek@redhat.com>
31886
31887 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31888 Use dlfcn directly instead of a variable.
31889 (binfmt-subdir): Do not define.
31890 (dlfcn): Likewise.
31891
a9f1039f
JM
318922012-08-01 Joseph Myers <joseph@codesourcery.com>
31893
23bddc06
JM
31894 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31895 Remove all definitions.
31896 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31897 <kernel-features.h>.
31898 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31899 (miss_F_GETOWN_EX): Remove all definitions.
31900 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31901 macro definition.
31902 [!__ASSUME_FCNTL64]: Remove conditional code.
31903 [__ASSUME_FCNTL64]: Make code unconditional.
31904 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31905 <kernel-features.h>.
31906 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31907 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31908 (lockf64) [__NR_fcntl64]: Make code unconditional.
31909 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31910
a9f1039f
JM
31911 * sysdeps/unix/sysv/linux/kernel-features.h
31912 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31913 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31914 Make code unconditional.
31915 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31916 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31918 [__NR_vfork]: Make code unconditional.
31919 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31920 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31922 [__NR_vfork]: Make code unconditional.
31923 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31924 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31925
09c0ee5f
RM
319262012-08-01 Roland McGrath <roland@hack.frob.com>
31927
48aec5b9
RM
31928 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31929 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31930
cd97c966
RM
31931 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31932 Define mkstemp64 as an alias.
3f55550c
RM
31933 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31934 Define mkstemps64 as an alias.
cd97c966
RM
31935 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31936 Define mkostemp64 as an alias.
b8625cfc
RM
31937 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31938 Define mkostemps64 as an alias.
cd97c966
RM
31939 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31940 Conditionalize body on this.
31941 * misc/mkostemp64.c: Likewise.
b8625cfc 31942 * misc/mkostemps64.c: Likewise.
3f55550c 31943 * misc/mkstemps64.c: Likewise.
cd97c966
RM
31944 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31945 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31946 * sysdeps/wordsize-64/mkostemp.c: File removed.
31947 * sysdeps/wordsize-64/mkstemp.c: File removed.
31948 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31949 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31950 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31951 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31952
09c0ee5f
RM
31953 [BZ #14138]
31954 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31955 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31956 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31957 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31958
31959 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31960 compat_symbol macros from <shlib-compat.h> rather than the underlying
31961 default_symbol_version and symbol_version macros, so that DEFAULT
31962 lines in shlib-versions are respected.
31963 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31964
7e66ee51
FW
319652012-08-01 Florian Weimer <fweimer@redhat.com>
31966
31967 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31968 Declare with warn_unused_result.
31969 (setgid, setregid, setegid, setresgid): Likewise.
31970 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31971 Likewise.
31972 * WUR-REPORT: Remove set*id functions.
31973
d2a54255
PT
319742012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31975
31976 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31977
7ecdb005
RM
319782012-07-31 Roland McGrath <roland@hack.frob.com>
31979
b4180a5e 31980 [BZ #10191]
789bd351
RM
31981 * include/sys/socket.h (__libc_accept, __libc_accept4):
31982 Add attribute_hidden.
31983 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31984
40ce302d
RM
31985 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31986 use of PTR_MANGLE.
31987 * inet/getnetgrent_r.c (setup): Likewise.
31988
7ecdb005
RM
31989 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31990
e2eabb2c
DM
319912012-07-31 David S. Miller <davem@davemloft.net>
31992
31993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31994
d0419dbf
JM
319952012-07-31 Joseph Myers <joseph@codesourcery.com>
31996
31997 [BZ #13629]
31998 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31999 value between 1.0 and 2.0 and smaller part has absolute value less
32000 than 1.0.
32001 * math/s_clog10.c (__clog10): Likewise.
32002 * math/s_clog10f.c (__clog10f): Likewise.
32003 * math/s_clog10l.c (__clog10l): Likewise.
32004 * math/s_clogf.c (__clogf): Likewise.
32005 * math/s_clogl.c (__clogl): Likewise.
32006 * math/libm-test.inc (clog_test): Add more tests.
32007 (clog10_test): Likewise.
32008 * sysdeps/i386/fpu/libm-test-ulps: Update.
32009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32010
2bc13872
FW
320112012-07-31 Florian Weimer <fweimer@redhat.com>
32012
32013 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32014 Exit with zero in case no suitable GID is found, and write a
32015 message to standard error.
32016
bea9b193
RM
320172012-07-30 Roland McGrath <roland@hack.frob.com>
32018
32019 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32020 rather than to 1.
32021 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32022 (MAXPATHLEN): Removed.
32023 (NOGROUP, NODEV): New macros.
32024 (setbit, clrbit, isset, isclr): New macros.
32025 (howmany, roundup, powerof2): New macros.
32026 (DEV_BSIZE): New macro.
32027
32028 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32029 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32030
32031 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32032 definition on [!__NO_LONG_DOUBLE_MATH].
32033
32034 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32035 PTR_MANGLE and PTR_DEMANGLE.
32036
32037 * socket/accept4.c (accept4): Rename to __libc_accept4.
32038 Define accept4 as a weak alias.
32039
32040 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32041 on [_DIRENT_HAVE_D_TYPE].
32042 * io/ftw.c (ftw_dir): Likewise.
32043
32044 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32045
32046 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32047
32048 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32049 Use the BSD numbers rather than the arbitrary ones we had.
32050 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32051 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32052 (SIGXCPU, SIGXFSZ): New macros.
32053 (_NSIG): Now 32.
32054
32055 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32056 initializer on [_LIBC_REENTRANT].
32057
32058 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32059 definitions inside [_POSIX_MAPPED_FILES].
32060
32061 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32062
32063 * dirent/opendir.c: Include <fcntl.h>.
32064
32065 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32066 (__libc_getspecific): Likewise.
32067 (__libc_key_create): Likewise.
32068
32069 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32070 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32071 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32072 (tmpfile64): Define as alias.
32073 * sysdeps/wordsize-64/tmpfile.c: File removed.
32074 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32075 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32076 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32077
32078 * stdio-common/vfscanf.c: Include <stdbool.h>.
32079 * nss/makedb.c: Likewise.
32080 * stdio-common/_i18n_number.h: Likewise.
32081 * argp/argp-help.c: Likewise.
32082 * posix/wordexp.c: Likewise.
32083 * sysdeps/posix/spawni.c: Likewise.
32084 * nss/nss_files/files-initgroups.c: Likewise.
32085 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32086 * nss/nss_files/files-initgroups.c: Likewise.
32087 * nss/nss_db/db-netgrp.c: Likewise.
32088 * nss/nss_db/db-initgroups.c: Likewise.
32089 * io/fchmodat.c: Include <sys/stat.h>.
32090
32091 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32092 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32093
32094 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32095 [HAVE_MMAP].
32096
32097 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32098 Add multiple inclusion protection.
32099
e5abc686
DM
321002012-07-27 David S. Miller <davem@davemloft.net>
32101
32102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32103
815e6fa3
GB
321042012-07-27 Gary Benson <gbenson@redhat.com>
32105
32106 [BZ #14298]
32107 * elf/rtld.c: Include <stap-probe.h>.
32108 (dl_main): Added static probes "init_start" and "init_complete".
32109 * elf/dl-load.c: Include <stap-probe.h>.
32110 (lose): Take new parameter "nsid".
32111 Added static probe "map_failed".
32112 (_dl_map_object_from_fd): Pass namespace id to lose.
32113 Added static probe "map_start".
32114 (open_verify): Pass namespace id to lose.
32115 * elf/dl-open.c: Include <stap-probe.h>.
32116 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32117 and "reloc_complete".
32118 * elf/dl-close.c: Include <stap-probe.h>.
32119 (_dl_close_worker): Added static probes "unmap_start" and
32120 "unmap_complete".
32121 * elf/rtld-debugger-interface.txt: New file documenting the above.
32122
9f98c16c
RM
321232012-07-26 Roland McGrath <roland@hack.frob.com>
32124
32125 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32126 rather than a string variable.
32127 * sunrpc/rpc_main.c (h_output): Likewise.
32128 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32129
f3c22df3
PT
321302012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32131
32132 * inet/check_native.c: New file.
32133
3129cfc6
JM
321342012-07-26 Joseph Myers <joseph@codesourcery.com>
32135
da865e95
JM
32136 [BZ #13629]
32137 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32138 if larger part has absolute value 1.0.
32139 * math/s_clog10.c (__clog10): Likewise.
32140 * math/s_clog10f.c (__clog10f): Likewise.
32141 * math/s_clog10l.c (__clog10l): Likewise.
32142 * math/s_clogf.c (__clogf): Likewise.
32143 * math/s_clogl.c (__clogl): Likewise.
32144 * math/libm-test.inc (clog_test): Add more tests.
32145 (clog10_test): Likewise.
32146 * sysdeps/i386/fpu/libm-test-ulps: Update.
32147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32148
3129cfc6
JM
32149 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32150 (pltexit): Likewise.
32151 (La_regs): Likewise.
32152 (La_retval): Likewise.
32153 (int_retval): Likewise.
32154 Update #error for removed macros to refer only to definitions in
32155 tst-audit.h.
32156 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32157 macro.
32158 (pltexit): Likewise.
32159 (La_regs): Likewise.
32160 (La_retval): Likewise.
32161 (int_retval): Likewise.
32162 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32163 macro.
32164 (pltexit): Likewise.
32165 (La_regs): Likewise.
32166 (La_retval): Likewise.
32167 (int_retval): Likewise.
32168 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32169 macro.
32170 (pltexit): Likewise.
32171 (La_regs): Likewise.
32172 (La_retval): Likewise.
32173 (int_retval): Likewise.
32174 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32175 macro.
32176 (pltexit): Likewise.
32177 (La_regs): Likewise.
32178 (La_retval): Likewise.
32179 (int_retval): Likewise.
32180 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32181 macro.
32182 (pltexit): Likewise.
32183 (La_regs): Likewise.
32184 (La_retval): Likewise.
32185 (int_retval): Likewise.
32186 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32187 macro.
32188 (pltexit): Likewise.
32189 (La_regs): Likewise.
32190 (La_retval): Likewise.
32191 (int_retval): Likewise.
32192 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32193 macro definitions in tst-audit.h.
32194 * sysdeps/i386/tst-audit.h: New file.
32195 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32196 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32197 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32198 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32199 * sysdeps/sh/tst-audit.h: Likewise.
32200 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32201 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32202 * sysdeps/x86_64/tst-audit.h: Likewise.
32203
bfc07087
AJ
322042012-07-26 Andreas Jaeger <aj@suse.de>
32205
b1b2aaf8
AJ
32206 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32207 ptrace.
32208
32209 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32210 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32211 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32212 PTRACE_O_MASK.
32213 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32214 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32215 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32216
bfc07087
AJ
32217 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32218 value.
32219
32220 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32221 _sigsys.
32222 (si_call_addr, si_syscall, si_arch): Define new macro.
32223 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32224 _sigsys.
32225 (si_call_addr, si_syscall, si_arch): Define new marcro.
32226 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32227 _sigsys.
32228 (si_call_addr, si_syscall, si_arch): Define new macro.
32229 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32230 _sigsys.
32231 (si_call_addr, si_syscall, si_arch): Define new macro.
32232
89b4b02f
JM
322332012-07-25 Joseph Myers <joseph@codesourcery.com>
32234
32235 [BZ #13717]
32236 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32237 Change to 2.4.21 where previously 2.4.1.
32238 * sysdeps/unix/sysv/linux/configure: Regenerated.
32239 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32240 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32241 Linux kernel version.
32242 (__ASSUME_STD_AUXV): Remove.
32243 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32244 kernel version.
32245 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32246 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32247 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32248 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32249 (__ASSUME_NETLINK_SUPPORT): Likewise.
32250 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32251 (__no_netlink_support): Remove conditional definition.
32252 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32253 Remove.
32254 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32255 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32256 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32257 (if_nameindex_ioctl): Remove.
32258 (if_nameindex_netlink): Do not handle __no_netlink_support.
32259 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32260 code.
32261 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32262 Remove conditional code.
32263 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32264 code.
32265 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32266 unconditional.
32267 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32268 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32269 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32270 Remove.
32271 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32272 [!__ASSUME_STD_AUXV]: Remove conditional code.
32273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32274 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32275 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32277 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32278 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32279 code.
32280 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32282 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32283 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32284 conditional code.
32285 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32287 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32288 code.
32289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32290 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32291 conditional code.
32292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32293 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32294 code unconditional.
32295 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32296 conditional code.
32297 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32298 unconditional.
32299 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32300 conditional code.
32301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32302 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32303 unconditional.
32304 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32305 conditional code.
32306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32307 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32308 code unconditional.
32309 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32310 conditional code.
32311 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32312 unconditional.
32313 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32314 conditional code.
32315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32316 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32317 code unconditional.
32318 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32319 conditional code.
32320 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32321 unconditional.
32322 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32323 conditional code.
32324
842a39cd
AS
323252012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32326
32327 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32328 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32329 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32330 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32331 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32332 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32333 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32334 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32335 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32336 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32337 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32338 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32339 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32340 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32341 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32342 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32343 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32344 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32345 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32346 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32347 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32348 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32349 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32350
84b3fd84
FW
323512012-07-25 Florian Weimer <fweimer@redhat.com>
32352
32353 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
32354 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32355 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32356 Introduce __libc_secure_getenv.
0c7936d5
FW
32357 * stdlib/Versions (2.17): Add secure_getenv
32358 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32359 * stdlib/secure-getenv.c: Rename __secure_getenv to
32360 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32361 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
32362 * stdlib/tst-secure-getenv.c: New.
32363 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
32364 * manual/startup.texi (Environment Access): Document
32365 secure_getenv.
84b3fd84
FW
32366 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32367 __libc_secure_getenv.
32368 * inet/ruserpass.c (ruserpass): Likewise.
32369 * malloc/mtrace.c (mtrace): Likewise.
32370 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 32371 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
32372 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32373 * sysdeps/posix/tempname.c: Likewise. Evaluate
32374 HAVE_SECURE_GETENV.
32375 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 32376 __secure_getenv to __libc_secure_getenv.
84b3fd84 32377 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
32378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32379 Likewise.
32380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32381 Likewise.
32382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32384 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 32389
56e49b71
JM
323902012-07-25 Joseph Myers <joseph@codesourcery.com>
32391
32392 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32393 (struct La_i86_retval): Likewise.
32394 (struct La_x86_64_regs): Likewise.
32395 (struct La_x86_64_retval): Likewise.
32396 (struct La_x32_regs): Likewise.
32397 (struct La_x32_retval): Likewise.
32398 (struct La_ppc32_regs): Likewise.
32399 (struct La_ppc32_retval): Likewise.
32400 (struct La_ppc64_regs): Likewise.
32401 (struct La_ppc64_retval): Likewise.
32402 (struct La_sh_regs): Likewise.
32403 (struct La_sh_retval): Likewise.
32404 (struct La_s390_32_regs): Likewise.
32405 (struct La_s390_32_retval): Likewise.
32406 (struct La_s390_64_regs): Likewise.
32407 (struct La_s390_64_retval): Likewise.
32408 (struct La_sparc32_regs): Likewise.
32409 (struct La_sparc32_retval): Likewise.
32410 (struct La_sparc64_regs): Likewise.
32411 (struct La_sparc64_retval): Likewise.
32412 (struct audit_ifaces): Remove architecture-specific pltenter and
32413 pltexit members.
32414 * sysdeps/i386/ldsodefs.h: New file.
32415 * sysdeps/powerpc/ldsodefs.h: Likewise.
32416 * sysdeps/s390/ldsodefs.h: Likewise.
32417 * sysdeps/sh/ldsodefs.h: Likewise.
32418 * sysdeps/sparc/ldsodefs.h: Likewise.
32419 * sysdeps/x86_64/ldsodefs.h: Likewise.
32420
354691b7
MP
324212012-07-25 Marek Polacek <polacek@redhat.com>
32422
32423 [BZ #6808]
32424 * math/libm-test.inc (yn_test): Add another test.
32425 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32426 to ERANGE when the result is +-Inf.
32427 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32428 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32429 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32430 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32431
bf9e2071
JM
324322012-07-24 Joseph Myers <joseph@codesourcery.com>
32433
32434 * conform/data/time.h-data (NULL): Use macro-constant. Require
32435 equal to 0.
32436 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32437 clock_t.
32438 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32439
57633811
TS
324402012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32441
32442 * configure.in <sysdeps resolving>: Correct printing
32443 Implies_before.
32444 * configure: Regenerate.
32445
c23c33b0
TS
324462012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32447
32448 * math/w_ilogb.c: Include <limits.h>.
32449 * math/w_ilogbl.c: Likewise.
32450
b5982523
JM
324512012-07-20 Joseph Myers <joseph@codesourcery.com>
32452
32453 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32454 va_copy. Document allowing for unavailable va_copy only as
32455 pre-C99 compatibility.
32456 * manual/string.texi (Copying and Concatenation): Use va_copy
32457 instead of __va_copy in concat example.
32458
ac4ea442
PT
324592012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32460
32461 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32462 (__sendto): Use create_address_port. Initialize APORT and deallocate
32463 it if not null.
32464
f98eafbd
PT
32465 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32466 with O_NOLINK passed to __file_name_lookup.
32467
898c7aab
PT
32468 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32469 with O_NOLINK passed to __file_name_lookup.
32470
0ced335a
PT
32471 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32472 negative N or less than NGIDS.
32473
b3404dbd
PT
32474 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32475 type to string_t. Set ERANGE as errno and return it if NAME is not big
32476 enough. Use memcpy instead of strncpy.
32477
0f48659e
JM
324782012-07-20 Joseph Myers <joseph@codesourcery.com>
32479
32480 * elf/Makefile (check-data): Remove.
32481 (localplt.data): New vpath directive.
32482 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32483 instead of $(check-data).
32484 * scripts/data/localplt-generic.data: Move to ...
32485 * sysdeps/generic/localplt.data: ... here.
32486 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32487 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32488 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32490 ... here.
32491 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32493 ... here.
32494 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32496 ... here.
32497 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32499 ... here.
32500 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32502 ... here.
32503 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32505 ... here.
32506
d37cbdaa
AZ
325072012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32508
32509 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32510 PPC32 and PPC64 files.
32511 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32512 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32513
46f85fc2
AK
325142012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32515
32516 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32517 __makecontext_ret to ...
32518 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32519 ... here and call exit if uc_link is NULL. New file.
32520 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32521 __makecontext_ret.S.
32522 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32523 __makecontext_ret to ...
32524 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32525 ... here and call exit if uc_link is NULL. New file.
32526 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32527 __makecontext_ret.S.
32528
08f43f9b
AK
325292012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32530
32531 * elf/elf.h (R_390_IRELATIVE): New definition.
32532 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32533 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32534 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32535 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32536 (elf_machine_lazy_rel): Likewise.
32537 * sysdeps/s390/dl-irel.h: New file.
32538 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32539 * sysdeps/s390/s390-64/memset.S: New asm code.
32540 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32541 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32542 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32543 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32544 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32545 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32546 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32547 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32548 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32549 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32550 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32551 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32552 * sysdeps/s390/s390-32/memset.S: New asm code.
32553 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32554
3b05db33
MP
325552012-07-17 Marek Polacek <polacek@redhat.com>
32556
32557 [BZ #14349]
32558 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32559 * sysdeps/s390/s390-64/configure.in: Likewise.
32560 * sysdeps/sparc/configure.in: Likewise.
32561 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32562 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32563 * sysdeps/i386/configure.in: Likewise.
32564 * sysdeps/x86_64/configure.in: Likewise.
32565 * sysdeps/sh/configure.in: Likewise.
32566 * sysdeps/s390/s390-32/configure: Regenerated.
32567 * sysdeps/s390/s390-64/configure: Likewise.
32568 * sysdeps/x86_64/configure: Likewise.
32569 * sysdeps/sh/configure: Likewise.
32570 * sysdeps/powerpc/powerpc64/configure: Likewise.
32571 * sysdeps/powerpc/powerpc32/configure: Likewise.
32572 * sysdeps/sparc/configure: Likwise.
32573 * sysdeps/i386/configure: Likewise.
32574
a66877c6
MP
32575 * elf/dl-open.c: Comment fixes.
32576
cfc82fd8
JM
325772012-07-17 Joseph Myers <joseph@codesourcery.com>
32578
bd29910a
JM
32579 * Makefile [CXX] (check-data): Remove.
32580 [CXX] (c++-types.data): New vpath directive.
32581 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32582 vpath. Do not allow for C++ type data being missing.
32583 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32584 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32585 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32586 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32587 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32588 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32589 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32591 ... here.
32592 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32594 ... here.
32595 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32597 ... here.
32598 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32600 ... here.
32601 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32603 ... here.
32604 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32606 ... here.
32607 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32609 ... here.
32610 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32612
cfc82fd8
JM
32613 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32614 definitions to architecture-specific files.
32615 (TLS_IE): Likewise.
32616 (TLS_LD): Likewise.
32617 (TLS_GD): Likewise.
32618 * sysdeps/i386/tls-macros.h: New file.
32619 * sysdeps/powerpc/tls-macros.h: Likewise.
32620 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32621 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32622 * sysdeps/sh/tls-macros.h: Likewise.
32623 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32624 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32625 * sysdeps/x86_64/tls-macros.h: Likewise.
32626
f7db3170
TS
326272012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32628
07cbfc23
TS
32629 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32630 zero value for regular exit case.
32631
f7db3170
TS
32632 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32633 (__start_context): Preserve zero value for regular exit case.
32634
dc97c227
TS
326352012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32636 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32637
32638 * manual/setjmp.texi (setcontext): Clarify normal process
32639 termination when uc_link is the null pointer.
32640 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32641 exit call.
32642
d0cd7d02
AS
326432012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32644
32645 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32646 preprocessor. Test for each exception mask separately.
32647
dd318934
AJ
326482012-07-16 Andreas Jaeger <aj@suse.de>
32649
32650 * po/ru.po: Update from translation team.
32651
8048311a
JM
326522012-07-15 Joseph Myers <joseph@codesourcery.com>
32653
32654 * conform/data/string.h-data (NULL): Use macro-constant. Require
32655 equal to 0.
32656 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32657 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32658 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32659 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32660 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32661
b637d46e
AJ
326622012-07-13 Andreas Jaeger <aj@suse.de>
32663
32664 * po/fr.po: Update from translation team.
32665
541428fe
MP
326662012-07-12 Marek Polacek <polacek@redhat.com>
32667
32668 [BZ #14173]
32669 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32670 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32671 loop condition.
32672
ec332e94
JM
326732012-07-12 Joseph Myers <joseph@codesourcery.com>
32674
32675 [BZ #13717]
32676 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32677 Change to 2.4.1 where previously 2.4.0.
32678 * sysdeps/unix/sysv/linux/configure: Regenerated.
32679 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32680 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32681 version.
32682 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32683 (__ASSUME_AT_CLKTCK): Remove.
32684 (__ASSUME_AT_PAGESIZE): Likewise.
32685 (__ASSUME_AT_XID): Likewise.
32686 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32687 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32688 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32689 unconditionally.
32690 (HAVE_AUX_PAGESIZE): Likewise.
32691 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32692 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32693 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32694
7b6e99be
JB
326952012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32696
32697 [BZ #14307]
32698 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32699 the temporary buffer used to invoke __gethostbyname2_r,
32700 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32701 host_data / struct gaih_addrtuple.
32702 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32703 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32704 header file nss/nsswitch.h.
32705 * nss/nsswitch.h (global scope): Add definition of implementation
32706 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32707 resolv/nss_dns/dns-host.c).
32708
608404eb
AJ
327092012-07-11 Andreas Jaeger <aj@suse.de>
32710
32711 * po/fr.po: Update from translation team.
32712
71220aca
AJ
32713 * po/sv.po: Update from translation team
32714 * po/fr.po: Another update from translation team.
32715
28cfe843
AZ
327162012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32717
32718 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32719 for subnormals or multiply small sinh result by itself.
32720 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32722
6b90f981
DM
327232012-07-11 David S. Miller <davem@davemloft.net>
32724
32725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32726
c6825772
AS
327272012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32728
32729 [BZ #14347]
32730 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32731 (INTERNAL_MARK): Shift it here.
32732
7b8e0d49
MP
327332012-07-10 Marek Polacek <polacek@redhat.com>
32734
32735 [BZ #14151]
32736 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32737 libc_cv_asm_global_directive with .globl.
32738 * configure: Regenerated.
32739 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32740 with .globl.
32741 * sysdeps/i386/configure: Regenerated.
32742 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32743 with .globl.
32744 * sysdeps/x86_64/configure: Regenerated.
32745 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32746 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32747 * elf/tst-unique2mod2.c: Likewise.
32748 * elf/tst-unique2mod1.c: Likewise.
32749 * elf/tst-unique1mod2.c: Likewise.
32750 * elf/tst-unique1mod1.c: Likewise.
32751 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32752 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32753 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32754 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32755 * sysdeps/mach/sysdep.h: Likewise.
32756 * sysdeps/i386/sysdep.h: Likewise.
32757 * sysdeps/i386/i386-mcount.S: Likewise.
32758 * sysdeps/x86_64/_mcount.S: Likewise.
32759 * sysdeps/x86_64/sysdep.h: Likewise.
32760 * sysdeps/sh/_mcount.S: Likewise.
32761 * sysdeps/sh/sysdep.h: Likewise.
32762 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32763 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32764 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32765 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32766 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32767 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32768 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32769 * locale/localeinfo.h: Likewise.
32770 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32771 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32772
6c55cda3
RM
327732012-07-09 Roland McGrath <roland@hack.frob.com>
32774
32775 [BZ #14336]
32776 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32777 system".
32778 * manual/message.texi (The Uniforum approach): Likewise.
32779 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32780 (glibc iconv Implementation): Likewise.
32781
638a572e
JM
327822012-07-09 Joseph Myers <joseph@codesourcery.com>
32783
32784 [BZ #14337]
32785 * math/s_clog.c (__clog): Avoid scaling a value down where that
32786 could result in underflow.
32787 * math/s_clog10.c (__clog10): Likewise.
32788 * math/s_clog10f.c (__clog10f): Likewise.
32789 * math/s_clog10l.c (__clog10l): Likewise.
32790 * math/s_clogf.c (__clogf): Likewise.
32791 * math/s_clogl.c (__clogl): Likewise.
32792 * math/libm-test.inc (clog_test): Add more tests.
32793 (clog10_test): Likewise.
32794 * sysdeps/i386/fpu/libm-test-ulps: Update.
32795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32796
261f4859
AS
327972012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32798
0abaf3e4
AS
32799 [BZ #14283]
32800 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32801 by 7 not 8 to examine high bit of fractional part.
32802
261f4859
AS
32803 [BZ #14042]
32804 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32805 for call to __mcount_internal.
32806 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32807 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32808 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32809
f17ac40d
JM
328102012-07-06 Joseph Myers <joseph@codesourcery.com>
32811
9ad63c23
JM
32812 [BZ #14154]
32813 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32814 approximation for values within 0x1p-13f of an odd multiple of
32815 pi/4.
32816 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32817 exception. Add more tests.
32818 * sysdeps/i386/fpu/libm-test-ulps: Update.
32819
f17ac40d
JM
32820 [BZ #6778]
32821 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32822 inputs and return -1 for them. Do not check for +Inf in case not
32823 reachable for +Inf.
32824 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32825 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32826 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32827 and return -1 for them. Do not check for +Inf in case not
32828 reachable for +Inf.
32829 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32830 define.
32831 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32832 and return -1 for them. Do not check for +Inf in case not
32833 reachable for +Inf.
32834 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32835 spurious underflow.
32836 * sysdeps/i386/fpu/libm-test-ulps: Update.
32837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32838
fb21f89b
MF
328392012-07-06 Mike Frysinger <vapier@gentoo.org>
32840
32841 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32842
cdfe2c5e
JM
328432012-07-05 Joseph Myers <joseph@codesourcery.com>
32844
32845 [BZ #14157]
32846 [BZ #14331]
32847 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32848 could result in spurious underflow. Scale down values above
32849 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32850 * math/s_csqrtf.c (__csqrtf): Likewise.
32851 * math/s_csqrtl.c (__csqrtl): Likewise.
32852 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32853 spurious underflow.
32854 * sysdeps/i386/fpu/libm-test-ulps: Update.
32855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32856
70d35b67
AS
328572012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32858
704bc459
AS
32859 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32860 xopen-msg.sed.
32861 * catgets/xopen-msg.awk: New file.
32862 * catgets/xopen-msg.sed: Removed.
32863
70d35b67
AS
32864 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32865 po2text.sed.
32866 * intl/po2test.awk: New file.
32867 * intl/po2test.sed: Removed.
32868
ca61cf32
JM
328692012-07-04 Joseph Myers <joseph@codesourcery.com>
32870
32871 [BZ #14328]
32872 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32873 or multiply small sinh result by itself.
32874 * math/s_ctanf.c (__ctanf): Likewise.
32875 * math/s_ctanh.c (__ctanh): Likewise.
32876 * math/s_ctanhf.c (__ctanhf): Likewise.
32877 * math/s_ctanhl.c (__ctanhl): Likewise.
32878 * math/s_ctanl.c (__ctanl): Likewise.
32879 * math/libm-test.inc (ctan_test_tonearest): New function.
32880 (ctan_test_towardzero): Likewise.
32881 (ctan_test_downward): Likewise.
32882 (ctan_test_upward): Likewise.
32883 (ctanh_test_tonearest): Likewise.
32884 (ctanh_test_towardzero): Likewise.
32885 (ctanh_test_downward): Likewise.
32886 (ctanh_test_upward): Likewise.
32887 (main): Call these new functions.
32888 * sysdeps/i386/fpu/libm-test-ulps: Update.
32889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32890
ca48a46a
MF
328912012-07-03 Mike Frysinger <vapier@gentoo.org>
32892
32893 * .gitignore: Delete /ports entry.
32894
9d63d37d
AJ
328952012-07-03 Andreas Jaeger <aj@suse.de>
32896
32897 * po/bg.po: Update from translation team.
32898 * po/cs.po: Likewise.
32899 * po/de.po: Likewise.
32900 * po/hr.po: Likewise.
32901 * po/nl.pl: Likewise.
32902 * po/pl.po: Likewise.
32903 * po/vi.po: Likewise.
32904
370ca3d2
JM
329052012-07-03 Joseph Myers <joseph@codesourcery.com>
32906
95f5a9a8
JM
32907 * Makeconfig [!+link] (+link-before-libc): New variable.
32908 [!+link] (+link-after-libc): Likewise.
32909 [!+link] (+link-tests): Likewise.
32910 [!+link] (+link): Define in terms of $(+link-before-libc) and
32911 $(+link-after-libc).
32912 [!+link-static] (+link-static-before-libc): New variable.
32913 [!+link-static] (+link-static-after-libc): Likewise.
32914 [!+link-static] (+link-static-tests): Likewise.
32915 [!+link-static] (+link-static): Define in terms of
32916 $(+link-static-before-libc) and $(+link-static-after-libc).
32917 [build-shared] (link-libc-before-gnulib): New variable.
32918 [build-shared] (link-libc-tests): Likewise.
32919 [build-shared] (link-libc): Define in terms of
32920 $(link-libc-before-gnulib).
32921 [!build-shared] (link-libc-tests): New variable.
32922 (link-libc-static-tests): New variable.
32923 [!gnulib] (gnulib-arch): New variable.
32924 [!gnulib] (gnulib-tests): Likewise.
32925 [!gnulib] (static-gnulib-arch): Likewise.
32926 [!gnulib] (static-gnulib-tests): Likewise.
32927 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32928 Define with "=" instead of ":=".
32929 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32930 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32931 * Rules (binaries-all-notests): New variable.
32932 (binaries-all-tests): Likewise.
32933 (binaries-static-notests): Likewise.
32934 (binaries-static-tests): Likewise.
32935 (binaries-all): Define using $(binaries-all-notests) and
32936 $(binaries-all-tests).
32937 (binaries-static): Define using $(binaries-static-notests) and
32938 $(binaries-static-tests).
32939 (binaries-shared-tests): New variable.
32940 (binaries-shared-notests): Likewise.
32941 (binaries-shared): Remove variable.
32942 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32943 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32944 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32945 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32946 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32947 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32948 * elf/Makefile (sln-modules): New variable.
32949 (extra-objs): Add $(sln-modules:=.o).
32950 (ldconfig-modules): Add static-stubs.
32951 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32952 * elf/static-stubs.c: New file.
32953
7a845b2c
JM
32954 [BZ #14283]
32955 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32956 by 7 not 8 to examine high bit of fractional part. Use volatile
32957 variables when splitting into final array of floats if
32958 __FLT_EVAL_METHOD__ != 0.
32959 * math/libm-test.inc (cos_test): Add another test.
32960 (sin_test): Likewise.
32961 * sysdeps/i386/fpu/libm-test-ulps: Update.
32962
e2283f38
JM
32963 [BZ #14273]
32964 * math/libm-test.inc (cosh_test): Add more tests.
32965
370ca3d2
JM
32966 * version.h (RELEASE): Set to "development".
32967 (VERSION): Set to "2.16.90".
32968
ee9247c3
CD
329692012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32970
32971 * NEWS: Update copyright. Remove last-updated date.
32972 Mention math library bug fixes and timezone data changes.
32973 * README: Mention GNU/Hurd, x32, and HPPA support status.
32974
4648c381
TS
329752012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32976
32977 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32978
aac78a43
AJ
329792012-06-27 Andreas Jaeger <aj@suse.de>
32980
32981 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32982
ed3dbfad
AJ
329832012-06-25 Andreas Jaeger <aj@suse.de>
32984
32985 * sysdeps/s390/fpu/libm-test-ulps: Update.
32986
4d0ee855
AS
329872012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32988 Thomas Schwinge <thomas@codesourcery.com>
32989
32990 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32991 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32992 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32993 fanotify_mark.
32994
af1bce34
TS
329952012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32996
a9fa33ba
TS
32997 * sysdeps/mach/start.c: Remove file.
32998 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32999 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33000 * sysdeps/sh/init-first.c: Likewise.
33001
58f902b8
TS
33002 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33003 registers for frame unwinding purposes, add CFI directives.
33004 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33005 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33006 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33007 Likewise.
33008
1518f58b
TS
33009 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33010 __fortify_fail returning.
33011 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33012
db9b5059
TS
33013 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33014 sysdeps/sh/____longjmp_chk.S.
33015 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33016 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33017 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33018 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33019
967705fe
TS
33020 * sysdeps/sh/abort-instr.h: New file.
33021 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33022 process in case exit returns.
33023
a9def8c4
TS
33024 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33025 initialize the GOT register before use.
33026
2a649725
TS
33027 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33028 calculation of ARGC > 4.
33029
af1bce34
TS
33030 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33031 meaningful names to some local labels.
33032
d230f50a
KK
330332012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33034 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33035
33036 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33037 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33038 (__arch_compare_and_exchange_val_16_acq): Likewise.
33039 (__arch_compare_and_exchange_val_32_acq): Likewise.
33040 (atomic_exchange_and_add): Fix gUSA sequence.
33041 (atomic_add): Likewise.
33042 (atomic_add_negative): Likewise.
33043 (atomic_add_zero): Likewise.
33044 (atomic_bit_test_set): Likewise.
33045
0479b305
AS
330462012-06-22 Andreas Schwab <schwab@redhat.com>
33047
33048 [BZ #13579]
33049 * include/link.h (struct link_map): Add l_free_initfini.
33050 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33051 l_initfini.
33052 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33053 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33054 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33055 set.
33056
0e3933b9
CD
330572012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33058
33059 * configure.in: Use AC_LANG_SOURCE.
33060 * configure: Regenerate.
33061
4248b1b1
RM
330622012-06-22 Roland McGrath <roland@hack.frob.com>
33063
33064 * configure.in (libc_cv_localstatedir): New substituted variable.
33065 * configure: Regenerated.
33066 * config.make.in (localstatedir): New variable, substituted from
33067 libc_cv_localstatedir.
33068 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33069 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33070 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33071 * sysdeps/gnu/configure: Regenerated.
33072
006dd861
JL
330732012-06-21 Jeff Law <law@redhat.com>
33074
33075 [BZ #14277]
33076 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33077 free. Simplify list management for _LIBC case.
33078
79662d42
JM
330792012-06-21 Joseph Myers <joseph@codesourcery.com>
33080
b7abb4bf
JM
33081 [BZ #14273]
33082 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33083 Clear sign bit of 64-bit integer value before comparing against
33084 overflow value.
33085
79662d42
JM
33086 * sysdeps/mach/configure: Regenerated.
33087
1f150908
L
330882012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33089
33090 [BZ #14278]
33091 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33092
28363bbf
JL
330932012-06-21 Jeff Law <law@redhat.com>
33094
33095 [BZ #13882]
33096 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33097 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 33098 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
33099 * elf/dl-open.c (dl_open_worker): Likewise.
33100
09615db4
CD
331012012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33102
33103 * scripts/list-sources.sh: Scan PORTS for translations.
33104 * po/libc.pot: Regenerated.
33105
2174c6dd
AJ
331062012-06-21 Andreas Jaeger <aj@suse.de>
33107
33108 [BZ #12194]
33109 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33110 warning.
33111 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33112 * bits/byteswap-16.h (__bswap_16): Likewise.
33113 * bits/byteswap.h (__bswap_constant_16): Likewise.
33114
3ee947b1
L
331152012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33116
33117 [BZ #14117]
a2f34833
L
33118 * sysdeps/i386/fpu_control.h: Removed.
33119 * sysdeps/x86_64/fpu_control.h: Moved to ...
33120 * sysdeps/x86/fpu_control.h: Here.
33121
3ee947b1
L
33122 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33123 (_FPU_SETCW): Likewise.
33124
ed1825f8
L
331252012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33126
25f1282a
L
33127 [BZ #14117]
33128 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33129 * sysdeps/x86/fpu/bits/mathinline.h: This.
33130 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33131
ed1825f8
L
33132 [BZ #14050]
33133 [BZ #14117]
33134 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33135 functions if __x86_64__ is defined.
33136
36d54b74
CLT
331372012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33138
33139 * string/endian.h: Add !__ASSEMBLER__ condition for including
33140 conversion interfaces.
33141
10285c21
JM
331422012-06-15 Joseph Myers <joseph@codesourcery.com>
33143
33144 [BZ #14241]
33145 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33146 of ABS(x) in calculating zero to negative powers other than odd
33147 integers.
33148 * math/libm-test.inc (pow_test): Add more tests.
33149
06c5abbd
AJ
331502012-06-15 Andreas Jaeger <aj@suse.de>
33151
33152 * manual/contrib.texi (Contributors): Update entry of Liubov
33153 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33154 Machado Filho.
33155
a3aeac40
CH
331562012-06-15 Cyril Hrubis <metan@ucw.cz>
33157
33158 * string/string.h: Add __wur to GNU version of strerror_r.
33159
49bdf4c1
L
331602012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33161
33162 [BZ #14229]
33163 * string/Makefile (tests): Add tst-strtok_r.
33164 * string/tst-strtok_r.c: New file.
33165 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33166 RAX_LP/RDX_LP on SAVE_PTR.
33167
834f9b8d
RM
331682012-06-14 Roland McGrath <roland@hack.frob.com>
33169
33170 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33171
75fa1921
JM
331722012-06-14 Joseph Myers <joseph@codesourcery.com>
33173
33174 * libm_test.inc (csqrt_test): Allow more spurious underflow
33175 exceptions.
33176 (j0_test): Likewise.
33177 (j1_test): Likewise.
33178 (y0_test): Likewise.
33179 (y1_test): Likewise.
33180
771766df
CD
331812012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33182
33183 * po/Makefile (libc.pot): Use UTF-8 charset.
33184
ceb9e56b
PP
331852012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33186
33187 [BZ #14210]
33188 Suppress sign-conversion warning from FD_SET.
33189 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33190 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33191 not unsigned long int.
33192 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33193
ddb28975
L
331942012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33195
33196 [BZ #14050]
33197 [BZ #14117]
33198 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33199 __extern_always_inline instead of __extern_inline.
33200 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33201 (__signbit): Likewise.
33202 (__signbitl): Support C++ namespace.
33203 (lrintf): New inline function.
33204 (lrint): Likewise.
33205 (llrintf): Likewise.
33206 (llrint): Likewise.
33207 (fmaxf): Likewise.
33208 (fmax): Likewise.
33209 (fminf): Likewise.
33210 (fmin): Likewise.
33211 (rint): Likewise.
33212 (rintf): Likewise.
33213 (ceil): Likewise.
33214 (ceilf): Likewise.
33215 (floor): Likewise.
33216 (floorf): Likewise.
33217 (nearbyint): Likewise.
33218 (nearbyintf): Likewise.
33219
d7b4fb26
TS
332202012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33221
33222 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33223 non-default versions.
33224
eb55f5c2
RM
332252012-06-11 Roland McGrath <roland@hack.frob.com>
33226
33227 [BZ #14218]
33228 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33229
366af02c
TS
332302012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33231
99ff6e5c
TS
33232 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33233 (FE_UPWARD, FE_DOWNWARD): Don't define.
33234 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33235 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33236
366af02c
TS
33237 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33238 reading it.
33239 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33240 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33241
793ea851
KK
332422012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33243
33244 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33245 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33246 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33247 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33248
a728a38f
L
332492012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33250
33251 [BZ #14117]
c08010c7
L
33252 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33253 * sysdeps/i386/fpu/Implies: New file.
33254 * sysdeps/x86_64/fpu/Implies: Likewise.
33255 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33256 * sysdeps/x86/fpu/bits/fenv.h: This.
33257
a728a38f
L
33258 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33259 __SSE_MATH__.
33260
6e230d11
SP
332612012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33262
33263 [BZ #14134]
33264 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33265 character 0xffff that matches the last element of the
33266 conversion table.
33267
1b671feb
AZ
332682012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33269
33270 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33271 fmodl commit.
33272
6043738b
AZ
332732012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33274
33275 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33276 values higher than 25.6283.
33277
34ae0b32
AZ
332782012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33279
33280 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33281 subnormal exponent extraction and add some __builtin_expect.
33282 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33283 Fix for subnormal mantissa calculation.
33284
1214ec8f
MF
332852012-06-04 Mike Frysinger <vapier@gentoo.org>
33286
33287 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33288 cpu2 is -1 and errno is not ENOSYS.
33289
f3d1f93c
L
332902012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33291
33292 [BZ #14117]
0e4a3cd7
L
33293 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33294 * sysdeps/x86/bits/string.h: This.
33295 * sysdeps/x86_64/bits/string.h: Removed.
33296
6704c645
L
33297 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33298 if not compiling for x86-64, but compiling for >= i486.
33299
48495318
L
33300 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33301 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33302
14adcbfc
L
33303 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33304 New macro from Linux kernel 3.4.0.
33305 (FP_XSTATE_MAGIC2): Likewise.
33306 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33307 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33308 (struct _fpx_sw_bytes): New struct.
33309 (struct _xsave_hdr): Likewise.
33310 (struct _ymmh_state): Likewise.
33311 (struct _xstate): Likewise.
33312
68e408ab
L
33313 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33314 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33315 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33316 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33317 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33318 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33319
f3d1f93c
L
33320 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33321 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33322 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33323 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33324 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33325 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33326
d9dc34cd
TMQMF
333272012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33328
33329 [BZ #13743]
33330 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33331 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33332 (sysdep_headers): Include sys/platform/ppc.h.
33333 * sysdeps/powerpc/test-gettimebase.c: Test for
33334 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33335 * manual/Makefile (appendices): Include platform.texi.
33336 * manual/contrib.texi (Contributors): Update @node pointers.
33337 * manual/maint.texi (Maintenance): Likewise.
33338 (Platform): New node.
33339 * manual/platform.texi: New file. Document the new features.
33340
4af3879c
SP
333412012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33342 Jakub Jelinek <jakub@redhat.com>
33343
33344 [BZ #14188]
33345 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33346 where __builtin_expect is unavailable.
33347
2fd6ff13
DM
333482012-06-03 David S. Miller <davem@davemloft.net>
33349
33350 * stdlib/longlong.h: Updated from GCC.
33351
173f7220
AS
333522012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33353
33354 [BZ #14042]
33355 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33356 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33357 __mcount_internal.
33358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33359 (GLIBC_2.16): Likewise.
33360
f34a1c6f
L
333612012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33362
33363 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33364
88a4576f
JM
333652012-06-01 Joseph Myers <joseph@codesourcery.com>
33366
ea32bcdd
JM
33367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33368 (default-abi): New variable.
33369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33370 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33371 variable.
33372 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33373 Likewise.
33374 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33375 Likewise.
33376 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33377 Likewise.
33378
88a4576f
JM
33379 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33380 definition. Document in comment.
33381
402fe938
DM
333822012-06-01 David S. Miller <davem@davemloft.net>
33383
33384 * stdlib/longlong.h: Updated from GCC.
33385
3553723f
L
333862012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33387
33388 [BZ #14117]
3bd872c4
L
33389 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33390 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33391 sys/debugreg.h sys/io.h here.
33392 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33393 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33394 sys/io.h.
33395 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33396 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33397 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33398 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33399 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33400 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33401
3553723f
L
33402 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33403 Define only if __x86_64__ is defined.
33404
4842e4fe
JM
334052012-06-01 Joseph Myers <joseph@codesourcery.com>
33406
c5bfe3d5
JM
33407 [BZ #14048]
33408 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33409 Use int64_t for variable i.
33410 * math/libm-test.inc (fmod_test): Add more tests.
33411
4842e4fe
JM
33412 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33413 z computation is not scheduled after fetestexcept.
33414 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33415 Use math_force_eval instead of asm to ensure calculation scheduled
33416 before exception test.
33417 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33418 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33419
efb73488
AJ
334202012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33421
33422 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33423 computation is not scheduled after fetestexcept.
33424
29bcce7c
L
334252012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33426
33427 [BZ #14117]
33428 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33429 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33430
73a68f94
AZ
334312012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33432
33433 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33434 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33435
67b6df78
L
334362012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33437
edf2933a 33438 [BZ #14117]
ebc64a18
L
33439 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33440 <bits/wordsize.h>.
33441 (__WCHAR_MIN): Support __WORDSIZE == 64.
33442 (__WCHAR_MAX): Likewise.
33443
edf2933a
L
33444 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33445 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33446
57c6cf40
L
33447 [BZ #14183]
33448 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33449 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33450
67b6df78 33451 [BZ #14117]
8eb6281e
L
33452 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33453 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33454
aac639f4
L
33455 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33456 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33457
67b6df78
L
33458 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33459 Defined to 1 if __x86_64__ isn't defined.
33460 (_STAT_VER_LINUX_OLD): New.
33461 (st_atime): Remove duplicate.
33462 (st_mtime): Likewise.
33463 (st_ctime): Likewise.
33464
1c2cfe81
DM
334652012-05-31 David S. Miller <davem@davemloft.net>
33466
33467 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33468 entries.
33469
5be8418c
AS
334702012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33471
e7725326
AS
33472 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33473 gen-libm-test.pl.
33474
5be8418c
AS
33475 [BZ #14132]
33476 * elf/dl-reloc.c: Include <_itoa.h>.
33477 (_dl_reloc_bad_type): Remove use of INTUSE.
33478 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33479 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33480 * stdio-common/psiginfo.c (psiginfo): Likewise.
33481 * stdio-common/psignal.c (psignal): Likewise.
33482 * string/strsignal.c (strsignal): Likewise.
33483 * include/signal.h (_sys_siglist): Declare hidden proto.
33484 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33485 INTVARDEF with libc_hidden_data_def.
33486 * stdio-common/itoa-udigits.c: Likewise.
33487 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33488 (_itoa_lower_digits_internal): Remove declaration.
33489 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33490 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33491 (_sys_sigabbrev_internal): Remove aliases.
33492 (_sys_siglist): Define hidden alias.
33493
507352f1
MT
334942012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33495
33496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33497 bits/sysctl.h.
33498
42bbb1c3
L
334992012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33500
33501 [BZ #14117]
6bd784b6
L
33502 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33503 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33504
8bca20f0
L
33505 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33506 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33507 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33508 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33509 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33510 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33511
f9e890a9
L
33512 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33513 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33514 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33515
471101a1
L
33516 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33517 with __addr.
33518 (insw): Likewise.
33519 (insl): Likewise.
33520 (outsb): Likewise.
33521 (outsw): Likewise.
33522 (outsl): Likewise.
33523
6451c862
L
33524 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33525 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33526 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33527
a254b8c9
L
33528 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33529 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33530 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33531 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33532 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33533 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33534
b8dfdd92
L
33535 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33536 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33537
578cd270
L
33538 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33539 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33540
de662f5f
L
33541 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33542 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33543 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33544
25653439
L
33545 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33546 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33547 to ...
33548 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33549
6bad24a0
L
33550 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33551 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33552 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33553
42bbb1c3
L
33554 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33555 for x86-64.
33556 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33557
2d10d547
JM
335582012-05-31 Joseph Myers <joseph@codesourcery.com>
33559
33560 * math/math.h (M_El): Use two more decimal places.
33561 (M_LOG2El): Likewise.
33562 (M_LOG10El): Likewise.
33563 (M_LN2l): Likewise.
33564 (M_LN10l): Likewise.
33565 (M_PIl): Likewise.
33566 (M_PI_2l): Likewise.
33567 (M_PI_4l): Likewise.
33568 (M_1_PIl): Likewise.
33569 (M_2_PIl): Likewise.
33570 (M_2_SQRTPIl): Likewise.
33571 (M_SQRT2l): Likewise.
33572 (M_SQRT1_2l): Likewise.
33573
f230c29b
DM
335742012-05-31 David S. Miller <davem@davemloft.net>
33575
33576 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33577 values between float registers.
33578 * sysdeps/sparc/sparc64/memset.S: Likewise.
33579 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33580
fed806c3
MF
335812012-05-31 Mike Frysinger <vapier@gentoo.org>
33582
33583 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33584 -D_FORTIFY_SOURCE=1.
33585 (CPPFLAGS-tst-longjmp_chk.c): Define.
33586 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33587 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33588 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33589 CFLAGS-tst-wchar-h.c.
33590
30917259
MP
335912012-05-31 Marek Polacek <polacek@redhat.com>
33592
33593 [BZ #14132]
33594 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33595 __endmntent_internal): Remove declaration.
33596 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33597 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33598 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33599
1c58d5dc
DM
336002012-05-30 David S. Miller <davem@davemloft.net>
33601
33602 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33603 (___Q_simulate_exceptions): Use real FP ops rather than writing
33604 into the %fsr.
33605 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33606 Likewise.
33607
7dc00e0d
L
336082012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33609
33610 [BZ #14117]
0bd53985
L
33611 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33612 * sysdeps/x86/bits/xtitypes.h: This.
33613
3a257e66
L
33614 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33615 * sysdeps/x86/bits/wordsize.h: This.
33616
62f62904
L
33617 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33618 * sysdeps/x86/bits/huge_vall.h: This.
33619
404fe9d9
L
33620 * sysdeps/i386/bits/select.h: Removed.
33621 * sysdeps/x86_64/bits/select.h: Renamed to ...
33622 * sysdeps/x86/bits/select.h: This.
33623
d48d0446
L
33624 * sysdeps/i386/bits/setjmp.h: Removed.
33625 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33626 * sysdeps/x86/bits/setjmp.h: This.
33627
7dc00e0d
L
33628 * sysdeps/i386/bits/mathdef.h: Removed.
33629 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33630 * sysdeps/x86/bits/mathdef.h: This.
33631
03277f8f
AS
336322012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33633
33634 [BZ #14132]
33635 * include/sys/socket.h (__connect_internal)
33636 (__libc_sa_len_internal): Remove declaration.
33637 (__connect, __libc_sa_len): Declare hidden_proto.
33638 (SA_LEN): Remove use of INTUSE.
33639 * socket/connect.c: Add libc_hidden_def.
33640 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33641 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33642 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33643 alias.
33644 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33645 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33646 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33647 of adding _internal alias.
33648
13764867
L
336492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33650
33651 [BZ #14117]
6bd97696
L
33652 * sysdeps/i386/bits/link.h: Removed.
33653 * sysdeps/i386/bits/linkmap.h: Likewise.
33654 * sysdeps/x86_64/bits/link.h: Renamed to ...
33655 * sysdeps/x86/bits/link.h: This.
33656 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33657 * sysdeps/x86/bits/linkmap.h: This.
33658
f726f0bb
L
33659 * sysdeps/i386/bits/endian.h: Removed.
33660 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33661 * sysdeps/x86/bits/endian.h: This.
33662
13764867
L
33663 * sysdeps/i386/bits/byteswap.h: Removed.
33664 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33665 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33666 * sysdeps/x86/bits/byteswap.h: This.
33667 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33668 * sysdeps/x86/bits/byteswap-16.h: This.
33669 * sysdeps/i386/Implies: Add x86.
33670 * sysdeps/x86_64/Implies: Likewise.
33671
ae251b0b
DM
336722012-05-30 David S. Miller <davem@davemloft.net>
33673
33674 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33675 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33676 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33677 (FP_TRAPPING_EXCEPTIONS): Define.
33678 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33679 (FP_TRAPPING_EXCEPTIONS): Define.
33680 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33681 subnormals only when inexact has been signalled or underflow
33682 exceptions are enabled.
33683 (_FP_PACK_CANONICAL): Likewise.
33684
d5c90867
L
336852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33686
33687 [BZ #14183]
33688 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33689 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33690
63f1549e
RH
336912012-05-30 Richard Henderson <rth@twiddle.net>
33692
8d8f2279
RH
33693 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33694 with #ifndef NOT_IN_libc.
33695
63f1549e
RH
33696 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33697 marked to avoid plt entry.
33698
0ab0291b
L
336992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33700
33701 [BZ #14112]
33702 * Makeconfig (default-abi): New macro.
33703 (abi-includes): Likewise.
33704 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33705 $(abi-$(default-abi)-lib-soname) for soname if defined.
33706 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33707 abi-variants.
33708 * Makefile (installed-stubs): Likewise.
33709 * include/stubs-biarch.h: Removed.
33710 * scripts/lib-names.awk: Only handle one library at a time.
33711 * scripts/soversions.awk: Remove WORDSIZE support.
33712 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33713 entries.
33714 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33715 Removed.
33716 (syscall-list-default-condition): Likewise.
33717 (syscall-list-default-condition): Likewise.
33718 (syscall-list-includes): Likewise.
33719 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33720 syscall-list-* with abi-*. Handle undefined abi-variants.
33721 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33722 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33723 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33724 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33725 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33726 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33727 Removed.
33728 (syscall-list-32-options): Likewise.
33729 (syscall-list-32-condition): Likewise.
33730 (syscall-list-64-options): Likewise.
33731 (syscall-list-64-condition): Likewise.
33732 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33733 macro.
33734 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33735 Renamed to ...
33736 (abi-*): This.
33737 (abi-64-ld-soname): New macro.
33738 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33739 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33740 Renamed to ...
33741 (abi-*): This.
33742 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33743 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33744
4da0431d
JM
337452012-05-30 Joseph Myers <joseph@codesourcery.com>
33746
3a85279c
JM
33747 * sysdeps/unix/sysv/linux/kernel-features.h
33748 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33749 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33750 include <kernel-features.h>.
33751 [!__NR_ftruncate64]: Remove conditional code.
33752 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33753 [__NR_ftruncate64]: Make code unconditional.
33754 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33755 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33756 include <kernel-features.h>.
33757 [!__NR_ftruncate64]: Remove conditional code.
33758 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33759 [__NR_ftruncate64]: Make code unconditional.
33760 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33762 include <kernel-features.h>.
33763 [!__NR_ftruncate64]: Remove conditional code.
33764 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33765 [__NR_ftruncate64]: Make code unconditional.
33766 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33768 include <kernel-features.h>.
33769 [!__NR_ftruncate64]: Remove conditional code.
33770 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33771 [__NR_ftruncate64]: Make code unconditional.
33772 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33773
4da0431d
JM
33774 * configure.in (libc_cv_fpie): Weaken to a compile test using
33775 LIBC_TRY_CC_OPTION.
33776 * configure: Regenerated.
33777
11ef492c
AK
337782012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33779
33780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33784 Refreshed.
33785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33791 Refreshed.
33792
d66ef399
DM
337932012-05-27 David S. Miller <davem@davemloft.net>
33794
33795 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33796 (___Q_zero): New.
33797 (__Q_simulate_exceptions): Return void. Change to simulate
33798 exceptions by writing into the %fsr.
33799 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33800 (__Qp_handle_exceptions): Likewise.
33801 (numbers): Delete.
33802 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33803 __Qp_handle_exceptions.
33804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33805 __Qp_handle_exceptions.
33806 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33807 as unused and give dummy FP_RND_NEAREST initializer.
33808 (FP_INHIBIT_RESULTS): Define.
33809 (___Q_simulate_exceptions): Update declaration.
33810 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33811 formatting.
33812 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33813 as unused and give dummy FP_RND_NEAREST initializer.
33814 (__Qp_handle_exceptions): Update declaration.
33815 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33816 formatting.
33817
04fb54b5
TS
338182012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33819
33820 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33821 the temporary FPU control word.
33822 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33823 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33824 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33825 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33826 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33827 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33828 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33829 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33830 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33831 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33832 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33833
3f99608f
KK
338342012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33835
33836 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33837 fields.
33838
65a4de4e
CLT
338392012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33840
33841 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33842 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33843 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33844 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33845 Likewise.
33846 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33847 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33848 Likewise.
33849
15749d40
UD
338502012-05-27 Ulrich Drepper <drepper@gmail.com>
33851
33852 * po/h.po: Update from translation team.
33853
25dbcb27
AS
338542012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33855
3d3f8e55
AS
33856 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33857
25dbcb27
AS
33858 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33859 handling of denormals.
33860 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33861 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33862 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33863 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33864 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33865 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33866 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33867 Likewise.
33868
7ad47a80 338692012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
33870
33871 [BZ #14152]
33872 * math/libm-test.inc (fma_test): Don't always expect underflow
33873 exception.
33874
9c6ea9fa
SP
338752012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33876
33877 [BZ #12416]
33878 * elf/tst-execstack.c: Include stackinfo.h.
33879 (do_test): Adjust test case to ensure that pthread_getattr_np
33880 behaviour remains the same after marking stack executable.
33881
a8239222
JM
338822012-05-25 Joseph Myers <joseph@codesourcery.com>
33883
33884 * sysdeps/unix/sysv/linux/kernel-features.h
33885 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33886 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33887 kernel-features.h.
33888 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33889 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33890 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33891 kernel-features.h.
33892 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33893 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33894
918b5606
L
338952012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33896
33897 * configure.in: Define the default includes to being none.
33898 * configure: Regenerated.
33899
3a097cc7
RM
339002012-05-25 Roland McGrath <roland@hack.frob.com>
33901
8422c9a5
RM
33902 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33903 * sysdeps/x86_64/setjmp.S: Likewise.
33904 * sysdeps/i386/bsd-setjmp.S: Likewise.
33905 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33906 * sysdeps/i386/setjmp.S: Likewise.
33907 * sysdeps/i386/__longjmp.S: Likewise.
33908 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33909 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33910
3a097cc7
RM
33911 * include/stap-probe.h: New file.
33912 * configure.in: Handle --enable-systemtap.
33913 * configure: Regenerated.
33914 * config.h.in (USE_STAP_PROBE): New #undef.
33915 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33916 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33917 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33918
21708942
JM
339192012-05-25 Joseph Myers <joseph@codesourcery.com>
33920
33921 [BZ #13717]
33922 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33923 to 2.4.0 where earlier.
33924 * sysdeps/unix/sysv/linux/configure: Regenerated.
33925 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33926 <kernel-features.h>.
33927 [__ASSUME_32BITUIDS]: Make code unconditional.
33928 [!__ASSUME_32BITUIDS]: Remove conditional code.
33929 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33930 <kernel-features.h>.
33931 [__ASSUME_32BITUIDS]: Make code unconditional.
33932 [!__ASSUME_32BITUIDS]: Remove conditional code.
33933 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33934 [__ASSUME_32BITUIDS]: Make code unconditional.
33935 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33936 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33937 <kernel-features.h>.
33938 [__ASSUME_32BITUIDS]: Make code unconditional.
33939 [!__ASSUME_32BITUIDS]: Remove conditional code.
33940 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33941 <kernel-features.h>.
33942 [__ASSUME_32BITUIDS]: Make code unconditional.
33943 [!__ASSUME_32BITUIDS]: Remove conditional code.
33944 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33945 <kernel-features.h>.
33946 [__ASSUME_32BITUIDS]: Make code unconditional.
33947 [!__ASSUME_32BITUIDS]: Remove conditional code.
33948 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33949 <kernel-features.h>.
33950 [__ASSUME_32BITUIDS]: Make code unconditional.
33951 [!__ASSUME_32BITUIDS]: Remove conditional code.
33952 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33953 <kernel-features.h>.
33954 [__ASSUME_32BITUIDS]: Make code unconditional.
33955 [!__ASSUME_32BITUIDS]: Remove conditional code.
33956 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33957 <kernel-features.h>.
33958 [__ASSUME_32BITUIDS]: Make code unconditional.
33959 [!__ASSUME_32BITUIDS]: Remove conditional code.
33960 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33961 <kernel-features.h>.
33962 [__ASSUME_32BITUIDS]: Make code unconditional.
33963 [!__ASSUME_32BITUIDS]: Remove conditional code.
33964 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33965 <kernel-features.h>.
33966 [__ASSUME_32BITUIDS]: Make code unconditional.
33967 [!__ASSUME_32BITUIDS]: Remove conditional code.
33968 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33969 <kernel-features.h>.
33970 [__ASSUME_32BITUIDS]: Make code unconditional.
33971 [!__ASSUME_32BITUIDS]: Remove conditional code.
33972 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33973 <kernel-features.h>.
33974 [__ASSUME_32BITUIDS]: Make code unconditional.
33975 [!__ASSUME_32BITUIDS]: Remove conditional code.
33976 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33977 <kernel-features.h>.
33978 [__NR_setresgid] (__setresgid): Do not declare.
33979 [__ASSUME_32BITUIDS]: Make code unconditional.
33980 [!__ASSUME_32BITUIDS]: Remove conditional code.
33981 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33982 <kernel-features.h>.
33983 [__NR_setresuid] (__setresuid): Do not declare.
33984 [__ASSUME_32BITUIDS]: Make code unconditional.
33985 [!__ASSUME_32BITUIDS]: Remove conditional code.
33986 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33987 <kernel-features.h>.
33988 [__ASSUME_32BITUIDS]: Make code unconditional.
33989 [!__ASSUME_32BITUIDS]: Remove conditional code.
33990 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33991 <kernel-features.h>.
33992 [__ASSUME_32BITUIDS]: Make code unconditional.
33993 [!__ASSUME_32BITUIDS]: Remove conditional code.
33994 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33995 <kernel-features.h>.
33996 [__ASSUME_32BITUIDS]: Make code unconditional.
33997 [!__ASSUME_32BITUIDS]: Remove conditional code.
33998 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33999 <kernel-features.h>.
34000 [__ASSUME_32BITUIDS]: Make code unconditional.
34001 [!__ASSUME_32BITUIDS]: Remove conditional code.
34002 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34003 <kernel-features.h>.
34004 [__ASSUME_32BITUIDS]: Make code unconditional.
34005 [!__ASSUME_32BITUIDS]: Remove conditional code.
34006 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34007 <kernel-features.h>.
34008 [__ASSUME_32BITUIDS]: Make code unconditional.
34009 [!__ASSUME_32BITUIDS]: Remove conditional code.
34010 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34011 <kernel-features.h>.
34012 [__ASSUME_32BITUIDS]: Make code unconditional.
34013 [!__ASSUME_32BITUIDS]: Remove conditional code.
34014 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34015 <kernel-features.h>.
34016 [__ASSUME_32BITUIDS]: Make code unconditional.
34017 [!__ASSUME_32BITUIDS]: Remove conditional code.
34018 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34019 <kernel-features.h>.
34020 [__ASSUME_32BITUIDS]: Make code unconditional.
34021 [!__ASSUME_32BITUIDS]: Remove conditional code.
34022 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34023 <kernel-features.h>.
34024 [__ASSUME_32BITUIDS]: Make code unconditional.
34025 [!__ASSUME_32BITUIDS]: Remove conditional code.
34026 * sysdeps/unix/sysv/linux/kernel-features.h
34027 (__ASSUME_SETRESUID_SYSCALL): Remove.
34028 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34029 (__ASSUME_32BITUIDS): Likewise.
34030 (__ASSUME_LDT_WORKS): Likewise.
34031 (__ASSUME_O_DIRECTORY): Likewise.
34032 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34033 architecture but not kernel version.
34034 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34035 (__ASSUME_MMAP2_SYSCALL): Likewise.
34036 (__ASSUME_STAT64_SYSCALL): Likewise.
34037 (__ASSUME_IPC64): Likewise.
34038 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34039 <kernel-features.h>.
34040 [__ASSUME_32BITUIDS]: Make code unconditional.
34041 [!__ASSUME_32BITUIDS]: Remove conditional code.
34042 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34043 <kernel-features.h>.
34044 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34045 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34046 132096]: Remove conditional code.
34047 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34048 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34049 <kernel-features.h>.
34050 [__ASSUME_32BITUIDS]: Make code unconditional.
34051 [!__ASSUME_32BITUIDS]: Remove conditional code.
34052 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34053 <kernel-features.h>.
34054 [__ASSUME_32BITUIDS]: Make code unconditional.
34055 [!__ASSUME_32BITUIDS]: Remove conditional code.
34056 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34057 <kernel-features.h>.
34058 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34059 unconditional.
34060 (__setresgid): Do not declare.
34061 [__ASSUME_32BITUIDS]: Make code unconditional.
34062 [!__ASSUME_32BITUIDS]: Remove conditional code.
34063 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34064 <kernel-features.h>.
34065 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34066 unconditional.
34067 (__setresuid): Do not declare.
34068 [__ASSUME_32BITUIDS]: Make code unconditional.
34069 [!__ASSUME_32BITUIDS]: Remove conditional code.
34070 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34071 <kernel-features.h>.
34072 [__ASSUME_32BITUIDS]: Make code unconditional.
34073 [!__ASSUME_32BITUIDS]: Remove conditional code.
34074 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34075 <kernel-features.h>.
34076 [__ASSUME_32BITUIDS]: Make code unconditional.
34077 [!__ASSUME_32BITUIDS]: Remove conditional code.
34078
a386f1cc
RH
340792012-05-25 Richard Henderson <rth@twiddle.net>
34080
34081 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34082 dl_hwcap to ifunc resolver.
34083 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34084 elf_ifunc_invoke.
34085 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34086 dl_hwcap to ifunc resolver.
34087 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34088
b6550497
JM
340892012-05-24 Joseph Myers <joseph@codesourcery.com>
34090
34091 [BZ #14153]
34092 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34093 for |x| <= 2**-26, not 2**-57.
34094 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34095 exception.
34096
b0bc23a1
JL
340972012-05-24 Jeff Law <law@redhat.com>
34098
34099 * stdio-common/Makefile (tests): Add bug25.
34100 * stdio-common/bug25.c: New test.
34101
347c92e9
L
341022012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34103
34104 [BZ #13576]
34105 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34106 multiple of MALLOC_ALIGNMENT in size.
34107 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34108
6bcc8b3f
JM
341092012-05-24 Joseph Myers <joseph@codesourcery.com>
34110
34111 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34112 Require >= 256.
34113 (FILENAME_MAX): Use macro-int-constant.
34114 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34115 (_IOFBF): Use macro-int-constant.
34116 (_IOLBF): Likewise.
34117 (_IONBF): Likewise.
34118 (SEEK_CUR): Likewise.
34119 (SEEK_END): Likewise.
34120 (SEEK_SET): Likewise.
34121 (TMP_MAX): Likewise.
34122 (EOF): Use macro-int-constant. Require < 0.
34123 (NULL): Use macro-constant. Require == 0.
34124 (stdin): Require type to be FILE *.
34125 (stdout): Likewise.
34126 (stderr): Likewise.
34127 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34128 macro-int-constant.
34129 (EXIT_SUCCESS): Likewise.
34130 (NULL): Use macro-constant. Require == 0.
34131 (RAND_MAX): Use macro-int-constant.
34132 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34133 [C99-based standards] (strtof): Require function.
34134 [C99-based standards] (strtold): Likewise.
34135 [C99-based standards] (strtoll): Likewise.
34136 [C99-based standards] (strtoull): Likewise.
34137 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34138 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34139 [ISO || ISO99 || ISO11] (math.h): Likewise.
34140 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34141 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34142 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34143
d18ea0c5
AS
341442012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34145
34146 [BZ #14132]
56d25bb8
AS
34147 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34148 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34149 * intl/dgettext.c (DCGETTEXT): Likewise.
34150 * intl/gettext.c (DCGETTEXT): Likewise.
34151 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34152 * posix/regex_internal.h (gettext): Likewise.
34153 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34154 Remove declaration.
34155 * include/argz.h (__argz_count_internal)
34156 (__argz_stringify_internal): Remove declaration.
34157 (__argz_count, __argz_stringify): Declare hidden proto.
34158 * intl/dcgettext.c: Remove use of INTDEF.
34159 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34160 * string/argz-stringify.c: Likewise.
34161 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34162 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34163 Declare hidden proto.
d18ea0c5
AS
34164 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34165 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34166 Declare hidden proto.
34167 * include/stdio.h (__asprintf_internal): Don't declare.
34168 (__asprintf): Don't define as macro. Declare hidden proto.
34169 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34170 (__fsetlocking): Declare hidden proto.
34171 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34172 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34173 hidden proto.
34174 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34175 (_IO_setlinebuf): Remove use of INTUSE.
34176 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34177 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34178 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34179 Remove declaration.
34180 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34181 (_IO_do_flush): Remove use of INTUSE.
34182 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34183 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34184 (_IO_adjust_column, _IO_least_wmarker)
34185 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34186 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34187 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34188 (_IO_default_doallocate, _IO_wdefault_doallocate)
34189 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34190 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34191 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34192 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34193 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34194 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34195 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34196 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34197 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34198 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34199 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34200 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34201 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34202 proto.
34203 (_IO_flush_all_internal, _IO_adjust_column_internal)
34204 (_IO_default_uflow_internal, _IO_default_finish_internal)
34205 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34206 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34207 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34208 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34209 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34210 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34211 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34212 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34213 (_IO_file_close_internal, _IO_file_close_it_internal)
34214 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34215 (_IO_file_init_internal, _IO_file_attach_internal)
34216 (_IO_file_fopen_internal, _IO_file_read_internal)
34217 (_IO_file_sync_internal, _IO_file_seek_internal)
34218 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34219 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34220 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34221 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34222 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34223 (_IO_list_all_internal, _IO_link_in_internal)
34224 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34225 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34226 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34227 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34228 (_IO_do_write_internal, _IO_padn_internal)
34229 (_IO_getline_info_internal, _IO_getline_internal)
34230 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34231 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34232 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34233 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34234 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34235 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34236 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34237 with libc_hidden_ver, remove use of INTUSE.
34238 * libio/genops.c: Likewise.
34239 * libio/freopen.c: Likewise.
34240 * libio/freopen64.c: Likewise.
34241 * libio/iofclose.c: Likewise.
34242 * libio/iofdopen.c: Likewise.
34243 * libio/iofflush.c: Likewise.
34244 * libio/iofflush_u.c: Likewise.
34245 * libio/iofgets.c: Likewise.
34246 * libio/iofgets_u.c: Likewise.
34247 * libio/iofopen.c: Likewise.
34248 * libio/iofopncook.c: Likewise.
34249 * libio/iofread.c: Likewise.
34250 * libio/iofread_u.c: Likewise.
34251 * libio/ioftell.c: Likewise.
34252 * libio/iofwrite.c: Likewise.
34253 * libio/iogetline.c: Likewise.
34254 * libio/iogets.c: Likewise.
34255 * libio/iogetwline.c: Likewise.
34256 * libio/iopadn.c: Likewise.
34257 * libio/iopopen.c: Likewise.
34258 * libio/ioseekoff.c: Likewise.
34259 * libio/ioseekpos.c: Likewise.
34260 * libio/iosetbuffer.c: Likewise.
34261 * libio/iosetvbuf.c: Likewise.
34262 * libio/ioungetc.c: Likewise.
34263 * libio/ioungetwc.c: Likewise.
34264 * libio/iovdprintf.c: Likewise.
34265 * libio/iovsprintf.c: Likewise.
34266 * libio/iovsscanf.c: Likewise.
34267 * libio/memstream.c: Likewise.
34268 * libio/obprintf.c: Likewise.
34269 * libio/oldfileops.c: Likewise.
34270 * libio/oldiofclose.c: Likewise.
34271 * libio/oldiofdopen.c: Likewise.
34272 * libio/oldiofopen.c: Likewise.
34273 * libio/oldiopopen.c: Likewise.
34274 * libio/oldstdfiles.c: Likewise.
34275 * libio/putc.c: Likewise.
34276 * libio/setbuf.c: Likewise.
34277 * libio/setlinebuf.c: Likewise.
34278 * libio/stdfiles.c: Likewise.
34279 * libio/strops.c: Likewise.
34280 * libio/vasprintf.c: Likewise.
34281 * libio/vscanf.c: Likewise.
34282 * libio/vsnprintf.c: Likewise.
34283 * libio/vswprintf.c: Likewise.
34284 * libio/wfiledoalloc.c: Likewise.
34285 * libio/wfileops.c: Likewise.
34286 * libio/wgenops.c: Likewise.
34287 * libio/wmemstream.c: Likewise.
34288 * libio/wstrops.c: Likewise.
34289 * libio/__fpurge.c: Likewise.
34290 * libio/__fsetlocking.c: Likewise.
34291 * assert/assert.c: Likewise.
34292 * debug/fgets_chk.c: Likewise.
34293 * debug/fgets_u_chk.c: Likewise.
34294 * debug/fread_chk.c: Likewise.
34295 * debug/fread_u_chk.c: Likewise.
34296 * debug/gets_chk.c: Likewise.
34297 * debug/obprintf_chk.c: Likewise.
34298 * debug/vasprintf_chk.c: Likewise.
34299 * debug/vdprintf_chk.c: Likewise.
34300 * debug/vsnprintf_chk.c: Likewise.
34301 * debug/vsprintf_chk.c: Likewise.
34302 * malloc/mtrace.c: Likewise.
34303 * misc/error.c: Likewise.
34304 * misc/syslog.c: Likewise.
34305 * stdio-common/asprintf.c: Likewise.
34306 * stdio-common/fxprintf.c: Likewise.
34307 * stdio-common/getw.c: Likewise.
34308 * stdio-common/isoc99_fscanf.c: Likewise.
34309 * stdio-common/isoc99_scanf.c: Likewise.
34310 * stdio-common/isoc99_vfscanf.c: Likewise.
34311 * stdio-common/isoc99_vscanf.c: Likewise.
34312 * stdio-common/isoc99_vsscanf.c: Likewise.
34313 * stdio-common/printf-prs.c: Likewise.
34314 * stdio-common/printf_fp.c: Likewise.
34315 * stdio-common/printf_fphex.c: Likewise.
34316 * stdio-common/printf_size.c: Likewise.
34317 * stdio-common/putw.c: Likewise.
34318 * stdio-common/scanf.c: Likewise.
34319 * stdio-common/sprintf.c: Likewise.
34320 * stdio-common/tmpfile.c: Likewise.
34321 * stdio-common/vfprintf.c: Likewise.
34322 * stdio-common/vfscanf.c: Likewise.
34323 * stdlib/strfmon_l.c: Likewise.
34324 * sunrpc/openchild.c: Likewise.
34325 * sunrpc/xdr_stdio.c: Likewise.
34326 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34327 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34328
d6c33fda
RM
343292012-05-24 Roland McGrath <roland@hack.frob.com>
34330
c1487492
RM
34331 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34332
34333 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34334 in the third column, to generate for the shared library an IFUNC
34335 that uses _dl_vdso_vsym.
34336 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34337 * Makeconfig (object-suffixes-noshared): New variable.
34338
34339 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34340 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34341 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34342 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34343
d6c33fda
RM
34344 [BZ #14132]
34345 * include/sys/time.h (__gettimeofday): Remove macro.
34346 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34347 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34348 Remove INTDEF.
34349 (__gettimeofday): Add libc_hidden_def.
34350 (gettimeofday): Add libc_hidden_weak.
34351 * sysdeps/mach/gettimeofday.c: Likewise.
34352 * sysdeps/posix/gettimeofday.c: Likewise.
34353 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34354 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34355 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34356 (__gettimeofday_internal): Remove strong_alias.
34357 (__gettimeofday): Add libc_hidden_def.
34358 (gettimeofday): Add libc_hidden_weak.
34359 * sysdeps/unix/syscalls.list (gettimeofday):
34360 Remove __gettimeofday_internal alias.
34361
b5a2bbe6
L
343622012-05-24 Daniel Jacobowitz <drow@false.org>
34363 H.J. Lu <hongjiu.lu@intel.com>
34364
34365 [BZ #12495]
34366 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34367 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34368 (largebin_index_32_big): New.
34369 (largebin_index): Use it for 16-byte alignment.
34370 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34371 correction with front_misalign.
34372
cfba4fda
L
343732012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34374
7f907421
L
34375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34377 Likewise.
34378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34379 Likewise.
34380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34381 Likewise.
34382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34383 Likewise.
34384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34385 Likewise.
34386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34387 Likewise.
34388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34389 Likewise.
34390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34391 Likewise.
34392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34393 Likewise.
34394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34395 Likewise.
34396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34397 Likewise.
34398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34399 Likewise.
34400
cfba4fda
L
34401 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34402 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34403
80bad0cc
JM
344042012-05-24 Joseph Myers <joseph@codesourcery.com>
34405
7a25eb06
JM
34406 [BZ #10846]
34407 [BZ #14036]
34408 * math/libm-test.inc (exp_test): Add test from bug 14036.
34409 (pow_test): Add test from bug 10846.
34410
795405f9
JM
34411 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34412 and other flags.
34413 (special_function): Do not include flags in test name.
34414 (parse_args): Likewise.
34415 * sysdeps/i386/fpu/libm-test-ulps: Update.
34416 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34417 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34418 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34420
80bad0cc
JM
34421 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34422 exceptions.
34423 * math/libm-test.inc ("Philosophy"): Update comment about
34424 exception testing.
34425 (UNDERFLOW_EXCEPTION): New macro.
34426 (UNDERFLOW_EXCEPTION_OK): Likewise.
34427 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34428 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34429 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34430 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34431 (INVALID_EXCEPTION_OK): Update value.
34432 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34433 (OVERFLOW_EXCEPTION_OK): Likewise.
34434 (IGNORE_ZERO_INF_SIGN): Likewise.
34435 (test_exceptions): Handle underflow exceptions.
34436 (acos_test): Update for underflow exception expectations.
34437 (cexp_test): Likewise.
34438 (clog_test): Likewise.
34439 (clog10_test): Likewise.
34440 (csqrt_test): Likewise.
34441 (ctan_test): Likewise.
34442 (ctanh_test): Likewise.
34443 (exp_test): Likewise.
34444 (exp10_test): Likewise.
34445 (exp2_test): Likewise.
34446 (expm1_test): Likewise.
34447 (fma_test): Likewise.
34448 (j0_test): Likewise.
34449 (jn_test): Likewise.
34450 (nexttoward_test): Likewise.
34451 (pow_test): Likewise.
34452 (scalbn_test): Likewise.
34453 (scalbln_test): Likewise.
34454 (tan_test): Likewise.
34455 (y1_test): Likewise.
34456 * sysdeps/i386/fpu/libm-test-ulps: Update.
34457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34458
9e0e3d0b
DM
344592012-05-23 David S. Miller <davem@davemloft.net>
34460
34461 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34462 (__libc_sigaction): Remove unused local variables.
34463
ccd0a08f
L
344642012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34465
34466 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34467
62bdf9a6
PE
344682012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34469
f8591f80
PE
34470 mktime: avoid signed integer overflow
34471 * time/mktime.c (__mktime_internal): Do not mishandle the case
34472 where diff == INT_MIN.
34473
94c7d826
PE
34474 mktime: simplify computation of average
34475 * time/mktime.c (ranged_convert): Use new time_t_avg function
34476 instead of rolling our own (probably-slower) code.
34477
ce73d683
PE
34478 mktime: do not assume signed right shift propagates sign bit
34479 * time/mktime.c (isdst_differ): New static function.
34480 (__mktime_internal): No need to normalize tm_isdst now.
34481 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34482 tm_isdst values.
34483
72a22e59
PE
34484 mktime: merge another wrapv change from gnulib
34485 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34486 from some compilers.
34487
68605433
PE
34488 mktime: remove incorrect attempt at unusual arithmetics
34489 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34490 The code didn't really work on such machines anyway.
34491 (TYPE_MINIMUM): Assume two's complement.
34492 (twos_complement_arithmetic): Verify that long_int and time_t
34493 are two's complement (or unsigned, in the latter case).
34494
03cf7fe3
PE
34495 mktime: check signed shifts on long_int and time_t, too
34496 * time/mktime.c (SHR): Check that shifts work as desired
34497 on the types long_int and time_t too, as SHR is used on
34498 such types.
34499
f04dfbc2
PE
34500 mktime: do not assume 'long' is wide enough
34501 * time/mktime.c (verify): Move decl up.
34502 (long_int): New type.
34503 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34504 to remove assumption in the code that 'long' is wide enough to
34505 store year values. This assumption is not true on x32 and on
34506 some non-glibc platforms.
34507
62bdf9a6
PE
34508 mktime: merge wrapv change from gnulib
34509 * time/mktime.c (WRAPV): New macro.
34510 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34511 (guess_time_tm, __mktime_internal): Do not assume that signed
34512 integer overflow wraps around; modern compilers generate code
34513 where this assumption is no longer valid.
34514
5e292e4f
L
345152012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34516
34517 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34518 Replace "jmp L(pseudo_end)" with "ret".
34519 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34520 Likewise.
34521
8caf8c87
AJ
345222012-05-23 Andreas Jaeger <aj@suse.de>
34523
34524 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34525 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34526
1a09dc56
AJ
345272012-05-23 Andreas Jaeger <aj@suse.de>
34528 Maximilian Attems <max@stro.at>
34529
34530 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34531 New macros.
34532
1c87aba0
L
345332012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34534
34535 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34536 code so that pseudo_end is just ret and the stack pointer is
34537 correct also for static library in error case.
34538
40e45bd5
JM
345392012-05-23 Joseph Myers <joseph@codesourcery.com>
34540
c2670533
JM
34541 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34542 move to syscalls.list.
34543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34547
40e45bd5
JM
34548 * manual/install.texi (Running make install): Do not mention Linux
34549 kernel version for which pt_chown is not needed.
34550 (Linux): Do not mention problems with nscd with 2.0 kernels.
34551 * INSTALL: Regenerated.
34552
be08eda5
AJ
345532012-05-23 Andreas Jaeger <aj@suse.de>
34554
34555 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34556 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34557 macro.
34558 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34559 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34560 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34561 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34562 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34563 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34564 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34565 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34566 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34567 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34568 * sysdeps/unix/sysv/linux/bits/in.h
34569 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34570
a6a056bb
RM
345712012-05-22 Roland McGrath <roland@hack.frob.com>
34572
34573 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34574 (PREPARE_VERSION): Just use assert instead, it will be elided
34575 under [NDEBUG] anyway.
34576
c9009328
L
345772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34578
34579 * sysdeps/unix/sysv/linux/Makefile: Include
34580 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 34581 (sysdep_routines): Remove sysctl.
c9009328
L
34582 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34583 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34584 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34585 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34586 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34587
73338355
AJ
345882012-05-22 Andreas Jaeger <aj@suse.de>
34589
34590 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34591 that pseudo_end is just ret and the stack pointer is correct also
34592 for static library in error case.
34593
d44638b0
PP
345942012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34595
34596 [BZ #14122]
34597 * nss/nsswitch.c (defconfig_entries): New variable.
34598 (__nss_database_lookup): Don't leak defconfig entries.
34599 (nss_parse_service_list): Don't leak on error paths.
34600 (free_database_entries): New function.
34601 (free_defconfig): New function.
34602 (free_mem): Move common code to free_database_entries.
34603
31a39bd8
L
346042012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34605
da0331a8
L
34606 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34607 Add arch_prctl.
34608 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34609
31a39bd8
L
34610 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34611 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34612 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34613 New macro.
34614 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34615 (INTERNAL_SYSCALL_TYPES): Likewise.
34616 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34617 (LOAD_REGS_TYPES_[1-6]): Likewise.
34618 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34619 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34620
45470df3
AZ
346212012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34622
34623 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34624 copysignl for GLIBC_2_0.
34625 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34626 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34627 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34628 logbl for GLIBC_2_0.
34629 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34630 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34631
98a61bcb
L
346322012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34633
a4f6e481
L
34634 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34635 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34636
f63d5db6
L
34637 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34638 Use "neg %eax".
34639
98a61bcb
L
34640 * time/mktime.c: Update copyright years.
34641
95770f14
PE
346422012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34643
6226efbd
PE
34644 mktime: merge comment-quoting-style change from gnulib
34645 * time/mktime.c: Quote 'like this' in comments.
34646 The GNU coding standards suggest that we no longer quote `like this',
34647 as "`" and "'" are typically rendered asymmetrically nowadays.
34648 The typical gnulib style is to quote 'like this' when quoting
34649 code, and "like this" when quoting English.
34650
b99e4f78
PE
34651 * time/mktime.c (compile-command): Add "-I.".
34652
643e01e6
PE
34653 mktime: merge mktime-internal.h change from gnulib
34654 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34655
2554247d
PE
34656 mktime: merge time_r change from gnulib
34657 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34658
826dd0ab
PE
34659 mktime: merge DEBUG change from gnulib
34660 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34661 case system <time.h> has a #define.
34662
bd83aabe
PE
34663 mktime: merge <sys/types.h> change from gnulib
34664 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34665 since <time.t> is now guaranteed to define time_t.
34666
95770f14
PE
34667 mktime: merge HAVE_CONFIG_H change from gnulib
34668 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34669
5e1a27a9
L
346702012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34671
0e44a77e
L
34672 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34673 Use "neg %eax".
34674
5e1a27a9
L
34675 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34676 __rlim_t cast.
34677 (struct rusage): Use anonymous union to pad each field to
34678 __syscall_slong_t.
34679
46259bec
DM
346802012-05-21 David S. Miller <davem@davemloft.net>
34681
34682 * Makefules (o-iterator): Remove .s cases.
34683 (compile-command.s): Delete.
34684 (COMPILE.s): Delete.
34685 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34686
59f0c22e
JM
346872012-05-21 Joseph Myers <joseph@codesourcery.com>
34688
34689 * configure.in (libc_cv_predef_stack_protector): Only consider
34690 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34691 * configure: Regenerated.
34692
20c07380
L
346932012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34694
bbb3154b
L
34695 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34696 New macro. Use R*LP on int and pointer.
34697 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
34698 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34699 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
34700 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34701
20c07380
L
34702 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34703 [__WORDSIZE_TIME64_COMPAT32] instead of
34704 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34705 (struct utmp): Likewise.
34706 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34707 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34708 Renamed to ...
34709 (__WORDSIZE_TIME64_COMPAT32): This.
34710 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34711 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34712 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34713 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34714 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34715 (__WORDSIZE_TIME64_COMPAT32): New macro.
34716
d8d1017e
AJ
347172012-05-21 Andreas Jaeger <aj@suse.de>
34718
34719 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34720 only if [SHARED]. Add prototype for __wcschr_ia32.
34721
6c7fb145
RM
347222012-05-21 Roland McGrath <roland@hack.frob.com>
34723
34724 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34725 of %rbp unmolested in the jmp_buf while mangling the low bits.
34726 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34727 unmolested high bits of %rbp while demangling the low bits.
34728 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34729
66274218
AJ
347302012-05-21 Andreas Jaeger <aj@suse.de>
34731
07c58f8f
AJ
34732 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34733 * sunrpc/svc_simple.c: Use it for registerrpc.
34734 * sunrpc/xcrypt.c: Use it for passwd2des.
34735
66274218
AJ
34736 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34737
61f65140
L
347382012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34739
34740 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34741 Don't define if [__SYSCALL_WORDSIZE != 32].
34742 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34743 New macro.
34744
5fefb436
AJ
347452012-05-21 Bruno Haible <bruno@clisp.org>
34746 Andreas Jaeger <aj@suse.de>
34747
34748 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34749 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34750 inptr and inend for must_buffer_ch.
34751 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34752 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34753 * stdio-common/Makefile (tests): Remove bug15.
34754 (bug15-ENV): Remove macro.
34755 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34756 anymore.
34757
d8e272ab
AJ
347582012-05-19 Andreas Jaeger <aj@suse.de>
34759 Roland McGrath <roland@hack.frob.com>
34760
34761 * manual/contrib.texi: Completely rewritten. It contains now an
34762 alphabetical list of contributors and their contributions.
34763
4a56a162
RH
347642012-05-21 Richard Henderson <rth@twiddle.net>
34765
34766 * misc/getauxval.c (__getauxval): Use unsigned long int.
34767 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34768 (getauxval): Use unsigned long int.
34769
d024d23c
L
347702012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34771
34772 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34773
cbc00a03
RM
347742012-05-21 Roland McGrath <roland@hack.frob.com>
34775
34776 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34777 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34778 __alignof__ (long double).
34779
478143fa
AZ
347802012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34781
34782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34783
c7683a6d
RH
347842012-05-20 Richard Henderson <rth@twiddle.net>
34785
34786 * misc/getauxval.c: New file.
34787 * misc/sys/auxv.h: New file.
34788 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34789 (routines): Add getauxval.
34790 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34791 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34792 * elf/dl-sysdep.c (_dl_auxv): Remove.
34793 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34794 * elf/dl-support.c (_dl_auxv): New variable.
34795 (_dl_aux_init): Initialize it.
34796 * manual/startup.texi (Auxiliary Vector): New node.
34797 * sysdeps/generic/bits/hwcap.h: New file.
34798 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34799 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34800 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34801 * sysdeps/sparc/sysdep.h: ... here. Include it.
34802 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34803 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
34804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34805 Update.
c7683a6d
RH
34806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34809 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34814
a6f1845d
AZ
348152012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34816
34817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34818
cbcbe830
DM
348192012-05-19 David S. Miller <davem@davemloft.net>
34820
34821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34822
e0b16cc2
JM
348232012-05-19 Joseph Myers <joseph@codesourcery.com>
34824
34825 [BZ #14123]
34826 * math/s_ccosh.c: Include <float.h>
34827 (__ccosh): Avoid internal overflow calculating sinh and cosh
34828 values before multiplying by sin and cos values.
34829 * math/s_ccoshf.c: Likewise.
34830 * math/s_ccoshl.c: Likewise.
34831 * math/s_csin.c: Likewise.
34832 * math/s_csinf.c: Likewise.
34833 * math/s_csinl.c: Likewise.
34834 * math/s_csinh.c: Likewise.
34835 * math/s_csinhf.c: Likewise.
34836 * math/s_csinhl.c: Likewise.
34837 * math/libm-test.inc (ccos_test): Add more tests.
34838 (ccosh_test): Likewise.
34839 (csin_test): Likewise.
34840 (csinh_test): Likewise.
34841 * sysdeps/i386/fpu/libm-test-ulps: Update.
34842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34843
6ad13e08
L
348442012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34845
f66f0ce8
L
34846 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34847 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34848
6ad13e08
L
34849 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34850
b1d072a7
JM
348512012-05-19 Joseph Myers <joseph@codesourcery.com>
34852
34853 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34854 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34855 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34856 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34857 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34858 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34859 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34860 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34861 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34862 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34863 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34864 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34865 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34866 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34867 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34868 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34869 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34870 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34871 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34872 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34873 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34874 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34875 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34876 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34877 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34878 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34879 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34880 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34881 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34882 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34883 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34884
9eae47cb
AJ
348852012-05-18 Andreas Jaeger <aj@suse.de>
34886
34887 * csu/.gitignore: Delete.
34888
bb07f69f
L
348892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34890
34891 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34892 (timex): Use __syscall_slong_t.
34893
e6bdb741
AJ
348942012-05-18 Andreas Jaeger <aj@suse.de>
34895 Carlos O'Donell <carlos_odonell@mentor.com>
34896
34897 * manual/install.texi (Configuring and compiling): Update
34898 description about files modified in the source directory.
d6c33fda 34899 * INSTALL: Regenerated.
e6bdb741 34900
1b74487e
L
349012012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34902
34903 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34904 value. Use "or" to set return value to -1.
34905 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34906 negate return value.
34907
a88b64b9
TMQMF
349082012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34909
57f41c40
AS
34910 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34911 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
34912 failure if the compiler has Graphite support disabled.
34913 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34914 Likewise.
57f41c40
AS
34915 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34916 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
34917 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34918 Likewise.
34919
3707636e
L
349202012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34921
610b8622
L
34922 * sysdeps/x86_64/x32/_itoa.h: New file.
34923
7cd195df
L
34924 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34925 getdents system call only if kernel and user dirents have the
34926 same d_ino and d_off.
34927
94b07d20
L
34928 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34929 LLONG_MAX != LONG_MAX.
34930 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34931 (_fitoa_word): Likewise.
34932
18298070
L
34933 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34934 years.
34935 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34936 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34937 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34938
553c7ea4
L
34939 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34940 include <bits/wordsize.h>. Check __x86_64__ instead of
34941 __WORDSIZE.
34942 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34943 if __x86_64__ is defined. Use anonymous union on fpstate.
34944
3707636e
L
34945 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34946 anonymous union.
34947
b53ef01a
AS
349482012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34949
37fb1dc0
AS
34950 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34951 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34952 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34953 Refer to _rtld_local_ro instead of _rtld_global_ro.
34954 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34955 Likewise.
34956 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34957 Likewise.
34958 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34959 Likewise.
34960 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34961 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34962 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34963
b53ef01a
AS
34964 * sysdeps/powerpc/powerpc32/dl-machine.c
34965 (__elf_machine_runtime_setup) [PROF]: Don't reference
34966 _dl_prof_resolve.
34967
7a185db2
AJ
349682012-05-18 Andreas Jaeger <aj@suse.de>
34969
34970 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34971 function only available for GCCs before 3.4 since GCC 3.4
34972 introduced a builtin.
34973 (lrint): Likewise.
34974 (llrintf): Likewise.
34975 (llrint): Likewise.
34976 (fmaxf): Likewise.
34977 (fmax): Likewise.
34978 (fminf): Likewise.
34979 (fmin): Likewise.
34980 (rint): Likewise.
34981 (rintf): Likewise.
34982 (nearbyint): Likewise.
34983 (nearbyintf): Likewise.
34984 (ceil): Likewise.
34985 (ceilf): Likewise.
34986 (floor): Likewise.
34987 (floorf): Likewise.
34988
3e5aef87
L
349892012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34990
428bd707
L
34991 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34992 on both fields and cast pointer to __syscall_ulong_t.
34993
3e5aef87
L
34994 * bits/types.h (__fsword_t): New type.
34995 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34996 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34997 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34998 (__FSWORD_T_TYPE): Likewise.
34999 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35000 (__FSWORD_T_TYPE): Likewise.
35001 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35002 (__FSWORD_T_TYPE): Likewise.
35003 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35004 (__FSWORD_T_TYPE): Likewise.
35005 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35006 __SWORD_TYPE with __fsword_t.
35007 (statfs64): Likewise.
35008
1ba7c3dc
DM
350092012-05-17 David S. Miller <davem@davemloft.net>
35010
35011 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35012
59910343
AJ
350132012-05-17 Andreas Jaeger <aj@suse.de>
35014
35015 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35016 warning.
35017
2e4c1e9e
L
350182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35019
35020 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35021
de7f5ce7
AJ
350222012-05-17 Andreas Jaeger <aj@suse.de>
35023
35024 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35025 when it is used.
35026
286abc3d
CM
350272012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35028
35029 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35030
477cc68e
L
350312012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35032
35033 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35034 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35035
1a0994f5
CD
350362012-05-17 Andreas Jaeger <aj@suse.de>
35037 Carlos O'Donell <carlos_odonell@mentor.com>
35038
35039 [BZ #14059]
35040 * sysdeps/x86_64/multiarch/init-arch.h
35041 (bit_YMM_Usable): Rename to...
35042 (bit_AVX_Usable): ... this.
35043 (bit_FMA4_Usable): New macro.
35044 (bit_XMM_state): New macro.
35045 (bit_YMM_state): New macro.
35046 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35047 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35048 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35049 (CPUID_OSXSAVE): New macro.
35050 (CPUID_AVX): New macro.
35051 (CPUID_FMA4): New macro.
35052 (index_YMM_Usable): Rename to...
35053 (index_AVX_Usable): ... this.
35054 (HAS_AVX): Use HAS_ARCH_FEATURE.
35055 (HAS_FMA4): Likewise.
35056 (HAS_YMM_USABLE): Remove.
35057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35058 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35059 are present.
35060 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35061 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35062 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35063 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35064 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35065
0af797de
CM
350662012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35067
35068 * math/libm-test.c: Support platforms without multiple rounding modes.
35069 * math/bug-nextafter.c: Support platforms without FP exceptions.
35070 * math/bug-nexttoward.c: Likewise.
35071 * math/test-fenv.c: Likewise.
35072 * math/test-misc.c: Likewise.
35073 * stdlib/bug-getcontext.c: Likewise.
35074
e39745ff
AJ
350752012-05-17 Andreas Jaeger <aj@suse.de>
35076
35077 * manual/examples/search.c (critter_cmp): Change signature to
35078 avoid warnings.
35079 * manual/string.texi (Collation Functions): Likewise.
35080
48970aba
L
350812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35082
35083 * bits/types.h: Fold copyright years.
35084 * bits/typesizes.h: Likewise.
35085 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35086 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35087 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35088 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35089 * time/time.h: Likewise.
35090
bedee953
PP
350912012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35092
35093 [BZ #208]
35094 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35095 in instead of returning them. Return void.
35096 (__libc_mallinfo): Accumulate over all arenas.
35097 (__malloc_stats): Adjust for change in int_mallinfo interface.
35098
61653dfb
RM
350992012-05-16 Roland McGrath <roland@hack.frob.com>
35100
30b99d79
RM
35101 [BZ #10375]
35102 * configure.in (NM): Add AC_CHECK_TOOL for it.
35103 (libc_extra_cflags): New substituted variable.
35104 Check for -fstack-protector being used implicitly.
35105 * configure: Regenerated.
35106 * config.make.in (config-extra-cflags): New variable,
35107 gets @libc_extra_cflags@.
35108 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35109
61653dfb
RM
35110 [BZ #10375]
35111 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35112 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35113 * configure: Regenerated.
35114 * config.make.in (CPPUNDEFS): New substituted variable.
35115 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35116 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35117 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35118
661768bb
L
351192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35120
35121 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35122 (mq_attr): Use __syscall_slong_t.
35123
d4261567
L
351242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35125
35126 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35127 Check __x86_64__ instead of __WORDSIZE.
35128 (_STAT_VER_LINUX): Likewise.
35129 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35130 __syscall_ulong_t and __syscall_slong_t.
35131 (stat64): Likewise.
35132
cf3ff365
L
351332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35134
35135 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35136
76cf3e4d
L
351372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35138
35139 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35140
a637753a
L
351412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35142
35143 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35144 __syscall_ulong_t.
35145
d5e05119
L
35146 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35147 include <bits/wordsize.h>. Check __x86_64__ instead of
35148 __WORDSIZE.
35149 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35150 defined.
35151 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35152
f62ee380
L
35153 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35154 include <bits/wordsize.h>. Check __x86_64__ instead of
35155 __WORDSIZE.
35156 (user_regs_struct): Use "__extension__ unsigned long long"
35157 instead of "unsigned long" if __x86_64__ is defined.
35158 (user): Likewise. Pad after pointer field if __ILP32__ is
35159 defined.
35160
4e124ced
JM
351612012-05-16 Joseph Myers <joseph@codesourcery.com>
35162
6a3951a0
JM
35163 * configure.in (makeinfo): Require version 4.5 or later. Allow
35164 versions 5 to 9.
35165 * configure: Regenerated.
35166 * manual/install.texi (texinfo): Increase version requirement to
35167 4.5 or later.
35168 * INSTALL: Regenerated.
35169
4e124ced
JM
35170 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35171
953ca31a
L
351722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35173
35174 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35175
617aca05
L
35176 * sysdeps/x86_64/x32/ffs.c: New file.
35177
5762f7ae
L
35178 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35179 __syscall_ulong_t.
35180 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35181 defined. Use __syscall_ulong_t.
35182 (shminfo): Use __syscall_ulong_t.
35183 (shm_info): Likewise.
35184
a26b6856
L
35185 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35186 __syscall_ulong_t.
35187
cb2b9ef7
L
35188 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35189 <bits/wordsize.h>.
35190 (msgqnum_t): Use __syscall_ulong_t.
35191 (msglen_t): Likewise.
35192 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35193 __syscall_ulong_t.
35194
34683bb0
L
35195 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35196 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35197
84a68786
L
35198 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35199
48baa5f1
L
35200 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35201 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35202
180be88b
L
35203 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35204 __syscall_slong_t.
35205
5e90c8ad
L
35206 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35207 include <bits/wordsize.h>. Check __x86_64__ instead of
35208 __WORDSIZE.
35209
23dfb58b
L
35210 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35211 "unsigned long long int" if __x86_64__ is defined.
35212 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35213
ce5d54b0
L
35214 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35215 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35216 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35217
13dc9eac
L
35218 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35219 <stdint.h>.
35220 (GET_PC): Cast to uintptr_t first.
35221 (GET_FRAME): Likewise.
35222 (GET_STACK): Likewise.
35223
a7895d15
L
35224 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35225 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35226 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35227 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35228 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35229 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35230 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35231 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35232 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35233 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35234 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35235 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35236 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35237 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35238 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35239 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35240 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35241 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35242 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35243 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35244 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35245 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35246 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35247 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35248 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35249 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35250 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35251 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35252 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35253
656416c9
AS
352542012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35255
5bd66283
AS
35256 * Makerules (+depfiles): Also collect depfiles from .oS in
35257 $(extra-objs).
35258 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35259 .oS, $(libnldbl-routines)).
35260
656416c9
AS
35261 * Makerules (native-compile-mkdep-flags): Define.
35262 * sunrpc/Makefile (extra-objs): Add $(addprefix
35263 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35264 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35265 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35266 calling $(make-target-directory).
35267
a46f2169
L
352682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35269
35270 * bits/types.h (__snseconds_t): Removed.
35271 * time/time.h (struct timespec): Replace __snseconds_t with
35272 __syscall_slong_t.
35273 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35274 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35275 Likewise.
35276 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35277 (__SNSECONDS_T_TYPE): Likewise.
35278 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35279 (__SNSECONDS_T_TYPE): Likewise.
35280 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35281 (__SNSECONDS_T_TYPE): Likewise.
35282
6af6528b
L
352832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35284
35285 * sysdeps/mach/hurd/bits/typesizes.h
35286 (__SYSCALL_SLONG_TYPE): New macro.
35287 (__SYSCALL_ULONG_TYPE): Likewise.
35288
de986b56
L
352892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35290
35291 * bits/types.h (__syscall_slong_t): New type.
35292 (__syscall_ulong_t): Likewise.
35293
35294 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35295 (__SYSCALL_ULONG_TYPE): Likewise.
35296 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35297 (__SYSCALL_SLONG_TYPE): Likewise.
35298 (__SYSCALL_ULONG_TYPE): Likewise.
35299 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35300 (__SYSCALL_SLONG_TYPE): Likewise.
35301 (__SYSCALL_ULONG_TYPE): Likewise.
35302 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35303 (__SYSCALL_SLONG_TYPE): Likewise.
35304 (__SYSCALL_ULONG_TYPE): Likewise.
35305
85736dc7
L
353062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35307
35308 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35309 Add sigaltstack-offsets.sym.
35310 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35311 <sigaltstack-offsets.h>.
35312 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35313 longjmp_msg pointer.
35314 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35315 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35316 signal stack.
35317 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35318
cc03b296
JM
353192012-05-15 Joseph Myers <joseph@codesourcery.com>
35320
a9538892
JM
35321 * elf/stackguard-macros.h: Remove file.
35322 * sysdeps/generic/stackguard-macros.h: New file.
35323 * sysdeps/i386/stackguard-macros.h: Likewise.
35324 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35325 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35326 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35327 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35328 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35329 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35330 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35331 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35332 <elf/stackguard-macros.h>.
35333
cc03b296
JM
35334 [BZ #14109]
35335 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35336 __aligned__ in attribute.
35337 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35338 (gregset_t): Likewise.
35339
93171016
L
353402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35341
35342 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35343 * sysdeps/x86_64/64/Implies-after: Here. New file.
35344 * sysdeps/x86_64/x32/Implies-after: New file.
35345
d86813a0
L
353462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35347
35348 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35349 and access return value for _dl_profile_fixup. Use R10_LP to
35350 load frame size.
35351
2953ec75
L
353522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35353
35354 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35355
3b550e9e
L
353562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35357
35358 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35359 * sysdeps/x86_64/x32/sysdep.h: New file.
35360
eda41706
L
353612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35362
35363 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35364 * sysdeps/x86_64/setjmp.S: Likewise.
35365
9ea01d93
AZ
353662012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35367
35368 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35369 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35370 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35371 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35372 remove unused global constant.
35373
02a91938
CM
353742012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35375
35376 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35377 include of <not-cancel.h>.
35378
6540185f
RM
353792012-05-15 Roland McGrath <roland@hack.frob.com>
35380
35381 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35382
509072a0
AJ
353832012-05-15 Jeff Law <law@redhat.com>
35384 Andreas Jaeger <aj@suse.de>
35385
35386 [BZ #13594]
35387 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35388 out from...
35389 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35390 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35391 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35392 code changing __hst_map_handle.map.
35393
ba75122d
RM
353942012-05-15 Roland McGrath <roland@hack.frob.com>
35395
35396 * configure.in (sysnames): Look for Implies-before and Implies-after
35397 files.
35398 * configure: Regenerated.
35399
890d8bd8
L
354002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35401
35402 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35403 8-byte data alignment with LP_SIZE alignment.
35404
f6ee6623
L
354052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35406
35407 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35408 into R10_LP.
35409
ea2626f6
L
354102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35411
35412 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35413
085f715e
L
354142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35415
35416 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35417 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35418 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35419 Likewise.
35420 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35421
be8498fc
L
354222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35423
35424 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35425 (stackinfo_sub_sp): Likewise.
35426
70bc83b9
L
354272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35428
35429 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35430 RAX_LP.
35431
9bc0b730
L
354322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35433
35434 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35435 into R*_LP.
35436
6d2850e7
L
354372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35438
35439 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35440 sizes into R*_LP.
35441
3cb84561
L
354422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35443
35444 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35445
54e2ed81
L
354462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35447
35448 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35449 into R11_LP and load __x86_64_shared_cache_size_half into
35450 R8_LP.
35451
8a17f349
L
354522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35453
35454 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35455 R8_LP.
35456
777b1eea
AZ
354572012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35458
35459 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35460 logb for POWER7.
35461 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35462 logbf for POWER7.
35463 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35464 logbl for POWER7.
35465 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35466 powerpc32/power7/fpu/s_logb.c via #include.
35467 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35468 powerpc32/power7/fpu/s_logbf.c via #include.
35469 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35470 powerpc32/power7/fpu/s_logbl.c via #include.
35471
d20d4ac2
JM
354722012-05-15 Joseph Myers <joseph@codesourcery.com>
35473
35474 * README.libm: Remove file.
35475
6cdef1ab
L
354762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35477
35478 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35479 count for x32. Use R*_LP and omit operand-size suffix.
35480
0b254d8f
L
354812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35482
35483 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35484 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35485 * sysdeps/x86_64/x32/shlib-versions: New file.
35486
ceb809dc
RM
354872012-05-14 Roland McGrath <roland@hack.frob.com>
35488
35489 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35490 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35491 Use _dl_fatal_printf instead.
35492
37f1abd4
JM
354932012-05-14 Joseph Myers <joseph@codesourcery.com>
35494
35495 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35496 set if not set by the user. Do not allow for being unset.
35497 * sysdeps/unix/sysv/linux/configure: Regenerated.
35498
11de3a33
L
354992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35500
35501 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35502 the `q' suffix from lea and replace .quad with ASM_ADDR.
35503
e02f153a
L
355042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35505
35506 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35507 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35508 instead of $17.
35509 (PTR_DEMANGLE): Likewise.
35510
520ae0fd
L
355112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35512
35513 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35514 (LP_OP): Likewise.
35515 (ASM_ADDR): Likewise.
35516 (RAX_LP): Likewise.
35517 (RBP_LP): Likewise.
35518 (RBX_LP): Likewise.
35519 (RCX_LP): Likewise.
35520 (RDI_LP): Likewise.
35521 (RSI_LP): Likewise.
35522 (RSP_LP): Likewise.
35523 (R8_LP): Likewise.
35524 (R9_LP): Likewise.
35525 (R10_LP): Likewise.
35526 (R10_LP): Likewise.
35527 (R11_LP): Likewise.
35528 (R12_LP): Likewise.
35529 (R13_LP): Likewise.
35530 (R14_LP): Likewise.
35531 (R15_LP): Likewise.
35532
b985be81
L
355332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35534
35535 * sysdeps/x86_64/x32/dl-machine.h: New file.
35536
6a4888ff
AJ
355372012-05-14 Andreas Jaeger <aj@suse.de>
35538
35539 * manual/Makefile (subdir): Remove export of subdir.
35540 (all): Remove target.
35541 (.PHONY): Remove all from list.
35542 (mkinstalldirs): Remove.
35543 (.PHONY): Remove installdirs from list.
35544 ($(inst_infodir)/libc.info): Use make-target-directory.
35545 (installdirs): Remove.
35546 (subdir_%): Remove.
35547 (glibc-targets): Remove.
35548 (lib): Remove.
35549 (stubs): Remove.
35550 ($(objpfx)stubs ../po/manual.pot): Remove.
35551 ($(objpfx)stamp%): Remove.
35552 (make-target-directory): Remove.
35553 (subdir_install): Remove.
35554 (routines): Remove.
35555 (aux): Remove.
35556 (sources): Remove.
35557 (objects): Remove.
35558 (headers): Remove.
35559
35560 [BZ #13750]
35561 * manual/.gitignore: Remove, it's not needed anymore.
35562 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35563 all files in it.
35564 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35565 directory.
35566 (texis): Renamed to $(objpfx)texis.
35567 (texis-path): New, contains path to generated files.
35568 (chapters.%): Use texis-path for complete path, add extra argument
35569 libc-texinfo.sh.
35570 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35571 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35572 (summary,texi, stamp-summary): Use complete path of
35573 files. Generate files in build dir.
35574 (dir-add.texi): Build in build dir.
35575 (libm-err.texi,stamp-libm-err): Likewise.
35576 (version.texi, stamp-version): Likewise.
35577 (.%c.texi): Likewise.
35578 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35579 (mostlyclean): Remove target.
35580 (realclean): Remove target.
35581 (generated): Add new variable with contents from mostlyclean and
35582 realclean, remove entries duplicated in common-mostlyclean, add
35583 stamp-libm-err and stamp-version.
35584 (generated-dirs): Add libc directory.
35585 ($(inst_infodir)/libc.info): Install files from build dir.
35586
35587 * manual/install.texi (Configuring and compiling): Adjust since
35588 the info files are not part of the tar ball anymore.
35589
7ac77294
AJ
355902012-05-14 Andreas Jaeger <aj@suse.de>
35591
35592 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35593 variable.
35594
ffb7875d
JM
355952012-05-14 Joseph Myers <joseph@codesourcery.com>
35596
35597 [BZ #13717]
35598 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35599 to 2.2.0 where earlier.
35600 * sysdeps/unix/sysv/linux/configure: Regenerated.
35601 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35602 Remove conditional code.
35603 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35604 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35605 Remove conditional code.
35606 [!__NR_lchown]: Likewise.
35607 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35608 [__NR_lchown]: Likewise.
35609 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35610 comment referencing __ASSUME_LCHOWN_SYSCALL.
35611 * sysdeps/unix/sysv/linux/i386/sigaction.c
35612 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35613 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35614 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35615 Remove conditional code.
35616 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35617 (__protocol_available): Remove #if 0 code.
35618 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35619 conditional code.
35620 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35621 * sysdeps/unix/sysv/linux/kernel-features.h
35622 (__ASSUME_GETCWD_SYSCALL): Don't define.
35623 (__ASSUME_REALTIME_SIGNALS): Likewise.
35624 (__ASSUME_PREAD_SYSCALL): Likewise.
35625 (__ASSUME_PWRITE_SYSCALL): Likewise.
35626 (__ASSUME_POLL_SYSCALL): Likewise.
35627 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35628 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35629 non-SPARC.
35630 (__ASSUME_SIOCGIFNAME): Don't define.
35631 (__ASSUME_MSG_NOSIGNAL): Likewise.
35632 (__ASSUME_SENDFILE): Define unconditionally.
35633 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35634 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35635 conditional code.
35636 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35637 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35638 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35639 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35640 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35641 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35642 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35644 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35645 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35647 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35648 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35650 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35651 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35653 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35654 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35656 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35657 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35659 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35660 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35662 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35663 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35665 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35666 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35667 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35668 Remove conditional code.
35669 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35670 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35671 Remove conditional code.
35672 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35673 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35674 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35675 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35676 Remove conditional code.
35677 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35678 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35679 Remove conditional code.
35680 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35681 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35682 Remove conditional code.
35683 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35684 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35685 Remove conditional code.
35686 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35687 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35688 Remove conditional code.
35689 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35690 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35691 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35692 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35693 * sysdeps/unix/sysv/linux/sigaction.c
35694 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35695 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35696 * sysdeps/unix/sysv/linux/sigpending.c
35697 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35698 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35699 * sysdeps/unix/sysv/linux/sigprocmask.c
35700 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35701 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35702 * sysdeps/unix/sysv/linux/sigsuspend.c
35703 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35704 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35705 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35706 (__libc_missing_rt_sigs): Remove.
35707 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35708 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35709 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35710 Remove conditional code.
35711 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35712 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35713 return 1.
35714 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35715 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35716 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35717 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35718
1bfb7291
AJ
357192012-05-14 Andreas Jaeger <aj@suse.de>
35720
caae5a81
AJ
35721 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35722 it's not used in glibc.
35723 (__coshm1): Likewise.
35724 (__acosh1p): Likewise.
35725 (__sgn): Likewise.
35726
1bfb7291
AJ
35727 * manual/string.texi (Copying and Concatenation): Add missing
35728 variable in concat example.
35729 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35730
c044d724
L
357312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35732
144c5467 35733 [BZ #14103]
c044d724
L
35734 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35735 __builtin_clzl with __builtin_clzll.
35736
2523c62b
L
357372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35738
35739 [BZ #14104]
35740 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35741 libc_freeres_ptr.
35742
d7bb4c42
LD
357432012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35744
35745 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35746 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35747 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35748 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35749
9dc4e1fb
MF
357502012-05-14 Mike Frysinger <vapier@gentoo.org>
35751
35752 * NEWS: Update ia64 info.
35753
c7df0112
AS
357542012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35755
35756 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35757 used as bcopy.
35758
dc70356c
TS
357592012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35760
35761 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35762 * sysdeps/unix/syscalls.list (dup3): Likewise.
35763 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35764 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35765
9fb1a21f
L
357662012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35767
35768 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35769 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35770
4822a2a5
L
357712012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35772
35773 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35774 thread pointer.
35775 (TLS_IE): Use mov/add instead of movq/addq to load thread
35776 pointer.
35777 (TLS_GD_PREFIX): New.
35778 (TLS_GD): Use it.
35779
842b81d6
DM
357802012-05-11 David S. Miller <davem@davemloft.net>
35781
35782 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35783 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35784 (_FPU_SETCW): Likewise.
35785
1cf463cd
L
357862012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35787
35788 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35789 is 32-byte aligned.
35790
60cc4a18
AS
357912012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35792
35793 [BZ #11837]
35794 * iconvdata/gb18030.c: Update tables.
35795 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35796 characters specially.
35797 (BODY for TO_LOOP): Add encoding of missing ranges.
35798
febb44a4
TS
357992012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35800
35801 [BZ #13673]
35802 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35803 * sysdeps/mach/hurd/dup3.c: Likewise.
35804 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35805 * sysdeps/powerpc/memmove.c:: Likewise.
35806
0a10fb9e
L
358072012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35808
35809 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35810 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35811
df8a552f
L
358122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35813
35814 * elf/elf.h (R_X86_64_RELATIVE64): New.
35815 (R_X86_64_NUM): Updated.
35816 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35817 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35818 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35819 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35820 tst-quad1pie tst-quad2pie
35821 (modules-names): Add tst-quadmod1 tst-quadmod2.
35822 ($(objpfx)tst-quad1): New dependency.
35823 ($(objpfx)tst-quad2): Likewise.
35824 ($(objpfx)tst-quad1pie): Likewise.
35825 ($(objpfx)tst-quad2pie): Likewise.
35826 * sysdeps/x86_64/tst-quad1.c: New file.
35827 * sysdeps/x86_64/tst-quad1pie.c: New file.
35828 * sysdeps/x86_64/tst-quad2.c: Likewise.
35829 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35830 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35831 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35832 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35833 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35834
f34d6f84
ST
358352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35836
f42d41d1
ST
35837 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35838 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35839 * streams/stropts.h (t_scalar_t): Define type.
35840
3c3571fc
ST
35841 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35842 (_PATH_PRESERVE): Set to "/var/lib".
35843 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35844
61f06bd3
ST
35845 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35846 instead of int.
35847
918d4d71
ST
35848 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35849 if __dir_mkfile succeeded.
35850
f34d6f84
ST
35851 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35852 checking for _hurd_dtablesize. Unlock it right after having
35853 finished _hurd_dtable allocation.
35854
10589b4a
TS
358552012-05-10 Thomas Schwinge <thomas@schwinge.name>
35856
674cdbc7
TS
35857 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35858 * sysdeps/mach/hurd/configure: Regenerated.
35859 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35860 special-casing to...
35861 * sysdeps/gnu/configure.in: ... this new file.
35862 * sysdeps/unix/sysv/linux/configure: Regenerated.
35863 * sysdeps/gnu/configure: New generated file.
35864
8e41b99f
TS
35865 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35866 for Linux: use nsec instead of usec, as well as:
35867 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35868 members of type struct timespec.
35869 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35870 New macros.
35871 (struct stat64): Likewise.
35872 (_STATBUF_ST_NSEC): New macro.
35873 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35874
10589b4a
TS
35875 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35876 __strtoul_internal rather than strtoul.
35877
63643c85
PT
358782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35879
35880 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35881 and reject them.
35882
3faebe6a
ST
358832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35884
35885 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35886 which preserves existing values.
35887 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35888
c6474b07
PT
358892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35890
35891 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35892 TIMEOUT values. Return EINVAL for NFDS values either negative or
35893 greater than FD_SETSIZE.
35894
1043890b
ST
358952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35896
35897 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35898 allocated, call __vm_protect to finish enabling the existing space, and
35899 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35900 allocate the remainder.
35901
37ed8b9b
PT
359022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35903
35904 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35905 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35906
db653660
ST
359072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35908
37ed8b9b
PT
35909 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35910 sysdeps/mach/hurd/readlink.c.
b29d4053 35911
db653660
ST
35912 * posix/tst-sysconf.c (posix_options): Only use
35913 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35914 _POSIX_SYNCHRONIZED_IO when they are defined
35915 * sysdeps/mach/hurd/bits/posix_opt.h:
35916 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35917 (_XOPEN_REALTIME): Undefine macro.
35918 (_XOPEN_REALTIME_THREADS): Undefine macro.
35919 (_XOPEN_SHM): Undefine macro.
35920 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35921 macro to -1.
35922 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35923 macro to -1.
35924 (_POSIX_ASYNC_IO): Undefine macro.
35925 (_POSIX_PRIORITIZED_IO): Undefine macro.
35926 (_POSIX_SPIN_LOCKS): Define macro to -1.
35927
ee16e894
ST
35928 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35929 SA_NODEFER, SA_RESETHAND.
35930 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35931 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35932 F_DUPFD_CLOEXEC.
35933
6103ae3b
TS
359342012-05-10 Thomas Schwinge <thomas@schwinge.name>
35935
35936 * elf/Makefile (pldd-modules): Define unconditionally.
35937
80b4e5f3
TS
359382012-05-10 Thomas Schwinge <thomas@schwinge.name>
35939
35940 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35941
edadcbd6
ST
359422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35943
35944 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35945 Return ENOENT when name is empty.
35946 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35947
80694780
TS
359482012-05-10 Thomas Schwinge <thomas@schwinge.name>
35949
1792c087
TS
35950 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35951
80694780
TS
35952 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35953
6b645f0d
ST
359542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35955
80694780
TS
35956 Fix mlock in all cases except non-readable pages.
35957 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35958 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 35959
6b645f0d
ST
35960 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35961 (__mkdir): When path is `/', just fail with EEXIST.
35962 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35963
e468f8a3
TS
359642012-05-10 Thomas Schwinge <thomas@schwinge.name>
35965
35966 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35967 <sys/uio.h> (for writev).
35968 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35969 and <sys/param.h> (for MIN).
35970
a4186cff
PT
359712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35972
35973 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35974 REQUESTED_TIME. Properly set the remaining time and return EINTR
35975 if interrupted.
35976
510bbf14
TS
359772012-05-10 Thomas Schwinge <thomas@schwinge.name>
35978
35979 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35980 Depend on against $(link-rpcuserlibs).
35981
5d5722e8
ST
359822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35983
a4186cff
PT
35984 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35985 (__libc_stack_end): Do not use attribute_relro.
35986 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35987 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 35988 to libthread-provided value.
a4186cff
PT
35989 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35990 attribute_relro.
5d5722e8 35991
37233df9
TS
359922012-05-10 Thomas Schwinge <thomas@schwinge.name>
35993
be971a2b
TS
35994 [BZ #3748]
35995 * bits/libc-lock.h (__libc_once_get): New macro.
35996 * sysdeps/mach/bits/libc-lock.h: Likewise.
35997 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35998 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35999 instead of using implementation details.
36000
37233df9
TS
36001 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36002 * libio/freopen.c: Likewise.
36003 * libio/freopen64.c: Likewise.
36004 * misc/syslog.c: Likewise.
36005 * nscd/connections.c: Likewise.
36006 * nscd/netgroupcache.c: Likewise.
36007 * sysdeps/posix/getcwd.c: Likewise.
36008
38de94a5
RM
360092012-05-10 Roland McGrath <roland@hack.frob.com>
36010
36011 * math/w_ilogbf.c: Add #include <limits.h>.
36012
67530489
ST
360132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36014
a4186cff 36015 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
36016 path instead of returning without unlocking.
36017
67530489
ST
36018 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36019 immediate-write ioctls.
36020 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36021
5aa3a74a
TS
360222012-05-10 Thomas Schwinge <thomas@schwinge.name>
36023
18bad2ae
TS
36024 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36025 __builtin_frame_address instead of making assumptions about the
36026 location of the return address relative to DATA. Force early load of
36027 the return address.
36028 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36029 __builtin_frame_address.
36030
5aa3a74a
TS
36031 dup3 for GNU Hurd.
36032 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36033 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36034 implement dup3 and do some further code clean-ups.
36035 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36036 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36037
ecd0de9a
ST
360382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36039
cd9fa985
ST
36040 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36041
a4186cff
PT
36042 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36043 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36044 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36045 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36046 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36047 d->port.lock.
802ca5a5 36048
a4186cff
PT
36049 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36050 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36051 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 36052
bcf55240
TS
360532012-05-10 Thomas Schwinge <thomas@schwinge.name>
36054
6960eb42
TS
36055 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36056 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36057 definitions.
36058
eb43375f
TS
36059 accept4 for GNU Hurd.
36060 * include/sys/socket.h (__libc_accept4): New prototype.
36061 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36062 to implement __libc_accept4.
36063 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36064 __libc_accept4.
36065 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36066
bcf55240
TS
36067 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36068 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36069 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36070 signal-defines.sym.
36071
6178c55b
ST
360722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36073
a4186cff 36074 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 36075
6f080c2f
TS
360762012-05-10 Thomas Schwinge <thomas@schwinge.name>
36077
36078 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36079 assertion on O_CLOEXEC flag.
36080 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36081 * hurd/intern-fd.c: Likewise.
36082 * hurd/port2fd.c: Likewise.
36083
bcfe3a54
ST
360842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36085
36086 [BZ #3906]
36087 * bits/in.h (IPV6_PKTINFO): Define new macro.
36088 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36089
89c9aa49
AZ
360902012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36091
36092 [BZ #13954]
36093 [BZ #13955]
36094 [BZ #13956]
36095 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36096 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36097 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36098 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36099 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36100 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36101 * math/libm-test.inc (logb_test) : Additional logb tests.
36102
021db4be
AJ
361032012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36104 Andreas Jaeger <aj@suse.de>
36105
36106 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36107 * configure: Regenerated.
36108 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36109 * config.make.in (link-obsolete-rpc): New substituted variable.
36110 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36111 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36112 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36113 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36114 so that libc.a contains the symbols.
36115 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36116 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36117 * sunrpc/auth_none.c: Likewise.
36118 * sunrpc/auth_unix.c: Likewise.
36119 * sunrpc/authdes_prot.c: Likewise.
36120 * sunrpc/authuxprot.c: Likewise.
36121 * sunrpc/clnt_gen.c: Likewise.
36122 * sunrpc/clnt_perr.c: Likewise.
36123 * sunrpc/clnt_raw.c: Likewise.
36124 * sunrpc/clnt_simp.c: Likewise.
36125 * sunrpc/clnt_tcp.c: Likewise.
36126 * sunrpc/clnt_udp.c: Likewise.
36127 * sunrpc/clnt_unix.c: Likewise.
36128 * sunrpc/des_crypt.c: Likewise.
36129 * sunrpc/des_soft.c: Likewise.
36130 * sunrpc/get_myaddr.c: Likewise.
36131 * sunrpc/key_call.c: Likewise.
36132 * sunrpc/key_prot.c: Likewise.
36133 * sunrpc/netname.c: Likewise.
36134 * sunrpc/pm_getmaps.c: Likewise.
36135 * sunrpc/pm_getport.c: Likewise.
36136 * sunrpc/pmap_clnt.c: Likewise.
36137 * sunrpc/pmap_prot.c: Likewise.
36138 * sunrpc/pmap_prot2.c: Likewise.
36139 * sunrpc/pmap_rmt.c: Likewise.
36140 * sunrpc/publickey.c: Likewise.
36141 * sunrpc/rpc_cmsg.c: Likewise.
36142 * sunrpc/rpc_common.c: Likewise.
36143 * sunrpc/rpc_dtable.c: Likewise.
36144 * sunrpc/rpc_prot.c: Likewise.
36145 * sunrpc/rpc_thread.c: Likewise.
36146 * sunrpc/rtime.c: Likewise.
36147 * sunrpc/svc.c: Likewise.
36148 * sunrpc/svc_auth.c: Likewise.
36149 * sunrpc/svc_raw.c: Likewise.
36150 * sunrpc/svc_run.c: Likewise.
36151 * sunrpc/svc_tcp.c: Likewise.
36152 * sunrpc/svc_udp.c: Likewise.
36153 * sunrpc/svc_unix.c: Likewise.
36154 * sunrpc/svcauth_des.c: Likewise.
36155 * sunrpc/xcrypt.c: Likewise.
36156 * sunrpc/xdr.c: Likewise.
36157 * sunrpc/xdr_array.c: Likewise.
36158 * sunrpc/xdr_float.c: Likewise.
36159 * sunrpc/xdr_intXX_t.c: Likewise.
36160 * sunrpc/xdr_mem.c: Likewise.
36161 * sunrpc/xdr_rec.c: Likewise.
36162 * sunrpc/xdr_ref.c: Likewise.
36163 * sunrpc/xdr_sizeof.c: Likewise.
36164 * sunrpc/xdr_stdio.c: Likewise.
36165
b5c086a2
RM
361662012-05-10 Roland McGrath <roland@hack.frob.com>
36167
36168 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36169 change. Update copyright years.
36170
6d74dd09
JM
361712012-05-10 Joseph Myers <joseph@codesourcery.com>
36172
36173 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36174
28e72501
MK
361752012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36176 Joseph Myers <joseph@codesourcery.com>
36177 Paul Pluzhnikov <ppluzhnikov@google.com>
36178
36179 [BZ #14012]
36180 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36181 requiring rpcgen.
36182 [cross-compiling] (extra-libs): Likewise.
36183 [cross-compiling] (extra-libs-others): Likewise.
36184 [cross-compiling] (librpcsvc-routines): Likewise.
36185 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36186 [cross-compiling] (omit-deps): Likewise.
36187 (sunrpc-CPPFLAGS): New variable.
36188 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36189 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36190 (cross-rpcgen-objs): New variable.
36191 (extra-objs): Append $(cross-rpcgen-objs).
36192 ($(cross-rpcgen-objs)): New rule.
36193 ($(objpfx)cross-rpcgen): Likewise.
36194 (rpcgen-cmd): Define to use $(built-program-file). Expand
36195 comment.
36196 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36197 ($(objpfx)x%.stmp): Likewise.
36198 * sunrpc/proto.h [IS_IN_build] (_): Define.
36199 [IS_IN_build] (_libc_intl_domainname): Likewise.
36200
c8c59454
L
362012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36202
36203 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36204 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36205 and R_X86_64_TPOFF64.
36206
6f27cd16
JM
362072012-05-10 Joseph Myers <joseph@codesourcery.com>
36208
36209 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36210 sysdeps/unix/sysv/syscalls.list.
36211 (stime): Likewise.
36212 (utime): Likewise.
36213 * sysdeps/unix/sysv/syscalls.list: Remove file.
36214
02467e1c
PE
362152012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36216
36217 [BZ #3440]
36218 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36219 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36220 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36221 (__LC_IDENTIFICATION): Make these macros useful in #if
36222 expressions, as required by C99.
36223
da392631
AS
362242012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36225
36226 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36227 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36228 after this.
36229
8115f29b
L
362302012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36231
36232 * stdlib/longlong.h: Updated from GCC.
36233
bdd74070
AJ
362342012-05-09 Andreas Jaeger <aj@suse.de>
36235
edfe0dbe
AJ
36236 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36237 default is first entry.
36238 (run_mode): Set type.
36239 (main): Remove informal message about syslog.
36240 (options): Fix typo.
36241
bcfe3a54
ST
36242 [BZ #14053]
36243 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 36244 to asm.
bcfe3a54
ST
36245 (lrint): Likewise.
36246 (llrintf): Likewise.
36247 (llrint): Likewise.
36248 (rint): Likewise.
36249 (rintf): Likewise.
36250 (nearbyint): Likewise.
36251 (nearbyintf): Likewise.
bdd74070 36252
91d8d69e
AJ
362532012-05-09 Andreas Jaeger <aj@suse.de>
36254 Pedro Alves <palves@redhat.com>
36255
36256 * nscd/nscd.c (run_mode): Use enum.
36257 (main): Cleanup coding style issue.
36258
bb90b80b
AJ
362592012-05-09 Alexandre Oliva <aoliva@redhat.com>
36260 Andreas Jaeger <aj@suse.de>
36261
bcfe3a54
ST
36262 * nscd/nscd.c (go_background): Replaced with...
36263 (run_mode): ... this.
bb90b80b 36264 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
36265 (options): Add -F --foreground.
36266 (main): Implement it.
36267 (parse_opt): Parse it.
bb90b80b 36268
1a4b75a1
AJ
362692012-05-09 Andreas Jaeger <aj@suse.de>
36270
36271 [BZ #14083]
36272 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36273 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36274 -Wconversion warning.
36275 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36276 Likewise.
36277
b1cc2472
JM
362782012-05-09 Joseph Myers <joseph@codesourcery.com>
36279
36280 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36281 == 0.
36282 (LC_ALL): Use macro-int-constant.
36283 (LC_COLLATE): Likewise.
36284 (LC_CTYPE): Likewise.
36285 (LC_MESSAGES): Likewise.
36286 (LC_MONETARY): Likewise.
36287 (LC_NUMERIC): Likewise.
36288 (LC_TIME): Likewise.
36289 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36290 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36291 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36292 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36293 Specify type.
36294 [C99-based standards] (float_t): Expect type.
36295 [C99-based standards] (double_t): Expect type.
36296 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36297 type.
36298 [C99-based standards] (HUGE_VALL): Likewise.
36299 [C99-based standards] (INFINITY): Likewise.
36300 [C99-based standards] (NAN): Likewise.
36301 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36302 [C99-based standards] (FP_NAN): Likewise.
36303 [C99-based standards] (FP_NORMAL): Likewise.
36304 [C99-based standards] (FP_SUBNORMAL): Likewise.
36305 [C99-based standards] (FP_ZERO): Likewise.
36306 [C99-based standards] (FP_FAST_FMA): Use
36307 optional-macro-int-constant. Specify type. Require == 1.
36308 [C99-based standards] (FP_FAST_FMAF): Likewise.
36309 [C99-based standards] (FP_FAST_FMAL): Likewise.
36310 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36311 [C99-based standards] (FP_ILOGBNAN): Likewise.
36312 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36313 Specify type.
36314 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36315 [C99-based standards] (math_errhandling): Specify type.
36316 [ISO99 || ISO11] (signgam): Do not allow.
36317 [non-C99-based standards] (copysignf): Do not allow.
36318 [non-C99-based standards] (exp2f): Likewise.
36319 [non-C99-based standards] (log2f): Likewise.
36320 [non-C99-based standards] (modff): Allow.
36321 [non-C99-based standards] (erff): Do not allow.
36322 [non-C99-based standards] (erfcf): Likewise.
36323 [non-C99-based standards] (gammaf): Likewise.
36324 [non-C99-based standards] (hypotf): Likewise.
36325 [non-C99-based standards] (j0f): Likewise.
36326 [non-C99-based standards] (j1f): Likewise.
36327 [non-C99-based standards] (jnf): Likewise.
36328 [non-C99-based standards] (lgammaf): Likewise.
36329 [non-C99-based standards] (tgammaf): Likewise.
36330 [non-C99-based standards] (y0f): Likewise.
36331 [non-C99-based standards] (y1f): Likewise.
36332 [non-C99-based standards] (ynf): Likewise.
36333 [non-C99-based standards] (isnanf): Likewise.
36334 [non-C99-based standards] (acoshf): Likewise.
36335 [non-C99-based standards] (asinhf): Likewise.
36336 [non-C99-based standards] (atanhf): Likewise.
36337 [non-C99-based standards] (cbrtf): Likewise.
36338 [non-C99-based standards] (expm1f): Likewise.
36339 [non-C99-based standards] (ilogbf): Likewise.
36340 [non-C99-based standards] (log1pf): Likewise.
36341 [non-C99-based standards] (logbf): Likewise.
36342 [non-C99-based standards] (nextafterf): Likewise.
36343 [non-C99-based standards] (remainderf): Likewise.
36344 [non-C99-based standards] (rintf): Likewise.
36345 [non-C99-based standards] (scalbf): Likewise.
36346 [non-C99-based standards] (copysignl): Likewise.
36347 [non-C99-based standards] (exp2l): Likewise.
36348 [non-C99-based standards] (log2l): Likewise.
36349 [non-C99-based standards] (modfl): Allow.
36350 [non-C99-based standards] (erfl): Do not allow.
36351 [non-C99-based standards] (erfcl): Likewise.
36352 [non-C99-based standards] (gammal): Likewise.
36353 [non-C99-based standards] (hypotl): Likewise.
36354 [non-C99-based standards] (j0l): Likewise.
36355 [non-C99-based standards] (j1l): Likewise.
36356 [non-C99-based standards] (jnl): Likewise.
36357 [non-C99-based standards] (lgammal): Likewise.
36358 [non-C99-based standards] (tgammal): Likewise.
36359 [non-C99-based standards] (y0l): Likewise.
36360 [non-C99-based standards] (y1l): Likewise.
36361 [non-C99-based standards] (ynl): Likewise.
36362 [non-C99-based standards] (isnanl): Likewise.
36363 [non-C99-based standards] (acoshl): Likewise.
36364 [non-C99-based standards] (asinhl): Likewise.
36365 [non-C99-based standards] (atanhl): Likewise.
36366 [non-C99-based standards] (cbrtl): Likewise.
36367 [non-C99-based standards] (expm1l): Likewise.
36368 [non-C99-based standards] (ilogbl): Likewise.
36369 [non-C99-based standards] (log1pl): Likewise.
36370 [non-C99-based standards] (logbl): Likewise.
36371 [non-C99-based standards] (nextafterl): Likewise.
36372 [non-C99-based standards] (remainderl): Likewise.
36373 [non-C99-based standards] (rintl): Likewise.
36374 [non-C99-based standards] (scalbl): Likewise.
36375 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36376 [non-C99-based standards] (FP_*): Do not allow.
36377 [C99-based standards] (FP_*): Change to
36378 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36379 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36380 allow.
36381 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36382 (SIG_ERR): Likewise.
36383 [X/Open-based standards] (SIG_HOLD): Likewise.
36384 (SIG_IGN): Likewise.
36385 (SIGABRT): Use macro-int-constant. Specify type. Require
36386 positive value.
36387 (SIGFPE): Likewise.
36388 (SIGILL): Likewise.
36389 (SIGINT): Likewise.
36390 (SIGSEGV): Likewise.
36391 (SIGTER): Likewise.
36392 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36393 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36394 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36395 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36396 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36397 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36398 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36399 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36400 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36401 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36402 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36403 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36404 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36405 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36406 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36407 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36408 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36409 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36410 [X/Open-based standards] (SIGTRAP): Likewise.
36411 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36412 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36413 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36414 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36415 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36416 allow.
36417
b9f1922d
IW
364182012-05-08 Ian Wienand <ianw@vmware.com>
36419
36420 [BZ #14080]
36421 * time/tzset.c (__tzset_parse_tz): Update default rules for
36422 daylight time changes in the Energy Policy Act of 2005.
36423
1db86e88
AJ
364242012-05-09 Andreas Jaeger <aj@suse.de>
36425
36426 [BZ #13983]
36427 * elf/ldconfig.c (parse_conf): Change string to make clear that
36428 ldconfig only issued a warning if ld.so.conf does not exist.
36429
dee4a4e3
DM
364302012-05-08 David S. Miller <davem@davemloft.net>
36431
ee0db190
DM
36432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36433 movxtod instead of popping the value on the stack.
36434
dee4a4e3
DM
36435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36436
6a43ec98
CD
364372012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36438
36439 * config.h.in: Add HAVE_ARM_PCS_VFP.
36440
05c2c961
RMG
364412012-05-08 Roland Mc Grath <roland@hack.frob.com>
36442
bcfe3a54
ST
36443 [BZ #13979]
36444 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36445 checking but the checks are disabled for any reason.
05c2c961 36446
4b30f61a
L
364472012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36448
36449 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36450 and ELF64_R_TYPE with ELFW(R_TYPE).
36451
eee2bc67
JM
364522012-05-08 Joseph Myers <joseph@codesourcery.com>
36453
7ea5391a
JM
36454 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36455 (ulimit): Likewise.
36456
eee2bc67
JM
36457 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36458 (settimeofday): Likewise.
36459
abb66a67
MF
364602012-05-08 Mike Frysinger <vapier@gentoo.org>
36461
36462 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36463 a struct th_u2 inside the union, and move tu_block/tu_code into
36464 a new th_u3 union of tu_block/tu_code inside of that. Move
36465 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36466 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36467 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36468 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36469 (th_stuff): Change to th_u1.tu_stuff.
36470 (th_data): Define.
36471 (th_msg): Change to th_u1.th_u2.tu_data.
36472
7f18b530
DM
364732012-05-07 David S. Miller <davem@davemloft.net>
36474
05760585
DM
36475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36476
7f18b530
DM
36477 [BZ #14074]
36478 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36479 (SETUP_PIC_REG): Use it.
36480 (SETUP_PIC_REG_LEAF): Use it.
36481
495fd99f
JM
364822012-05-07 Joseph Myers <joseph@codesourcery.com>
36483
36484 [BZ #13885]
36485 [BZ #13923]
36486 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36487 USE_AS_EXPM1L.
36488 (EXPL_FINITE): Likewise.
36489 (FLDLOG): Likewise.
36490 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36491 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36492 e_expl.S.
36493 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36494 USE_AS_EXPM1L.
36495 (EXPL_FINITE): Likewise.
36496 (FLDLOG): Likewise.
36497 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36498 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36499 e_expl.S.
36500 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36501 test of -max_value argument for long double.
36502 * sysdeps/i386/fpu/libm-test-ulps: Update.
36503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36504
6693d694
DM
365052012-05-06 David S. Miller <davem@davemloft.net>
36506
36507 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36508 quad soft-float symbols whose references which are compiler
36509 generated.
36510 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36511
6c23e11c
JM
365122012-05-06 Joseph Myers <joseph@codesourcery.com>
36513
d8b82cad
JM
36514 [BZ #13884]
36515 [BZ #13914]
36516 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36517 USE_AS_EXP10L.
36518 (EXPL_FINITE): Likewise.
36519 (FLDLOG): Likewise.
36520 (c0): Likewise.
36521 (c1): Likewise.
36522 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36523 Adjust comments for base varying.
36524 (__expl_finite): Change alias to EXPL_FINITE.
36525 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36526 e_expl.S.
36527 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36528 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36529 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36530 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36531 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36532 USE_AS_EXP10L.
36533 (EXPL_FINITE): Likewise.
36534 (FLDLOG): Likewise.
36535 (c0): Likewise.
36536 (c1): Likewise.
36537 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36538 Adjust comments for base varying.
36539 (__expl_finite): Change alias to EXPL_FINITE.
36540 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36541 tests for bugs.
36542 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36543
6c23e11c
JM
36544 [BZ #14064]
36545 * math/libm-test.inc (check_float_internal): Correct ulp
36546 calculation for subnormal expected results.
36547
29ba805c
AJ
365482012-05-06 Andreas Jaeger <aj@suse.de>
36549
36550 * Makeconfig (+math-flags): New, set to -frounding-math.
36551 (+cflags): Add +math-flags so that all of glibc gets compiled with
36552 it.
36553
36554 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36555
7b17aeda
JM
365562012-05-05 Joseph Myers <joseph@codesourcery.com>
36557
5779f134
JM
36558 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36559 Disable one test.
36560
41498f4d
JM
36561 [BZ #13787]
36562 [BZ #13922]
36563 [BZ #14036]
36564 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36565 (__ieee754_expl): Allow for and saturate large arguments.
36566 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36567 (u_threshold): Likewise.
36568 (__exp): Call __ieee754_exp before checking for overflow and
36569 underflow.
36570 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36571 (u_threshold): Likewise.
36572 (__expf): Call __ieee754_expf before checking for overflow and
36573 underflow.
36574 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36575 (u_threshold): Likewise.
36576 (__expl): Call __ieee754_expl before checking for overflow and
36577 underflow.
36578 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36579 (__ieee754_expl): Allow for and saturate large arguments.
36580 * math/libm-test.inc (exp_test): Add another test. Do not allow
36581 missing overflow exception on overflow.
36582 (expm1_test): Do not allow missing overflow exception on overflow.
36583
6698b8bf
JM
36584 * sysdeps/i386/fpu/e_expl.c: Move to ...
36585 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36586 rather than using inline asm.
36587 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36588 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36589 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36590
7b17aeda
JM
36591 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36592 (nice): Likewise.
36593 (poll): Likewise.
36594 (signal): Likewise.
36595 (time): Likewise.
36596 (times): Likewise.
36597
f7c85819
JM
365982012-05-04 Joseph Myers <joseph@codesourcery.com>
36599
36600 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36601 sysdeps/unix/common/syscalls.list.
36602 (fchmod): Likewise.
36603 (fchown): Likewise.
36604 (ftruncate): Likewise.
36605 (getrusage): Likewise.
36606 (gettimeofday): Likewise.
36607 (setpgid): Likewise.
36608 (setregid): Likewise.
36609 (setreuid): Likewise.
36610 (sigaction): Likewise.
36611 (truncate): Likewise.
36612 (vhangup): Likewise.
36613 * sysdeps/unix/common/syscalls.list: Remove file.
36614 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36615 * sysdeps/unix/sysv/linux/Implies: Likewise.
36616
336270d0
L
366172012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36618
36619 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36621 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36622 Moved to ...
36623 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36624 Here.
36625 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36626 to ...
36627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36628 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36629 to ...
36630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36631 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36632 to ...
36633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36634 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36635 to ...
36636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36637 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36638 to ...
36639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36640 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36641 to ...
36642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36643 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36644 to ...
36645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36646 Here.
36647 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36648 to ...
36649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36650 Here.
36651 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36652 to ...
36653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36654 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36655 Moved to ...
36656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36657 Here.
36658 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36659 to ...
36660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36661
d128e450
JM
366622012-05-04 Joseph Myers <joseph@codesourcery.com>
36663
fa8ee516
JM
36664 * sysdeps/unix/common/bits/dirent.h: Remove file.
36665 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36666
d128e450
JM
36667 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36668 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36669 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36670 * sysdeps/unix/bsd/isatty.c: Likewise.
36671 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36672 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36673 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36674
ff8faaf0 366752012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 36676
62881be4 36677 [BZ #13563]
31dc8730
AZ
36678 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36679 long double comparison inaccuracies.
36680 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36682
6fef930c
AS
366832012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36684
36685 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36686 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36687
8f203e6c
JM
366882012-05-04 Joseph Myers <joseph@codesourcery.com>
36689
36690 [BZ #14049]
36691 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36692 nonzero digits before rounding a hex value.
36693 * stdlib/tst-strtod.c (tests): Add another test.
36694
5197d9c2
AK
366952012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36696
36697 * sysdeps/s390/fpu/libm-test-ulps: Update.
36698
f0c1dedf
AJ
366992012-05-03 Andreas Jaeger <aj@suse.de>
36700
36701 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36702 does not get optimized out.
36703 (malloc_opt_barrier): New.
36704
a65ef2ae 367052012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 36706 Roland McGrath <roland@hack.frob.com>
a65ef2ae 36707
2b942cb7 36708 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 36709 intermediate file deletion.
2b942cb7 36710 (generated): Add .symlist files.
a65ef2ae 36711
54b71e02
JM
367122012-05-03 Joseph Myers <joseph@codesourcery.com>
36713
36714 [BZ #13775]
36715 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36716 Redirect under this condition.
36717 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36718 [__USE_GNU] (__dprintf_chk): Not under this condition.
36719 [__USE_GNU] (__vdprintf_chk): Likewise.
36720 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36721 under this condition.
36722 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36723 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36724 [__USE_XOPEN2K8] (vdprintf): Likewise.
36725 [__USE_GNU] (__dprintf_chk): Not under this condition.
36726 [__USE_GNU] (__vdprintf_chk): Likewise.
36727 [__USE_GNU] (dprintf): Likewise.
36728 [__USE_GNU] (vdprintf): Likewise.
36729
d3dfcc41
RM
367302012-05-03 Roland McGrath <roland@hack.frob.com>
36731
36732 * elf/Makefile (common-generated): Set this instead of generated for
36733 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36734 $(all-built-dso)-derived lists.
36735
7ac30cc5
AJ
367362012-05-03 Andreas Jaeger <aj@suse.de>
36737
0c51e550
AJ
36738 * sysdeps/i386/fpu/libm-test-ulps: Update.
36739
7ac30cc5
AJ
36740 * FAQ: Removed.
36741 * FAQ.in: Likewise.
36742 * scripts/gen-FAQ.pl: Likewise.
36743 * manual/install.texi (Installation): Point to online location of
36744 FAQ.
36745 * Makefile (files-for-dist): Remove FAQ.
36746 (FAQ): Remove.
36747
d4c2917f
AM
367482012-05-02 Allan McRae <allan@archlinux.org>
36749
36750 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36751 (LDFLAGS-reldepmod5.so): Likewise.
36752 (LDFLAGS-reldep6mod1.so): Likewise.
36753 (LDFLAGS-reldep6mod4.so): Likewise.
36754 (LDFLAGS-reldep8mod3.so): Likewise.
36755 (LDFLAGS-unload4mod1.so): Likewise.
36756 (LDFLAGS-unload4mod2.so): Likewise.
36757 (LDFLAGS-tst-initorder): Likewise.
36758 (LDFLAGS-tst-initordera2.so): Likewise.
36759 (LDFLAGS-tst-initordera3.so): Likewise.
36760 (LDFLAGS-tst-initordera4.so): Likewise.
36761 (LDFLAGS-tst-initorderb2.so): Likewise.
36762 (LDFLAGS-noload): Likewise.
36763 (LDFLAGS-next): Likewise.
36764 (LDFLAGS-order2mod1.so): Likewise.
36765 (LDFLAGS-order2mod2.so): Likewise.
36766 (LDFLAGS-tst-initorder2): Likewise.
36767 (LDFLAGS-tst-initorder2a.so): Likewise.
36768 (LDFLAGS-tst-initorder2b.so): Likewise.
36769 (LDFLAGS-tst-initorder2c.so): Likewise.
36770 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36771
d77f993f
DM
367722012-05-02 David S. Miller <davem@davemloft.net>
36773
36774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36775
171a70b4
PP
367762012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36777
36778 [BZ #14055]
36779 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36780
0be196ad
AJ
367812012-05-02 Andreas Jaeger <aj@suse.de>
36782
36783 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36784 since we manipulate rounding mode.
36785 (CPPFLAGS-test-idouble.c): Likewise.
36786 (CPPFLAGS-test-ifloat.c): Likewise.
36787 (CFLAGS-test-ldouble.c): Likewise.
36788 (CFLAGS-test-double.c): Likewise.
36789 (CFLAGS-test-float.c): Likewise.
36790 (CFLAGS-test-misc.c): Likewise.
36791 (CFLAGS-test-test-fenv.c): Likewise.
36792
4f9d04aa
AZ
367932012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36794
2b942cb7
RM
36795 [BZ #2550]
36796 [BZ #2570]
36797 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36798 comparisons to determine direction to adjust input.
4f9d04aa 36799
82a79e7d
RM
368002012-05-01 Roland McGrath <roland@hack.frob.com>
36801
f5a01ca9
RM
36802 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36803 output to the target.
36804
90fe4186
RM
36805 * scripts/localplt.awk: New file.
36806 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36807 (check-localplt-CFLAGS): Variable removed.
36808 ($(all-built-dso:=.jmprel)): New static pattern rule.
36809 (generated): Add those targets.
36810 (localplt-built-dso): New variable.
36811 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36812
36813 * elf/check-localplt.c: File removed.
36814
82397ed6
RM
36815 * scripts/check-execstack.awk: New file.
36816 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36817 (check-execstack-CFLAGS): Variable removed.
36818 ($(objpfx)check-execstack.h): Target removed.
36819 ($(objpfx)execstack-default): New target.
36820 (generated): Add that instead of check-execstack.h.
36821 ($(all-built-dso:=.phdr)): New static pattern rule.
36822 (generated): Add those targets.
36823 * elf/check-execstack.c: File removed.
36824
82a79e7d
RM
36825 * scripts/check-textrel.awk: New file.
36826 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36827 (check-textrel-CFLAGS): Variable removed.
36828 (all-built-dso): Use := to define.o
36829 ($(all-built-dso:=.dyn)): New static pattern rule.
36830 (generated): Add those targets.
36831 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36832 * config.make.in (READELF): New substituted variable.
36833 * elf/check-textrel.c: File removed.
36834
62fde54f 368352012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 36836
615605c9
JM
36837 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36838 allow.
36839 * conform/data/ctype.h-data [C99-based standards] (isblank):
36840 Expect function.
36841 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36842 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36843 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36844 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36845 Specify type. Require positive value.
36846 (EILSEQ): Likewise.
36847 (ERANGE): Likewise.
36848 [ISO || POSIX] (EILSEQ): Do not expect.
36849 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36850 Specify type. Require positive value.
36851 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36852 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36853 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36854 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36855 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36856 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36857 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36858 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36859 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36860 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36861 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36862 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36863 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36864 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36865 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36866 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36867 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36868 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36869 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36870 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36871 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36872 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36873 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36874 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36875 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36876 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36877 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36878 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36879 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36880 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36881 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36882 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36883 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36884 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36885 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36886 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36887 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36888 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36889 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36890 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36891 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36892 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36893 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36894 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36895 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36896 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36897 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36898 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36899 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36900 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36901 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36902 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36903 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36904 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36905 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36906 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36907 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36908 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36909 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36910 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36911 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36912 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36913 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36914 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36915 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36916 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36917 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36918 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36919 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36920 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36921 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36922 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36923 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36924 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36925 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36926 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36927 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36928 Require >= 2.
36929 (FLT_ROUNDS): Expect as macro, not constant.
36930 (FLT_MANT_DIG): Use macro-int-constant.
36931 (DBL_MANT_DIG): Likewise.
36932 (LDBL_MANT_DIG): Likewise.
36933 (FLT_DIG): Likewise.
36934 (DBL_DIG): Likewise.
36935 (LDBL_DIG): Likewise.
36936 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36937 (DBL_MIN_EXP): Likewise.
36938 (LDBL_MIN_EXP): Likewise.
36939 (FLT_MAX_EXP): Use macro-int-constant.
36940 (DBL_MAX_EXP): Likewise.
36941 (LDBL_MAX_EXP): Likewise.
36942 (FLT_MAX_10_EXP): Likewise.
36943 (DBL_MAX_10_EXP): Likewise.
36944 (LDBL_MAX_10_EXP): Likewise.
36945 (FLT_MAX): Use macro-constant.
36946 (DBL_MAX): Likewise.
36947 (LDBL_MAX): Likewise.
36948 (FLT_EPSILON): Use macro-constant. Give upper bound.
36949 (DBL_EPSILON): Likewise.
36950 (LDBL_EPSILON): Likewise.
36951 (FLT_MIN): Likewise.
36952 (DBL_MIN): Likewise.
36953 (LDBL_MIN): Likewise.
36954 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36955 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36956 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36957 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36958 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36959 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36960 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36961 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36962 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36963 [ISO11] (FLT_TRUE_MIN): Likewise.
36964 [ISO11] (LDBL_TRUE_MIN): Likewise.
36965 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36966 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36967 (SCHAR_MIN): Use macro-int-constant. Specify type.
36968 (SCHAR_MAX): Likewise.
36969 (UCHAR_MAX): Likewise.
36970 (CHAR_MIN): Likewise.
36971 (CHAR_MAX): Likewise.
36972 (MB_LEN_MAX): Use macro-int-constant.
36973 (SHRT_MIN): Use macro-int-constant. Specify type.
36974 (SHRT_MAX): Likewise.
36975 (USHRT_MAX): Likewise.
36976 (INT_MAX): Likewise.
36977 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36978 bound negative.
36979 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36980 bound with "U".
36981 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36982 bound with "L".
36983 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36984 bound negative. Suffix upper bound with "L".
36985 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36986 bound with "UL".
36987 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36988 Specify type.
36989 [C99-based standards] (LLONG_MAX): Likewise.
36990 [C99-based standards] (ULLONG_MAX): Likewise.
36991 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36992 == 0.
36993 [ISO11] (max_align_t): Require type.
36994 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36995
c9140a62
JM
36996 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36997 from $CFLAGS, without defining away __attribute__ calls.
36998 (checknamespace): Use $CFLAGS_namespace.
36999
9af0bf29
JM
37000 * conform/conformtest.pl (@keywords): Only include C99 keywords
37001 for standards based on C99 or C11.
37002
343222a2
JM
37003 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37004 Disable tests.
37005 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37006 UNIX98]: Likewise.
37007
661f8cf0
JM
37008 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37009 usability of symbols in #if.
37010
ee74b9cb
JM
37011 * conform/conformtest.pl: If macro or constant types start
37012 "promoted:", expect the symbol to be of the following type
37013 promoted by the integer promotions.
62fde54f 37014
aafc49b3
JM
37015 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37016 in one place. Also handle "macro-constant".
37017
fefdf574
JM
37018 * conform/conformtest.pl: Only accept expected macro values with
37019 "==". Parse all "macro" lines in one place.
37020 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37021
f2d922fe
JM
37022 * conform/conformtest.pl: Handle braced types on "constant" lines
37023 instead of handling "typed-constant".
37024 * conform/data/signal.h-data: Use "constant" instead of
37025 "typed-constant".
37026
d22956c9
JM
37027 * conform/conformtest.pl: Handle "optional-" at start of lines in
37028 one place rather than duplicating several cases. Handle each
37029 format of "macro" line with initial "optional-".
37030
028e2e38
JM
37031 * conform/conformtest.pl: Only accept expected constant or
37032 optional-constant values with "==". Parse all "constant" lines in
37033 one place. Parse all "optional-constant" lines in one place.
37034 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37035 * conform/data/fmtmsg.h-data: Likewise.
37036 * conform/data/netinet/in.h-data: Likewise.
37037 * conform/data/tar.h-data: Likewise.
37038 * conform/data/limits.h-data: Use "==" form on "constant" and
37039 "optional-constant" lines.
37040
1b8f2850
JM
37041 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37042 Use -std=c99 for XOPEN2K.
37043 (@knownproblems): Remove.
37044 (newtoken): Don't check %isknown.
37045
a05a144b
JM
37046 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37047 Do not expect macro.
37048 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37049 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37050 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37051 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37052 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37053 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37054 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37055 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37056 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37057 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37058 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37059 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37060 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37061 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37062 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37063 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37064 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37065 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37066 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37067 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37068 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37069 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37070 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37071 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37072 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37073 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37074 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37075 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37076 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37077 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37078 [XPG3] (acosh): Likewise.
37079 [XPG3] (asinh): Likewise.
37080 [XPG3] (atanh): Likewise.
37081 [XPG3] (cbrt): Likewise.
37082 [XPG3] (expm1): Likewise.
37083 [XPG3] (ilogb): Likewise.
37084 [XPG3] (log1p): Likewise.
37085 [XPG3] (logb): Likewise.
37086 [XPG3] (nextafter): Likewise.
37087 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37088 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37089 [XPG3] (remainder): Likewise.
37090 [XPG3] (rint): Likewise.
37091 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37092 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37093 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37094 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37095 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37096 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37097 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37098 [UNIX98 || XOPEN2K] (scalb): Expect.
37099 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37100 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37101 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37102 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37103 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37104 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37105 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37106 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37107 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37108 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37109 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37110 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37111 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37112 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37113 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37114 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37115 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37116 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37117 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37118 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37119 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37120 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37121 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37122 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37123 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37124 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37125 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37126 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37127 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37128 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37129 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37130 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37131 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37132 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37133 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37134 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37135 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37136 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37137 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37138 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37139 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37140 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37141 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37142 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37143 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37144 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37145 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37146 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37147 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37148 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37149 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37150 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37151 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37152 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37153 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37154 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37155 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37156 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37157 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37158 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37159 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37160 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37161 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37162 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37163 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37164 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37165 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37166 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37167 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37168 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37169 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37170 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37171 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37172 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37173 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37174 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37175 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37176 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37177 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37178 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37179 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37180 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37181 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37182 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37183 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37184 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37185 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37186 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37187 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37188 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37189 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37190 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37191 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37192 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37193 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37194 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37195 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37196 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37197 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37198 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37199 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37200 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37201 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37202 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37203 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37204 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37205 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37206 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37207 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37208 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37209 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37210 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37211 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37212 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37213 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37214 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37215 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37216 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37217 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37218 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37219 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37220 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37221 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37222 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37223 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37224 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37225 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37226 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37227 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37228 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37229 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37230 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37231 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37232 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37233 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37234 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37235 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37236
73c5ebe3
JM
37237 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37238 _XOPEN_SOURCE_EXTENDED for XPG4.
37239
39c33b6c
JM
37240 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37241
62fde54f
JM
37242 * Makeconfig (localtime): Remove variable.
37243 (inst_localtime-file): Likewise.
37244
0741d64c
AS
372452012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37246
37247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37248 Update.
37249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37250 Update.
37251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37252 Update.
37253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37254 Update.
37255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37256 Update.
37257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37258 Update.
37259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37260 Update.
37261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37262 Update.
37263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37264 Update.
37265
7cb029ee
JM
372662012-05-01 Joseph Myers <joseph@codesourcery.com>
37267
37268 [BZ #2550]
37269 [BZ #2570]
37270 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37271 comparisons to determine direction to adjust input.
37272 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37273 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37274 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37275 Likewise.
37276 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37277 Likewise.
37278 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37279 Likewise.
37280 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37281 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37282 Likewise.
37283 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37284 Likewise.
37285 * math/libm-test.inc (nexttoward_test): Add more tests.
37286
412bd966
AS
372872012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37288
37289 [BZ #14040]
37290 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37291 in version GLIBC_2.1, not GLIBC_2.0.
37292 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37293 Likewise.
37294
9568c0c2
JM
372952012-04-30 Joseph Myers <joseph@codesourcery.com>
37296
adfbc8ac
JM
37297 [BZ #13942]
37298 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37299 (1 - x) * (1 + x).
37300 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37301 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37302 * math/libm-test.inc (acos_test): Add more tests.
37303 (asin_test): Likewise.
37304 * sysdeps/i386/fpu/libm-test-ulps: Update.
37305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37306
5ba3cc69
JM
37307 [BZ #14034]
37308 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37309 of square root.
37310 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37311 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37312 * math/libm-test.inc (acos_test_tonearest): New function.
37313 (acos_test_towardzero): Likewise.
37314 (acos_test_downward): Likewise.
37315 (acos_test_upward): Likewise.
37316 (asin_test_tonearest): Likewise.
37317 (asin_test_towardzero): Likewise.
37318 (asin_test_downward): Likewise.
37319 (asin_test_upward): Likewise.
37320 (main): Call the new functions.
37321 * sysdeps/i386/fpu/libm-test-ulps: Update.
37322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37323
9568c0c2
JM
37324 [BZ #13884]
37325 [BZ #13924]
37326 * math/e_exp10.c: Include <float.h>.
37327 (__ieee754_exp10): Handle underflow here rather than multiplying
37328 large negative argument by M_LN10.
37329 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37330 of __ieee754_expf.
37331 * math/e_exp10l.c: Include <float.h>.
37332 (__ieee754_exp10l): Handle underflow here rather than multiplying
37333 large negative argument by M_LN10l.
37334 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37335 spurious overflow exception on underflow.
37336
5ac3ea17
MP
373372012-04-29 Marek Polacek <polacek@redhat.com>
37338
37339 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37340 (__fortify_function): New macro.
37341 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37342 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37343 __extern_always_inline.
37344 * libio/bits/stdio2.h: Likewise.
37345 * libio/bits/stdio.h: Likewise.
37346 * string/string.h: Likewise.
37347 * string/bits/string3.h: Likewise.
37348 * include/stdio.h: Likewise.
37349 * stdlib/bits/stdlib.h: Likewise.
37350 * stdlib/stdlib.h: Likewise.
37351 * rt/bits/mqueue2.h: Likewise.
37352 * rt/mqueue.h: Likewise.
37353 * posix/bits/unistd.h: Likewise.
37354 * posix/unistd.h: Likewise.
37355 * io/bits/poll2.h: Likewise.
37356 * io/bits/fcntl2.h: Likewise.
37357 * io/fcntl.h: Likewise.
37358 * io/sys/poll.h: Likewise.
37359 * misc/bits/syslog.h: Likewise.
37360 * misc/bits/syslog-ldbl.h: Likewise.
37361 * misc/sys/syslog.h: Likewise.
37362 * socket/bits/socket2.h: Likewise.
37363 * socket/sys/socket.h: Likewise.
37364 * debug/tst-chk1.c: Likewise.
37365 * wcsmbs/bits/wchar2.h: Likewise.
37366 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37367 * wcsmbs/wchar.h: Likewise.
37368
ecf0ebfb
AJ
373692012-04-29 Andreas Jaeger <aj@suse.de>
37370
37371 * Makerules (tests): Remove enable-check-abi protection.
37372 (check-abi-warn): Remove.
37373 (check-abi-%): Remove check-abi-warn usage.
37374
37375 * configure.in: Remove check-abi configure option.
37376 * configure: Regenerated.
37377 * config.make.in (enable-check-abi): Remove.
37378
6d5c57fa
AS
373792012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37380
24c5d07e 37381 [BZ #14033]
ded5180a
AS
37382 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37383 double functions to double *_finite functions.
37384
7e0d315d
AS
37385 [BZ #13941]
37386 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37387 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37388 LDBL_MIN_EXP.
37389 * stdio-common/Makefile (tests): Add tst-sprintf3.
37390 * stdio-common/tst-sprintf3.c: New file.
37391
6d5c57fa
AS
37392 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37393 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37394
0749ff8b
JM
373952012-04-28 Joseph Myers <joseph@codesourcery.com>
37396
37397 * conform/conformtest.pl: Remove duplicate typed-constant
37398 handling.
37399
8dbd5d7b
DM
374002012-04-28 David S. Miller <davem@davemloft.net>
37401
37402 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37403 (check-abi-%): Remove AWK script prerequisite and explicit
37404 abilist directory.
37405 (check-abi): Rewrite to just diff the symlist with the abilist.
37406 (config-tls, config-abi-config): Delete, no longer used.
37407 (update-abi-%): Remove AWK script and explicit abilist directory.
37408 (update-abi): Rewrite to simply compare and conditionally copy the
37409 symlist and the sysdep abilist file. Remove update-abi-config
37410 checks.
37411 * abilist/ld.abilist: Remove.
37412 * abilist/libBrokenLocale.abilist: Remove.
37413 * abilist/libanl.abilist: Remove.
37414 * abilist/libcrypt.abilist: Remove.
37415 * abilist/libdl.abilist: Remove.
37416 * abilist/librt.abilist: Remove.
37417 * abilist/libthread_db.abilist: Remove.
37418 * abilist/libutil.abilist: Remove.
37419 * scripts/extract-abilist.awk: Remove.
37420 * scripts/merge-abilist.awk: Remove.
37421 * sysdeps/generic/libcidn.abilist: New file.
37422 * sysdeps/generic/libnss_compat.abilist: New file.
37423 * sysdeps/generic/libnss_db.abilist: New file.
37424 * sysdeps/generic/libnss_dns.abilist: New file.
37425 * sysdeps/generic/libnss_files.abilist: New file.
37426 * sysdeps/generic/libnss_hesiod.abilist: New file.
37427 * sysdeps/generic/libnss_nis.abilist: New file.
37428 * sysdeps/generic/libnss_nisplus.abilist: New file.
37429 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37430 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37431 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37432 file.
37433 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37434 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37435 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37436 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37437 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37438 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37439 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37440 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37441 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37442 file.
37443 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37444 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37445 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37446 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37447 file.
37448 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37449 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37450 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37451 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37452 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37453 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37454 file.
37455 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37456 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37457 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37458 file.
37459 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37461 New file.
37462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37463 New file.
37464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37465 New file.
37466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37467 New file.
37468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37469 New file.
37470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37471 New file.
37472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37473 New file.
37474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37475 New file.
37476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37477 New file.
37478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37479 New file.
37480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37481 New file.
37482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37483 New file.
37484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37485 New file.
37486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37487 file.
37488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37489 New file.
37490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37491 New file.
37492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37493 file.
37494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37495 New file.
37496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37497 New file.
37498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37499 file.
37500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37501 New file.
37502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37503 New file.
37504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37505 New file.
37506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37507 New file.
37508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37509 New file.
37510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37511 New file.
37512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37514 file.
37515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37516 New file.
37517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37518 file.
37519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37520 file.
37521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37522 file.
37523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37524 file.
37525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37526 file.
37527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37528 New file.
37529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37530 file.
37531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37532 file.
37533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37534 New file.
37535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37536 file.
37537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37539 file.
37540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37541 New file.
37542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37543 file.
37544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37545 file.
37546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37547 file.
37548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37549 file.
37550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37551 file.
37552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37553 New file.
37554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37555 file.
37556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37557 file.
37558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37559 New file.
37560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37561 file.
37562 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37563 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37564 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37565 file.
37566 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37567 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37568 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37569 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37570 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37571 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37572 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37573 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37574 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37575 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37578 file.
37579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37580 New file.
37581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37582 file.
37583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37584 file.
37585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37586 file.
37587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37588 file.
37589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37590 file.
37591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37592 New file.
37593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37594 New file.
37595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37596 file.
37597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37598 New file.
37599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37600 file.
37601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37603 file.
37604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37605 New file.
37606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37607 file.
37608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37609 file.
37610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37611 file.
37612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37613 file.
37614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37615 file.
37616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37617 New file.
37618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37619 New file.
37620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37621 file.
37622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37623 New file.
37624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37625 file.
37626
41d73a1b
JM
376272012-04-28 Joseph Myers <joseph@codesourcery.com>
37628
37629 * conform/conformtest.pl: Fix typo in handling typed-constant from
37630 allow-header.
37631
28aeeda4
JM
376322012-04-27 Joseph Myers <joseph@codesourcery.com>
37633
adae8f5e
JM
37634 * README: Cut down references to pre-2.6 Linux kernels and
37635 Linuxthreads. Update lists of configurations in libc and ports
37636 and sort alphabetically. Say "or newer" with Linux kernel version
37637 requirements.
37638
28aeeda4
JM
37639 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37640
a462cb63
RA
376412012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37642
37643 [BZ #887]
37644 * math/libm-test.inc (logb_test_downward): New test to expose
37645 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37646 rounding mode.
37647
6ad3493e
JM
376482012-04-27 Joseph Myers <joseph@codesourcery.com>
37649
37650 [BZ #14027]
37651 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37652 to be done.
37653 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37654 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37655
2ce4f015
JM
376562012-04-26 Joseph Myers <joseph@codesourcery.com>
37657
5aeb141a
JM
37658 * sysdeps/unix/i386/brk.S: Remove file.
37659 * sysdeps/unix/i386/dl-brk.S: Likewise.
37660 * sysdeps/unix/i386/pipe.S: Likewise.
37661 * sysdeps/unix/i386/sigreturn.S: Likewise.
37662 * sysdeps/unix/i386/syscall.S: Likewise.
37663 * sysdeps/unix/i386/vfork.S: Likewise.
37664 * sysdeps/unix/i386/wait.S: Likewise.
37665
7143acae
JM
37666 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37667 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37668
2ce4f015
JM
37669 * configure.in (arm*-none*): Do not allow without
37670 --enable-hacker-mode.
37671 (netbsd*): Remove case setting base_os.
37672 (386bsd*): Likewise.
37673 (freebsd*): Likewise.
37674 (bsdi*): Likewise.
37675 (osf*): Likewise.
37676 (sunos*): Likewise.
37677 (ultrix*): Likewise.
37678 (newsos*): Likewise.
37679 (dynix*): Likewise.
37680 (*bsd*): Likewise.
37681 (sysv*): Likewise.
37682 (isc*): Likewise.
37683 (esix*): Likewise.
37684 (sco*): Likewise.
37685 (minix*): Likewise.
37686 (irix4*): Likewise.
37687 (irix6*): Likewise.
37688 (solaris[2-9]*): Likewise.
37689 (none): Likewise.
37690 * configure: Regenerated.
37691
0ac229c8
AZ
376922012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37693
37694 [BZ #11521]
37695 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37696 overflow or cancellation in calculating denominator.
37697 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37698 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37699 down expression to avoid unexpected rounding in newer GCCs.
37700 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37701
33f244f4
DM
377022012-04-26 David S. Miller <davem@davemloft.net>
37703
37704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37705 long-double compat symbols.
37706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37719
cfa1f3e8
DM
377202012-04-25 David S. Miller <davem@davemloft.net>
37721
37722 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37723 HWCAP_* values only after the memory barriers have been defined.
37724 (atomic_full_barrier): Define.
37725 (atomic_read_barrier): Define.
37726 (atomic_write_barrier): Define.
37727
6e236b92
SP
377282012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37729
37730 * shlib-versions: Add libgcc_s version information.
37731 * sysdeps/generic/libgcc_s.h: Remove.
37732 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37733 libgcc_s.h.
37734 * sysdeps/gnu/unwind-resume.c: Likewise.
37735 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37736
aab39a09
DM
377372012-04-25 David S. Miller <davem@davemloft.net>
37738
37739 * sysdeps/unix/sparc/brk.S: Delete.
37740 * sysdeps/unix/sparc/dl-brk.S: Delete.
37741 * sysdeps/unix/sparc/pipe.S: Delete.
37742 * sysdeps/unix/sparc/sysdep.S: Delete.
37743 * sysdeps/unix/sparc/sysdep.h: Delete.
37744 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
37745 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37746 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37747 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37748 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
37749 (JUMPTARGET): Remove.
37750 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37751 sysdeps/unix/sparc/sysdep.h
37752 (ENTRY, END): Remove.
37753 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37754
a3cc4f48
JM
377552012-04-25 Joseph Myers <joseph@codesourcery.com>
37756
2ed8cda2
JM
37757 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37758 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37759 -DIS_IN_build.
37760
35d76d59
JM
37761 * timezone/README: Update upstream location and email address for
37762 tzcode and tzdata.
37763 * timezone/zdump.c: Update from tzcode 2012b.
37764 * timezone/zic.c: Likewise.
37765
a3cc4f48
JM
37766 * configure.in (libc_cv_as_needed): Remove test.
37767 * configure: Regenerated.
37768 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37769 conditional definition.
37770 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37771 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37772 * config.make.in (have-as-needed): Remove variable.
37773
ceab42c3
SP
377742012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37775 Paul Pluzhnikov <ppluzhnikov@google.com>
37776
37777 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37778 strings correctly.
37779
3ce2865f
CLT
377802012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37781
37782 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37783 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37784 * sysdeps/sh/strlen.S: Likewise.
37785
f37e0d68
JM
377862012-04-24 Joseph Myers <joseph@codesourcery.com>
37787
ae186e9a
JM
37788 * sysdeps/unix/fork.S: Remove file.
37789 * sysdeps/unix/i386/fork.S: Likewise.
37790 * sysdeps/unix/sparc/fork.S: Likewise.
37791
b96914af
JM
37792 * sysdeps/unix/system.c: Remove file.
37793 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37794
f37e0d68
JM
37795 * sysdeps/unix/getegid.S: Remove file.
37796 * sysdeps/unix/geteuid.S: Likewise.
37797
87ef29ca
RM
377982012-04-24 Roland McGrath <roland@hack.frob.com>
37799
83bcd236
RM
37800 * scripts/check-localplt.awk: New file.
37801 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37802 of diff.
37803 * scripts/data/localplt-generic.data: Add a comment.
37804
87ef29ca
RM
37805 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37806 NODE when __dir_mkfile failed.
37807 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37808 Reported by Ludovic Courtès <ludo@gnu.org>.
37809
e5a6e567
AJ
378102012-04-24 Andreas Jaeger <aj@suse.de>
37811
37812 * Makerules (common-clean): Also remove gen-as-const-headers
37813 files.
37814
c1820385
JM
378152012-04-24 Joseph Myers <joseph@codesourcery.com>
37816
37817 * Makerules (native-compile): Do not change working directory for
37818 build. Use $(OUTPUT_OPTION) in command.
37819 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37820
94e02fc4
AZ
378212012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37822
37823 [BZ #13886]
37824 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37825 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37826 * math/libm-test.inc (floor_test): Add more tests.
37827 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37828
3a533ca3
JM
378292012-04-24 Joseph Myers <joseph@codesourcery.com>
37830
940ab4b3
JM
37831 * sysdeps/unix/getdents.c: Remove file.
37832 * sysdeps/unix/sysv/getdents.c: Likewise.
37833 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37834
90e037bd
JM
37835 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37836 sysdeps/unix/mman/syscalls.list.
37837 (mmap): Likewise.
37838 (mprotect): Likewise.
37839 (msync): Likewise.
37840 (munmap): Likewise.
37841 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37842 * sysdeps/unix/mman/syscalls.list: Remove.
37843 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37844
3a533ca3
JM
37845 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37846 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37847 * configure: Regenerated.
37848 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37849 $(libgcc_s_suffix).
37850 * config.make.in (libgcc_s_suffix): Remove variable.
37851
1ad743de
JM
378522012-04-23 Joseph Myers <joseph@codesourcery.com>
37853
4ad451e2
JM
37854 * sysdeps/unix/sysv/gethostname.c: Move to ...
37855 * sysdeps/posix/gethostname.c: ... here.
37856
5e37ce39
JM
37857 * sysdeps/unix/execve.S: Remove file.
37858
1ad743de
JM
37859 * sysdeps/unix/_exit.S: Remove file.
37860
4e681b5b
AJ
378612012-04-23 Andreas Jaeger <aj@suse.de>
37862
37863 [BZ #13739]
37864 * manual/Makefile: Remove make dist support, there's no
37865 need for a stand-alone documentation tar ball.
37866 (TEXI2DVI): Define always, it's not in Makeconfig.
37867 (dist): Removed.
37868 (tar-it): Removed.
37869 (edition): Removed.
37870 (glibc-doc-$(edition).tar): Removed
37871 (%.Z): Removed.
37872 (%.gz): Removed.
37873 (%.uu): Removed.
37874 (ETAGS): Remove, it's in Makeconfig.
37875 (move-if-change): Remove, it's in Makeconfig.
37876
38686a03 378772012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
37878
37879 [BZ #13970]
37880 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37881 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37882 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37883 (strtod_l, strtof_l, strtold_l): Remove __wur.
37884 It is not necessarily an error to ignore strtol's return value.
37885 One can reliably look at the stored endptr to decide whether
37886 the number had valid syntax.
37887
7c0616fa
AJ
378882012-04-21 Andreas Jaeger <aj@suse.de>
37889
803cb6b7 37890 [BZ #13739]
7c0616fa
AJ
37891 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37892
b0fe253f
JM
378932012-04-21 Joseph Myers <joseph@codesourcery.com>
37894
37895 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37896 * sysdeps/unix/sysv/Versions: Remove file.
37897
8280f22d
MT
378982012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37899
37900 [BZ #13927]
37901 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37902
75ce411f 379032012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
37904
37905 [BZ #7064]
37906 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37907 version from __vm86.
37908
097d59fa
JM
379092012-04-20 Joseph Myers <joseph@codesourcery.com>
37910
a90f3bcb
JM
37911 * sysdeps/unix/common/lxstat.c: Remove file.
37912 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37913
edc7ea78
JM
37914 * sysdeps/unix/sysv/Makefile: Remove file.
37915
cb78c221
JM
37916 * sysdeps/unix/sysv/direct.h: Remove file.
37917
efa6a45f
JM
37918 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37919 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37920 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37921 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37922 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37923 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37924 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37925
9c9f2d0c
JM
37926 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37927
4541c83b
JM
37928 * sysdeps/unix/xmknod.c: Remove file.
37929 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37930
f5d153a0
JM
37931 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37932
aa746595
JM
37933 * sysdeps/unix/sysv/i386/time.S: Remove file.
37934
cce5905e
JM
37935 * sysdeps/unix/fxstat.c: Remove file.
37936 * sysdeps/unix/xstat.c: Likewise.
37937 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37938
37fa3841
JM
37939 * sysdeps/unix/sysv/sigaction.c: Remove file.
37940
ff1962a3
JM
37941 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37942 (sysdep_headers): Remove variable.
37943 [termio.h not in sysdep_headers] (generated): Likewise.
37944 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37945 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37946 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37947 * sysdeps/unix/sysv/tcflow.c: Likewise.
37948 * sysdeps/unix/sysv/tcflush.c: Likewise.
37949 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37950 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37951 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37952 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37953 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37954
e7740d31
JM
37955 * sysdeps/unix/siglist.c: Remove file.
37956
ee06f18b
JM
37957 * sysdeps/unix/getppid.S: Remove file.
37958
097d59fa
JM
37959 * sysdeps/unix/mkdir.c: Remove file.
37960 * sysdeps/unix/rmdir.c: Likewise.
37961
ff3d51ec
AS
379622012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37963
37964 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37965 ERR_MAX value.
37966 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37967 errlist-compat value.
37968
50f81fd7
DM
379692012-04-18 David S. Miller <davem@davemloft.net>
37970
37971 * sysdeps/generic/memcopy.h (reg_char): Delete.
37972 * debug/strcat_chk.c: Use char, not reg_char.
37973 * debug/strcpy_chk.c: Likewise.
37974 * debug/strncat_chk.c: Likewise.
37975 * debug/strncpy_chk.c: Likewise.
37976 * string/memchr.c: Likewise.
37977 * string/memrchr.c: Likewise.
37978 * string/rawmemchr.c: Likewise.
37979 * string/strcat.c: Likewise.
37980 * string/strchr.c: Likewise.
37981 * string/strchrnul.c: Likewise.
37982 * string/strcmp.c: Likewise.
37983 * string/strcpy.c: Likewise.
37984 * string/strncat.c: Likewise.
37985 * string/strncmp.c: Likewise.
37986 * string/strncpy.c: Likewise.
37987
8ff41c46
WS
379882012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37989
37990 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37991 __builtin_memcopy is called when src and dest ranges are known to not
37992 overlap.
37993
6b652f46
WS
379942012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37995
37996 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37997 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37998 fwd_align_merge macro call.
37999 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38000 bwd_align_merge macro call.
38001 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38002
b282631e
WS
380032012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38004
38005 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38006 bwd_align_merge macros.
38007 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38008 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38009 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38010
95aa737c
DM
380112012-04-18 David S. Miller <davem@davemloft.net>
38012
38013 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38014
7a99a614
AJ
380152012-04-18 Andreas Jaeger <aj@suse.de>
38016
38017 [BZ# 6794]
38018 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38019 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38020 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38021
38022 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38023 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38024 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38025
38026 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38027 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38028 Adjust for changed ldbl-128 files.
38029
38030 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38031 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38032 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38033
e5270c23
DM
380342012-04-17 David S. Miller <davem@davemloft.net>
38035
38036 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38037
fb5e92c9
AS
380382012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38039
38040 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38041 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38042 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38043 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38044 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38045 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38046
76da7265
AZ
380472012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38048
38049 [BZ #6794]
38050 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38051 * math/libm-test.inc: Add ilogb errno and exception tests.
38052 * math/w_ilogb.c: New file: ilogb wrapper.
38053 * math/w_ilogbf.c: New file: ilogbf wrapper.
38054 * math/w_ilogbl.c: New file: ilogbl wrapper.
38055 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38056 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38057 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38058 exception being thrown with 0.0 as argument.
38059 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38060 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38061 exception being thrown with 0.0 as argument.
38062 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38063 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38064 exception being thrown with 0.0 as argument.
38065 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38066 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38067 exception being thrown with 0.0 as argument.
38068 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38069 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 38070 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
38071 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38072 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38073 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38074 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38075 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38076 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38077
0396e69d
PB
380782012-04-17 Petr Baudis <pasky@ucw.cz>
38079
38080 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38081 with altivec.
38082
750b5926
MP
380832012-04-16 Marek Polacek <polacek@redhat.com>
38084
38085 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38086
751728a1
MP
380872012-04-16 Marek Polacek <polacek@redhat.com>
38088
38089 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38090 operands of fdivp instruction.
38091
34a27407
L
380922012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38093
38094 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38095 * elf/tst-auditmod3b.c: Likewise.
38096 * elf/tst-auditmod4b.c: Likewise.
38097 * elf/tst-auditmod5b.c: Likewise.
38098 * elf/tst-auditmod6b.c: Likewise.
38099 * elf/tst-auditmod6c.c: Likewise.
38100 * elf/tst-auditmod7b.c: Likewise.
38101 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38102 * sysdeps/x86_64/preconfigure.in: Likewise.
38103 * sysdeps/x86_64/preconfigure: Regenerated.
38104
7e73e17d
L
381052012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38106
38107 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38108 __ILP32__.
38109
c7a6ab72
AB
381102012-04-13 Antoine Balestrat <merkil33@gmail.com>
38111
38112 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38113 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38114
a9e8e0e0
CL
381152012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38116
38117 [BZ #13973]
38118 * locale/iso-639.def: Fix gl language name. Spotted by
38119 Yaron Shahrabani.
38120
ec98af7d
RM
381212012-04-12 Roland McGrath <roland@hack.frob.com>
38122
38123 [BZ #2074]
38124 * libio/libio.h (__io_write_fn): Update comment.
38125
247c3ede
PB
381262012-04-12 Petr Baudis <pasky@ucw.cz>
38127
38128 [BZ #2074]
38129 * stdio.texi (Hook Functions): The user provided writer function
38130 is not allowed to return -1.
38131
55939d6d
DM
381322012-04-11 David S. Miller <davem@davemloft.net>
38133
38134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38135
90020f5a
MF
381362012-04-11 Mike Frysinger <vapier@gentoo.org>
38137
38138 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38139 Add a leading slash to rtkaio.
38140
288f9098
JM
381412012-04-11 Jim Meyering <meyering@redhat.com>
38142
90020f5a
MF
38143 [BZ #11959]
38144 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38145 It is not necessarily an error to ignore fwrite's return
38146 value. One can reliably use ferror to test for errors after
38147 the fact.
288f9098 38148
4be2b570
L
381492012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38150
38151 * bits/types.h (__snseconds_t): New type.
38152 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38153
38154 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38155 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38156 (__SNSECONDS_T_TYPE): Likewise.
38157 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38158 (__SNSECONDS_T_TYPE): Likewise.
38159 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38160 (__SNSECONDS_T_TYPE): Likewise.
38161
288f9098 381622012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
38163
38164 [BZ #2636]
38165 * manual/time.texi (Processor Time): Return type of times is
38166 elapsed real time since an arbitrary point in the past.
38167 (CPU Time): Move CLK_TCK from here...
38168 (Processor Time): ...to here. Correct description.
38169 * manual/conf.texi (Constants for Sysconf): Correct description of
38170 _SC_CLK_TCK.
38171
d7dd4413
DM
381722012-04-10 David S. Miller <davem@davemloft.net>
38173
38174 [BZ #13967]
38175 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38176 where the is a gap between DT_REL(A) and DT_JMPREL.
38177
b46068fc
L
381782012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38179
38180 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38181 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38182 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38183
73d65cc3
SP
381842012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38185
38186 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38187 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38188 (dl_main): Handle --inhibit-cache.
38189 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38190 _dl_inhibit_cache.
38191 * elf/dl-load.c (_dl_map_object): Use it.
38192 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38193
bcc8d661
JM
381942012-04-09 Joseph Myers <joseph@codesourcery.com>
38195
8f9a2fae
JM
38196 [BZ #13872]
38197 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38198 (__ieee754_powl): Saturate large exponents rather than testing for
38199 overflow of y*log2(x).
38200 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38201 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38202 exceptions.
38203
bcc8d661
JM
38204 [BZ #11521]
38205 * math/s_ctan.c: Include <float.h>.
38206 (__ctan): Avoid internal overflow or cancellation in calculating
38207 denominator.
38208 * math/s_ctanf.c: Likewise.
38209 * math/s_ctanl.c: Likewise.
38210 * math/s_ctanh.c: Likewise.
38211 * math/s_ctanhf.c: Likewise.
38212 * math/s_ctanhl.c: Likewise.
38213 * math/libm-test.inc (ctan_test): Add more tests.
38214 (ctanh_test): Likewise.
38215 * sysdeps/i386/fpu/libm-test-ulps: Update.
38216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38217
823fbbb4
AJ
382182012-04-09 Andreas Jaeger <aj@suse.de>
38219
03879793
AJ
38220 [BZ #6894]
38221 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38222 is an optional BSD extension.
38223
823fbbb4
AJ
38224 [BZ #10254]
38225 * manual/stdio.texi (Opening Streams): Document additional fopen
38226 parameters.
38227
8de131cb
RM
382282012-04-09 Roland McGrath <roland@hack.frob.com>
38229
38230 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38231 %eax without telling the compiler.
38232
c0ed9d7d
CD
382332012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38234
38235 [BZ # 13963]
38236 * manual/install.texi: Use sourceware.org.
38237
c483f6b4
JM
382382012-04-09 Joseph Myers <joseph@codesourcery.com>
38239
d7dd9453
JM
38240 [BZ #13873]
38241 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38242 (__ieee754_pow): Generate overflow and underflow using huge*huge
38243 and tiny*tiny rather than just returning constant infinity or zero
38244 for large exponents.
38245 * math/libm-test.inc (pow_test): Require overflow exceptions for
38246 applicable cases of large exponents.
38247
c483f6b4
JM
38248 [BZ #706]
38249 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38250 (__ieee754_pow): Use iterative multiplication algorithm only for
38251 integer exponents with absolute value below 1024. Check for odd
38252 integer exponents when using algorithm for real exponents.
38253 * math/libm-test.inc (pow_test): Add more tests.
38254 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38255
d2de7579
JM
382562012-04-08 Joseph Myers <joseph@codesourcery.com>
38257
38258 [BZ #13705]
38259 * math/libm-test.inc (exp_test): Do not allow overflow exception
38260 on underflow test.
38261
f77f1232
AJ
382622012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38263
38264 [BZ #13705]
38265 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38266 instead of __kernel_standard_f.
38267
3884932b
MF
382682012-04-08 Mike Frysinger <vapier@gentoo.org>
38269
38270 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38271 * sysdeps/x86_64/memset_chk.S: Likewise.
38272
54472e9c
AJ
382732012-04-08 Andreas Jaeger <aj@suse.de>
38274
6ab0fbfc
AJ
38275 [BZ #10153]
38276 * manual/startup.texi (Environment Access): Describe return value
38277 for putenv and setenv.
38278
61efba8c
AJ
38279 [BZ #6895]
38280 * manual/filesys.texi (Directory Entries): Add description for
38281 DT_LNK.
38282
95c3f29a
AJ
38283 [BZ #6890]
38284 * manual/filesys.texi (Directory Entries): Clarify that it's file
38285 system not operating system in the description of DT_UNKNOWN.
38286
54472e9c
AJ
38287 [BZ #6578]
38288 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38289
624254b1
SC
382902012-04-08 Stephen Compall <s11@member.fsf.org>
38291
38292 [BZ #6649]
38293 * manual/llio.texi (Opening and Closing Files): Add cross
38294 reference to explain mode argument.
38295
1e4920e0
MF
382962012-04-07 Mike Frysinger <vapier@gentoo.org>
38297
38298 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38299 * sysdeps/x86_64/memset_chk.S: Likewise.
38300
5ed848f3
DM
383012012-04-07 David S. Miller <davem@davemloft.net>
38302
38303 * elf/elf.h (R_SPARC_WDISP10): Define.
38304 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38305 R_SPARC_SIZE32.
38306 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38307 R_SPARC_SIZE64 and R_SPARC_H34.
38308
96154cd8
CD
383092012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38310
38311 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38312 conditions and remove no longer applicable assertion.
38313
9904dc47
L
383142012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38315
38316 * bits/byteswap.h: Include <features.h>.
38317 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38318 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38319
f8887d0a
L
383202012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38321
38322 * bits/byteswap.h (__bswap_16): Removed.
38323 Include <bits/byteswap-16.h> to get __bswap_16.
38324 * sysdeps/i386/bits/byteswap.h: Likewise.
38325 * sysdeps/s390/bits/byteswap.h: Likewise.
38326 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38327 * bits/byteswap-16.h: New file.
38328 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38329 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38330 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38331 * string/Makefile (headers): Add bits/byteswap-16.h.
38332
62470f60
PP
383332012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38334
38335 [BZ #13895]
38336 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38337 extra indirection.
38338 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38339 * nss/tst-nss-static.c: New.
38340
4dad7bab
RM
383412012-04-06 Robert Millan <rmh@gnu.org>
38342
38343 [BZ #6486]
38344 * manual/llio.texi (File Position Primitive): lseek
38345 refers to WHENCE when it really means OFFSET.
38346
e9142a17
AJ
383472012-04-06 Andreas Jaeger <aj@suse.de>
38348
2c040eff
AJ
38349 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38350 strncmp declarations.
38351
e9142a17
AJ
38352 * abilist/libc.abilist: Add __poll and __ppoll.
38353
ff9f1c5f
DM
383542012-04-05 David S. Miller <davem@davemloft.net>
38355
dcd2ae90
DM
38356 * scripts/check-local-headers.sh: Accept a host triplet in the
38357 path matched by the exclude regexp.
38358
993eb054
DM
38359 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38360 definition.
38361 * sysdeps/powerpc/powerpc32/dl-machine.h
38362 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38363 * sysdeps/s390/s390-32/dl-machine.h
38364 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38365 * sysdeps/sparc/sparc32/dl-machine.h
38366 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38367 * sysdeps/sparc/sparc64/dl-machine.h
38368 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38369
ff9f1c5f
DM
38370 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38371 lazy binding.
48e2e132 38372 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
38373 undefined symbol errors.
38374
48e2e132 38375 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
38376 DT_NEEDED entries.
38377
e80d6f94
MM
383782012-04-05 Michael Matz <matz@suse.de>
38379
38380 [BZ #13592]
38381 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38382
349fa79f
AJ
383832012-04-05 Andreas Jaeger <aj@suse.de>
38384
38385 [BZ #13908]
38386 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38387 comment.
38388
f402708f
KK
383892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38390
38391 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38392 which ROUND is no valid rounding mode.
38393
2ecccfc9
KK
383942012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38395
38396 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38397 read again.
38398 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38399
8a53f50f
KK
384002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38401
38402 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38403 an exception using FPU order intentionally.
38404
384052012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38406
38407 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38408 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38409 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38410 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38411
d653abb7
SJ
384122012-04-05 Simon Josefsson <simon@josefsson.org>
38413
38414 [BZ #12340]
38415 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38416 EINVAL when BUFLEN is too smal.
38417
c3b1bf7d
TS
384182012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38419
38420 [BZ #13553]
38421 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38422 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38423
b1aa60f3
AJ
384242012-04-03 Andreas Jaeger <aj@suse.de>
38425
c3b1bf7d 38426 [BZ #13938]
67f60a26
AJ
38427 * manual/setjmp.texi (System V contexts): Fix sentence.
38428
b1aa60f3
AJ
38429 [BZ #13926]
38430 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38431 New macro for this case.
38432 [!__GNUC__] (__bswap_64): New inline function for this case.
38433 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38434 * bits/byteswap.h: Likewise.
38435 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38436 ull, guard with __GLIBC_HAVE_LONG_LONG.
38437
38438 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38439 __GLIBC_HAVE_LONG_LONG.
38440
38441 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38442 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38443
39c59c35
TMQMF
384442012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38445
38446 [BZ #13691]
38447 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38448 inptr and inend, rather than using last_ch.
38449
135ffda8
DM
384502012-04-02 David S. Miller <davem@davemloft.net>
38451
38452 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38453 * stdio-common/printf-parse.h (read_int): Change return type to
38454 'int', return -1 on INT_MAX overflow.
38455 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38456 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38457 overflows INT_MAX. Check for overflow of in-format-string precision
38458 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38459 SIZE_MAX not INT_MAX for integer overflow test.
38460 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38461 skip the construct in the format string but do not record anything.
38462 * stdio-common/bug22.c: Adjust to test both width/prevision
38463 INT_MAX overflow as well as total length INT_MAX overflow. Check
38464 explicitly for proper errno values.
38465
228c019e
TS
384662012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38467
302cadd3
TS
38468 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38469 CHAR_MAX.
38470 * string/test-strcmp.c [! WIDE]: Likewise.
38471 * time/tst-mktime2.c: Likewise for INT_MAX.
38472 * string/test-string.h: #include <sys/param.h> for MIN.
38473
228c019e
TS
38474 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38475 * sysdeps/i386/init-first.c (init): Likewise.
38476 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38477 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38478 * sysdeps/sh/init-first.c (init): Likewise.
38479
cfa633f5
UD
384802012-04-01 Ulrich Drepper <drepper@gmail.com>
38481
38482 * po/ru.po: Update from translation team.
d1635ef8 38483 * po/vi.po: Likewise.
cfa633f5 38484
6cd0a5ea
SP
384852012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38486
38487 * resolv/nss_dns/dns-host.c: Merge copyright years.
38488
4b43400f
LD
384892012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38490
38491 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38492 Optimize memcpy with prefetch if
38493 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38494 src, dst pointers have unequal 16 byte alignments.
38495
48c41d04
SP
384962012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38497
38498 [BZ #13928]
38499 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38500 from a CNAME entry and return the minimum ttl for the query.
38501 (gaih_getanswer_slice): Likewise.
38502
b8dc394d
JL
385032012-03-30 Jeff Law <law@redhat.com>
38504
38505 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38506 due to long keys.
38507 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38508 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38509
2f5a5ed0
JL
38510 * resolv/nss_dns/dns-host.c: Update copyright year.
38511
1d39e359
UD
385122012-03-30 Ulrich Drepper <drepper@gmail.com>
38513
c030f70c 38514 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 38515 requests to save a system call. Fix check that all bytes are sent.
c030f70c 38516
1d39e359
UD
38517 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38518 comments for sendmmsg.
38519
385202012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
38521
38522 [BZ #13691]
38523 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38524 with only 1 character between 0x0041 and 0x01b0.
38525 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38526 * wcsmbs/tst-mbsnrtowcs.c: New file.
38527
20fde227
DM
385282012-03-29 David S. Miller <davem@davemloft.net>
38529
38530 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38531 small copies by hand.
38532
984a4237
JL
385332012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38534
38535 [BZ #13761]
57f41c40
AS
38536 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38537 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38538 group memberships.
984a4237 38539
18c9d62b
DM
385402012-03-28 David S. Miller <davem@davemloft.net>
38541
88d85d4f
DM
38542 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38543 that branches into memcpy.
38544 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38545 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38546 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38547 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38548 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38549 bits.
38550 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38551 implementation too.
38552 * sysdeps/sparc/mempcpy.S: New file.
38553
e5aa83e1
DM
38554 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38555 the IFUNC routine in the libc case.
38556 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38557
88570753
DM
38558 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38559 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38560 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38561 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38562 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38563 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38564 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38565 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38566
249d7567
DM
38567 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38568 loop to 256 bytes instead of 64 bytes and fix test signedness.
38569
18c9d62b
DM
38570 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38571 * sysdeps/sparc/sparc32/Makefile: rather than here...
38572 * sysdeps/sparc/sparc64/Makefile: and here.
38573
05f3d1f6
UD
385742012-03-28 Ulrich Drepper <drepper@gmail.com>
38575
38576 * malloc/mallocbug.c: Avoid warnings about unused variables.
38577
86ae07a8
JL
385782012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38579
38580 [BZ #13760]
38581 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38582 in the right place. Discard and retry query if response is
38583 larger than input buffer size.
38584
41bf21a1
JM
385852012-03-28 Joseph Myers <joseph@codesourcery.com>
38586
d6270972
JM
38587 [BZ #369]
38588 [BZ #2678]
38589 [BZ #3866]
38590 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38591 x for large integer exponent.
38592 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38593 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38594 sign of result as needed afterwards.
38595 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38596 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38597 result for underflowing pow the same as for overflow.
38598 (__kernel_standard_l): Handle powl overflow and underflow here
38599 rather than calling __kernel_standard.
38600 * math/libm-test.inc (pow_test): Add more tests.
38601
414fca03 38602 [BZ #3868]
41bf21a1
JM
38603 [BZ #13879]
38604 [BZ #13910]
38605 [BZ #13911]
38606 [BZ #13912]
38607 [BZ #13913]
38608 [BZ #13915]
38609 [BZ #13916]
38610 [BZ #13917]
38611 [BZ #13918]
38612 [BZ #13919]
38613 [BZ #13920]
38614 [BZ #13921]
38615 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38616 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38617 (__kernel_standard_l): New function.
38618 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38619 __kernel_standard.
38620 * math/w_acosl.c (__acosl): Likewise.
38621 * math/w_asinl.c (__asinl): Likewise.
38622 * math/w_atan2l.c (__atan2l): Likewise.
38623 * math/w_atanhl.c (__atanhl): Likewise.
38624 * math/w_coshl.c (__coshl): Likewise.
38625 * math/w_exp10l.c (__exp10l): Likewise.
38626 * math/w_exp2l.c (__exp2l): Likewise.
38627 * math/w_fmodl.c (__fmodl): Likewise.
38628 * math/w_hypotl.c (__hypotl): Likewise.
38629 * math/w_j0l.c (__j0l, __y0l): Likewise.
38630 * math/w_j1l.c (__j1l, __y1l): Likewise.
38631 * math/w_jnl.c (__jnl, __ynl): Likewise.
38632 * math/w_lgammal.c (__lgammal): Likewise.
38633 * math/w_log10l.c (__log10l): Likewise.
38634 * math/w_log2l.c (__log2l): Likewise.
38635 * math/w_logl.c (__logl): Likewise.
38636 * math/w_powl.c (__powl): Likewise.
38637 * math/w_remainderl.c (__remainderl): Likewise.
38638 * math/w_scalbl.c (sysv_scalbl): Likewise.
38639 * math/w_sinhl.c (__sinhl): Likewise.
38640 * math/w_sqrtl.c (__sqrtl): Likewise.
38641 * math/w_tgammal.c (__tgammal): Likewise.
38642 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38643 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38644 * math/libm-test.inc (acos_test): Add more tests.
38645 (acosh_test): Likewise.
38646 (asin_test): Likewise.
38647 (atanh_test): Likewise.
38648 (exp_test): Likewise.
38649 (exp10_test): Likewise.
38650 (exp2_test): Likewise.
38651 (expm1_test): Likewise.
38652 (lgamma_test): Likewise.
38653 (log_test): Likewise.
38654 (log10_test): Likewise.
38655 (log1p_test): Likewise.
38656 (log2_test): Likewise.
38657 (pow_test): Do not allow some spurious overflow exceptions.
38658 (sqrt_test): Add more tests.
38659 (tgamma_test): Likewise.
38660 (y0_test): Likewise.
38661 (y1_test): Likewise.
38662 (yn_test): Likewise.
38663
dd62fda6
AB
386642012-03-27 Anton Blanchard <anton@samba.org>
38665
38666 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38667 MAP_HUGETLB.
38668 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38669 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38670 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38671
1e3cdfda
AJ
386722012-03-27 David S. Miller <davem@davemloft.net>
38673
b855ab85
DM
38674 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38675
1e3cdfda
AJ
38676 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38677 have-as-vis3 check.
38678
386792012-03-27 Andreas Jaeger <aj@suse.de>
38680
38681 * sysdeps/x86_64/elf/configure.in: Moved to ...
38682 * sysdeps/x86_64/configure.in: ... here.
38683 * sysdeps/x86_64/elf/start.S: Moved to ...
38684 * sysdeps/x86_64/start.S: ... here.
38685 * sysdeps/x86_64/elf/configure: Delete.
38686
38687 * sysdeps/x86_64/configure.in: Merge contents from
38688 sysdeps/i386/configure.in (without i686 check).
38689
38690 * sysdeps/i386/elf/Versions: Merge into ...
38691 * sysdeps/i386/Versions: ... this.
38692 * sysdeps/i386/elf/Versions: Delete file.
38693 * sysdeps/i386/elf/start.S: Moved to ...
38694 * sysdeps/i386/start.S: ...here.
38695 * sysdeps/i386/elf/configure.in: Merge into...
38696 * sysdeps/i386/configure.in: ...here.
38697 * sysdeps/i386/elf/configure.in: Delete file.
38698 * sysdeps/i386/elf/configure: Delete file.
38699
38700 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38701 * debug/backtracesyms.c: ... here.
38702 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38703 * debug/backtracesymsfd.c: ... here.
38704 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38705 * sysdeps/generic/ifunc-sel.h: ... here.
38706
38707 * sysdeps/unix/i386/start.c: Delete file.
38708 * sysdeps/unix/sparc/start.c: Delete file.
38709 * sysdeps/unix/start.c: Delete file.
38710
38711 * sysdeps/sh/elf/configure.in: Moved to ...
38712 * sysdeps/sh/configure.in: ... here.
38713 * sysdeps/sh/elf/start.S: Moved to ...
38714 * sysdeps/sh/start.S: ... here.
38715 * sysdeps/sh/elf/configure: Delete file.
38716
38717 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38718 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38719 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38720 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38721 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38722 * sysdeps/powerpc/powerpc64/start.S: here.
38723 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38724 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38725 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38726 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38727 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38728
38729 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38730 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38731 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38732 * sysdeps/powerpc/powerpc32/start.S: ... here.
38733 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38734 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38735 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38736
38737 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38738 * sysdeps/powerpc/ifunc-sel.h: ... here.
38739 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38740 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38741
38742 * sysdeps/sparc/elf/configure.in: Moved to ...
38743 * sysdeps/sparc/configure.in: ... here.
38744 * sysdeps/sparc/elf/configure: Delete file.
38745 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38746 * sysdeps/sparc/sparc32/start.S: ... here.
38747 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38748 * sysdeps/sparc/sparc64/start.S: ... here.
38749 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38750 * sysdeps/sparc/sparc32/Makefile: ... this.
38751 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38752 * sysdeps/sparc/sparc64/Makefile: ... this.
38753
38754 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38755 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38756 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38757 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38758 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38759 * sysdeps/s390/s390-32/setjmp.S: ... here.
38760 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38761 * sysdeps/s390/s390-32/configure.in: ... here.
38762 * sysdeps/s390/s390-32/elf/configure: Delete file.
38763 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38764 * sysdeps/s390/s390-32/start.S: ... here.
38765
38766 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38767 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38768 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38769 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38770 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38771 * sysdeps/s390/s390-64/setjmp.S: ... here.
38772 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38773 * sysdeps/s390/s390-64/configure.in: ... here
38774 * sysdeps/s390/s390-64/elf/configure: Delete file.
38775 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38776 * sysdeps/s390/s390-64/start.S: ... here.
38777 * sysdeps/s390/s390-64/elf/configure: Delete.
38778
38779 * configure.in: Remove support for elf directories in sysdeps.
38780
38781 * configure: Regenerated.
38782 * sysdeps/i386/configure: Regenerated.
38783 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38784 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38785 * sysdeps/s390/s390-32/configure: Regenerated.
38786 * sysdeps/s390/s390-64/configure: Regenerated.
38787 * sysdeps/sh/configure: Regenerated.
38788 * sysdeps/sparc/configure: Regenerated.
38789 * sysdeps/x86_64/configure: Regenerated.
38790
a3f61311
AS
387912012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38792
c876e002
AS
38793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38794
a3f61311
AS
38795 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38796 denormal result into account.
38797
ac4c54f0
RM
387982012-03-25 Roland McGrath <roland@hack.frob.com>
38799
38800 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38801 Reported by Allan McRae <allan@archlinux.org>.
38802
6a9b9c02
JL
388032012-03-23 Jeff Law <law@redhat.com>
38804
38805 * nss/getnssent.c (__nss_getent): Fix typo.
38806
4c42a0c1
DM
388072012-03-23 David S. Miller <davem@davemloft.net>
38808
38809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38810
1532c7ac
L
388112012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38812
38813 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38814 to pad to uint64_t for each field.
38815 (dl_tls_index): Replace unsigned long with uint64_t.
38816
3ff42526
PP
388172012-03-23 Daniel Jacobowitz <dmj@google.com>
38818 Paul Pluzhnikov <ppluzhnikov@google.com>
38819
38820 [BZ #6528]
38821 * grp/Makefile (otherlibs): Don't set it.
38822 * inet/Makefile (otherlibs): Likewise.
38823 * login/Makefile (otherlibs): Likewise.
38824 * nscd/Makefile (otherlibs): Likewise.
38825 * posix/Makefile (otherlibs): Likewise.
38826 * pwd/Makefile (otherlibs): Likewise.
38827 * rt/Makefile (otherlibs): Likewise.
38828 * sunrpc/Makefile (otherlibs): Likewise.
38829 * nss/Makefile (otherlibs): Likewise.
38830 Add libnss_files to routines and static-only-routines.
38831 ($(objpfx)getent): Remove rule.
38832 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38833 static-only-routines.
38834
7c69cd14
JM
388352012-03-22 Joseph Myers <joseph@codesourcery.com>
38836
38837 [BZ #13892]
38838 * math/s_cexp.c: Include <float.h>.
38839 (__cexp): Handle exp result overflowing not necessarily
38840 overflowing both real and imaginary parts of result.
38841 * math/s_cexpf.c: Likewise.
38842 * math/s_cexpl.c: Likewise.
38843 * math/libm-test.inc (cexp_test): Add more tests.
38844 * sysdeps/i386/fpu/libm-test-ulps: Update.
38845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38846
81b035fe
L
388472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38848
38849 * include/link.h (ELFW): New macro.
38850 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38851 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38852
1da7940c
L
388532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38854
38855 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38856 with uint64_t.
38857
b749dbb9
L
388582012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38859
38860 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38861 declaration.
38862 (struct La_x32_retval): Likewise.
38863
2ff87f3f
L
388642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38865
38866 * sysdeps/x86_64/preconfigure.in: New file.
38867 * sysdeps/x86_64/preconfigure: New generated file.
38868
c0df8e69
JM
388692012-03-22 Joseph Myers <joseph@codesourcery.com>
38870
48e44791
JM
38871 [BZ #13824]
38872 * math/e_exp2l.c: Include <float.h>.
38873 (__ieee754_exp2l): Handle overflow and underflow cases
38874 separately. Only pass fractional part of argument to
38875 __ieee754_expl.
38876 * math/libm-test.inc (exp2_test): Add more tests.
38877
c0df8e69
JM
38878 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38879 negating x to take absolute value.
38880 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38881 Likewise.
38882 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38883 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38884 Likewise.
38885 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38886 computing low part if x was negated.
38887 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38888
c8e43ba7
L
388892012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38890
38891 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38892 la_x32_gnu_pltexit.
38893 (pltexit): Cast int_retval to ptrdiff_t.
38894 * elf/tst-auditmod3b.c: Likewise.
38895 * elf/tst-auditmod4b.c: Likewise.
38896 * elf/tst-auditmod5b.c: Likewise.
38897 * elf/tst-auditmod6b.c: Likewise.
38898 * elf/tst-auditmod6c.c: Likewise.
38899 * elf/tst-auditmod7b.c: Likewise.
38900
38901 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38902 and x32_gnu_pltexit.
38903
38904 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38905 __ELF_NATIVE_CLASS.
38906 (La_x32_regs): New macro.
38907 (La_x32_retval): Likewise.
38908 (la_x32_gnu_pltenter): New function prototype.
38909 (la_x32_gnu_pltexit): Likewise.
38910
7998fa78
AS
389112012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38912
dcb33988
AS
38913 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38914 exponent.
38915
233fc563
AS
38916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38917
7998fa78
AS
38918 * configure.in (libc_cv_cc_nofma): Check for option to disable
38919 generation of FMA instructions.
38920 * configure: Regenerate.
38921 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38922 * sysdeps/ieee754/dbl-64/Makefile: New file.
38923 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38924 Remove brandred-fma4.
38925 (CFLAGS-brandred-fma4.c): Remove.
38926 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38927 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38928 define.
38929 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38930 define.
38931
8e95c99a
L
389322012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38933
38934 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38935 LLONG_MAX != LONG_MAX.
38936 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38937 (_fitoa_word): Likewise.
38938 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38939 LLONG_MAX != LONG_MAX.
38940 * stdio-common/_itowa.h: Include <_itoa.h>.
38941 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38942 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38943 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38944 only if not defined.
38945 (_ITOA_WORD_TYPE): Likewise.
38946 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38947 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38948
6f4db457
DM
389492012-03-21 David S. Miller <davem@davemloft.net>
38950
38951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38952
7785fe5a
L
389532012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38954
38955 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38956 of x86_64 when setting libc_cv_slibdir, libdir and
38957 libc_cv_localedir.
38958 * sysdeps/unix/sysv/linux/configure: Regenerated.
38959
4535cd55
JM
389602012-03-21 Joseph Myers <joseph@codesourcery.com>
38961
38962 * manual/lang.texi (Old Varargs): Remove section.
38963 (How Variadic): Update menu.
38964 (va_start): Do not mention varargs.h.
38965
17228132
TS
389662012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38967 Joseph Myers <joseph@codesourcery.com>
38968
38969 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38970 link test.
38971 * configure: Regenerated.
38972
8149f976
TS
389732012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38974
05f3d1f6
UD
38975 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38976 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38977 conformtest.pl
8149f976 38978
1a4ac776
JM
389792012-03-21 Joseph Myers <joseph@codesourcery.com>
38980
be22ce65
JM
38981 * NOTES: Remove.
38982 * Makefile (files-for-dist): Remove NOTES.
38983 (NOTES): Remove rule.
38984 * README: Don't refer to NOTES.
38985 * manual/creature.texi: Don't include macros.texi.
38986 * manual/intro.texi (creature.texi): Remove comment referring to
38987 NOTES.
38988
40b601fb
JM
38989 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38990 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38991 * configure: Regenerated.
38992 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38993 LIBC_TRY_CC_OPTION.
38994 (libc_cv_as_i686): Likewise.
38995 (libc_cv_cc_avx): Likewise.
38996 (libc_cv_cc_sse2avx): Likewise.
38997 (libc_cv_cc_fma4): Likewise.
38998 (libc_cv_cc_novzeroupper): Likewise.
38999 * sysdeps/i386/configure: Regenerated.
39000
1a4ac776
JM
39001 [BZ #13883]
39002 * sysdeps/i386/fpu/s_cexp.S: Remove.
39003 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39004 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39005 * math/libm-test.inc (cexp_test): Add more tests.
39006 * sysdeps/i386/fpu/libm-test-ulps: Update.
39007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39008
a458e7fe
AM
390092012-03-21 Allan McRae <allan@archlinux.org>
39010
39011 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39012
0cb7efc5
JM
390132012-03-21 Joseph Myers <joseph@codesourcery.com>
39014
39015 [BZ #13871]
39016 * math/w_exp2.c: Do not include <float.h>.
39017 (o_threshold, u_threshold): Remove.
39018 (__exp2): Calculate result before checking finiteness and calling
39019 __kernel_standard.
39020 * math/w_exp2f.c: Likewise.
39021 * math/w_exp2l.c: Likewise.
39022 * math/libm-test.inc (exp2_test): Require overflow exception for
39023 1e6 input.
2460d3aa
JM
39024
39025 [BZ #3866]
39026 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39027 range of signed 64-bit integers before using fistpll. Remove
39028 checks for whether integers fit in mantissa bits.
39029 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39030 the range of signed 32-bit integers before using fistpl. Remove
39031 checks for whether integers fit in mantissa bits.
39032 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39033 (__ieee754_powl): Test for y outside the range of signed 64-bit
39034 integers before using fistpll. Reduce 64-bit values to 63-bit
39035 ones as needed.
39036 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39037 divide-by-zero is raised for zero to large negative powers.
39038 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39039 (__ieee754_powl): Test for y outside the range of signed 64-bit
39040 integers before using fistpll. Reduce 64-bit values to 63-bit
39041 ones as needed.
39042 * math/libm-test.inc (pow_test): Add more tests.
39043
eb96ffb0
L
390442012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39045
39046 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39047 <stdio-common/_itoa.h>.
39048 * debug/segfault.c: Likewise.
39049 * elf/dl-cache.c: Likewise.
39050 * elf/dl-minimal.c: Likewise.
39051 * elf/dl-misc.c: Likewise.
39052 * elf/dl-sysdep.c: Likewise.
39053 * elf/dl-version.c: Likewise.
39054 * elf/rtld.c: Likewise.
39055 * hurd/hurdsock.c: Likewise.
39056 * hurd/lookup-retry.c: Likewise.
39057 * malloc/malloc.c: Likewise.
39058 * malloc/mtrace.c: Likewise.
39059 * nscd/nscd_getgr_r.c: Likewise.
39060 * nscd/nscd_getpw_r.c: Likewise.
39061 * nscd/nscd_getserv_r.c: Likewise.
39062 * posix/getopt_init.c: Likewise.
39063 * posix/wordexp.c: Likewise.
39064 * stdio-common/_itoa.c: Likewise.
39065 * stdio-common/printf_fphex.c: Likewise.
39066 * stdio-common/vfprintf.c: Likewise.
39067 * string/_strerror.c: Likewise.
39068 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39069 * sysdeps/i386/i686/hp-timing.h: Likewise.
39070 * sysdeps/mach/_strerror.c: Likewise.
39071 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39072 * sysdeps/mach/hurd/sethostid.c: Likewise.
39073 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39074 * sysdeps/mach/xpg-strerror.c: Likewise.
39075 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39076 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39077 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39078 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39079 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39080 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39081 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39082 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39083 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39084 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39085 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39086 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39087 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39088 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39089 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39090 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39091 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39092 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39093 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39094 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39095 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39096
39097 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39098
39099 * stdio-common/_itoa.h: Moved to ...
39100 * sysdeps/generic/_itoa.h: Here.
39101
39102 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39103
39104 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39105 instead of "_itoa.h" and "_itowa.h".
39106 * stdio-common/vfprintf.: Likewise.
39107
d1af992d
L
391082012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39109
39110 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39111 <bits/wordsize.h>.
39112 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39113 (__signbit): Likwise.
39114 (llrintf): Likwise.
39115 (llrint): Likwise.
39116
114883e0
L
391172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39118
39119 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39120 __WORDSIZE != 64.
39121
c135cc1b
JM
391222012-03-20 Joseph Myers <joseph@codesourcery.com>
39123
39124 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39125 OVERFLOW_EXCEPTION_OK.
39126 * math/libm-test.inc ("Philosophy"): Update comment about
39127 exception testing.
39128 (OVERFLOW_EXCEPTION): Define.
39129 (OVERFLOW_EXCEPTION_OK): Likewise.
39130 (INVALID_EXCEPTION_OK): Renumber.
39131 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39132 (IGNORE_ZERO_INF_SIGN): Likewise.
39133 (test_exceptions): Handle FE_OVERFLOW.
39134 (exp10_test): Expect overflow exceptions.
39135 (exp2_test): Likewise.
39136 (expm1_test): Likewise.
39137 (nextafter_test): Likewise.
39138 (pow_test): Likewise.
39139 (scalbn_test): Likewise.
39140 (scalbln_test): Likewise.
39141
95443d88
L
391422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39143
39144 * sysdeps/x86_64/bits/atomic.h
39145 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39146 64bit integer.
39147 (atomic_exchange_acq): Likewise.
39148 (__arch_exchange_and_add_body): Likewise.
39149 (__arch_add_body): Likewise.
39150 (atomic_add_negative): Likewise.
39151 (atomic_add_zero): Likewise.
39152
490df6c4
L
391532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39154
c2722551 39155 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
39156 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39157
5e52b189
L
391582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39159
39160 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39161 Check __x86_64__ instead of __WORDSIZE.
39162
a9879d4c
L
391632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39164
39165 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39166
5df98260
DM
391672012-03-19 David S. Miller <davem@davemloft.net>
39168
e1497744
DM
39169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39170
5df98260
DM
39171 * sysdeps/sparc/fpu/fenv_private.h: New file.
39172 * sysdeps/sparc/fpu/math_private.h: Use it.
39173 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39174 Remove.
57f41c40 39175 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
39176 (libc_feholdexcept_setroundl): Remove.
39177 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39178 Remove.
39179 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39180 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39181
b4c35121
L
391822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39183
39184 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39185 int64_t instead of long int.
39186 (INSERT_WORDS64): Likwise.
39187
56965fd7
L
391882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39189
39190 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39191 _Unwind_GetCFA return to _Unwind_Ptr first.
39192
83d1aec8
JM
391932012-03-19 Joseph Myers <joseph@codesourcery.com>
39194
1897ad44
JM
39195 [BZ #13629]
39196 * math/s_clog.c: Include <float.h>.
39197 (__clog): Scale large or subnormal inputs.
39198 * math/s_clogf.c: Likewise.
39199 * math/s_clogl.c: Likewise.
39200 * math/s_clog10.c: Include <float.h>.
39201 (M_LOG10_2): Define.
39202 (__clog10): Scale large or subnormal inputs.
39203 * math/s_clog10f.c: Likewise.
39204 * math/s_clog10l.c: Likewise.
39205 * math/libm-test.inc (clog_test): Add more tests.
39206 (clog10_test): Likewise.
39207 * sysdeps/i386/fpu/libm-test-ulps: Update.
39208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39209
7726d6a9
JM
39210 [BZ #11451]
39211 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39212 x and y.
39213 * math/libm-test.inc (atan2_test): Add another test.
39214
83d1aec8
JM
39215 * Makerules (common-objdir-compile): Remove.
39216 * sysdeps/unix/Makefile (config-generated): Do not add
39217 $(unix-generated) to variable.
39218 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39219 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39220 Remove rule.
39221 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39222 Likewise.
39223 [generic bits/local_lim.h] (before-compile): Do not append to
39224 variable.
39225 [generic bits/local_lim.h] (common-generated): Likewise.
39226 [generic sys/param.h] (before-compile): Do not append to variable.
39227 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39228 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39229 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39230 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39231 include.
39232 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39233 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39234 [generic sys/param.h] ($(addprefix
39235 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39236 [generic sys/param.h] (common-generated): Do not append to
39237 variable.
39238 [generic sys/param.h] (sysdep_headers): Likewise.
39239 [generic bits/errno.h] (before-compile): Do not append to
39240 variable.
39241 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39242 rule.
39243 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39244 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39245 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39246 [generic bits/errno.h] (common-generated): Do not append to
39247 variable.
39248 [generic bits/ioctls.h] (before-compile): Do not append to
39249 variable.
39250 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39251 rule.
39252 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39253 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39254 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39255 rule.
39256 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39257 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39258 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39259 [generic bits/ioctls.h] (common-generated): Do not append to
39260 variable.
39261 [generic sys/syscall.h] (syscall.h): Remove variable.
39262 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39263 rule.
39264 [generic sys/syscall.h] (before-compile): Do not append to
39265 variable.
39266 [generic sys/syscall.h] (common-generated): Likewise.
39267 * sysdeps/unix/errnos-tmpl.c: Remove file.
39268 * sysdeps/unix/errnos.awk: Likewise.
39269 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39270 * sysdeps/unix/ioctls.awk: Likewise.
39271 * sysdeps/unix/mk-local_lim.c: Likewise.
39272 * sysdeps/unix/snarf-ioctls: Likewise.
39273
4851a949
RH
392742012-03-19 Richard Henderson <rth@twiddle.net>
39275
bd37f2ee
RH
39276 * sysdeps/i386/fpu/fenv_private.h: New file.
39277 * sysdeps/i386/fpu/math_private.h: Use it.
39278 (math_opt_barrier, math_force_eval): Remove.
39279 (libc_feholdexcept_setround_53bit): Remove.
39280 (libc_feupdateenv_53bit): Remove.
39281 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39282 (math_opt_barrier, math_force_eval): Remove.
39283 (libc_feholdexcept): Remove.
39284 (libc_feholdexcept_setround): Remove.
39285 (libc_fetestexcept, libc_fesetenv): Remove.
39286 (libc_feupdateenv_test): Remove.
39287 (libc_feupdateenv, libc_feholdsetround): Remove.
39288 (libc_feresetround): Remove.
39289
d0adc922
RH
39290 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39291 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39292
0fe0f1f8
RH
39293 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39294 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39295 (libc_feupdateenv_testl): New.
39296 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39297 (libc_feupdateenv_testf): New.
39298 (libc_feupdateenv): Use libc_feupdateenv_test.
39299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39300 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39301
eb92c487
RH
39302 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39303 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39304 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39305 (libc_feresetround_noex): New.
39306 (libc_feresetround_noexf): New.
39307 (libc_feresetround_noexl): New.
39308 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39309 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39310 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39311 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39312 SET_RESTORE_ROUND.
39313 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39314 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39315 (__cos): Likewise.
39316 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39317 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39318 SET_RESTORE_ROUND_NOEX.
39319 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39320 SET_RESTORE_ROUND_NOEXF.
39321 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39322 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39323 (libc_feholdsetroundf): New.
39324 (libc_feresetround, libc_feresetroundf): New.
39325
7d2e8012
RH
39326 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39327 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39328 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39329
b4dabbb4
RH
39330 * sysdeps/generic/math_private.h: Include <fenv.h>.
39331 (default_libc_feholdexcept): New.
39332 (default_libc_feholdexcept_setround): New.
39333 (default_libc_fesetenv, default_libc_feupdateenv): New.
39334 (libc_feholdexcept): Only define if undefined.
39335 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39336 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39337 (libc_feholdexcept_setroundl): Likewise.
39338 (libc_feholdexcept_setround_53bit): Likewise.
39339 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39340 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39341 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39342 (libc_feupdateenv_53bit): Likewise.
39343 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39344 (libc_feholdexcept): Convert from macro to inline function.
39345 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39346 (libc_fesetenv, libc_feupdateenv): Likewise.
39347
4851a949
RH
39348 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39349 not previously defined.
39350 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39351 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39352 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39353 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39354 * sysdeps/ieee754/flt-32/math_private.h: New file.
39355 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39356 math_private.h below SET_FLOAT_WORD.
39357 (__isnan, __isinf_ns, __finite): Remove.
39358 (__isnanf, __isinf_nsf, __finitef): Remove.
39359
e79d442e
AS
393602012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39361
39362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39363
90b80344
DM
393642012-03-17 David S. Miller <davem@davemloft.net>
39365
39366 [BZ #6471]
39367 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39368 for 2.16.
39369
edc21804
DM
393702012-03-16 David S. Miller <davem@davemloft.net>
39371
77e927af
DM
39372 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39373 warnings.
39374
374976dd
DM
39375 [BZ #6471]
39376 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39377 properly.
39378 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39379 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39380 sysdep_routines when subdir is sysvipc.
39381 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39382 __getshmlba helper.
39383
edc21804
DM
39384 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39385
473c3ef3
L
393862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39387
39388 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39389 [__LP64__].
39390
eb0f39b6
L
393912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39392
39393 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39394 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39395 (__lround): Renamed to ...
39396 (__llround): This. Replace long int with long long int.
39397 Define lround functions as aliases of llround functions.
39398 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39399
6b6cd74b
L
394002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39401
39402 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39403 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39404 adresses to uintptr_t. Replace "long int" and "unsigned long
39405 int" with "greg_t" on va_arg.
39406
f1a77b01
L
394072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39408
39409 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39410 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39411
39412 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39413 Move e_machine check before EI_CLASS check. Handle x32
39414 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39415 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39416 SKIP_EM_IA_64 and include
39417 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39418
39419 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39420 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39421 (add_system_dir): New macro.
39422
39423 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39424 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39425
11b90b9f
JM
394262012-03-16 Joseph Myers <joseph@codesourcery.com>
39427
c36e1d23
JM
39428 [BZ #2551]
39429 [BZ #2552]
39430 [BZ #2553]
39431 [BZ #2554]
39432 [BZ #2562]
39433 [BZ #2563]
39434 [BZ #2565]
39435 [BZ #2566]
39436 [BZ #2576]
39437 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39438 (y0): Likewise.
39439 * math/w_j0f.c (j0f): Likewise.
39440 (y0f): Likewise.
39441 * math/w_j0l.c (__j0l): Likewise.
39442 (__y0l): Likewise.
39443 * math/w_j1.c (j1): Likewise.
39444 (y1): Likewise.
39445 * math/w_j1f.c (j1f): Likewise.
39446 (y1f): Likewise.
39447 * math/w_j1l.c (__j1l): Likewise.
39448 (__y1l): Likewise.
39449 * math/w_jn.c (jn): Likewise.
39450 (yn): Likewise.
39451 * math/w_jnf.c (jnf): Likewise.
39452 (ynf): Likewise.
39453 * math/w_jnl.c (__jnl): Likewise.
39454 (__ynl): Likewise.
39455 * math/libm-test.inc (j0_test): Add more tests.
39456 (j1_test): Likewise.
39457 (jn_test): Likewise. Add trailing semicolon to existing test.
39458 (y0_test): Likewise.
39459 (y1_test): Likewise.
39460 * sysdeps/i386/fpu/libm-test-ulps: Update.
39461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39462
11b90b9f
JM
39463 [BZ #13851]
39464 [BZ #13854]
39465 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39466 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39467 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39468 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39469 (__tanl): Set errno for infinite argument.
39470 * sysdeps/i386/fpu/mptan.c: Remove.
39471 * sysdeps/i386/fpu/s_tan.S: Likewise.
39472 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39473 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39474 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39475 * math/libm-test.inc (tan_test): Add more tests and enable more
39476 tests for double and long double.
39477 * sysdeps/i386/fpu/libm-test-ulps: Update.
39478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39479
6a1bd2a1
JK
394802012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39481
39482 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39483 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39484
10a803e0
RM
394852012-03-16 Roland McGrath <roland@hack.frob.com>
39486
39487 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39488 * configure.in: Use it for both main tree and add-ons.
39489 * configure: Regenerated.
39490
f196c7f7
L
394912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39492
39493 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39494
8848d99d
JM
394952012-03-16 Joseph Myers <joseph@codesourcery.com>
39496
96cbe7f4
JM
39497 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39498 in comment.
39499
8848d99d
JM
39500 [BZ #13851]
39501 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39502 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39503 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39504 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39505 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39506 infinite argument.
39507 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39508 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39509 != 0 for prec == 2.
39510 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39511 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39512 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39513 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39514 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39515 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39516 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39517 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39518 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39519 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39520 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39521 * math/libm-test.inc (cos_test): Add more tests and enable more
39522 tests for long double.
39523 (sin_test): Likewise.
39524 (sincos_test): Likewise.
39525 * sysdeps/i386/fpu/libm-test-ulps: Update.
39526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39527
dd7f4703
DM
395282012-03-16 David S. Miller <davem@davemloft.net>
39529
39530 * sysdeps/sparc/fpu/math_private.h: New file.
39531
006f1daa
DM
395322012-03-15 David S. Miller <davem@davemloft.net>
39533
c0c83bc8
DM
39534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39535 file.
e6a62e18 39536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
39537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39538 file.
e6a62e18
DM
39539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39544 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39545 sysdep routines.
39546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39547
88cb87d9
DM
39548 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39549 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39550
006f1daa 39551 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
39552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39553 sparc-ifunc.h
006f1daa 39554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
39555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39556 Likewise.
39557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39558 Likewise.
006f1daa
DM
39559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
39562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39563 Likewise.
006f1daa
DM
39564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
39568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39569 Likewise.
39570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39571 Likewise.
006f1daa
DM
39572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39576 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39577 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39578 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39579 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39580 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39581 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39586 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39587 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39588 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39589 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39590 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39591 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39592 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39593 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39594 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39595 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39596
11e0098e
AS
395972012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39598
39599 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39600 scaling.
39601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39602
e85b09d0
AJ
396032012-03-15 Andreas Jaeger <aj@suse.de>
39604
39605 [BZ #13852]
39606 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39607 ieee754/flt-32 implementation for sin, cos and sincos.
39608 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39609 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39610 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39611 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39612 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39613 ieee754/flt-32 implementation for tan.
39614
39615 * math/libm-test.inc (cos_test): Enable some large input tests for
39616 float as well
39617 (sin_test): Likewise.
39618 (sincos_test): Likewise.
39619 (tan_test): Add tests for large input.
39620
39621 * sysdeps/i386/fpu/libm-test-ulps: Update.
39622
81c64153
AJ
396232012-03-15 Andreas Jaeger <aj@suse.de>
39624
39625 [BZ #13658]
39626 * math/libm-test.inc (cos_test): Add more test cases.
39627 (sin_test): Likewise.
39628 (sincos_test): Likewise.
39629
7bbfa5c6
AJ
396302012-03-15 Andreas Jaeger <aj@suse.de>
39631
39632 [BZ #13837]
39633 * math/libm-test.inc (cos_test): Add a test case for large input
39634 value.
39635 (sin_test): Likewise.
39636 (sincos_test): Likewise.
39637
57f41c40
AS
396382012-03-15 Andreas Jaeger <aj@suse.de>
39639 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
39640
39641 [BZ #13658]
0671f479 39642 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
39643 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39644 * sysdeps/i386/fpu/branred.c: Likewise.
39645 * sysdeps/i386/fpu/dosincos.c: Likewise.
39646 * sysdeps/i386/fpu/mpa.c: Likewise.
39647 * sysdeps/i386/fpu/s_cos.S: Likewise.
39648 * sysdeps/i386/fpu/s_sin.S: Likewise.
39649 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39650 * sysdeps/i386/fpu/sincos32.c: Likewise.
39651
39652 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39653 Define.
39654 (libc_feupdateenv_53bit): Define.
39655 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39656 Define.
39657 (libc_feupdateenv_53bit): Define.
39658
39659 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39660 53 bit (without extend i386 double precision).
39661
39662 * math/libm-test.inc (sincos_test): Add tests for large input.
39663 (sin): Likewise.
39664 (cos): Likewise.
39665
39666 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39667
9cad04ea
AS
396682012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39669
39670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39671
f7062b9a
DM
396722012-03-15 David S. Miller <davem@davemloft.net>
39673
39674 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39675 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39676 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39677 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
39689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39690 file.
f7062b9a 39691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
39692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39693 file.
f7062b9a 39694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
39695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39696 file.
f7062b9a 39697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
39698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39699 file.
f7062b9a
DM
39700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39701 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39702 fmin/fmax sysdep routines.
39703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39704
7bd951ff
DM
397052012-03-14 David S. Miller <davem@davemloft.net>
39706
559398ab
DM
39707 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39708 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39709 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39710 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39711 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39712 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39713 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39714 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39715 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39717 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39718 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39727 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39728 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39729 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39730 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39731 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39732 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39733 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39734 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39735 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39736 routines.
39737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39738 file.
559398ab 39739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
39740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39741 file.
559398ab 39742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
39743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39744 file.
559398ab 39745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
39746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39747 file.
559398ab 39748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
39749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39750 file.
559398ab 39751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
39752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39753 file.
39754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39755 file.
39756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39757 file.
39758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39759 file.
39760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39761 New file.
39762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39763 file.
39764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39765 file.
559398ab 39766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
39767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39768 file.
559398ab 39769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39771 file.
559398ab 39772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
39773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39774 file.
559398ab 39775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
39776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39777 VIS3 routines.
559398ab
DM
39778
39779 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39780 New file.
39781
5a1c1e32
DM
39782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39783
eae47a36
DM
39784 * sysdeps/sparc/configure.in: New file.
39785 * sysdeps/sparc/configure: Generate.
39786 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39787 * configure: Regenerate.
39788 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39789 * config.make.in (have-as-vis3): New.
39790 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39791 available use -Av9d instead of -Av9a.
39792 * sysdeps/sparc/sparc64/Makefile: Likewise.
39793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
39794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39795 New file.
39796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39797 file.
39798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39799 New file.
39800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39801 file.
eae47a36
DM
39802 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39803 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39804 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39805 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39806 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39807
c0c83bc8
DM
39808 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39809 fzeros/fnegs to load 0x80000000 into a float register instead of
39810 using the stack.
7bd951ff
DM
39811 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39812
bd951ccb
JM
398132012-03-14 Joseph Myers <joseph@codesourcery.com>
39814
39815 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39816 bits/syscall.h.
39817 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39818 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39819 ($(inst_includedir)/bits/syscall.h): Remove rule.
39820 ($(objpfx)bits/syscall.d): Include instead of
39821 $(objpfx)syscall-list.d.
39822 (generated): Change syscall-list.h and syscall-list.d to
39823 bits/syscall.h and bits/syscall.d.
39824
bb4e6db2
RM
398252012-03-14 Roland McGrath <roland@hack.frob.com>
39826
39827 [BZ #13846]
39828 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39829
aa4a2ae1
JM
398302012-03-14 Joseph Myers <joseph@codesourcery.com>
39831
e456826d
JM
39832 [BZ #13841]
39833 * math/s_csqrt.c: Include <float.h>.
39834 (__csqrt): Scale large or subnormal inputs.
39835 * math/s_csqrtf.c: Likewise.
39836 * math/s_csqrtl.c: Likewise.
39837 * math/libm-test.inc (csqrt_test): Add more tests.
39838 * sysdeps/i386/fpu/libm-test-ulps: Update.
39839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39840
aa4a2ae1
JM
39841 [BZ #13840]
39842 * math/libm-test.inc (hypot_test): Add more tests.
39843
7c10fd35
DM
398442012-03-13 David S. Miller <davem@davemloft.net>
39845
39846 [BZ #13840]
39847 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39848 double-precision for the calculation instead of scaling.
39849
f453b98b
JM
398502012-03-13 Joseph Myers <joseph@codesourcery.com>
39851
39852 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39853 manipulate bits before adding and subtracting TWO52[sx].
39854 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39855 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39856 Likewise.
39857 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39858
09a3453f
DM
398592012-03-13 David S. Miller <davem@davemloft.net>
39860
8e59da90
DM
39861 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39862 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39863 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39864 rtld-global-offsets.h
39865 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39866
2a8ab7f2
DM
39867 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39868 large parameters.
39869
10f62770
DM
39870 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39871
5f0bdb18
DM
39872 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39873 'err' in the ifdef scope in which it is actually used.
39874
09a3453f
DM
39875 * nss/nss_db/db-init.c: Include string.h
39876
b4b2eb5e
DM
398772012-03-12 David S. Miller <davem@davemloft.net>
39878
98bb2f1c
DM
39879 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39880 masking out of the most significant byte of random value used.
39881 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39882 Fix coding style in previous change.
39883
b4b2eb5e
DM
39884 * sysdeps/unix/sysv/linux/kernel-features.h
39885 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39886 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39887 expression.
39888 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39889 later.
39890
6e226b09
DM
398912012-03-11 David S. Miller <davem@davemloft.net>
39892
a1bcbd40
DM
39893 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39894 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39895 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39896 for 'resultvar' otherwise things get truncated on 64-bit.
39897
cb9d6174
DM
39898 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39899 Fix masking out of the most significant byte of random value used.
39900
6e226b09
DM
39901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39902
058c132d
AS
399032012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39904
39905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39906
2d2cd515
DM
399072012-03-09 David S. Miller <davem@davemloft.net>
39908
39909 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39910 variables with appropriate CPP guards.
57f41c40
AS
39911 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39912 from the frame pointer, not the stack pointer. Correct layout
39913 comments. Fix test on resulting framesize and the management of
39914 the outregs buffer for pltexit. Preserve floating point return
39915 values across _dl_call_pltexit call.
2d2cd515
DM
39916 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39917 framesize and the management of the outregs buffer for pltexit.
39918 Preserve floating point return values across _dl_call_pltexit
39919 call.
57f41c40
AS
39920 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39921 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39922 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
39923 (print_exit): Fix format string for return register value.
39924
9a07f9d0
JM
399252012-03-10 Joseph Myers <joseph@codesourcery.com>
39926
39927 * sunrpc/Makefile (others): Add rpcgen.
39928 ($(objpfx)rpcgen): Remove special build rule and dependency on
39929 libc.
39930 * sunrpc/rpcgen.c: New file.
39931
547b5e30
PE
399322012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39933
c524201a
PE
39934 [BZ #13673]
39935 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39936 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39937 * sysdeps/i386/crti.S: Likewise.
39938 * sysdeps/i386/crtn.S: Likewise.
39939 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39940 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39941 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39942 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39943 * sysdeps/sh/crti.S: Likewise.
39944 * sysdeps/sh/crtn.S: Likewise.
39945 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39946
7b6235f2
PE
39947 [BZ #13673]
39948 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39949 with URL.
39950 * locale/programs/locfile-kw.gperf: Likewise.
39951 * locale/programs/charmap-kw.h: Regenerated.
39952 * locale/programs/locfile-kw.h: Likewise.
39953
547b5e30
PE
39954 [BZ #13673]
39955 * intl/plural.y: Replace FSF snail mail address with URL.
39956 * intl/plural.c: Regenerated.
39957
5f0a5dae
RH
399582012-03-09 Richard Henderson <rth@twiddle.net>
39959
39960 * include/math_private.h: Remove file.
39961 * math/math_private.h: Move file ...
39962 * sysdeps/generic/math_private.h: ... here.
39963
b8c03620
RH
39964 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39965 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39966 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39967
4e234f5d 39968 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
39969 and <math_private.h>.
39970 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39971 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39972 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39973 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39974 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39975 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39976 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39977 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39978 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39979 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39980 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39981 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39982 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39983 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39984 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39985 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39986 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39987 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39988 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39989 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39990 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39991 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39992 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39993 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39994 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39995 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39996 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39997 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39998 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39999 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40000 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40001 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40002 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40003 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40004 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40005 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40006 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40007 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40008 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40009 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40010 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40011 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40012 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40013 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40014 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40015 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40016 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40017 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40018 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40019 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40020 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40021 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40022 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40023 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40024 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40025 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40026 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40027 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40028 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40029 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40030 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40031 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40032 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40033 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40034 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40035 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40036 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40037 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40038 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40039 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40040 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40041 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40042 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40043 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40044 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40045 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40046 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40047 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40048 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40049 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40050 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40051 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40052 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40053 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40054 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40055 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40056 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40057 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40058 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40059 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40060 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40061 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40062 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40063 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40064 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40065 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40066 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40067 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40068 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40069 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40070 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40071 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40072 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40073 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40074 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40075 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40076 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40077 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40078 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40079 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40080 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40081 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40082 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40083 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40084 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40085 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40086 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40087 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40088 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40089 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40090 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40091 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40092 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40093 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40094 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40095 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40096 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40097 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40098 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40099 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40100 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40101 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40102 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40103 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40104 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40105 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40106 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40107 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40108 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40109 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40110 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40111 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40112 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40113 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40114 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40115 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40116 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40117 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40118 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40119 * sysdeps/ieee754/k_standard.c: Likewise.
40120 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40121 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40122 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40123 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40124 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40125 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40126 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40127 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40128 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40129 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40130 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40131 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40132 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40133 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40134 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40135 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40136 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40137 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40138 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40139 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40140 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40141 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40142 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40143 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40144 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40145 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40146 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40147 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40148 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40149 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40150 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40151 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40152 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40153 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40154 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40155 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40156 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40157 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40158 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40159 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40160 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40161 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40162 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40163 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40164 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40165 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40166 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40167 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40168 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40169 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40170 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40171 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40172 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40173 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40174 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40175 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40176 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40177 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40178 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40179 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40180 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40181 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40182 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40183 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40184 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40185 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40186 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40187 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40188 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40189 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40190 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40191 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40192 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40193 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40194 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40195 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40196 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40197 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40198 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40199 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40200 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40201 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40202 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40203 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40204 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40205 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40206 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40207 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40208 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40209 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40210 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40211 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40212 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40213 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40214 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40215 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40216 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40217 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40218 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40219 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40220 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40221 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40222 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40223 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40224 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40225 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40226 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40227 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40228 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40229 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40230 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40231 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40232 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40233 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40234 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40235 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40236 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40237 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40238 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40239 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40240 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40241 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40242 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40243 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40244 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40245 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40246 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40247 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40248 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40249 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40250 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40251 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40252 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40253 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40254 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40255 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40256 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40257 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40258 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40259 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40260 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40261 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40262 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40263 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40264 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40265 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40266 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40267 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40268 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40269 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40270 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40271 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40272 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40273 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40274 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40275 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40276 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40277 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40278 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40279 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40280 * sysdeps/ieee754/s_lib_version.c: Likewise.
40281 * sysdeps/ieee754/s_matherr.c: Likewise.
40282 * sysdeps/ieee754/s_signgam.c: Likewise.
40283 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40284 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40285 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40286 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40287 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40288 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40289 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40290 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40291 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40292 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40293 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40294 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40295 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40296 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40297 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40298 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40299 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40300 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40301 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40302 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40303 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 40304
1991fa03
JM
403052012-03-09 Joseph Myers <joseph@codesourcery.com>
40306
40307 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40308 * sunrpc/rpc_main.c: Likewise.
40309 * sunrpc/rpc_svcout.c: Likewise.
40310
60d6f5a6
DM
403112012-03-09 David S. Miller <davem@davemloft.net>
40312
40313 * include/math_private.h: New file.
40314
4962050e
JM
403152012-03-09 Joseph Myers <joseph@codesourcery.com>
40316
02a6f887
JM
40317 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40318 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40319 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40320 from <bits/socket_type.h>.
40321 (enum __socket_type): Don't define here.
40322 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40324 bits/socket_type.h.
40325
c6e013c1
JM
40326 [BZ #13566]
40327 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40328 checking __USE_GNU.
40329
4962050e
JM
40330 * Makerules ($(inst_includedir)/%.h): New rule.
40331 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40332 (install-others): Remove variable setting.
40333 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40334
38842f45
RH
403352012-03-08 Richard Henderson <rth@twiddle.net>
40336
67bb6da6
RH
40337 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40338 from macro to inline function; merge with the
40339 !__LIBC_INTERNAL_MATH_INLINES version.
40340 (__ieee754_sqrtf): Likewise.
40341
15194b4b
RH
40342 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40343 to inline function.
40344 (__rintf, __floor, __floorf): Likewise.
40345
64e21ede
RH
40346 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40347 macro to inline function.
40348 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40349
38842f45
RH
40350 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40351 not <math/math_private.h>.
40352
c64bf5fe
DM
403532012-03-08 David S. Miller <davem@davemloft.net>
40354
40355 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40356 copyright year.
40357 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40358
82d86f28
TS
403592012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40360
40361 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40362 normalization.
40363 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40364 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40365
aea5d727
UD
403662012-03-08 Ulrich Drepper <drepper@gmail.com>
40367
40368 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40369 be defined individually, they must be defined as a block. Define
40370 S for printing a string instead of hidint the different by using a
40371 macro for adding the 'l'.
40372 * stdio-common/tst-fphex-wide.c: Adjust.
40373
70bca0a3
MP
403742012-03-07 Marek Polacek <polacek@redhat.com>
40375
40376 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40377
65b81130
MP
403782012-03-08 Marek Polacek <polacek@redhat.com>
40379
40380 [BZ #13806]
40381 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40382 * stdio-common/tst-fphex.c: Define a few macros to make the
40383 test reusable. Use them.
40384 * stdio-common/tst-fphex-wide.c: New file.
40385
07037eeb
JM
403862012-03-08 Joseph Myers <joseph@codesourcery.com>
40387
a7a93d50
JM
40388 [BZ #6911]
40389 * manual/macros.texi (gnusystems): New macro.
40390 (nongnusystems): Likewise.
40391 (gnulinuxhurdsystems): Likewise.
40392 (gnuhurdsystems): Likewise..
40393 (gnulinuxsystems): Likewise.
40394 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40395 variants of the GNU system, not "GNU system".
40396 * manual/conf.texi: Likewise.
40397 * manual/errno.texi: Likewise. Update example of errno macro
40398 expansion.
40399 * manual/filesys.texi: Likewise.
40400 (getumask): Document as specific to GNU/Hurd.
40401 * manual/install.texi: Likewise. Reword some references to
40402 GNU/Linux.
40403 * manual/intro.texi: Likewise.
40404 * manual/io.texi: Likewise.
40405 (File Name Portability): Detail which constraints are inapplicable
40406 to all GNU systems and which are only inapplicable to GNU/Hurd.
40407 * manual/job.texi: Likewise.
40408 * manual/llio.texi: Likewise.
40409 (O_NOCTTY): Document as present on GNU/Linux.
40410 * manual/maint.texi: Likewise.
40411 * manual/memory.texi: Likewise.
40412 * manual/pattern.texi: Likewise.
40413 * manual/pipe.texi: Likewise.
40414 * manual/process.texi: Likewise.
40415 * manual/resource.texi: Likewise.
40416 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40417 child on GNU/Hurd.
40418 * manual/setjmp.texi: Likewise.
40419 * manual/signal.texi: Likewise.
40420 * manual/startup.texi: Likewise.
40421 * manual/stdio.texi: Likewise.
40422 * manual/terminal.texi: Likewise.
40423 (ONLCR): Document as POSIX.
40424 (OXTABS): Document availability on GNU/Linux as XTABS.
40425 (ONOEOT): Document availability separately from other bits.
40426 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40427 * manual/time.texi: Likewise.
40428 * manual/users.texi: Likewise.
40429 * INSTALL: Regenerated.
40430 * sysdeps/gnu/errlist.c: Regenerated.
40431
07037eeb
JM
40432 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40433 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40434 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40435 puts.
40436 * configure: Regenerated.
40437
d1d3431a
JM
404382012-03-07 Joseph Myers <joseph@codesourcery.com>
40439
af6a1e37
JM
40440 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40441 default includes instead of AC_HEADER_CHECK.
40442 * sysdeps/i386/configure: Regenerated.
40443
d1d3431a
JM
40444 [BZ #10716]
40445 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40446 * math/s_cacoshf.c (__cacoshf): Likewise.
40447 * math/s_cacoshl.c (__cacoshl): Likewise.
40448 * math/s_casinh.c (__casinh): Set signs of result from argument.
40449 * math/s_casinhf.c (__casinhf): Likewise.
40450 * math/s_casinhl.c (__casinhl): Likewise.
40451 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40452 (casinh_test): Add more tests.
40453 * sysdeps/i386/fpu/libm-test-ulps: Update.
40454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40455
482ff4da
UD
404562012-03-07 Ulrich Drepper <drepper@gmail.com>
40457
872fda05
UD
40458 * po/zh_TW.po: Update from translation team.
40459
a4300c7a
UD
40460 * login/Makefile (distribute): Remove variable.
40461 * catgets/Makefile: Likewise.
40462 * mach/Makefile: Likewise.
40463 * malloc/Makefile: Likewise.
40464 * misc/Makefile: Likewise.
40465 * iconv/Makefile: Likewise.
40466 * nscd/Makefile: Likewise.
40467 * hurd/Makefile: Likewise.
40468 * manual/Makefile: Likewise.
40469 * locale/Makefile: Likewise.
40470 * intl/Makefile: Likewise.
40471 * conform/Makefile: Likewise.
40472 * nss/Makefile: Likewise.
40473 * time/Makefile: Likewise.
40474 * soft-fp/Makefile: Likewise.
40475 * dirent/Makefile: Likewise.
40476 * gmon/Makefile: Likewise.
40477 * po/Makefile: Likewise.
40478 * rt/Makefile: Likewise.
40479 * socket/Makefile: Likewise.
40480 * math/Makefile: Likewise.
40481 * signal/Makefile: Likewise.
40482 * debug/Makefile: Likewise.
40483 * elf/Makefile: Likewise.
40484 * timezone/Makefile: Likewise.
40485 * stdlib/Makefile: Likewise.
40486 * iconvdata/Makefile: Likewise.
40487 * sunrpc/Makefile: Likewise.
40488 * io/Makefile: Likewise.
40489 * argp/Makefile: Likewise.
40490 * inet/Makefile: Likewise.
40491 * hesiod/Makefile: Likewise.
40492 * grp/Makefile: Likewise.
40493 * csu/Makefile: Likewise.
40494 * wctype/Makefile: Likewise.
40495 * crypt/Makefile: Likewise.
40496 * libio/Makefile: Likewise.
40497 * string/Makefile: Likewise.
40498 * nis/Makefile: Likewise.
40499 * resolv/Makefile: Likewise.
40500 * stdio-common/Makefile: Likewise.
40501 * wcsmbs/Makefile: Likewise.
40502 * dlfcn/Makefile: Likewise.
40503 * posix/Makefile: Likewise.
40504
3b7c4e74 40505 [BZ #6959]
482ff4da
UD
40506 * timezone/Makefile: Don't install timezone files, just the programs
40507 and scripts.
40508
f72ed77d
UD
405092012-03-06 Ulrich Drepper <drepper@gmail.com>
40510
a000466f
UD
40511 * nss/databases.def: Add missing gshadow entry.
40512
f72ed77d
UD
40513 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40514
a53b7a4e
MP
405152012-03-06 Marek Polacek <polacek@redhat.com>
40516
40517 [BZ #13726]
40518 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40519 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40520 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40521 * stdio-common/tst-long-dbl-fphex.c: New file.
40522
e9258400
DM
405232012-03-06 David S. Miller <davem@davemloft.net>
40524
40525 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40526 (set_obp_int): New function.
40527 (get_obp_int): New function.
40528 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
40529 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40530 Avoid unused variable warnings on 'val' and use builtin_expect.
40531 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40532 __builtin_expect.
e9258400
DM
40533 (INLINE_CLONE_SYSCALL): Likewise.
40534
3bd2c723
DM
405352012-03-05 David S. Miller <davem@davemloft.net>
40536
40537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40538
bbb78d03
AS
405392012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40540
884c5db4
AS
40541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40542
bbb78d03
AS
40543 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40544 only for |x| >= 40.
40545 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40546
1c9f702a 405472012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
40548
40549 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40550 Replace gettimeofday with __vdso_gettimeofday.
40551
7be16f82
RM
40552 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40553 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40554 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
40555
40556 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40557 time with __vdso_time.
40558
ed58a00f
JM
405592012-03-05 Joseph Myers <joseph@codesourcery.com>
40560
40561 * manual/lang.texi (size_t): Note types to which size_t may be
40562 equivalent with the GNU C Library, but do not describe when
40563 differences between them are significant.
40564
30ee4ced
AJ
405652012-03-05 Andreas Jaeger <aj@suse.de>
40566
40567 * sysdeps/i386/fpu/libm-test-ulps: Update.
40568
b7cd39e8
JM
405692012-03-05 Joseph Myers <joseph@codesourcery.com>
40570
40571 [BZ #3976]
40572 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40573 (__ieee754_pow): Save and restore rounding mode and use
40574 round-to-nearest for main computations.
40575 * math/libm-test.inc (pow_test_tonearest): New function.
40576 (pow_test_towardzero): Likewise.
40577 (pow_test_downward): Likewise.
40578 (pow_test_upward): Likewise.
40579 (main): Call the new functions.
40580 * sysdeps/i386/fpu/libm-test-ulps: Update.
40581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
40582
40583 [BZ #3976]
40584 * math/libm-test.inc (cosh_test_tonearest): New function.
40585 (cosh_test_towardzero): Likewise.
40586 (cosh_test_downward): Likewise.
40587 (cosh_test_upward): Likewise.
40588 (sinh_test_tonearest): Likewise.
40589 (sinh_test_towardzero): Likewise.
40590 (sinh_test_downward): Likewise.
40591 (sinh_test_upward): Likewise.
40592 (main): Call the new functions.
40593 * sysdeps/i386/fpu/libm-test-ulps: Update.
40594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40595
6c6a98c9
TV
405962012-03-05 Tom de Vries <tom@codesourcery.com>
40597
40598 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40599 default stack guard is set in last bytes.
40600 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40601
21bb2d2e 406022012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 40603
21bb2d2e 40604 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 40605
21bb2d2e
AJ
40606 [BZ #13656]
40607 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40608 possibly allocate from heap instead of stack.
40609 * stdio-common/bug-vfprintf-nargs.c: New file.
40610 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 40611
c6922934
AS
406122012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40613
40614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40615
bc957d53
MP
406162012-03-03 Marek Polacek <polacek@redhat.com>
40617
40618 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40619 * math/math_private.h: Likewise.
40620 * stdlib/tst-strtod.c: Likewise.
40621 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40622 * sysdeps/x86_64/bits/atomic.h: Likewise.
40623
6358490d
DM
406242012-03-02 David S. Miller <davem@davemloft.net>
40625
40626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40630 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40631 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40632 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40633 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40634
01ae168d
RM
406352012-03-02 Roland McGrath <roland@hack.frob.com>
40636
d9a17c07
RM
40637 [BZ #13792]
40638 * manual/examples/README: New file, says the example source files
40639 can be used under GPL>=2.
40640 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40641 line containing just "*/".
40642 * manual/examples/add.c: Add copyright header (GPL>=2).
40643 * manual/examples/argp-ex1.c: Likewise.
40644 * manual/examples/argp-ex2.c: Likewise.
40645 * manual/examples/argp-ex3.c: Likewise.
40646 * manual/examples/argp-ex4.c: Likewise.
40647 * manual/examples/atexit.c: Likewise.
40648 * manual/examples/db.c: Likewise.
40649 * manual/examples/dir.c: Likewise.
40650 * manual/examples/dir2.c: Likewise.
40651 * manual/examples/execinfo.c: Likewise.
40652 * manual/examples/filecli.c: Likewise.
40653 * manual/examples/filesrv.c: Likewise.
40654 * manual/examples/fmtmsgexpl.c: Likewise.
40655 * manual/examples/genpass.c: Likewise.
40656 * manual/examples/inetcli.c: Likewise.
40657 * manual/examples/inetsrv.c: Likewise.
40658 * manual/examples/isockad.c: Likewise.
40659 * manual/examples/longopt.c: Likewise.
40660 * manual/examples/memopen.c: Likewise.
40661 * manual/examples/memstrm.c: Likewise.
40662 * manual/examples/mkfsock.c: Likewise.
40663 * manual/examples/mkisock.c: Likewise.
40664 * manual/examples/mygetpass.c: Likewise.
40665 * manual/examples/pipe.c: Likewise.
40666 * manual/examples/popen.c: Likewise.
40667 * manual/examples/rprintf.c: Likewise.
40668 * manual/examples/search.c: Likewise.
40669 * manual/examples/select.c: Likewise.
40670 * manual/examples/setjmp.c: Likewise.
40671 * manual/examples/sigh1.c: Likewise.
40672 * manual/examples/sigusr.c: Likewise.
40673 * manual/examples/stpcpy.c: Likewise.
40674 * manual/examples/strdupa.c: Likewise.
40675 * manual/examples/strftim.c: Likewise.
40676 * manual/examples/strncat.c: Likewise.
40677 * manual/examples/subopt.c: Likewise.
40678 * manual/examples/swapcontext.c: Likewise.
40679 * manual/examples/termios.c: Likewise.
40680 * manual/examples/testopt.c: Likewise.
40681 * manual/examples/testpass.c: Likewise.
40682 * manual/examples/timeval_subtract.c: Likewise.
40683
01ae168d
RM
40684 [BZ #13792]
40685 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40686 function to ...
40687 * manual/timeval_subtract.c.texi: ... here, new file.
40688
49efa33d
DM
406892012-03-02 David S. Miller <davem@davemloft.net>
40690
40691 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40692
28afd92d
JM
406932012-03-02 Joseph Myers <joseph@codesourcery.com>
40694
804360ed
JM
40695 [BZ #3976]
40696 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40697 (__sin): Save and restore rounding mode and use round-to-nearest
40698 for all computations.
40699 (__cos): Save and restore rounding mode and use round-to-nearest
40700 for all computations.
40701 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40702 <fenv.h>.
40703 (tan): Save and restore rounding mode and use round-to-nearest for
40704 all computations.
40705 * math/libm-test.inc (cos_test_tonearest): New function.
40706 (cos_test_towardzero): Likewise.
40707 (cos_test_downward): Likewise.
40708 (cos_test_upward): Likewise.
40709 (sin_test_tonearest): Likewise.
40710 (sin_test_towardzero): Likewise.
40711 (sin_test_downward): Likewise.
40712 (sin_test_upward): Likewise.
40713 (tan_test_tonearest): Likewise.
40714 (tan_test_towardzero): Likewise.
40715 (tan_test_downward): Likewise.
40716 (tan_test_upward): Likewise.
40717 (main): Call the new functions.
40718 * sysdeps/i386/fpu/libm-test-ulps: Update.
40719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40720
a6d06d7b
JM
40721 [BZ #10135]
40722 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40723 small n, then large n, before computing and testing k+n.
40724 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40725 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40726 Likewise.
40727 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40728 Likewise.
40729 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40730 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40731 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40732 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40733 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40734 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40735 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40736 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40737 * math/libm-test.inc (scalbn_test): Add more tests.
40738 (scalbln_test): Likewise.
40739
07e12bb3
JM
40740 * manual/filesys.texi (mode_t): Describe constraints on size and
40741 signedness, not exact equivalence to a particular type.
40742 (ino_t): Likewise.
40743 (ino64_t): Likewise.
40744 (dev_t): Likewise.
40745 (nlink_t): Likewise.
40746 (blkcnt_t): Likewise.
40747 (blkcnt64_t): Likewise.
40748 * manual/llio.texi (off_t): Likewise.
40749
28afd92d
JM
40750 [BZ #3976]
40751 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40752 (__ieee754_exp): Save and restore rounding mode and use
40753 round-to-nearest for all computations.
40754 * math/libm-test.inc (exp_test_tonearest): New function.
40755 (exp_test_towardzero): Likewise.
40756 (exp_test_downward): Likewise.
40757 (exp_test_upward): Likewise.
40758 (main): Call the new functions.
40759 * sysdeps/i386/fpu/libm-test-ulps: Update.
40760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40761
b1eeb65d
CD
407622012-03-01 Chris Demetriou <cgd@google.com>
40763
40764 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40765 have predictable order.
40766
53362a4b
DM
407672012-03-01 David S. Miller <davem@davemloft.net>
40768
3c969083
DM
40769 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40770
759707de
DM
40771 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40772 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40773 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40774 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40775
dfdb8ff2
DM
40776 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40777 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40778 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40780 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40781 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40782 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40783 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40784 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40785
ead89f96
DM
40786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40787
7f66bd07
DM
40788 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40789 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40790 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40791
53362a4b
DM
40792 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40793 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40794 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40795 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40796 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40797 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40798 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40799 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40800 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40801 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40802 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40803 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40804 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40805 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40806 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40807 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40808 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40809 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40810 * sysdeps/sparc/elf/configure: Regenerated.
40811
7b1902cb
JM
408122012-03-01 Joseph Myers <joseph@codesourcery.com>
40813
bec039bc
JM
40814 * configure.in (AS, LD): Require binutils 2.20 or later.
40815 * configure: Regenerated.
40816 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40817 as required minimum version.
40818 * INSTALL: Regenerated.
40819
7b1902cb
JM
40820 [BZ #2541]
40821 [BZ #4108]
40822 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40823 before squaring exponent.
40824 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40825 bottom long double and 27 bits of top long double before squaring
40826 exponent.
40827 * math/libm-test.inc (erfc_test): Add more tests.
40828 * sysdeps/i386/fpu/libm-test-ulps: Update.
40829 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40831
f775c276
KT
408322012-03-01 Kai Tietz <ktietz@redhat.com>
40833
40834 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40835 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40836 containing bit-fields.
40837 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40838 * soft-fp/single.h (_FP_UNION_S): Likewise.
40839 * soft-fp/double.h (_FP_UNION_D): Likewise.
40840
5b8a4d4a
JM
408412012-02-29 Joseph Myers <joseph@codesourcery.com>
40842
0bab47b6
JM
40843 [BZ #13786]
40844 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40845 not include ../strcmp.S.
40846 [USE_AS_STRNCASECMP_L]: Likewise.
40847 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40848 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40849 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40850 (__strncasecmp_l_ia32): Define as alias to
40851 __strncasecmp_l_nonascii.
40852
0fcad3e2
JM
40853 [BZ #5794]
40854 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40855 * sysdeps/i386/fpu/libm-test-ulps: Update.
40856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40857
5b8a4d4a
JM
40858 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40860
8fdceb2e
JL
408612012-02-29 Jeff Law <law@redhat.com>
40862
40863 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40864 out of bounds read.
40865
1f393a11
MP
408662012-02-29 Marek Polacek <polacek@redhat.com>
40867
40868 [BZ #13706]
40869 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40870 * elf/Makefile: Add rules to run tst-unused-dep.out.
40871
8847f037
DM
408722012-02-28 David S. Miller <davem@davemloft.net>
40873
40874 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40875 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40876 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40877 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40878 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40879 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40880
169d7f11
JM
408812012-02-29 Joseph Myers <joseph@codesourcery.com>
40882
40883 * math/libm-test.inc (llround_test): Move one test from
40884 lround_test. Use TEST_f_L in moved test.
40885 (lround_test): Move misplaced test to llround_test. Add testcase
40886 from bug 2561.
40887
39adf059
UD
408882012-02-28 Ulrich Drepper <drepper@gmail.com>
40889
40890 * sysdeps/x86_64/fpu/e_expf.S: New file.
40891 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40892
71b5d1c5
SB
408932012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40894
40895 [BZ #13637]
40896 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40897 of remain_len that may cause incomplete multi-byte character and
40898 false match.
40899 * posix/bug-regex33.c: New file.
40900 * posix/Makefile (tests): Add bug-regex33.
40901
1f77f049
JM
409022012-02-28 Joseph Myers <joseph@codesourcery.com>
40903
40904 * manual/macros.texi: New file.
40905 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40906 * manual/libc.texinfo: Include macros.texi.
40907 * manual/creatute.texi: Likewise.
40908 * manual/install.texi: Likewise.
40909 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40910 @glibcadj{} in references to the GNU C Library.
40911 * manual/charset.texi: Likewise.
40912 * manual/conf.texi: Likewise.
40913 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40914 when not using those macros.
40915 * manual/creature.texi: Likewise.
40916 * manual/crypt.texi: Likewise.
40917 * manual/errno.texi: Likewise.
40918 * manual/filesys.texi: Likewise.
40919 * manual/header.texi: Likewise.
40920 * manual/install.texi: Likewise.
40921 * manual/intro.texi: Likewise.
40922 * manual/io.texi: Likewise.
40923 * manual/job.texi: Likewise.
40924 * manual/lang.texi: Likewise.
40925 * manual/libc.texiinfo: Likewise.
40926 * manual/llio.texi: Likewise.
40927 * manual/locale.texi: Likewise.
40928 * manual/maint.texi: Likewise.
40929 * manual/math.texi: Likewise.
40930 * manual/memory.texi: Likewise.
40931 * manual/message.texi: Likewise.
40932 * manual/nss.texi: Likewise.
40933 * manual/pattern.texi: Likewise.
40934 * manual/process.texi: Likewise.
40935 * manual/resource.texi: Likewise.
40936 * manual/search.texi: Likewise.
40937 * manual/setjmp.texi: Likewise.
40938 * manual/signal.texi: Likewise.
40939 * manual/socket.texi: Likewise.
40940 * manual/startup.texi: Likewise.
40941 * manual/stdio.texi: Likewise.
40942 * manual/string.texi: Likewise.
40943 * manual/sysinfo.texi: Likewise.
40944 * manual/syslog.texi: Likewise.
40945 * manual/terminal.texi: Likewise.
40946 * manual/time.texi: Likewise.
40947 * manual/users.texi: Likewise.
40948 * INSTALL: Regenerated.
40949 * NOTES: Regenerated.
d40c5d54 40950 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 40951
450bf206
AS
409522012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40953
40954 * include/dirent.h: Include <dirstream.h> before
40955 <dirent/dirent.h>.
40956
741a235b
DM
409572012-02-28 David S. Miller <davem@davemloft.net>
40958
40959 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40960 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40961 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40962 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40963
d6b5aa58
DM
409642012-02-27 David S. Miller <davem@davemloft.net>
40965
1aff59a3
DM
40966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40968 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40969 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40970
d6b5aa58
DM
40971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40972 frame pointer instead of stack pointer relative arg slot.
40973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40974 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40975 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40976
433f48bf
CD
409772012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40978
40979 [BZ #3992]
40980 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40981
d674b76d
DM
409822012-02-27 David S. Miller <davem@davemloft.net>
40983
40984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40988 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40989 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40990 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40991 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40992
0e7727f7
JM
409932012-02-27 Joseph Myers <joseph@codesourcery.com>
40994
40995 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40996 later. Allow versions 5-9.
43be4ca2 40997 * configure: Regenerated.
0e7727f7
JM
40998 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40999 required minimum version and 4.6 as recommended version. Do not
41000 mention bugs in GCC 2.7 and 2.8.
43be4ca2 41001 * INSTALL: Regenerated.
0e7727f7 41002
a78bc654
DM
410032012-02-27 David S. Miller <davem@davemloft.net>
41004
428d5830
DM
41005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41009 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41010 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41011 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41012 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41013
a78bc654
DM
41014 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41015 manipulate bits before adding and subtracting TWO112[sx].
41016 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41017
4579f81c
RM
410182012-02-27 Roland McGrath <roland@hack.frob.com>
41019
36c8acb4
RM
41020 [BZ #13775]
41021 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41022 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41023 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41024 being in POSIX, because they are in 1003.1-2008.
41025
84ad622b
RM
41026 * rt/tst-aio.c: Include <fcntl.h>.
41027 * rt/tst-aio7.c: Likewise.
41028 * rt/tst-aio64.c: Likewise.
41029
4579f81c
RM
41030 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41031
abd923db
JM
410322012-02-27 Joseph Myers <joseph@codesourcery.com>
41033
41034 * manual/install.texi (--with-headers): Describe headers as
41035 interface headers, not private headers.
41036 (Specific advice for GNU/Linux systems): Describe use of headers
41037 from "make headers_install", not private headers from older
41038 kernels.
43be4ca2 41039 * INSTALL: Regenerated.
abd923db
JM
41040 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41041 Change to 2.6.19.
41042 * sysdeps/unix/sysv/linux/configure: Regenerated.
41043
6664049b
JM
41044 * manual/llio.texi (fclean): Remove documentation.
41045
bb8b6697
JM
41046 * manual/Makefile (libc-texi-generated): New variable. Include
41047 version.texi.
41048 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41049 $(libc-texi-generated), not duplicated list of files.
41050 (version.texi, stamp-version): New rules.
41051 (realclean): Remove $(libc-texi-generated), not individual files
41052 from that list. Do not remove dir-add.texinfo.
41053 * manual/libc.texinfo: Comment out uses of edition numbers and
41054 references to printed manual. Remove last-updated dates.
41055 (EDITION): Comment out.
41056 (ISBN): Likewise.
41057 (VERSION, UPDATED): Remove.
41058 (version.texi): Include.
41059
12e5c3b9
AS
410602012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41061
41062 * sysdeps/posix/spawni.c: Include <signal.h>.
41063 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41064 * sysdeps/pthread/aio_fsync.c: Likewise.
41065
4efeffc1 410662012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 41067
ba63ba08
UD
41068 * conform/Makefile (tests): Run only when not cross-compiling and
41069 when fast-check is not defined.
41070
d94a4670
UD
41071 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41072 * conform/data/limits.h-data: Fixes for POSIX2008.
41073 * conform/run-conformtest.sh: Run all tests.
41074 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41075 headers.
41076 * include/bits/dlfcn.h: Likewise.
41077 * include/langinfo.h: Likewise.
41078 * include/monetary.h: Likewise.
41079 * include/sys/poll.h: Likewise.
41080
41081 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41082 for __USE_GNU.
41083 * posix/spawn.h: Define __need_sigset_t.
41084 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41085 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41086 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41087 to get sigevent_t only.
41088 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41089 only for __USE_GNU.
41090 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41091 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41092 process_vm_writev only for __USE_GNU.
41093 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
41094
41095 * conform/Makefile: For now ignore errors from run-conformtest.
41096 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41097 POSIX to avoid namespace pollution. Don't prepend headers.
41098 * conform/data/aio.h-data: Fixes for POSIX testing.
41099 * conform/data/fcntl.h-data: Likewise.
41100 * conform/data/glob.h-data: Likewise.
41101 * conform/data/grp.h-data: Likewise.
41102 * conform/data/pthread.h-data: Likewise.
41103 * conform/data/pwd.h-data: Likewise.
41104 * conform/data/signal.h-data: Likewise.
41105 * conform/data/spawn.h-data: Likewise.
41106 * conform/data/stdio.h-data: Likewise.
41107 * conform/data/stdlib.h-data: Likewise.
41108 * conform/data/stropts.h-data: Likewise.
41109 * conform/data/sys/mman.h-data: Likewise.
41110 * conform/data/sys/stat.h-data: Likewise.
41111 * conform/data/sys/types.h-data: Likewise.
41112 * conform/data/sys/wait.h-data: Likewise.
41113 * conform/data/time.h-data: Likewise.
41114 * conform/data/unistd.h-data: Likewise.
41115 * conform/data/utime.h-data: Likewise.
41116
41117 * io/sys/stat.h: fchmod was always in POSIX.
41118 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41119 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41120 * rt/aio.h: Define __need_timespec before including <time.h>.
41121 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41122 struct. Add forward declaration of pthread_attr_t and use it in
41123 sigevent.
41124 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41125 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41126 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41127 always remove CLK_TCK definition.
41128
c20105c3
AS
411292012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41130
41131 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41132
7a270350
UD
411332012-02-25 Ulrich Drepper <drepper@gmail.com>
41134
31341567
UD
41135 * conform/run-conformtest.sh: New file.
41136 * conform/Makefile: Run run-conformtest for tests.
41137 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41138 support.
41139
41140 * conform/data/uchar.h-data: New file.
41141 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41142 * conform/data/arpa/inet.h-data: Likewise.
41143 * conform/data/assert.h-data: Likewise.
41144 * conform/data/complex.h-data: Likewise.
41145 * conform/data/cpio.h-data: Likewise.
41146 * conform/data/ctype.h-data: Likewise.
41147 * conform/data/dirent.h-data: Likewise.
41148 * conform/data/dlfcn.h-data: Likewise.
41149 * conform/data/errno.h-data: Likewise.
41150 * conform/data/fcntl.h-data: Likewise.
41151 * conform/data/float.h-data: Likewise.
41152 * conform/data/fmtmsg.h-data: Likewise.
41153 * conform/data/fnmatch.h-data: Likewise.
41154 * conform/data/ftw.h-data: Likewise.
41155 * conform/data/glob.h-data: Likewise.
41156 * conform/data/grp.h-data: Likewise.
41157 * conform/data/iconv.h-data: Likewise.
41158 * conform/data/inttypes.h-data: Likewise.
41159 * conform/data/langinfo.h-data: Likewise.
41160 * conform/data/libgen.h-data: Likewise.
41161 * conform/data/limits.h-data: Likewise.
41162 * conform/data/locale.h-data: Likewise.
41163 * conform/data/math.h-data: Likewise.
41164 * conform/data/monetary.h-data: Likewise.
41165 * conform/data/mqueue.h-data: Likewise.
41166 * conform/data/ndbm.h-data: Likewise.
41167 * conform/data/net/if.h-data: Likewise.
41168 * conform/data/netdb.h-data: Likewise.
41169 * conform/data/netinet/in.h-data: Likewise.
41170 * conform/data/nl_types.h-data: Likewise.
41171 * conform/data/poll.h-data: Likewise.
41172 * conform/data/pthread.h-data: Likewise.
41173 * conform/data/pwd.h-data: Likewise.
41174 * conform/data/regex.h-data: Likewise.
41175 * conform/data/sched.h-data: Likewise.
41176 * conform/data/search.h-data: Likewise.
41177 * conform/data/semaphore.h-data: Likewise.
41178 * conform/data/setjmp.h-data: Likewise.
41179 * conform/data/signal.h-data: Likewise.
41180 * conform/data/spawn.h-data: Likewise.
41181 * conform/data/stdarg.h-data: Likewise.
41182 * conform/data/stdio.h-data: Likewise.
41183 * conform/data/stdlib.h-data: Likewise.
41184 * conform/data/string.h-data: Likewise.
41185 * conform/data/strings.h-data: Likewise.
41186 * conform/data/stropts.h-data: Likewise.
41187 * conform/data/sys/ipc.h-data: Likewise.
41188 * conform/data/sys/mman.h-data: Likewise.
41189 * conform/data/sys/msg.h-data: Likewise.
41190 * conform/data/sys/resource.h-data: Likewise.
41191 * conform/data/sys/select.h-data: Likewise.
41192 * conform/data/sys/sem.h-data: Likewise.
41193 * conform/data/sys/shm.h-data: Likewise.
41194 * conform/data/sys/socket.h-data: Likewise.
41195 * conform/data/sys/stat.h-data: Likewise.
41196 * conform/data/sys/statvfs.h-data: Likewise.
41197 * conform/data/sys/time.h-data: Likewise.
41198 * conform/data/sys/timeb.h-data: Likewise.
41199 * conform/data/sys/times.h-data: Likewise.
41200 * conform/data/sys/types.h-data: Likewise.
41201 * conform/data/sys/uio.h-data: Likewise.
41202 * conform/data/sys/un.h-data: Likewise.
41203 * conform/data/sys/utsname.h-data: Likewise.
41204 * conform/data/sys/wait.h-data: Likewise.
41205 * conform/data/syslog.h-data: Likewise.
41206 * conform/data/tar.h-data: Likewise.
41207 * conform/data/termios.h-data: Likewise.
41208 * conform/data/utime.h-data: Likewise.
41209 * conform/data/utmpx.h-data: Likewise.
41210 * conform/data/varargs.h-data: Likewise.
41211 * conform/data/wchar.h-data: Likewise.
41212 * conform/data/wctype.h-data: Likewise.
41213 * conform/data/wordexp.h-data: Likewise.
41214
41215 * include/stropts.h: New file.
41216 * include/uchar.h: New file.
41217 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41218 * include/assert.h: Likewise.
41219 * include/ctype.h: Likewise.
41220 * include/dirent.h: Likewise.
41221 * include/dlfcn.h: Likewise.
41222 * include/fcntl.h: Likewise.
41223 * include/fnmatch.h: Likewise.
41224 * include/glob.h: Likewise.
41225 * include/grp.h: Likewise.
41226 * include/libio.h: Likewise.
41227 * include/locale.h: Likewise.
41228 * include/math.h: Likewise.
41229 * include/net/if.h: Likewise.
41230 * include/netdb.h: Likewise.
41231 * include/netinet/in.h: Likewise.
41232 * include/pthread.h: Likewise.
41233 * include/pwd.h: Likewise.
41234 * include/regex.h: Likewise.
41235 * include/sched.h: Likewise.
41236 * include/search.h: Likewise.
41237 * include/setjmp.h: Likewise.
41238 * include/signal.h: Likewise.
41239 * include/stdio.h: Likewise.
41240 * include/stdlib.h: Likewise.
41241 * include/string.h: Likewise.
41242 * include/sys/cdefs.h: Likewise.
41243 * include/sys/mman.h: Likewise.
41244 * include/sys/msg.h: Likewise.
41245 * include/sys/resource.h: Likewise.
41246 * include/sys/select.h: Likewise.
41247 * include/sys/socket.h: Likewise.
41248 * include/sys/stat.h: Likewise.
41249 * include/sys/statvfs.h: Likewise.
41250 * include/sys/time.h: Likewise.
41251 * include/sys/times.h: Likewise.
41252 * include/sys/uio.h: Likewise.
41253 * include/sys/utsname.h: Likewise.
41254 * include/sys/wait.h: Likewise.
41255 * include/termios.h: Likewise.
41256 * include/time.h: Likewise.
41257 * include/ulimit.h: Likewise.
41258 * include/unistd.h: Likewise.
41259 * include/utime.h: Likewise.
41260 * include/wchar.h: Likewise.
41261 * include/wctype.h: Likewise.
41262 * include/wordexp.h: Likewise.
41263
41264 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41265
7a270350
UD
41266 * time/time.h: TIME_UTC must be a macro.
41267 Make timespec_get available for ISO C11 only as well.
41268
7724defc
UD
412692012-02-24 Ulrich Drepper <drepper@gmail.com>
41270
41271 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41272 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41273
6b1d1d46
JM
412742012-02-24 Joseph Myers <joseph@codesourcery.com>
41275
41276 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 41277
0f8bbd69
JM
412782012-02-24 Joseph Myers <joseph@codesourcery.com>
41279
41280 * manual/texinfo.tex: Update to version 2012-01-19.16.
41281
66ab80bc
JM
412822012-02-24 Joseph Myers <joseph@codesourcery.com>
41283
41284 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41285
74981cc5
RM
412862012-02-24 Roland McGrath <roland@hack.frob.com>
41287
ee968201
RM
41288 [BZ #13738]
41289 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41290 * manual/fdl-1.3.texi: New file.
41291 * manual/fdl-1.1.texi: File removed.
41292
74981cc5
RM
41293 [BZ #13738]
41294 * manual/libc.texinfo (FDL_VERSION): New @set.
41295 Use it for mention of FDL in cover text.
41296 (Documentation License): Use it in @include file name.
41297
7bb764bc
JM
412982012-02-22 Joseph Myers <joseph@codesourcery.com>
41299 Roland McGrath <roland@hack.frob.com>
41300
41301 [BZ #5461]
57f41c40
AS
41302 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41303 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
41304 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41305 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41306 name.
41307 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41308
6cbeae47
JM
413092012-02-22 Joseph Myers <joseph@codesourcery.com>
41310
41311 [BZ #2547]
41312 [BZ #11365]
41313 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41314 manipulate bits before adding and subtracting TWO23[sx].
41315 * math/libm-test.inc (nearbyint_test): Add more tests.
41316
fe45ce09
JM
413172012-02-22 Joseph Myers <joseph@codesourcery.com>
41318
41319 [BZ #2548]
41320 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41321 bits before adding and subtracting TWO23[sx].
41322 * math/libm-test.inc (rint_test): Add more tests.
41323 (rint_test_tonearest): Likewise.
41324 (rint_test_towardzero): Likewise.
41325 (rint_test_downward): Likewise.
41326 (rint_test_upward: Likewise.
41327
ff3b3d82
JM
413282012-02-22 Joseph Myers <joseph@codesourcery.com>
41329
41330 [BZ #10110]
41331 * include/stdc-predef.h: New file. Extracted from features.h.
41332 * include/features.h: Include stdc-predef.h.
41333 * Makefile (headers): Add stdc-predef.h.
41334 * CONFORMANCE (Compiler limitations): Update.
41335
ef0aab35
JM
413362012-02-22 Joseph Myers <joseph@codesourcery.com>
41337
41338 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41339
58639409
DM
413402012-02-21 David S. Miller <davem@davemloft.net>
41341
41342 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41343 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41344
c0e70b25
DM
413452012-02-20 David S. Miller <davem@davemloft.net>
41346
41347 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41348 using a normal save/restore sequence, rather than allocating a
41349 dummy stack frame just to store a frame pointer and restore.
41350 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41351
fb06851d
JM
413522012-02-21 Joseph Myers <joseph@codesourcery.com>
41353
41354 * manual/install.texi: Fix stray word in line-wrapped comment.
41355
7a8b71c3
DM
413562012-02-20 David S. Miller <davem@davemloft.net>
41357
d510c123
DM
41358 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41359 both binutils and gcc support GOTDATA.
41360
0722d7c2
DM
41361 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41362 "rd %pc" in the PIC register setup sequences.
41363
3d2b3019
DM
41364 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41365 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41366 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41367 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41368 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41369 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41370 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41371 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41372 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41373 (SYSCALL_ERROR_HANDLER): Likewise.
41374 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41375 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41376 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41377 (SYSCALL_ERROR_HANDLER): Likewise.
41378
c80098a9
DM
41379 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41380 (HAVE_GCC_GOTDATA): New.
41381 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41382 relocation support in both binutils and gcc.
41383 * sysdeps/sparc/elf/configure: Regenerate.
41384
3a2545a0
DM
41385 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41386 * sysdeps/sparc/sparc32/elf/configure: Delete.
41387 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41388 * sysdeps/sparc/sparc64/elf/configure: Delete.
41389 * sysdeps/sparc/elf/configure.in: New file.
41390 * sysdeps/sparc/elf/configure: Generate.
41391
7a8b71c3
DM
41392 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41393 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41394 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41395 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41396 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41397
f1e86fca
JM
413982012-02-21 Joseph Myers <joseph@codesourcery.com>
41399
41400 * manual/install.texi: Do not mention specific glibc version
41401 numbers.
41402 * manual/libc.texinfo (VERSION, UPDATED): Update.
41403 (@copying): Use @copyright{} and range of years.
41404
0e7dfaef
JM
414052012-02-21 Joseph Myers <joseph@codesourcery.com>
41406
41407 [BZ #13695]
41408 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41409 [crti.S not in sysdirs] (generated): Do not append.
41410 [crti.S not in sysdirs] (omit-deps): Likewise.
41411 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41412 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41413 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41414 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41415 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41416 Likewise.
41417 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41418 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41419 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41420 * csu/defs.awk: Remove file.
41421 * sysdeps/generic/initfini.c: Likewise.
41422 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41423 variable.
41424 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41425 Likewise.
41426
599af3ca
JM
414272012-02-20 Joseph Myers <joseph@codesourcery.com>
41428
41429 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41430 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41431 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41432 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41433 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41434 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41435 <bits/epoll.h>.
41436 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41437 (__EPOLL_PACKED): Define to empty if not defined by
41438 <bits/epoll.h>.
41439 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41440 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41441 bits/epoll.h.
41442
0e499750
JM
414432012-02-20 Joseph Myers <joseph@codesourcery.com>
41444
41445 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41446 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41447 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41448 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41449 <bits/timerfd.h>.
41450 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41451 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41452 bits/timerfd.h.
41453
5ad91f6e
JM
414542012-02-20 Joseph Myers <joseph@codesourcery.com>
41455
41456 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41457 in C locale.
41458 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41459 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41460 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41462
06b99b02
AJ
414632012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41464
41465 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41466 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41467
7638c0fd
AS
414682012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41469
41470 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41471 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41472 defined.
41473 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41474 Likewise.
41475 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41476 entry for 2.16.
41477
92221550
AJ
414782012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41479
41480 * math/w_acos.c: Use non-signaling floating-point comparisons.
41481 * math/w_acosf.c: Likewise.
41482 * math/w_acosh.c: Likewise.
41483 * math/w_acoshf.c: Likewise.
41484 * math/w_acoshl.c: Likewise.
41485 * math/w_acosl.c: Likewise.
41486 * math/w_asin.c: Likewise.
41487 * math/w_asinf.c: Likewise.
41488 * math/w_asinl.c: Likewise.
41489 * math/w_atanh.c: Likewise.
41490 * math/w_atanhf.c: Likewise.
41491 * math/w_atanhl.c: Likewise.
41492 * math/w_exp2.c: Likewise.
41493 * math/w_exp2f.c: Likewise.
41494 * math/w_exp2l.c: Likewise.
41495 * math/w_j0.c: Likewise.
41496 * math/w_j0f.c: Likewise.
41497 * math/w_j0l.c: Likewise.
41498 * math/w_j1.c: Likewise.
41499 * math/w_j1f.c: Likewise.
41500 * math/w_j1l.c: Likewise.
41501 * math/w_jn.c: Likewise.
41502 * math/w_jnf.c: Likewise.
41503 * math/w_log.c: Likewise.
41504 * math/w_log10.c: Likewise.
41505 * math/w_log10f.c: Likewise.
41506 * math/w_log10l.c: Likewise.
41507 * math/w_log2.c: Likewise.
41508 * math/w_log2f.c: Likewise.
41509 * math/w_log2l.c: Likewise.
41510 * math/w_logf.c: Likewise.
41511 * math/w_logl.c: Likewise.
41512 * math/w_sqrt.c: Likewise.
41513 * math/w_sqrtf.c: Likewise.
41514 * math/w_sqrtl.c: Likewise.
41515 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41516 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41517 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41518 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41519 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41520
ebaf36eb
JM
415212012-02-19 Joseph Myers <joseph@codesourcery.com>
41522
41523 [BZ #9739]
41524 * manual/string.texi (strnlen): Use correct parameter name in
41525 equivalent expression.
41526
71c254a6
JM
415272012-02-19 Joseph Myers <joseph@codesourcery.com>
41528
41529 [BZ #11174]
41530 * manual/users.texi (seteuid): Consistently use neweuid for
41531 argument name.
41532
16d2c631
JM
415332012-02-19 Joseph Myers <joseph@codesourcery.com>
41534
41535 [BZ #13704]
41536 * manual/nss.texi (Services in the NSS configuration): Correct
41537 list of services in example configuration file.
41538
cd837b09
NB
415392012-02-19 Nick Bowler <nbowler@draconx.ca>
41540
41541 [BZ #11322]
41542 * manual/arith.texi: Remove statements about negative zero
41543 behaving identically to zero.
41544
02c4bbad
JM
415452012-02-18 Joseph Myers <joseph@codesourcery.com>
41546
41547 [BZ #5993]
41548 * manual/install.texi: Do not document upgrading from libc5.
41549
366842e7
JM
415502012-02-18 Joseph Myers <joseph@codesourcery.com>
41551
41552 [BZ #4596]
41553 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41554
dd54084d
DM
415552012-02-18 David S. Miller <davem@davemloft.net>
41556
41557 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41558 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41559 %o7 across the call.
41560 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41561 instead.
41562 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41563 SETUP_PIC_REG_LEAF.
41564 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41565 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41566 * sysdeps/sparc/crtn.S: Likewise.
41567
2bcc53a3
UD
415682012-02-17 Ulrich Drepper <drepper@gmail.com>
41569
41570 * aout/Makefile: Remove.
41571
09c093b5
RK
415722012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41573
41574 [BZ #13058]
41575 * manual/examples/argp-ex1.c (main): Format definition in GNU
41576 style.
41577 * manual/examples/argp-ex2.c (main): Likewise.
41578 * manual/examples/argp-ex3.c (main): Likewise.
41579 * manual/examples/argp-ex4.c (main): Likewise.
41580 * manual/examples/longopt.c (main): Use new-style prototype
41581 definition.
41582 * manual/examples/strncat.c (main): Specify return type and use
41583 (void) for arguments.
41584 * manual/examples/subopt.c (main): Use char **argv argument.
41585
2ee633a2
JM
415862012-02-17 Joseph Myers <joseph@codesourcery.com>
41587
41588 [BZ #5077]
41589 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41590 rounding modes.
41591
0520adde
FB
415922012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41593
41594 [BZ #6907]
41595 * manual/string.texi (strchr): Change when strchrnul is
41596 recommended.
41597
3f4081cd
DGM
415982012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41599
41600 [BZ #174]
41601 * manual/locale.texi (setlocale): Document LOCPATH.
41602
d1b10e78
JM
416032012-02-17 Joseph Myers <joseph@codesourcery.com>
41604
41605 [BZ #10210]
41606 * manual/process.texi (execle): Move @dots{} before last argument.
41607
79c6869c
PB
416082012-02-17 Paul Bolle <pebolle@tiscali.nl>
41609
41610 [BZ #12047]
41611 * manual/charset.texi (Generic Charset Conversion): Fix typo
41612 (LC_TYPE -> LC_CTYPE).
41613
cc6e48bc
NB
416142012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41615
41616 [BZ #5805]
41617 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41618 (scalbnf): Likewise.
41619 (scalbnl): Likewise.
41620 (scalbln): Likewise.
41621 (scalblnf): Likewise.
41622 (scalblnl): Likewise.
41623 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41624 (vwarnx): Likewise.
41625 (verr): Likewise.
41626 (verrx): Likewise.
41627 * manual/filesys.texi (telldir): Use braces around return type.
41628 * manual/llio.texi (mmap): Add space after comma.
41629 (mmap64): Likewise.
41630 * manual/math.texi (jn): Use @var{} on parameter names.
41631 (jnf): Likewise.
41632 (jnl): Likewise.
41633 (yn): Likewise.
41634 (ynf): Likewise.
41635 (ynl): Likewise.
41636 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41637 line.
41638 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41639 "...".
41640 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41641 (sched_get_priority_max): Likewise.
41642 * manual/signal.texi (sigvec): Add space after comma.
41643 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41644 names.
41645 (if_indextoname): Likewise.
41646 (if_freenameindex): Likewise.
41647 (sendto): Use ',' instead of '.' in prototype.
41648 * manual/startup.texi (syscall): Use @dots{} instead of literal
41649 "...".
41650 * manual/stdio.texi (__fpending): Separate initial words of
41651 paragraph from @deftypefun line.
41652 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41653 "...".
41654 (vsyslog): Use @var{} on parameter names.
41655 * manual/terminal.texi (stty): Use @var{} on parameter names.
41656 * manual/users.texi (getutmp): Use @var{} on parameter names.
41657 (getutmpx): Likewise.
41658
5b23062f
JM
416592012-02-17 Joseph Myers <joseph@codesourcery.com>
41660
41661 [BZ #6884]
41662 * manual/stdio.texi (fopen): Fix typos in description of
41663 ",ccs=STRING".
41664
8dee4833
AJ
416652012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41666
41667 [BZ #4026]
41668 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41669 get clock_id definition.
41670
9078ce93
TS
416712012-02-17 Thomas Schwinge <thomas@schwinge.name>
41672
41673 [BZ #4822]
41674 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41675 (madvise): Cast every argument to void on its own.
41676
3835c55f
JM
416772012-02-17 Joseph Myers <joseph@codesourcery.com>
41678
41679 [BZ #9902]
41680 * manual/startup.texi (Exit Status): Fix typo.
41681
35c47e37
JM
416822012-02-17 Joseph Myers <joseph@codesourcery.com>
41683
41684 [BZ #10140]
41685 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41686 * manual/examples/argp-ex2.c: Likewise.
41687 * manual/examples/argp-ex3.c: Likewise.
41688
e3b69ca7
RH
416892012-02-16 Richard Henderson <rth@redhat.com>
41690
41691 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41692 * sysdeps/s390/s390-32/initfini.c: Remove.
41693 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41694 * sysdeps/s390/s390-64/initfini.c: Remove.
41695
df83af67
KK
416962012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41697
41698 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41699 compiler output for sysdeps/generic/initfini.c.
41700 * sysdeps/sh/elf/initfini.c: Remove file.
41701
f63f3380
DM
417022012-02-16 David S. Miller <davem@davemloft.net>
41703
fb59b3a4
DM
41704 [BZ #11494]
41705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41706
f63f3380
DM
41707 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41708 * sysdeps/sparc/crti.S: New file.
41709 * sysdeps/sparc/crtn.S: New file.
41710 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41711 * sysdeps/sparc/sparc64/Makefile: Likewise.
41712
df6a4a4a
MF
417132012-02-15 Mike Frysinger <vapier@gentoo.org>
41714
6dd8f3dc 41715 [BZ #3335]
df6a4a4a
MF
41716 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41717
1cac7236
RM
417182012-02-15 Roland McGrath <roland@hack.frob.com>
41719
d2c736f8
RM
41720 [BZ #4822]
41721 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41722
1cac7236
RM
41723 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41724 (write, read, close): Likewise.
41725 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41726
8e475601
JM
417272012-02-15 Joseph Myers <joseph@codesourcery.com>
41728
41729 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41730 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41731 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41732 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41733 <bits/signalfd.h>.
41734 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41736 bits/signalfd.h.
41737
ed656b40
MP
417382012-02-14 Marek Polacek <polacek@redhat.com>
41739
41740 * sysdeps/x86_64/crti.S: New file.
41741 * sysdeps/x86_64/crtn.S: New file.
41742 * sysdeps/x86_64/elf/initfini.c: Remove file.
41743
2a979d3a
JM
417442012-02-13 Joseph Myers <joseph@codesourcery.com>
41745
41746 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41747 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41748 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41749 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41750 <bits/inotify.h>.
41751 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41753 bits/inotify.h.
41754
2a418ac3
JM
417552012-02-13 Joseph Myers <joseph@codesourcery.com>
41756
41757 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41758 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41759 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41760 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41761 <bits/eventfd.h>.
41762 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41763 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41764 bits/eventfd.h.
41765
fb779be7
TS
417662012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41767
e19e83c5
RM
41768 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41769 __feraiseexcept instead of feraiseexcept.
7c35ffed 41770
fb779be7
TS
41771 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41772 nanosleep invocations.
41773 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41774 strings, and add error checking for a nanosleep invocations.
41775
59ba27a6
PE
417762012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41777
41778 Replace FSF snail mail address with URLs, as per GNU coding standards.
41779 Most of the snail mail addresses were wrong anyway, and omitting
41780 them makes the source code easier to maintain. Almost all of the
41781 changes are to license notices and to locale LC_IDENTIFICATION
41782 addresses, except for this one:
41783 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41784 not its snail mail address.
41785
57b957eb
RH
417862012-02-09 Richard Henderson <rth@twiddle.net>
41787
af850b1c
RH
41788 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41789 of kernel-features.h.
41790
57b957eb
RH
41791 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41792
6b73181a
MP
417932012-02-08 Marek Polacek <polacek@redhat.com>
41794
41795 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41796 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41797 * sysdeps/gnu/_G_config.h: Likewise.
41798 * sysdeps/generic/_G_config.h: Likewise.
41799
26ecc33a
AS
418002012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41801
6c6dbc63
AS
41802 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41803 tests.
41804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41805
e216c012
AS
41806 * sysdeps/powerpc/powerpc32/crti.S: New file.
41807 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41808 * sysdeps/powerpc/powerpc64/crti.S: New file.
41809 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41810
26ecc33a
AS
41811 * Makeconfig (have-initfini): Don't set.
41812 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41813 * configure.in (nopic_initfini): Don't substitute.
41814 * config.h.in (HAVE_INITFINI): Don't #undef.
41815 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41816 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41817
3add8e13
JM
418182012-02-08 Joseph Myers <joseph@codesourcery.com>
41819
41820 Support crti.S and crtn.S provided directly by architectures.
41821 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41822 [crti.S in sysdirs] (omit-deps): Likewise.
41823 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41824 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41825 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41826 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41827 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41828 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41829 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41830 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41831 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41832 compiler output for sysdeps/generic/initfini.c.
41833 * sysdeps/i386/elf/Makefile: Remove file.
41834 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41835
a22f12b4
MP
418362012-02-07 Marek Polacek <polacek@redhat.com>
41837
41838 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41839 * sysdeps/gnu/_G_config.h: Likewise.
41840 * sysdeps/mach/hurd/_G_config.h: Likewise.
41841
148cf100
MP
418422012-02-07 Marek Polacek <polacek@redhat.com>
41843
41844 * math/Makefile (tests): Add tst-CMPLX2.
41845 * math/tst-CMPLX2.c: New file.
41846
cfdc0dd7
AS
418472012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41848
84ba42c4
AS
41849 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41850
cfdc0dd7
AS
41851 * math/libm-test.inc (jn_test): Add missing L suffix.
41852
622c86f4
MP
418532012-02-06 Marek Polacek <polacek@redhat.com>
41854
41855 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41856 * sysdeps/i386/fpu/e_powf.S: Likewise.
41857 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41858 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41859 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41860 * sysdeps/i386/fpu/e_pow.S: Likewise.
41861 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41862 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41863 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41864 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41865 * sysdeps/i386/fpu/e_log2.S: Likewise.
41866 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41867 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41868 * sysdeps/i386/fpu/e_powl.S: Likewise.
41869 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41870 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41871 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41872 * sysdeps/i386/fpu/e_logl.S: Likewise.
41873 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41874 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41875 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41876 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41877 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41878 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41879 * sysdeps/i386/fpu/e_log.S: Likewise.
41880 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41881 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41882 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41883 * sysdeps/i386/fpu/e_logf.S: Likewise.
41884 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41885 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41886 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41887 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41888 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41889 * sysdeps/i386/fpu/e_log10.S: Likewise.
41890 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41891 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41892 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41893 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41894 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41895 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41896 * sysdeps/i386/asm-syntax.h: Likewise.
41897 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41898 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41899 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41900 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41901 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41902 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41903 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41904 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41905 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41906 * sysdeps/powerpc/sysdep.h: Likewise.
41907 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41908 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41909
d4a54ac6
JM
419102012-02-06 Joseph Myers <joseph@codesourcery.com>
41911
41912 [BZ #411]
41913 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41914
314054ea
JM
419152012-02-06 Joseph Myers <joseph@codesourcery.com>
41916
41917 * sysdeps/i386/sysdep.h: Include <features.h>.
41918 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41919 version.
41920
d8e0ca50
JM
419212012-02-05 Joseph Myers <joseph@codesourcery.com>
41922
41923 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41924 Define.
41925 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41926 LOAD_PIC_REG_STR.
41927
b1da7dd9
JM
419282012-02-03 Joseph Myers <joseph@codesourcery.com>
41929
41930 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41931 (SETUP_PIC_REG): Use GET_PC_THUNK.
41932 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41933 macro.
41934
9a1d9254
JM
419352012-02-03 Joseph Myers <joseph@codesourcery.com>
41936
41937 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41938 for non-PIC compilation.
41939 (SETUP_PIC_REG): Add .p2align directive.
41940 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41941 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41942 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41943 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41944 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41945 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41946 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41947 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41948 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41949 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41950 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41951 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41952 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41953 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41954 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41955 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41956 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41957 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41958 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41959 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41960 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41961 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41962 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41963 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41964 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41965 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41966 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41967 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41968 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41969 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41970 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41971 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41972 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41973 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41974 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41975 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41976 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41977 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41978 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41979 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41980 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41981
65dc3b75
JM
419822012-02-03 Joseph Myers <joseph@codesourcery.com>
41983
41984 * math/tst-CMPLX.c: Include <stdio.h>.
41985
d55bf177
JM
419862012-01-31 Joseph Myers <joseph@codesourcery.com>
41987
41988 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41989 float.
41990 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41991 * sysdeps/sparc/bits/mathdef.h: Likewise.
41992
69db4f8f
MP
419932012-01-31 Marek Polacek <polacek@redhat.com>
41994
41995 * libio/libio.h: Don't define _PARAMS.
41996 * locale/programs/config.h: Don't define PARAMS.
41997 * stdlib/strtol_l.c: Likewise.
41998 (__strtol_l): Remove PARAMS from the prototype.
41999
41b81892
UD
420002012-01-31 Ulrich Drepper <drepper@gmail.com>
42001
3b49edc0
UD
42002 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42003 names. Just use the correct names. Remove unnecessary wrapper
42004 functions.
42005 * malloc/arena.c: Likewise.
42006 * malloc/hooks.c: Likewise.
42007
41b81892
UD
42008 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42009 ARENA_TEST says not to. Simplify test for creation of a new arena.
42010 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42011
27a25b6e
UD
420122012-01-30 Ulrich Drepper <drepper@gmail.com>
42013
42014 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42015 into tail calls.
42016 (update_get_addr): New function.
42017 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42018 GET_ADDR_MODULE parameter.
42019
c8a89e7d
JM
420202012-01-30 Joseph Myers <joseph@codesourcery.com>
42021
42022 * crypt/cert.c: Remove __STDC__ conditionals.
42023 * crypt/crypt-entry.c: Likewise.
42024 * crypt/crypt_util.c: Likewise.
42025 * libio/filedoalloc.c: Likewise.
42026 * libio/fileops.c: Likewise.
42027 * libio/genops.c: Likewise.
42028 * libio/iofclose.c: Likewise.
42029 * libio/iofdopen.c: Likewise.
42030 * libio/iofopen.c: Likewise.
42031 * libio/iofopen64.c: Likewise.
42032 * libio/iogetdelim.c: Likewise.
42033 * libio/iopopen.c: Likewise.
42034 * libio/obprintf.c: Likewise.
42035 * libio/oldfileops.c: Likewise.
42036 * libio/oldiofclose.c: Likewise.
42037 * libio/oldiofdopen.c: Likewise.
42038 * libio/oldiofopen.c: Likewise.
42039 * libio/oldiopopen.c: Likewise.
42040 * libio/wfiledoalloc.c: Likewise.
42041 * libio/wgenops.c: Likewise.
42042 * locale/programs/xmalloc.c: Likewise.
42043 * misc/syslog.c: Likewise.
42044 * stdio-common/xbug.c: Likewise.
42045 * string/memchr.c: Likewise.
42046 * string/memcmp.c: Likewise.
42047 * string/memrchr.c: Likewise.
42048 * string/rawmemchr.c: Likewise.
42049 * sysdeps/posix/getcwd.c: Likewise.
42050 * time/strftime_l.c: Likewise.
42051
3b100462
JM
420522012-01-30 Joseph Myers <joseph@codesourcery.com>
42053
42054 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
42055 * config.make.in (config-cflags-sse2avx): Define.
42056 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42057 Fix typo.
42058
607998af
CM
420592012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42060
42061 * scripts/config.guess: Update from upstream config git repository.
42062 * scripts/config.sub: Likewise.
42063
3601428f
CM
420642012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42065
3ac8b282
CM
42066 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42067 (EM_NUM): Update.
42068 (R_TILEPRO_*, R_TILEGX_*): New macros.
42069
e034841e
CM
42070 * scripts/firstversions.awk: Fix bug in version range handling.
42071
540d7568
CM
42072 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42073
3601428f
CM
42074 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42075
463de862
CM
42076 * include/sys/epoll.h: New file.
42077 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42078 libc_hidden_def.
42079
73139a76
UD
420802012-01-28 Ulrich Drepper <drepper@gmail.com>
42081
96bc5b45
UD
42082 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42083 Avoid unnecessary __WORDSIZE == 64 test.
42084 (fmaxf): Use VEX format if possible.
42085 (fmax): Likewise.
42086 (fminf): Likewise.
42087 (fmin): Likewise.
42088
56f6f6a2
UD
42089 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42090 * math/math_private.h: Remove libc_fegetround* and
42091 libc_fesetround*.
42092 * sysdeps/i386/configure.in: Check for -msse2avx.
42093 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42094 also if SSE2AVX is defined.
42095 Remove libc_fegetround* and libc_fesetround*.
42096 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42097 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42098 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42099 of HAS_YMM_USABLE.
42100 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42101 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42102 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42103 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42104 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42105
73139a76
UD
42106 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42107
d73f93a4
AZ
421082012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42109
42110 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42111 size is not set.
42112 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42113
6ee65ed6
UD
421142012-01-27 Ulrich Drepper <drepper@gmail.com>
42115
42116 [BZ #13618]
42117 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42118 relocation.
42119 * Makeconfig (libm): Define.
42120 * elf/Makefile: Add rules to build and run tst-relsort1.
42121 * elf/tst-relsort1.c: New file.
42122 * elf/tst-relsort1mod1.c: New file.
42123 * elf/tst-relsort1mod2.c: New file.
42124
8db21882
JM
421252012-01-27 Joseph Myers <joseph@codesourcery.com>
42126
42127 * math/s_ldexp.c: Remove __STDC__ conditionals.
42128 * math/s_ldexpf.c: Likewise.
42129 * math/s_ldexpl.c: Likewise.
42130 * math/s_nextafter.c: Likewise.
42131 * math/s_nexttowardf.c: Likewise.
42132 * math/s_significand.c: Likewise.
42133 * math/s_significandf.c: Likewise.
42134 * math/s_significandl.c: Likewise.
42135 * math/w_jnl.c: Likewise.
42136 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42137 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42138 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42139 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42140 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42141 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42142 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42143 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42144 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42145 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42146 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42147 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42148 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42149 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42150 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42151 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42152 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42153 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42154 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42155 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42156 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42157 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42158 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42159 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42160 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42161 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42162 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42163 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42164 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42165 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42166 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42167 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42168 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42169 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42170 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42171 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42172 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42173 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42174 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42175 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42176 * sysdeps/ieee754/k_standard.c: Likewise.
42177 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42178 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42179 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42180 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42181 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42182 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42183 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42184 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42185 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42186 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42187 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42188 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42189 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42190 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42191 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42192 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42193 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42194 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42195 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42196 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42197 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42198 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42199 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42200 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42201 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42202 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42203 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42204 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42205 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42206 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42207 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42208 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42209 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42210 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42211 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42212 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42213 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42214 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42215 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42216 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42217 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42218 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42219 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42220 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42221 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42222 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42223 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42224 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42225 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42226 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42227 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42228 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42229 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42230 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42231 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42232 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42233 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42234 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42235 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42236 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42237 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42238 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42239 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42240 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42241 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42242 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42243 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42244 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42245 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42246 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42247 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42248 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42249 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42250 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42251 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42252 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42253 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42254 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42255 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42256 * sysdeps/ieee754/s_matherr.c: Likewise.
42257 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42258 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42259 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42260 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42261
965a54a4
JM
422622012-01-26 Joseph Myers <joseph@codesourcery.com>
42263
42264 * crypt/md5.h: Remove __STDC__ conditionals.
42265 * libio/libioP.h: Likewise.
42266 * locale/programs/config.h: Likewise.
42267 * sysdeps/generic/sysdep.h: Likewise.
42268 * sysdeps/i386/asm-syntax.h: Likewise.
42269 * sysdeps/s390/asm-syntax.h: Likewise.
42270 * sysdeps/unix/sysdep.h: Likewise.
42271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42273
7071ad79
JM
422742012-01-26 Joseph Myers <joseph@codesourcery.com>
42275
42276 * libio/libio.h: Remove __STDC__ conditionals.
42277 * malloc/obstack.h: Likewise.
42278 * math/complex.h: Likewise.
42279 * math/math.h: Likewise.
42280 * sysdeps/generic/_G_config.h: Likewise.
42281 * sysdeps/gnu/_G_config.h: Likewise.
42282 * sysdeps/mach/hurd/_G_config.h: Likewise.
42283 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42284 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42285 * sysdeps/sparc/bits/mathdef.h: Likewise.
42286
afc5ed09
UD
422872012-01-26 Ulrich Drepper <drepper@gmail.com>
42288
42289 [BZ #13583]
42290 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 42291 Clean up HAS_* macros.
afc5ed09 42292 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
42293 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42294 possible.
42295 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42296 HAS_AVX.
42297 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42298 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42299 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42300 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42301 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 42302
bdb6de1d
JM
423032012-01-25 Joseph Myers <joseph@codesourcery.com>
42304
42305 * elf/tst-unique3.cc (gets): Remove declaration.
42306 * elf/tst-unique3lib.cc (gets): Likewise.
42307 * elf/tst-unique3lib2.cc (gets): Likewise.
42308 * elf/tst-unique4.cc (gets): Likewise.
42309
b15549e6
UD
423102012-01-24 Ulrich Drepper <drepper@gmail.com>
42311
42312 * include/stdio.h: Add C++ protection. Add gets declarations and
42313 definitions.
42314 * debug/tst-chk1.c: Don't declare gets here.
42315 * stdio-common/tst-gets.c: Likewise.
42316
a037381f
JM
423172012-01-24 Joseph Myers <joseph@codesourcery.com>
42318
42319 * posix/glob: Remove directory.
42320
f1d4aa75
JM
423212012-01-24 Joseph Myers <joseph@codesourcery.com>
42322
42323 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42324
81c0c964
PT
423252012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42326
42327 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42328 of the non-standard EPFNOSUPPORT.
42329
0ea698ae
ST
423302011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42331
42332 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42333 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42334 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42335
d220b117
UD
423362012-01-21 Ulrich Drepper <drepper@gmail.com>
42337
42338 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42339
3e1aa84e
UD
423402012-01-20 Ulrich Drepper <drepper@gmail.com>
42341
42342 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42343 transient errors.
42344 * nscd/grpcache.c (cache_addgr): Likewise.
42345 * nscd/hstcache.c (cache_addhst): Likewise.
42346 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42347 * nscd/pwdcache.c (cache_addpw): Likewise.
42348 * nscd/servicescache.c (cache_addserv): Likewise.
42349
400aa020
UD
423502012-01-16 Ulrich Drepper <drepper@gmail.com>
42351
d77e7869
UD
42352 * malloc/malloc.c: Various cleanups.
42353 * malloc/hooks.c: Likewise.
42354
400aa020
UD
42355 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42356 * stdlib/bug-fmtmsg1.c: New file.
42357
42358 * stdlib/fmtmsg.c (init): Add missing unlock.
42359 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42360
e0a309cf
MP
423612012-01-12 Marek Polacek <polacek@redhat.com>
42362
42363 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42364 and _GNU_SOURCE.
42365
929d11c7
WS
423662012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42367
42368 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42369 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42370 macro to ensure uniqueness of label name.
42371 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42372 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42373
41d0e869
UD
423742012-01-11 Ulrich Drepper <drepper@gmail.com>
42375
0cc5ed3b
UD
42376 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42377
41d0e869
UD
42378 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42379 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42380 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42381 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42382
a47a831a
UD
423832012-01-10 Ulrich Drepper <drepper@gmail.com>
42384
daa891c0
UD
42385 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42386
42387 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42388 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42389 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42390
e58ef0f2
UD
42391 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42392
a47a831a 42393 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
42394 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42395 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 42396 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
42397
42398 * math/bits/math-finite.h: Add ldexp support.
42399
a0bfc9c7
MP
424002012-01-10 Marek Polacek <polacek@redhat.com>
42401
42402 * locale/programs/localedef.h (show_archive_content): Add noreturn
42403 attribute.
42404
d6e97a1d
UD
424052012-01-09 Ulrich Drepper <drepper@gmail.com>
42406
42407 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42408
d5835c26
UD
424092012-01-08 Ulrich Drepper <drepper@gmail.com>
42410
e5f484c6
UD
42411 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42412
d5835c26
UD
42413 * io/Makefile (headers): Add bits/poll2.h.
42414
d1f741e9
WS
424152011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42416
42417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42418 typo #include statement.
42419
ec09c1c4
UD
424202012-01-08 Ulrich Drepper <drepper@gmail.com>
42421
42422 * include/sys/cdefs.h: Define __attribute_alloc_size.
42423 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42424 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42425 * elf/pldd.c: Likewise.
42426 * iconv/iconv_charmap.c: Likewise.
42427 * iconv/iconvconfig.c: Likewise.
42428 * iconv/strtab.c: Likewise.
42429 * locale/programs/locale.c: Likewise.
42430 * locale/programs/localedef.h: Likewise.
42431 * locale/programs/simple-hash.c: Likewise.
42432 * nscd/nscd.h: Likewise.
42433 * nss/makedb.c: Likewise.
42434 * sysdeps/generic/ldconfig.h: Likewise.
42435 * locale/programs/localedef.c: Remove xmalloc prototype.
42436 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42437
20b38e03
PP
424382012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42439
42440 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42441 appropriate.
42442
a0da5fe1
UD
424432012-01-08 Ulrich Drepper <drepper@gmail.com>
42444
1d5a644a 42445 * math/Makefile (tests): Add tst-CMPLX.
669704fd 42446 * math/tst-CMPLX.c: New file.
1d5a644a 42447
8784a6db
UD
42448 * math/complex.h (CMPLXL): Fix typo.
42449
d9a216c0
UD
42450 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42451 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42452 GLIBC_2.16.
42453 * debug/tst-chk1.c: Add poll and ppoll tests.
42454 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42455 * include/sys/poll.h: Add hidden proto for ppoll.
42456 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42457 * sysdeps/mach/hurd/ppoll.c: Likewise.
42458 * io/ppoll.c: Likewise.
42459 * debug/poll_chk.c: New file.
42460 * debug/ppoll_chk.c: New file.
42461 * include/bits/poll2.h: New file.
42462 * io/bits/poll2.h: New file.
42463
ac097f5c
UD
42464 [BZ #1350]
42465 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42466
2119dcfa
UD
42467 * configure.in: static is always set to yes. Remove.
42468 * config.make.in: Don't set build-static.
42469 * Makeconfig: Remove use of build-static.
42470 * dlfcn/Makefile: Likewise.
42471 * elf/Makefile: Likewise.
42472 * math/Makefile: Likewise.
42473 * misc/Makefile: Likewise.
42474 * nptl/Makefile: Likewise.
42475 * sysdeps/mach/hurd/Makefile: Likewise.
42476
121766a9
UD
42477 * configure.in: PWD_P is not used anymore.
42478 * config.make.in: Remove PWD_P entry.
42479
51a1d39c 42480 * configure.in: Remove last remnants of RANLIB.
8720d066 42481 No need to check for signed size_t anymore.
215f4bdc
UD
42482 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42483 and IA-64.
3857022a 42484 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
42485 * aclocal.m4: Likewise.
42486
d3ed7225
UD
42487 * wcsmbs/mbrtoc16.c: Implement using towc function.
42488 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42489 * wcsmbs/wcsmbsload.c: Likewise.
42490 * iconv/gconv_simple.c: Likewise.
42491 * iconv/gconv_int.h: Likewise.
42492 * iconv/gconv_builtin.h: Likewise.
42493 * iconv/iconv_prog.c: Remove CHAR16 handling.
42494
42495 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42496
42497 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42498
a0da5fe1
UD
42499 * configure.in: Remove --with-elf and --enable-bounded options.
42500 Dont set base_machine for ia64. More non-ELF conditions removed.
42501 Remove testing and setting of leading underscore information.
42502 * config.make.in (build-bounded): Set to no.
42503 * config.h.in: Remove NO_UNDERSCORES entry.
42504 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42505 them.
42506 * csu/start.c: Remove !NO_UNDERSCORE code.
42507 * locale/localeinfo.h: Likewise.
42508 * sysdeps/generic/machine-gmon.h: Likewise.
42509 * sysdeps/generic/sysdep.h: Likewise.
42510 * sysdeps/i386/sysdep.h: Likewise.
42511 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42512 * sysdeps/mach/sysdep.h: Likewise.
42513 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42514 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42515 * sysdeps/sh/sysdep.h: Likewise.
42516 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42517 * sysdeps/unix/i386/sysdep.S: Likewise.
42518 * sysdeps/unix/sparc/start.c: Likewise.
42519 * sysdeps/unix/sparc/sysdep.S: Likewise.
42520 * sysdeps/unix/sparc/sysdep.h: Likewise.
42521 * sysdeps/unix/start.c: Likewise.
42522 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42523 * sysdeps/x86_64/sysdep.h: Likewise.
42524
df78418a
UD
425252012-01-07 Ulrich Drepper <drepper@gmail.com>
42526
a784e502
UD
42527 [BZ #13553]
42528 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42529 for non-gcc.
42530 * argp/argp-fmtstream.h: Use const instead __const.
42531 * argp/argp.h: Likewise.
42532 * assert/assert.h: Likewise.
42533 * bits/fenv.h: Likewise.
42534 * bits/sched.h: Likewise.
42535 * bits/sigset.h: Likewise.
42536 * bits/sigthread.h: Likewise.
42537 * catgets/nl_types.h: Likewise.
42538 * conform/data/pthread.h-data: Likewise.
42539 * crypt/crypt-private.h: Likewise.
42540 * crypt/crypt.h: Likewise.
42541 * crypt/crypt_util.c: Likewise.
42542 * ctype/ctype.h: Likewise.
42543 * debug/execinfo.h: Likewise.
42544 * debug/mbsnrtowcs_chk.c: Likewise.
42545 * debug/mbsrtowcs_chk.c: Likewise.
42546 * debug/wcsnrtombs_chk.c: Likewise.
42547 * debug/wcsrtombs_chk.c: Likewise.
42548 * debug/wcstombs_chk.c: Likewise.
42549 * dirent/dirent.h: Likewise.
42550 * dlfcn/dlfcn.h: Likewise.
42551 * elf/neededtest4.c: Likewise.
42552 * grp/grp.h: Likewise.
42553 * gshadow/gshadow.h: Likewise.
42554 * iconv/gconv.h: Likewise.
42555 * iconv/gconv_int.h: Likewise.
42556 * iconv/gconv_simple.c: Likewise.
42557 * iconv/iconv.h: Likewise.
42558 * iconv/loop.c: Likewise.
42559 * iconv/skeleton.c: Likewise.
42560 * include/aio.h: Likewise.
42561 * include/aliases.h: Likewise.
42562 * include/argz.h: Likewise.
42563 * include/arpa/inet.h: Likewise.
42564 * include/assert.h: Likewise.
42565 * include/dirent.h: Likewise.
42566 * include/dlfcn.h: Likewise.
42567 * include/execinfo.h: Likewise.
42568 * include/fcntl.h: Likewise.
42569 * include/fenv.h: Likewise.
42570 * include/glob.h: Likewise.
42571 * include/grp.h: Likewise.
42572 * include/libintl.h: Likewise.
42573 * include/mntent.h: Likewise.
42574 * include/netdb.h: Likewise.
42575 * include/pwd.h: Likewise.
42576 * include/rpc/netdb.h: Likewise.
42577 * include/sched.h: Likewise.
42578 * include/search.h: Likewise.
42579 * include/shadow.h: Likewise.
42580 * include/signal.h: Likewise.
42581 * include/stdio.h: Likewise.
42582 * include/stdlib.h: Likewise.
42583 * include/string.h: Likewise.
42584 * include/sys/socket.h: Likewise.
42585 * include/sys/stat.h: Likewise.
42586 * include/sys/statfs.h: Likewise.
42587 * include/sys/statvfs.h: Likewise.
42588 * include/sys/syslog.h: Likewise.
42589 * include/sys/time.h: Likewise.
42590 * include/sys/uio.h: Likewise.
42591 * include/time.h: Likewise.
42592 * include/unistd.h: Likewise.
42593 * include/utmp.h: Likewise.
42594 * include/wchar.h: Likewise.
42595 * include/wctype.h: Likewise.
42596 * inet/aliases.h: Likewise.
42597 * inet/arpa/inet.h: Likewise.
42598 * inet/netinet/ether.h: Likewise.
42599 * inet/netinet/in.h: Likewise.
42600 * intl/libintl.h: Likewise.
42601 * io/bits/fcntl2.h: Likewise.
42602 * io/fcntl.h: Likewise.
42603 * io/ftw.h: Likewise.
42604 * io/sys/poll.h: Likewise.
42605 * io/sys/stat.h: Likewise.
42606 * io/sys/statfs.h: Likewise.
42607 * io/sys/statvfs.h: Likewise.
42608 * io/utime.h: Likewise.
42609 * libio/bits/stdio.h: Likewise.
42610 * libio/bits/stdio2.h: Likewise.
42611 * libio/libio.h: Likewise.
42612 * libio/libioP.h: Likewise.
42613 * libio/stdio.h: Likewise.
42614 * locale/lc-ctype.c: Likewise.
42615 * locale/locale.h: Likewise.
42616 * login/utmp.h: Likewise.
42617 * malloc/arena.c: Likewise.
42618 * malloc/malloc.c: Likewise.
42619 * malloc/malloc.h: Likewise.
42620 * malloc/mcheck.c: Likewise.
42621 * malloc/mtrace.c: Likewise.
42622 * math/bits/mathcalls.h: Likewise.
42623 * math/fenv.h: Likewise.
42624 * math/math_private.h: Likewise.
42625 * misc/bits/error.h: Likewise.
42626 * misc/bits/syslog.h: Likewise.
42627 * misc/err.h: Likewise.
42628 * misc/error.h: Likewise.
42629 * misc/fstab.h: Likewise.
42630 * misc/mntent.h: Likewise.
42631 * misc/regexp.h: Likewise.
42632 * misc/search.h: Likewise.
42633 * misc/sgtty.h: Likewise.
42634 * misc/sys/mman.h: Likewise.
42635 * misc/sys/syslog.h: Likewise.
42636 * misc/sys/uio.h: Likewise.
42637 * misc/sys/xattr.h: Likewise.
42638 * misc/ttyent.h: Likewise.
42639 * nis/rpcsvc/ypclnt.h: Likewise.
42640 * nss/nss.h: Likewise.
42641 * posix/bits/unistd.h: Likewise.
42642 * posix/fnmatch.h: Likewise.
42643 * posix/glob.h: Likewise.
42644 * posix/sched.h: Likewise.
42645 * posix/spawn.h: Likewise.
42646 * posix/sys/wait.h: Likewise.
42647 * posix/unistd.h: Likewise.
42648 * posix/wordexp.h: Likewise.
42649 * pwd/pwd.h: Likewise.
42650 * resolv/netdb.h: Likewise.
42651 * resource/sys/resource.h: Likewise.
42652 * rt/aio.h: Likewise.
42653 * rt/bits/mqueue2.h: Likewise.
42654 * rt/mqueue.h: Likewise.
42655 * shadow/shadow.h: Likewise.
42656 * signal/signal.h: Likewise.
42657 * socket/send.c: Likewise.
42658 * socket/sendto.c: Likewise.
42659 * socket/sys/socket.h: Likewise.
42660 * stdio-common/printf.h: Likewise.
42661 * stdlib/bits/stdlib.h: Likewise.
42662 * stdlib/fmtmsg.h: Likewise.
42663 * stdlib/monetary.h: Likewise.
42664 * stdlib/stdlib.h: Likewise.
42665 * stdlib/ucontext.h: Likewise.
42666 * streams/stropts.h: Likewise.
42667 * string/argz.h: Likewise.
42668 * string/bits/string2.h: Likewise.
42669 * string/string.h: Likewise.
42670 * string/strings.h: Likewise.
42671 * sunrpc/rpc/auth.h: Likewise.
42672 * sunrpc/rpc/auth_des.h: Likewise.
42673 * sunrpc/rpc/clnt.h: Likewise.
42674 * sunrpc/rpc/netdb.h: Likewise.
42675 * sunrpc/rpc/pmap_clnt.h: Likewise.
42676 * sunrpc/rpc/xdr.h: Likewise.
42677 * sysdeps/generic/inttypes.h: Likewise.
42678 * sysdeps/generic/net/if.h: Likewise.
42679 * sysdeps/generic/sys/swap.h: Likewise.
42680 * sysdeps/gnu/net/if.h: Likewise.
42681 * sysdeps/gnu/utmpx.h: Likewise.
42682 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42683 * sysdeps/i386/i486/bits/string.h: Likewise.
42684 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42685 * sysdeps/s390/bits/string.h: Likewise.
42686 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42687 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42688 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42689 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42690 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42691 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42692 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42693 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42694 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42695 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42696 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42697 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42698 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42699 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42700 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42701 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42702 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42703 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42704 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42705 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42706 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42707 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42708 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42709 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42710 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42711 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42712 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42713 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42714 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42715 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42716 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42717 * sysvipc/sys/ipc.h: Likewise.
42718 * sysvipc/sys/msg.h: Likewise.
42719 * sysvipc/sys/sem.h: Likewise.
42720 * sysvipc/sys/shm.h: Likewise.
42721 * termios/termios.h: Likewise.
42722 * time/sys/time.h: Likewise.
42723 * time/time.h: Likewise.
42724 * wcsmbs/bits/wchar2.h: Likewise.
42725 * wcsmbs/uchar.h: Likewise.
42726 * wcsmbs/wchar.h: Likewise.
42727 * wctype/wctype.h: Likewise.
42728
0269750c
UD
42729 [BZ #13551]
42730 * Makeconfig: Remove all but ELF support including AIX support.
42731 * Makerules: Likewise.
42732 * config.h.in: Likewise.
42733 * config.make.in: Likewise.
42734 * configure: Likewise.
42735 * configure.in: Likewise.
42736 * csu/Makefile: Likewise.
42737 * csu/version.c: Likewise.
42738 * debug/Makefile: Likewise.
42739 * dlfcn/Makefile: Likewise.
42740 * elf/Makefile: Likewise.
42741 * extra-lib.mk: Likewise.
42742 * iconv/Makefile: Likewise.
42743 * include/libc-symbols.h: Likewise.
42744 * include/shlib-compat.h: Likewise.
42745 * resolv/Makefile: Likewise.
42746 * resolv/res_libc.c: Likewise.
42747 * rt/Makefile: Likewise.
42748 * sysdeps/i386/asm-syntax.h: Likewise.
42749 * sysdeps/i386/sysdep.h: Likewise.
42750 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42751 * sysdeps/mach/sysdep.h: Likewise.
42752 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42753 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42754 * sysdeps/s390/asm-syntax.h: Likewise.
42755 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42756 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42757 * sysdeps/sh/sysdep.h: Likewise.
42758 * sysdeps/unix/sparc/sysdep.h: Likewise.
42759 * sysdeps/wordsize-32/divdi3.c: Likewise.
42760 * sysdeps/x86_64/sysdep.h: Likewise.
42761
00bbd29b
UD
42762 * argp/Versions: Remove _argp_unlock_xxx.
42763
42764 [BZ #13559]
42765 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42766 * abilist/libBrokenLocale.abilist: Likewise.
42767 * abilist/libanl.abilist: Likewise.
42768 * abilist/libc.abilist: Likewise.
42769 * abilist/libcrypt.abilist: Likewise.
42770 * abilist/libdl.abilist: Likewise.
42771 * abilist/libm.abilist: Likewise.
42772 * abilist/libnsl.abilist: Likewise.
42773 * abilist/libpthread.abilist: Likewise.
42774 * abilist/libresolv.abilist: Likewise.
42775 * abilist/librt.abilist: Likewise.
42776 * abilist/libthread_db.abilist: Likewise.
42777 * abilist/libutil.abilist: Likewise.
42778 * abilist/libnss_db.abilist: New file.
42779
42780 * scripts/abilist.awk: Add support for indirect functions.
42781
a2693a0e
UD
42782 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42783
3f05895f
UD
42784 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42785
ecb6fb48
UD
42786 * shlib-versions: Remove entries for ports architectures.
42787
664f8cb9
UD
42788 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42789 files in ports.
42790 * elf/stackguard-macros.h: Remove support for IA-64.
42791 * elf/tst-auditmod1.c: Likewise.
42792 * sysdeps/generic/ldsodefs.h: Likewise.
42793
7ae81d88
UD
42794 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42795 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42796 configure files.
42797
bdeba135
UD
42798 [BZ #13552]
42799 * configure.in: Remove --enable-omitfp support.
42800 * FAQ.in: Adjust.
42801 * config.make.in: Likewise.
42802 * Makeconfig: Likewise.
42803 * manual/install.texi: Likewise.
42804
d75a0a62
UD
42805 In case anyone cares, the IA-64 architecture could move to ports.
42806 * sysdeps/ia64/*: Removed.
42807 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 42808 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 42809
dcc9756b
UD
42810 [BZ #13555]
42811 * configure.in: Remove entries for unsupported architectures.
42812
d3761ebc 42813 [BZ #13533]
9954432e
UD
42814 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42815 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42816 routines.
42817 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42818 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42819 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42820 fall back to using wcrtomb.
42821 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42822 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42823 renaming.
42824 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42825 * wcsmbs/tst-c16c32-1.c: New file.
42826
42827 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42828 local variable.
42829
c3a87236
UD
42830 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42831
28926a1b
UD
42832 * elf/tst-unique3.cc: Add explicit declaration of gets.
42833 * elf/tst-unique3lib.cc: Likewise.
42834 * elf/tst-unique3lib2.cc: Likewise.
42835 * elf/tst-unique4.cc: Likewise.
42836
df78418a
UD
42837 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42838
8ecd6b2a
JM
428392012-01-06 Joseph Myers <joseph@codesourcery.com>
42840
42841 [BZ #13566]
42842 * assert/assert.h (static_assert): Don't define for C++.
42843 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42844 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42845
9f115170
UD
428462012-01-03 Ulrich Drepper <drepper@gmail.com>
42847
5e0d0300
UD
42848 * iconv/loop.c (single loop): Fix assertion in storing of
42849 remaining bytes.
42850
9f115170
UD
42851 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42852
81fb02b0
UD
428532012-01-01 Ulrich Drepper <drepper@gmail.com>
42854
42855 * posix/getconf.c: Update copyright year.
42856 * nss/getent.c: Likewise.
a316c1f6 42857 * nss/makedb.c: Likewise.
81fb02b0
UD
42858 * iconv/iconvconfig.c: Likewise.
42859 * iconv/iconv_prog.c: Likewise.
42860 * elf/ldconfig.c: Likewise.
a316c1f6
UD
42861 * elf/pldd.c: Likewise.
42862 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
42863 * catgets/gencat.c: Likewise.
42864 * csu/version.c: Likewise.
42865 * elf/ldd.bash.in: Likewise.
42866 * elf/sprof.c (print_version): Likewise.
42867 * locale/programs/locale.c: Likewise.
42868 * locale/programs/localedef.c: Likewise.
a316c1f6 42869 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
42870 * nscd/nscd.c (print_version): Likewise.
42871 * debug/xtrace.sh: Likewise.
42872 * malloc/memusage.sh: Likewise.
42873 * malloc/mtrace.pl: Likewise.
42874 * debug/catchsegv.sh: Likewise.
42875
2ba92745
JJ
428762011-12-30 Jakub Jelinek <jakub@redhat.com>
42877
42878 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42879 pure attribute.
42880
dadebdae
UD
428812011-12-24 Ulrich Drepper <drepper@gmail.com>
42882
d3761ebc 42883 [BZ #13533]
db6af3eb
UD
42884 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42885 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42886 transformations.
42887 * iconv/gconv_int.h: Likewise.
42888 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42889 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42890 from libc for GLIBC_2.16.
42891 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42892 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42893 * wcsmbs/uchar.h: Really define mbstate_t.
42894 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42895 * wcsmbs/c16rtomb.c: New file.
42896 * wcsmbs/mbrtoc16.c: New file.
42897 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42898 for C/POSIX locale.
42899 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42900 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42901
dadebdae
UD
42902 * wcsmbs/wchar.h: Add missing __restrict.
42903
67371b56
UD
429042011-12-23 Ulrich Drepper <drepper@gmail.com>
42905
74033a25
UD
42906 [BZ #13532]
42907 * time/Makefile (routines): Add timespec_get.
42908 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42909 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42910 timespec for ISO C11.
42911 * time/timespec_get.c: New file.
42912 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42913 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42914
380d7e87
UD
42915 [BZ #13531]
42916 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42917 * stdlib/stdlib.h: Declare aligned_alloc.
42918 * Versions.def: Add GLIBC_2.16 for libc.
42919 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42920
4e9e7a35
UD
42921 [BZ 13527]
42922 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42923 ISO C11.
42924
380d7e87 42925 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
42926 code.
42927
03a71829
UD
42928 [BZ #13528]
42929 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42930
839e283e
UD
42931 [BZ #13529]
42932 * assert/assert.h (static_assert): Define.
42933
ce5294e2 42934 * version.h: Update for 2.16 development version.
90fa7312 42935
8d44e150 42936 [BZ #13526]
d7809905
UD
42937 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42938 _ISOC11_SOURCE.
42939
c0da14cd
UD
42940 * version.h (RELEASE): Bump for 2.15 release.
42941 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42942
530a3249
MP
42943 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42944 Patch by Marek Polacek <mpolacek@redhat.com>.
42945
67371b56
UD
42946 * bits/byteswap.h: Protect long long constants with __extension__.
42947 * sysdeps/i386/bits/byteswap.h: Likewise.
42948 * sysdeps/ia64/bits/byteswap.h: Likewise.
42949 * sysdeps/s390/bits/byteswap.h: Likewise.
42950 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42951
15db4de1
LD
429522011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42953
42954 [BZ #13540]
bbe315ea
LD
42955 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42956 destination buffer.
15db4de1
LD
42957 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42958
2b2596b1
MP
429592011-12-23 Marek Polacek <polacek@redhat.com>
42960
42961 * elf/dl-addr.c (determine_info): Add inline keyword.
42962 * elf/tst-auditmod4b.c (check_avx): Likewise.
42963 * elf/tst-auditmod6b.c (check_avx): Likewise.
42964 * elf/tst-auditmod6c.c (check_avx): Likewise.
42965 * elf/tst-auditmod7b.c (check_avx): Likewise.
42966
70c6c246
UD
429672011-12-23 Ulrich Drepper <drepper@gmail.com>
42968
42969 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42970 !__SSE_MATH__.
42971
c044cf14
LD
429722011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42973
15db4de1 42974 [BZ #13540]
c044cf14
LD
42975 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42976 processing for last bytes.
42977
6b13d9d9
BH
429782011-08-06 Bruno Haible <bruno@clisp.org>
42979
d455f537
BH
42980 [BZ #13061]
42981 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42982 U+0385, not to U+1FEE.
42983
6b13d9d9
BH
42984 [BZ #13062]
42985 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42986 entry for U+00A5 U+0301.
42987
db910efd
UD
429882011-12-22 Ulrich Drepper <drepper@gmail.com>
42989
27deeafc
UD
42990 [BZ #13166]
42991 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42992 buffer for the output is too small.
42993
aed9d171
UD
42994 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42995 optimization.
42996
db910efd
UD
42997 [BZ #13185]
42998 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42999 SSE flags if possible.
43000
2bd779ae
LD
430012011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43002
e7f9dac3 43003 [BZ #13540]
2bd779ae
LD
43004 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43005 processing for last bytes.
43006
154bfc16
JM
430072011-12-22 Joseph Myers <joseph@codesourcery.com>
43008
43009 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43010 (syscall-list-default-options, syscall-list-default-condition)
43011 (syscall-list-includes): Define.
43012 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43013 list of ABIs and options and #if conditions for each ABI. Do not
43014 handle common syscalls between ABIs specially.
43015 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43016 Remove.
43017 (syscall-list-variants, syscall-list-32bit-options)
43018 (syscall-list-32bit-condition, syscall-list-64bit-options)
43019 (syscall-list-64bit-condition): Define.
43020 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43021 (syscall-list-variants, syscall-list-32bit-options)
43022 (syscall-list-32bit-condition, syscall-list-64bit-options)
43023 (syscall-list-64bit-condition): Define.
43024 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43025 Remove.
43026 (syscall-list-variants, syscall-list-32bit-options)
43027 (syscall-list-32bit-condition, syscall-list-64bit-options)
43028 (syscall-list-64bit-condition): Define.
43029 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43030 Remove.
43031 (syscall-list-variants, syscall-list-32bit-options)
43032 (syscall-list-32bit-condition, syscall-list-64bit-options)
43033 (syscall-list-64bit-condition): Define.
43034
21eaf3a5
UD
430352011-12-22 Ulrich Drepper <drepper@gmail.com>
43036
16c6f992
UD
43037 * locale/iso-639.def: Add brx entry.
43038
41043168
UD
43039 [BZ #13328]
43040 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43041 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43042
21eaf3a5
UD
43043 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43044 __feraiseexcept_renamed.
43045
e3a851a2
UD
430462011-12-21 Ulrich Drepper <drepper@gmail.com>
43047
4920765e
UD
43048 [BZ #13538]
43049 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43050 EPOLLET with unsigned values.
43051 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43052 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43053
e3a851a2
UD
43054 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43055 to large cancellation.
43056 * math/s_cacoshf.c: Likewise.
43057 * math/s_cacoshl.c: Likewise.
43058
b27e24b8
RK
430592011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43060
43061 [BZ #13305]
aebefeee 43062 [BZ #12786]
b27e24b8
RK
43063 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43064 * math/s_cacoshf.c: Likewise.
43065 * math/s_cacoshl.c: Likewise.
43066
ee190f67
UD
430672011-12-21 Ulrich Drepper <drepper@gmail.com>
43068
43069 [BZ #13439]
43070 * iconv/gconv.h: Define __GCONV_SWAP.
43071 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43072 * iconvdata/utf-16.c: Likewise.
43073 * iconvdata/utf-32.c: Likewise.
43074
707f25df
AS
430752011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43076
43077 [BZ #13524]
43078 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43079 numerator after shifting it by one limb.
43080
d2daaa1e
RÁE
430812011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43082
43083 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43084 under [__USE_EXTERN_INLINES].
43085
a4647e72
UD
430862011-12-17 Ulrich Drepper <drepper@gmail.com>
43087
43088 [BZ #13446]
43089 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43090
f0b264f1
AZ
430912011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43092
43093 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43094 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43095 optimized code.
43096 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43097 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43098 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43099 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43100 for strncasecmp/strncasecmp_l compilation.
43101 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43102 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43103
8ef4f244
MP
431042011-12-08 Marek Polacek <mpolacek@redhat.com>
43105
43106 [BZ #13484]
43107 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43108 of __asm__.
43109
97ac2654
UD
431102011-12-17 Ulrich Drepper <drepper@gmail.com>
43111
43112 [BZ #13506]
43113 * time/tzfile.c (__tzfile_read): Check values from file header.
43114
91d2a845
WS
431152011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43116
43117 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43118 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43119 * powerpc/powerpc32/dl-start.S: Likewise.
43120 * powerpc/powerpc32/elf/start.S: Likewise.
43121 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43122 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43123 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43124 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43125 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43126 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43127 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43128 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43129 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43130 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43131 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43132 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43133 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43134 * powerpc/powerpc32/memset.S: Likewise.
43135 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43136 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43137 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43138 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43139 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43140 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43141 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43142 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43143 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43144 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43145 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43146 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43147 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43148
a1267ba1
AZ
431492011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43150
43151 * math/libm-test.inc: Added more nearbyint tests.
43152 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43153 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43154 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43155 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43156
ad8ac1bd
RL
431572011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43158
43159 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43160 FD_CLOEXEC.
43161
1d3e4b61
UD
431622011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43163
43164 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43165 Add wcscpy-ssse3 wcscpy-c.
43166 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43167 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43168 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43169 * sysdeps/x86_64/wcschr.S: New file.
43170 * sysdeps/x86_64/wcsrchr.S: New file.
43171 * string/test-strcmp.c: Remove checking of wcscmp function for
43172 wrong alignments.
43173 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43174 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43175 wcsrchr-sse2 wcsrchr-c.
43176 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43177 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43178 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43179 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43180 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43181 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43182 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43183 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43184 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43185 * wcsmbc/wcschr.c (WCSCHR): New macro.
43186
5b330a2d
UD
431872011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43188
43189 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43190 * wcsmbs/test-wcsrchr.c: New file.
43191 * string/test-strrchr.c: Add wcsrchr support.
43192 (WIDE): New macro.
43193 * wcsmbs/test-wcscpy.c: New file.
43194 * string/test-strcpy.c: Add wcscpy support.
43195 (WIDE): New macro.
26428b7c 43196
f039c043
UD
431972011-12-10 Ulrich Drepper <drepper@gmail.com>
43198
43199 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43200 the inner loop.
43201
850fb039
AS
432022011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43203
43204 [BZ #13472]
43205 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43206
4efbd5cb
UD
432072011-12-04 Ulrich Drepper <drepper@gmail.com>
43208
52ff5dd0 43209 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 43210 Minor optimizations.
52ff5dd0 43211
4efbd5cb
UD
43212 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43213 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43214 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43215
8a426e12
UD
432162011-12-03 Ulrich Drepper <drepper@gmail.com>
43217
aff2453d
UD
43218 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43219 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43220 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43221 for gcc to avoid warnings.
43222 * inet/Makefile (tests): Add tst-checks.
43223 * inet/tst-checks.c: New file.
43224
43225 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43226 warning.
43227
43228 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43229 __wmemcmp_sse2.
43230
43231 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43232 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43233
8a426e12
UD
43234 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43235
9bea3473
UD
432362011-12-02 Ulrich Drepper <drepper@gmail.com>
43237
3a965496
UD
43238 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43239 problem.
43240
9bea3473
UD
43241 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43242
f101631b
UD
432432011-11-29 Joseph Myers <joseph@codesourcery.com>
43244
43245 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43246 conditional on GCC version.
43247 (__arch_compare_and_exchange_val_8_acq)
43248 (__arch_compare_and_exchange_val_16_acq)
43249 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43250 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43251 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43252
a98275aa
UD
432532011-12-02 Joseph Myers <joseph@codesourcery.com>
43254
43255 * sysdeps/sh/backtrace.c: New file.
43256
d4cc29a2
AS
432572011-12-02 Andreas Schwab <schwab@redhat.com>
43258
43259 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43260 parenthesis.
43261
6257af2d
AS
432622011-12-01 Andreas Schwab <schwab@redhat.com>
43263
43264 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43265 falling back to utime.
43266
b5f44c1a
AS
432672011-11-30 Andreas Schwab <schwab@redhat.com>
43268
43269 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43270 expectations for float.
43271
f3a6cc0a
AS
432722011-11-29 Andreas Schwab <schwab@redhat.com>
43273
43274 * locale/weight.h (findidx): Add parameter len.
43275 * locale/weightwc.h (findidx): Likewise.
43276 * posix/fnmatch_loop.c (FCT): Adjust caller.
43277 * posix/regcomp.c (build_equiv_class): Likewise.
43278 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43279 * posix/regexec.c (check_node_accept_bytes): Likewise.
43280 * string/strcoll_l.c (STRCOLL): Likewise.
43281 * string/strxfrm_l.c (STRXFRM): Likewise.
43282
9d65ea3a
UD
432832011-11-17 Ulrich Drepper <drepper@gmail.com>
43284
43285 * Makefile.in: Remove CVSOPT handling.
43286 * configure.in: Remove use of AC_REVISION.
43287 * iconvdata/Makefile (distribute): No need to filter out CVS.
43288 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43289 handling.
43290
5583a086
AS
432912011-11-16 Andreas Schwab <schwab@redhat.com>
43292
43293 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43294 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43295 [USE_AS_STRNCASECMP_L]: Likewise.
43296 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43297 NO_TLS_DIRECT_SEG_REFS.
43298 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43299 Fix argument offsets for non-PIC.
43300 [USE_AS_STRNCASECMP_L]: Likewise.
43301 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43302 NO_TLS_DIRECT_SEG_REFS.
43303
d62a8200
UD
433042011-11-15 Ulrich Drepper <drepper@gmail.com>
43305
9d65ea3a 43306 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
43307 O_CLOEXEC.
43308 * locale/loadlocale.c (_nl_load_locale): Likewise.
43309
09f93bd3
AS
433102011-11-15 Andreas Schwab <schwab@redhat.com>
43311
446514f9
AS
43312 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43313 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43314 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43315 (SYSCALL_GETTIME): Set errno on error.
43316
09f93bd3
AS
43317 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43318 count references to noai6ai_cached.
43319
312be3f9
UD
433202011-11-15 Ulrich Drepper <drepper@gmail.com>
43321
43322 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43323
43324 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43325 FD_CLOEXEC for /proc/self/maps.
43326
43327 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43328 FD_CLOEXEC for /proc/meminfo.
43329
43330 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43331 gai.conf.
43332
43333 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43334 FD_CLOEXEC for given file.
43335
43336 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43337
43338 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43339 FD_CLOEXEC for /etc/hosts.
43340 (_gethtent): Likewise.
43341
43342 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43343
43344 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43345 cancellation and set FD_CLOEXEC for /etc/netgroup.
43346
43347 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43348 reading /etc/publickey.
43349
43350 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43351 allow cancellation when reading /etc/group.
43352
43353 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43354 cancellation.
43355 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43356
43357 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43358 when using data file.
43359
43360 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43361
43362 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43363 (write_nis_obj): Use "c" and "e" in fopen.
43364
43365 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43366
43367 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43368
43369 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43370
43371 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43372
43373 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43374 locale.alias.
43375
43376 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43377
43378 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43379
43380 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43381
43382 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43383 file parsing and set FD_CLOEXEC.
43384
82af0fa8
UD
433852011-11-14 Ulrich Drepper <drepper@gmail.com>
43386
43387 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43388
a5fb313c
AS
433892011-11-14 Andreas Schwab <schwab@redhat.com>
43390
43391 * malloc/arena.c (arena_get2): Don't call reused_arena when
43392 _int_new_arena failed.
43393
6abf3465
UD
433942011-11-14 Ulrich Drepper <drepper@gmail.com>
43395
43396 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43397 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43398 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43399 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43400 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43401 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43402 to compile strcasecmp and strncasecmp.
43403 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43404 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43405
43406 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43407
76e3966e
UD
434082011-11-13 Ulrich Drepper <drepper@gmail.com>
43409
43410 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43411 locale-defines.sym to gen-as-const-headers.
43412 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43413 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43414 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43415 to compile strcasecmp and strncasecmp.
43416 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43417 strcasecmp_l and strncasecmp_l.
43418 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43419 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43420 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43421 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43422 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43423 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43424 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43425 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43426 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43427 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43428 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43429
ab26144e
UD
434302011-11-12 Ulrich Drepper <drepper@gmail.com>
43431
7edb22ef
UD
43432 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43433 result of SYSDEP_GETTIME_CPU to retval.
43434 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43435 parameter list to macro. Remove trailing semicolon. Adjust users.
43436
9694fc44
UD
43437 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43438 variable.
43439
8ad89ef8
UD
43440 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43441 mantissa words.
43442 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43443
0c822ef9
UD
43444 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43445 from unused variable.
43446
874e0564
UD
43447 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43448 DWARF definitions.
43449 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43450 for assembling.
43451
3a2edc79
UD
43452 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43453 over namespaces.
43454
f3c2577f
UD
43455 * sunrpc/rpc_prot.c (rejected): Fix case value.
43456
294ce126
UD
43457 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43458 unsigned long long int to avoid warnings in shift.
43459
5e2b63c6
UD
43460 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43461 of use of trans.
43462 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43463 variable tmp.
43464
e7f4b08e
UD
43465 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43466 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43467 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43468
ab26144e
UD
43469 * nis/nis_table.c (nis_list): Use variable of correct type for
43470 result of __follow_path call.
43471
8a6d5255
AZ
434722011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43473
43474 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43475 of math functions ceil, trunc, floor, round, and sqrt, when
43476 avaliable on the platform.
43477 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43478 name clash.
43479 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43480 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43481 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43482
aaddc98c
MP
434832011-10-30 Marek Polacek <mpolacek@redhat.com>
43484
43485 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43486 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43487
95b7042b
RM
434882011-11-11 Roland McGrath <roland@hack.frob.com>
43489
43490 * include/unistd.h: Fix __readlink return type.
43491 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43492
57769839
UD
434932011-11-11 Ulrich Drepper <drepper@gmail.com>
43494
43495 * stdlib/ucontext.h: Undo last change for makecontext.
43496
edc5984d
AS
434972011-11-11 Andreas Schwab <schwab@redhat.com>
43498
98591e58
AS
43499 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43500
edc5984d
AS
43501 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43502 * setjmp/setjmp.h: Mark functions as non-leaf.
43503 * setjmp/bits/setjmp2.h: Likewise.
43504 * stdlib/ucontext.h: Likewise.
43505
77cdc054
AS
435062011-11-10 Andreas Schwab <schwab@redhat.com>
43507
43508 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43509 (reused_arena): Don't check arena limit.
43510 (arena_get2): Atomically check arena limit.
43511
fe72eebd
UD
435122011-11-08 Ulrich Drepper <drepper@gmail.com>
43513
5f078c32
UD
43514 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43515 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43516
fe72eebd
UD
43517 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43518 instructions.
43519
ae1bc2fa
AS
435202011-11-07 Andreas Schwab <schwab@redhat.com>
43521
7583a88d
AS
43522 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43523 handler when locking.
43524
ae1bc2fa
AS
43525 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43526 Fix size of allocated buffer.
43527
10fb0bfa
AS
435282011-11-04 Andreas Schwab <schwab@redhat.com>
43529
998832a4
AS
43530 [BZ #10103]
43531 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43532 declarations for long double functions.
43533 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43534
10fb0bfa
AS
43535 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43536
3d7ba52b
AS
435372011-11-03 Andreas Schwab <schwab@redhat.com>
43538
a9ae54a1
AS
43539 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43540 installed.
43541
3d7ba52b
AS
43542 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43543 is disabled.
43544
bc8db248
ST
435452011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43546
43547 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43548
45b96dd6
AS
435492011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43550
647776f6
AS
43551 * include/alloca.h (stackinfo_alloca_round): Define.
43552 (extend_alloca): Use it.
43553 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43554 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43555 here.
43556
d91a8b93
AS
43557 * scripts/check-local-headers.sh: Ignore libaudit.h.
43558
45b96dd6
AS
43559 * nscd/Makefile (extra-objs): Make recursively expanded.
43560
432d41ce
UD
435612011-11-01 Ulrich Drepper <drepper@gmail.com>
43562
34372fc6
UD
43563 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43564 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43565
fadb59f8
UD
43566 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43567 * posix/tst-rfc3484-2.c: Likewise.
43568 * posix/tst-rfc3484-3.c: Likewise.
43569
78239589
UD
43570 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43571 process_vm_writev.
43572 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43573 process_vm_writev.
43574 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43575 process_vm_writev from libc using GLIBC_2.15 version.
43576
432d41ce
UD
43577 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43578
02f9c6cf
PP
435792011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43580
43581 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43582 stack usage.
43583
3a2c0242
UD
435842011-10-31 Ulrich Drepper <drepper@gmail.com>
43585
f4ec4833
UD
43586 [BZ #13367]
43587 * nss/getent.c (initgroups_keys): Show error message in case no group
43588 names are given.
43589
3a2c0242
UD
43590 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43591 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43592 __bump_nl_timestamp.
43593 * nscd/connections (nscd_init): When host database is served open
43594 netlink socket and request notification about configuration changes.
43595 (main_loop_poll): Track netlink file descriptor and bump timestamp
43596 in case data becomes available.
43597 (main_loop_epoll): Likewise.
43598 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43599 (database_pers_head): Add extra_data fileds.
43600 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43601 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43602 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43603 Adjust caller.
43604 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43605 in6ai data, call __free_in6ai.
43606 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43607 Add -DHAVE_NETLINK.
43608 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43609 interface information. Reuse previous data if netlink timestamp
43610 is not changed.
43611 (__bump_nl_timestamp): New function.
43612 (__free_in6ai): New function.
43613
636064eb
UD
436142011-10-30 Ulrich Drepper <drepper@gmail.com>
43615
43616 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43617 close_not_cancel_no_status here.
43618 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43619
9beb2334
UD
436202011-10-29 Ulrich Drepper <drepper@gmail.com>
43621
6ef76f3b
UD
43622 [BZ #13276]
43623 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43624 return value.
43625
0ffc4f3e 43626 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
43627 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43628 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43629
cb95113e
UD
436302011-07-03 Andreas Jaeger <aj@suse.de>
43631
43632 [BZ #10709]
43633 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43634 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43635 * math/libm-test.inc (sin_test): Add test case.
43636
a1b560ff
UD
436372011-10-29 Ulrich Drepper <drepper@gmail.com>
43638
c9aaface
UD
43639 [BZ #13337]
43640 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43641 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43642
d272e7f1
UD
43643 * elf/chroot_canon.c (chroot_canon): Cleanups.
43644
1bc33071
UD
43645 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43646
1760874d
TJ
43647 [BZ #13335]
43648 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43649 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43650
51d91b18
UD
43651 * string/test-strchr.c: Make usable for strchrnul testing.
43652 * string/test-strchrnul.c: New file.
43653 * string/Makefile (strop-tests): Add strchrnul.
43654
a1b560ff 43655 * po/it.po: Update from translation team.
b611fb81 43656 * po/es.po: Likewise.
a1b560ff 43657
a5b81e1f
UD
436582011-10-28 Ulrich Drepper <drepper@gmail.com>
43659
fd52bc6d
UD
43660 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43661 the three constants needed as parameters. Drop the others.
43662 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43663 __m128i_strloadu_tolower.
52e4b9eb
UD
43664 Create and initialize variable zero and use it in all the places
43665 where _mm_setzero_si128 was used.
fd52bc6d 43666
a5b81e1f
UD
43667 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43668 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43669 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43670 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43671 anymore.
43672 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43673 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43674 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43675 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43676 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43677 __mpranred, __mptan.
43678 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43679 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43680 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43681 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43682 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43683 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43684 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43685 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43686 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43687
b4343346
AS
436882011-10-28 Andreas Schwab <schwab@redhat.com>
43689
0c92d8a8
AS
43690 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43691 redefine if SHARED.
43692 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43693
b4343346
AS
43694 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43695 wide char related routines to wcsmbs subdir.
43696
3871f58f
AS
436972011-10-27 Andreas Schwab <schwab@redhat.com>
43698
43699 [BZ #13344]
43700 * misc/sys/cdefs.h (__THROWNL): Define.
43701 * posix/unistd.h: Use __THREADNL instead of __THREAD
43702 for memory synchronization functions.
43703
94d44d9f
RM
437042011-10-26 Roland McGrath <roland@hack.frob.com>
43705
21b64b15 43706 [BZ #13349]
94d44d9f
RM
43707 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43708 doesn't exist.
43709 * manual/stdio.texi (Obstack Streams): Node removed.
43710
f6ce9294
AS
437112011-10-26 Andreas Schwab <schwab@redhat.com>
43712
80479147
AS
43713 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43714 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43715 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43716
f6ce9294
AS
43717 * math/math_private.h (math_force_eval): Allow non-addressable
43718 arguments.
43719 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43720
618280a1
UD
437212011-10-25 Ulrich Drepper <drepper@gmail.com>
43722
e0016b11
UD
43723 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43724 file is not needed.
43725
43726 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43727 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43728 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43729 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43730 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43731 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43732 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43733 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43734 Add AVX variants.
43735 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43736 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43737 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43738 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43739 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43740 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43741 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43742 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43743 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43744 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43745 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43746 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43747 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43748 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43749 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43750 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43751 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43752 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43753 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43754
43755 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43756 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43757
618280a1
UD
43758 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43759 place. Use VEX encoding when compiling for AVX.
43760
37822576
AS
437612011-10-25 Andreas Schwab <schwab@redhat.com>
43762
1f1e1947
AS
43763 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43764 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43765
37822576
AS
43766 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43767
31ea014d
UD
437682011-10-25 Ulrich Drepper <drepper@gmail.com>
43769
d7826aa1 43770 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 43771 useless if() expression.
d7826aa1
UD
43772 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43773 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43774 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43775 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43776 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43777 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43778 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43779 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43780 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43781 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43782 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43783 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43784 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43785 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43786 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43787 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43788 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43789 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43790 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43791
31ea014d
UD
43792 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43793
16437fec
AS
437942011-10-25 Andreas Schwab <schwab@redhat.com>
43795
43796 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43797 condition.
43798 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43799
31d3cc00
UD
438002011-10-25 Ulrich Drepper <drepper@gmail.com>
43801
43802 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43803 .text section. Avoid duplicate constants.
43804 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43805 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43806 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43807 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43808 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43809 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43810 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43811 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43812 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43813 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43814 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43815 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43816 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43817 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43818 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43819 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43820 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43821 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43822 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43823 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43824 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43825 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43826 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43827 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43828 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43829 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43830 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43831 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43832 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43833 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43834 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43835 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43836 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43837 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43838 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43839 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43840 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43841 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43842 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43843 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43844 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43845 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43846 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43847 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43848 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43849
58985aa9
UD
438502011-10-24 Ulrich Drepper <drepper@gmail.com>
43851
202c9deb
UD
43852 * sysdeps/x86_64/dla.h: Move to ...
43853 * sysdeps/x86_64/fpu/dla.h: ...here.
43854 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43855 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 43856
af968f62
UD
43857 * config.make.in: Add have-mfma4 entry.
43858 * configure.in: Substitute libc_cv_cc_fma4.
43859 * math/Makefile (dbl-only-routines): Add sincostab.
43860 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43861 Use __sincostab not sincos.
43862 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43863 name is a macro.
43864 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43865 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43866 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43867 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43868 using __copysign.
43869 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43870 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43871 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43872 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43873 and __inv.
43874 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43875 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43876 __copysign.
43877 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43878 define aliases when function name is a macro.
43879 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43880 sysdeps/ieee754/dbl-64/sincos.tbl.
43881 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43882 fma4-enabled routines.
43883 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43884 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43885 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43886 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43887 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43888 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43889 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43890 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43891 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43892 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43893 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43894 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43895 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43896 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43897 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43898 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43899 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43900 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43901 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43902 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43903 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43904 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43905 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43906 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43907 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43908 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43909 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43910 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43911 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43912 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43913
58985aa9
UD
43914 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43915 rename.
43916 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43917 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43918 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43919 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43920 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43921 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43922 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43923 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43924
a201fbcf
AS
439252011-10-24 Andreas Schwab <schwab@redhat.com>
43926
43927 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43928
fc2ee42a
LD
439292011-10-23 Ulrich Drepper <drepper@gmail.com>
43930
bb3129bd
UD
43931 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43932
0275fff8
UD
43933 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43934 prediction.
43935 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43936
2fa2ae85
UD
43937 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43938 Remove unused variable magic_bits.
43939 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43940
fc2ee42a
LD
43941 * string/strnlen.c: Define and use STRNLEN macro.
43942 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43943 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43944 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43945 * wcsmbs/wcslen.c: Define and use WCSLEN.
43946 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43947 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43948 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43949 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43950 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43951 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43952 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43953
ce7dd29f
LD
439542011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43955
43956 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43957 strnlen-sse2-no-bsf.
43958 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43959 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43960 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43961 Add strnlen support.
43962 (USE_AS_STRNLEN): New macro.
43963 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43964 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43965 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43966 * sysdeps/x86_64/wcslen.S: New file.
43967
979c70a3
MZ
439682011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43969
43970 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43971 XMM-moves are used for copying on small sizes.
43972
2d09f82f
LD
439732011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43974
43975 * wcsmbs/Makefile (strop-tests): Add wcschr.
43976 * wcsmbs/test-wcschr.c: New file.
43977 * string/test-strchr.c: Update.
43978 Add wcschr support.
43979 (WIDE): New macro.
43980
619fccca
LD
439812011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43982
2d09f82f 43983 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
43984 * wcsmbs/test-wcslen.c: New file.
43985 * string/test-strlen.c: Update.
43986 Add wcslen support.
43987 (WIDE): New macro.
43988
09f699ea
UD
439892011-10-23 Ulrich Drepper <drepper@gmail.com>
43990
43991 * po/it.po: Update from translation team.
43992
95584d3b
LD
439932011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43994
43995 * sysdeps/x86_64/wcscmp.S: Update.
43996 Fix wrong comparison semantics.
43997 wcscmp shall use signed comparison not unsigned.
43998 Don't use substraction to avoid overflow bug.
43999 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44000 * wcsmbc/wcscmp.c: Likewise.
44001 * string/test-strcmp.c: Likewise.
44002 Add new tests to check cases with negative values.
44003
c8b3296b
UD
440042011-10-23 Ulrich Drepper <drepper@gmail.com>
44005
44006 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44007 * sysdeps/x86_64/dla.h: ...here. New file.
44008 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44009 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44010 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44011 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44012 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44013 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44014 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44015 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44016 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44017
246ad57a
AS
440182011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44019
44020 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44021 __ynl_finite aliases.
44022
a1a87169
UD
440232011-10-22 Ulrich Drepper <drepper@gmail.com>
44024
0d355eb7
UD
44025 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44026
a1a87169
UD
44027 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44028 define DLA_FMA.
44029 [DLA_FMA] (EMULV): Use DLA_FMA.
44030 [DLA_FMA] (MUL12): Use EMULV.
44031 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44032 that are not needed.
44033 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44034 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44035 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44036 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44037 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44038 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44039 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44040
ee2aafe0
AS
440412011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44042
44043 * math/s_nan.c: Undef __nan.
44044 * math/s_nanf.c: Undef __nanf.
44045 * math/s_nanl.c: Undef __nanl.
44046 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44047 "math_private.h".
44048
bc62c2fb
UD
440492011-10-22 Ulrich Drepper <drepper@gmail.com>
44050
77425c63
UD
44051 * math/s_catan.c: Add branch predictions.
44052 * math/s_catanf.c: Likewise.
44053 * math/s_catanh.c: Likewise.
44054 * math/s_catanhf.c: Likewise.
44055 * math/s_catanhl.c: Likewise.
44056 * math/s_catanl.c: Likewise.
44057 * math/s_cexp.c: Likewise.
44058 * math/s_cexpf.c: Likewise.
44059 * math/s_cexpl.c: Likewise.
44060 * math/s_clog.c: Likewise.
44061 * math/s_clog10.c: Likewise.
44062 * math/s_clog10f.c: Likewise.
44063 * math/s_clog10l.c: Likewise.
44064 * math/s_clogf.c: Likewise.
44065 * math/s_clogl.c: Likewise.
44066 * math/s_csqrt.c: Likewise.
44067 * math/s_csqrtf.c: Likewise.
44068 * math/s_csqrtl.c: Likewise.
44069 * math/s_ctanf.c: Likewise.
44070 * math/s_ctanh.c: Likewise.
44071 * math/s_ctanhf.c: Likewise.
44072 * math/s_ctanhl.c: Likewise.
44073 * math/s_ctanl.c: Likewise.
44074
bc62c2fb
UD
44075 * math/math_private.h: Define __nan, __nanf, __nanl.
44076 * math/s_cacosh.c: Include <math_private.h>.
44077 * math/s_cacoshl.c: Likewise.
44078 * math/s_casinh.c: Likewise.
44079 * math/s_casinhf.c: Likewise.
44080 * math/s_casinhl.c: Likewise.
44081 * math/s_ccos.c: Rely entire on ccosh.
44082 * math/s_ccosf.c: Rely entire on ccoshf.
44083 * math/s_ccosl.c: Rely entirely on ccoshl.
44084 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44085 Remove tests for FE_INVALID.
44086 * math/s_ccoshf.c: Likewise.
44087 * math/s_ccoshl.c: Likewise.
44088 * math/s_csin.c: Likewise.
44089 * math/s_csinf.c: Likewise.
44090 * math/s_csinh.c Likewise.
44091 * math/s_csinhf.c: Likewise.
44092 * math/s_csinhl.c: Likewise.
44093 * math/s_csinl.c: Likewise.
44094 * math/s_ctan.c: Likewise.
44095 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44096 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44097 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44098
8ec250a4
UD
440992011-10-21 Ulrich Drepper <drepper@gmail.com>
44100
c196fed8
UD
44101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44102 compilation problems.
44103
8ec250a4
UD
44104 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44105 __builtin_expect.
44106
8d4f46c6
UD
441072011-10-20 Ulrich Drepper <drepper@gmail.com>
44108
ed72b654
UD
44109 * sysdeps/i386/configure.in: Test for -mfma4 option.
44110 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44111 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44112 COMMON_CPUID_INDEX_80000001.
44113 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44114 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44115 use it if FMA3 is not supported.
44116 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44117
8d4f46c6
UD
44118 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44119 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44120
d45c60c2
AS
441212011-10-20 Andreas Schwab <schwab@redhat.com>
44122
44123 [BZ #12892]
44124 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44125 it would create a cycle with a link time dependency.
44126
d9a4d2ab
UD
441272011-10-19 Ulrich Drepper <drepper@gmail.com>
44128
855d1560
UD
44129 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44130 instruction.
44131 * string/Makefile (strop-tests): Add rawmemchr.
44132 * string/test-rawmemchr.c: New file.
44133
d9a4d2ab
UD
44134 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44135 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44136 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44137 when compiling str{,n}casecmp and when AVX is available. Hook up
44138 new optimized code in initializers.
44139
8f3b1ffe
AS
441402011-10-19 Andreas Schwab <schwab@redhat.com>
44141
44142 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44143 __feraiseexcept instead of feraiseexcept.
44144
d38f1dba
UD
441452011-10-18 Ulrich Drepper <drepper@gmail.com>
44146
d9a8d0ab
UD
44147 * math/math_private.h: Define defaults for libc_fetestexcept and
44148 libc_feupdateenv.
44149 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44150 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44151 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44152 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44153 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44154 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44155 libc_fetestexcept and libc_feupdateenv.
44156
4855e3dd
UD
44157 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44158 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44159 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44160 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44161 libc_feholdexcept_setround.
44162
581d30e3
UD
44163 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44164 Add s_nearbyint-c and s_nearbyintf-c.
44165 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44166 nearbyintf inlines.
44167 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44168 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44169 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44170 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44171
d38f1dba
UD
44172 * math/math_private.h: Define defaults for libc_fegetround,
44173 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44174 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44175 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44176 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44177 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44178 standard functions.
44179 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44180 Remove comments and hacks for old compiler versions.
44181 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44182 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44183 libc_feholdexceptl.
44184
caa6c9d8
AS
441852011-10-18 Andreas Schwab <schwab@redhat.com>
44186
44187 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
44188 (__feraiseexcept_renamed): Add __NTH.
44189 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
44190 namespace violations.
44191
97c066e6
UD
441922011-10-17 Ulrich Drepper <drepper@gmail.com>
44193
99ce7b04
UD
44194 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44195
1004d182
UD
44196 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44197
228a984d
UD
44198 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44199 recently added interfaces.
44200 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44201
c8553a6a
UD
44202 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44203 about macro parameter expansion.
44204
ed22dcf6
UD
44205 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44206 __NO_MATH_INLINES is defined. Cleanups.
44207
44208 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44209 and __floorf is target has SSE4.1.
44210 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44211 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44212 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44213 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44214
b171c137
UD
44215 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44216 name.
44217 (floorf): Likewise.
44218
97c066e6
UD
44219 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44220
629f62ef
AS
442212011-10-17 Andreas Schwab <schwab@redhat.com>
44222
49a43d80
AS
44223 * misc/sys/cdefs.h: Fix last change.
44224
629f62ef
AS
44225 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44226 database lookup.
44227
e453f6cd
UD
442282011-10-16 Ulrich Drepper <drepper@gmail.com>
44229
aa78043a
UD
44230 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44231
ad0f5cad
UD
44232 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44233 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44234 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44235 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44236 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44237 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44238 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44239 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44240 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44241 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44242 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44243 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44244 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44245 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44246 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44247 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44248 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44249 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44250 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44251 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44252 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44253 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44254
44255 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44256 ceil, ceilf, floor, floorf.
44257
44258 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44259 Perform IRELATIVE relocations last.
44260
e453f6cd
UD
44261 * elf/do-rel.h: Add another parameter nrelative, replacing the
44262 local variable with the same name. Change name of the function
44263 to end in Rel or Rela (uppercase).
44264 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44265 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44266 elf_dynamic_do_##reloc function.
44267
fd5bdc09
UD
442682011-10-15 Ulrich Drepper <drepper@gmail.com>
44269
79b195b5
UD
44270 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44271 is sufficient, at least on modern CPUs.
44272
d4a28569
UD
44273 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44274
b61099b5
UD
44275 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44276 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44277
bcf01e6d
UD
44278 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44279 __expl_finite.
44280 * math/bits/math-finite.h: Add entries for exp.
44281 * math/e_expl.c: Add __*_finite alias.
44282 * sysdeps/i386/fpu/e_exp.S: Likewise.
44283 * sysdeps/i386/fpu/e_expf.S: Likewise.
44284 * sysdeps/i386/fpu/e_expl.c: Likewise.
44285 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44286 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44287 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44288 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44289 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44290 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44291 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44292
ba1a0d59
UD
44293 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44294 is sufficient, at least on modern CPUs.
44295
fd5bdc09
UD
44296 * ctype/ctype-info.c (__ctype_init): Define.
44297 * include/ctype.h (__ctype_init): Declare.
44298 (__ctype_b_loc): The variable is always initialized.
44299 (__ctype_toupper_loc): Likewise.
44300 (__ctype_tolower_loc): Likewise.
44301 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44302 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44303
7872cfb0
AS
443042011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44305
b468825a
AS
44306 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44307
7872cfb0
AS
44308 * configure.in: Also look in $cxxmachine/include for C++ system
44309 headers.
44310
be13f7bf
LD
443112011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44312
44313 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44314 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44315 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44316 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44317 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44318 (USE_AS_WMEMCMP): New macro.
44319 Fixing indents.
44320 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44321 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44322 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44323 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44324 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44325 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44326 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44327 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44328 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44329 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44330 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44331 (USE_AS_WMEMCMP): New macro.
44332 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44333 * sysdeps/string/test-memcmp.c: Update.
44334 Fix simple_wmemcmp.
44335 Add new tests.
44336 * wcsmbs/wmemcmp.c: Update.
44337 (WMEMCMP): New macro.
44338 Fix overflow bug.
44339
556a2007
AJ
443402011-10-12 Andreas Jaeger <aj@suse.de>
44341
44342 [BZ #13268]
44343 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44344
538faaa7
UD
443452011-10-15 Ulrich Drepper <drepper@gmail.com>
44346
ab6737ff
UD
44347 * libio/iofwide.c (do_length): Avoid warning.
44348
538faaa7
UD
44349 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44350
396a21b1
UD
443512011-10-14 Ulrich Drepper <drepper@gmail.com>
44352
cdf2901f
UD
44353 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44354
38ad40ce
UD
44355 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44356 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44357 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44358 * sysdeps/i386/i686/fpu/e_log.S: New file.
44359 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44360 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44361
396a21b1
UD
44362 * ctype/ctype.h: Add support for inlined isXXX functions when
44363 compiling C++ code.
44364
6b1f68c9
AS
443652011-10-14 Andreas Schwab <schwab@redhat.com>
44366
349290c0
AS
44367 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44368
6b1f68c9
AS
44369 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44370
f2282d42
RM
443712011-10-13 Roland McGrath <roland@hack.frob.com>
44372
44373 [BZ #13291]
44374 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44375
5298ffa8
AS
443762011-10-13 Andreas Schwab <schwab@redhat.com>
44377
714fad23
AS
44378 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44379 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44380 feraiseexcept.
44381
81dcc7fb
AS
44382 * sysdeps/x86_64/memrchr.S: Check for zero size.
44383
5298ffa8
AS
44384 * string/stratcliff.c: Add memrchr tests.
44385
951fbcec
LD
443862011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44387
44388 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44389 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44390 rawmemchr-sse2 rawmemchr-sse2-bsf.
44391 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44392 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44393 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44394 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44395 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44396 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44397 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44398 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44399 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44400 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44401 * string/memrchr.c (MEMRCHR): New macro.
44402
0ac5ae23
UD
444032011-10-12 Ulrich Drepper <drepper@gmail.com>
44404
44405 Add integration with gcc's -ffinite-math-only and optimize wrapper
44406 functions in libm.
44407 * Versions.def: Define GLIBC_2.15 version for libm.
44408 * math/Makefile (headers): Add bits/math-finite.h.
44409 * math/bits/math-finite.h: New file.
44410 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44411 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44412 * math/e_acoshl.c: Add __*_finite alias.
44413 * math/e_acosl.c: Likewise.
44414 * math/e_asinl.c: Likewise.
44415 * math/e_atan2l.c: Likewise.
44416 * math/e_atanhl.c: Likewise.
44417 * math/e_coshl.c: Likewise.
44418 * math/e_exp10.c: Likewise.
44419 * math/e_exp10f.c: Likewise.
44420 * math/e_exp10l.c: Likewise.
44421 * math/e_exp2l.c: Likewise.
44422 * math/e_fmodl.c: Likewise.
44423 * math/e_gammal_r.c: Likewise.
44424 * math/e_hypotl.c: Likewise.
44425 * math/e_j0l.c: Likewise.
44426 * math/e_j1l.c: Likewise.
44427 * math/e_jnl.c: Likewise.
44428 * math/e_lgammal_r.c: Likewise.
44429 * math/e_log10l.c: Likewise.
44430 * math/e_log2l.c: Likewise.
44431 * math/e_logl.c: Likewise.
44432 * math/e_powl.c: Likewise.
44433 * math/e_sinhl.c: Likewise.
44434 * math/e_sqrtl.c: Likewise.
44435 * math/e_scalb.c: Completely rewritten and optimized.
44436 * math/e_scalbf.c: Likewise.
44437 * math/e_scalbl.c: Likewise.
44438 * math/w_acos.c: Likewise.
44439 * math/w_acosf.c: Likewise.
44440 * math/w_acosl.c: Likewise.
44441 * math/w_acosh.c: Likewise.
44442 * math/w_acoshf.c: Likewise.
44443 * math/w_acoshl.c: Likewise.
44444 * math/w_asin.c: Likewise.
44445 * math/w_asinf.c: Likewise.
44446 * math/w_asinl.c: Likewise.
44447 * math/w_atan2.c: Likewise.
44448 * math/w_atan2f.c: Likewise.
44449 * math/w_atan2l.c: Likewise.
44450 * math/w_atanh.c: Likewise.
44451 * math/w_atanhf.c: Likewise.
44452 * math/w_atanhl.c: Likewise.
44453 * math/w_exp10.c: Likewise.
44454 * math/w_exp10f.c: Likewise.
44455 * math/w_exp10l.c: Likewise.
44456 * math/w_fmod.c: Likewise.
44457 * math/w_fmodf.c: Likewise.
44458 * math/w_fmodl.c: Likewise.
44459 * math/w_j0.c: Likewise.
44460 * math/w_j0f.c: Likewise.
44461 * math/w_j0l.c: Likewise.
44462 * math/w_j1.c: Likewise.
44463 * math/w_j1f.c: Likewise.
44464 * math/w_j1l.c: Likewise.
44465 * math/w_jn.c: Likewise.
44466 * math/w_jnf.c: Likewise.
44467 * math/w_log.c: Likewise.
44468 * math/w_logf.c: Likewise.
44469 * math/w_logl.c: Likewise.
44470 * math/w_log10.c: Likewise.
44471 * math/w_log10f.c: Likewise.
44472 * math/w_log10l.c: Likewise.
44473 * math/w_log2.c: Likewise.
44474 * math/w_log2f.c: Likewise.
44475 * math/w_log2l.c: Likewise.
44476 * math/w_pow.c: Likewise.
44477 * math/w_powf.c: Likewise.
44478 * math/w_powl.c: Likewise.
44479 * math/w_remainder.c: Likewise.
44480 * math/w_remainderf.c: Likewise.
44481 * math/w_remainderl.c: Likewise.
44482 * math/w_scalb.c: Likewise.
44483 * math/w_scalbf.c: Likewise.
44484 * math/w_scalbl.c: Likewise.
44485 * math/w_sqrt.c: Likewise.
44486 * math/w_sqrtf.c: Likewise.
44487 * math/w_sqrtl.c: Likewise.
44488 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44489 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44490 used.
44491 * math/math_private.h: Declare __kernel_standard_f.
44492 * math/w_cosh.c: Remove cruft and optimize a bit.
44493 * math/w_coshf.c: Likewise.
44494 * math/w_coshl.c: Likewise.
44495 * math/w_exp2.c: Likewise.
44496 * math/w_exp2f.c: Likewise.
44497 * math/w_exp2l.c: Likewise.
44498 * math/w_hypot.c: Likewise.
44499 * math/w_hypotf.c: Likewise.
44500 * math/w_hypotl.c: Likewise.
44501 * math/w_lgamma.c: Likewise.
44502 * math/w_lgamma_r.c: Likewise.
44503 * math/w_lgammaf.c: Likewise.
44504 * math/w_lgammaf_r.c: Likewise.
44505 * math/w_lgammal.c: Likewise.
44506 * math/w_lgammal_r.c: Likewise.
44507 * math/w_sinh.c: Likewise.
44508 * math/w_sinhf.c: Likewise.
44509 * math/w_sinhl.c: Likewise.
44510 * math/w_tgamma.c: Likewise.
44511 * math/w_tgammaf.c: Likewise.
44512 * math/w_tgammal.c: Likewise.
44513 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44514 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44515 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44516 Minor optimizations. Pretty printing. Remove cruft.
44517 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44518 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44519 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44520 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44521 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44522 * sysdeps/i386/fpu/e_asin.S: Likewise.
44523 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44524 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44525 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44526 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44527 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44528 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44529 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44530 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44531 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44532 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44533 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44534 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44535 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44536 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44537 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44538 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44539 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44540 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44541 * sysdeps/i386/fpu/e_log.S: Likewise.
44542 * sysdeps/i386/fpu/e_log10.S: Likewise.
44543 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44544 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44545 * sysdeps/i386/fpu/e_log2.S: Likewise.
44546 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44547 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44548 * sysdeps/i386/fpu/e_logf.S: Likewise.
44549 * sysdeps/i386/fpu/e_logl.S: Likewise.
44550 * sysdeps/i386/fpu/e_pow.S: Likewise.
44551 * sysdeps/i386/fpu/e_powf.S: Likewise.
44552 * sysdeps/i386/fpu/e_powl.S: Likewise.
44553 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44554 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44555 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44556 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44557 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44558 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44559 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44560 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44561 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44562 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44563 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44564 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44565 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44566 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44567 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44568 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44569 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44570 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44571 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44572 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44573 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44574 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44575 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44576 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44577 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44578 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44579 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44580 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44581 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44582 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44583 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44584 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44585 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44586 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44587 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44588 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44589 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44590 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44591 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44592 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44593 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44594 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44595 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44596 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44597 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44598 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44599 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44600 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44601 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44602 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44603 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44604 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44605 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44606 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44607 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44608 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44609 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44610 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44611 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44612 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44613 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44614 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44615 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44616 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44617 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44618 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44619 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44620 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44621 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44622 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44623 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44624 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44625 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44626 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44627 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44628 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44629 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44630 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44631 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44632 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44633 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44634 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44635 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44636 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44637 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44638 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44639 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44640 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44641 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44642 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44643 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44644 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44645 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44646 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44647 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44648 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44649 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44650 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44651 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44652 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44653 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44654 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44655 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44656 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44657 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44658 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44659 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44660 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44661 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44662 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44663 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44664 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44665 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44666 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44667 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44668 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44669 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44670 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44671 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44672 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44673 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44674 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44675 (__isnanf): Likewise.
44676 (__isinf_ns): Likewise.
44677 (__isinf_nsf): Likewise.
44678 (__finite): Likewise.
44679 (__finitef): Likewise.
44680 (__ieee754_sqrt): Define as macro.
44681 (__ieee754_sqrtf): Define as macro.
44682 (__ieee754_sqrtl): Define as macro.
44683 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44684 inlined copy.
44685 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44686 __FINITE_MATH_ONLY__ consistent.
44687 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44688
12cc2fcd
AS
446892011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44690
a843a204
AS
44691 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44692 of rawmemchr.
44693
12cc2fcd
AS
44694 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44695
c853acd5
UD
446962011-10-09 Ulrich Drepper <drepper@gmail.com>
44697
44698 * po/ja.po: Update from translation team.
44699
c658d255
RM
447002011-10-08 Roland McGrath <roland@hack.frob.com>
44701
110946e4
RM
44702 * locale/programs/locarchive.c (prepare_address_space): New function.
44703 (create_archive, enlarge_archive, open_archive): Use it.
44704
50604220
RM
44705 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44706 inside [SHARED], where it is used.
44707
c658d255
RM
44708 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44709
44710 * nss/getent.c (netgroup_keys): Remove unused variable.
44711 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44712
6a621eb7
UD
447132011-10-08 Ulrich Drepper <drepper@gmail.com>
44714
7edb55ce
UD
44715 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44716 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44717 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44718 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44719 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44720 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44721 * math/Makefile (libm-calls): Add s_isinf_ns.
44722 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44723 * math/multc3.c: Likewise.
44724 * math/s_casin.c: Likewise.
44725 * math/s_casinf.c: Likewise.
44726 * math/s_casinl.c: Likewise.
44727 * math/s_ccos.c: Likewise.
44728 * math/s_ccosf.c: Likewise.
44729 * math/s_ccosl.c: Likewise.
44730 * math/s_ctan.c: Likewise.
44731 * math/s_ctanf.c: Likewise.
44732 * math/s_ctanh.c: Likewise.
44733 * math/s_ctanhf.c: Likewise.
44734 * math/s_ctanhl.c: Likewise.
44735 * math/s_ctanl.c: Likewise.
44736 * math/w_fmod.c: Likewise.
44737 * math/w_fmodf.c: Likewise.
44738 * math/w_fmodl.c: Likewise.
44739 * math/w_remainder.c: Likewise.
44740 * math/w_remainderf.c: Likewise.
44741 * math/w_remainderl.c: Likewise.
44742 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44743 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44744 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44745 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44746 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44747 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44748 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44749 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44750
187da0ae
UD
44751 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44752 of the number.
44753 * stdio-common/printf_fphex.c: Likewise.
44754 * stdio-common/printf_size.c: Likewise.
44755
9277c064
UD
44756 * math/e_exp10.c: Include math_private.h using <...> not "...".
44757 * math/e_exp10f.c: Likewise.
44758 * math/e_exp10l.c: Likewise.
44759 * math/e_exp2l.c: Likewise.
44760 * math/e_j0l.c: Likewise.
44761 * math/e_j1l.c: Likewise.
44762 * math/e_jnl.c: Likewise.
44763 * math/e_lgammal_r.c: Likewise.
44764 * math/e_rem_pio2l.c: Likewise.
44765 * math/e_scalb.c: Likewise.
44766 * math/e_scalbf.c: Likewise.
44767 * math/e_scalbl.c: Likewise.
44768 * math/k_cosl.c: Likewise.
44769 * math/k_sinl.c: Likewise.
44770 * math/k_tanl.c: Likewise.
44771 * math/s_cacoshf.c: Likewise.
44772 * math/s_catan.c: Likewise.
44773 * math/s_catanf.c: Likewise.
44774 * math/s_catanh.c: Likewise.
44775 * math/s_catanhf.c: Likewise.
44776 * math/s_catanhl.c: Likewise.
44777 * math/s_catanl.c: Likewise.
44778 * math/s_ccosh.c: Likewise.
44779 * math/s_ccoshf.c: Likewise.
44780 * math/s_ccoshl.c: Likewise.
44781 * math/s_cexp.c: Likewise.
44782 * math/s_cexpf.c: Likewise.
44783 * math/s_cexpl.c: Likewise.
44784 * math/s_clog.c: Likewise.
44785 * math/s_clog10.c: Likewise.
44786 * math/s_clog10f.c: Likewise.
44787 * math/s_clog10l.c: Likewise.
44788 * math/s_clogf.c: Likewise.
44789 * math/s_clogl.c: Likewise.
44790 * math/s_csin.c: Likewise.
44791 * math/s_csinf.c: Likewise.
44792 * math/s_csinh.c: Likewise.
44793 * math/s_csinhf.c: Likewise.
44794 * math/s_csinhl.c: Likewise.
44795 * math/s_csinl.c: Likewise.
44796 * math/s_csqrt.c: Likewise.
44797 * math/s_csqrtf.c: Likewise.
44798 * math/s_csqrtl.c: Likewise.
44799 * math/s_ctan.c: Likewise.
44800 * math/s_ctanf.c: Likewise.
44801 * math/s_ctanh.c: Likewise.
44802 * math/s_ctanhf.c: Likewise.
44803 * math/s_ctanhl.c: Likewise.
44804 * math/s_ctanl.c: Likewise.
44805 * math/s_ldexp.c: Likewise.
44806 * math/s_ldexpf.c: Likewise.
44807 * math/s_ldexpl.c: Likewise.
44808 * math/s_significand.c: Likewise.
44809 * math/s_significandf.c: Likewise.
44810 * math/s_significandl.c: Likewise.
44811 * math/w_acos.c: Likewise.
44812 * math/w_acosf.c: Likewise.
44813 * math/w_acosh.c: Likewise.
44814 * math/w_acoshf.c: Likewise.
44815 * math/w_acoshl.c: Likewise.
44816 * math/w_acosl.c: Likewise.
44817 * math/w_asin.c: Likewise.
44818 * math/w_asinf.c: Likewise.
44819 * math/w_asinl.c: Likewise.
44820 * math/w_atan2.c: Likewise.
44821 * math/w_atan2f.c: Likewise.
44822 * math/w_atan2l.c: Likewise.
44823 * math/w_atanh.c: Likewise.
44824 * math/w_atanhf.c: Likewise.
44825 * math/w_atanhl.c: Likewise.
44826 * math/w_cosh.c: Likewise.
44827 * math/w_coshf.c: Likewise.
44828 * math/w_coshl.c: Likewise.
44829 * math/w_dremf.c: Likewise.
44830 * math/w_exp10.c: Likewise.
44831 * math/w_exp10f.c: Likewise.
44832 * math/w_exp10l.c: Likewise.
44833 * math/w_exp2.c: Likewise.
44834 * math/w_exp2f.c: Likewise.
44835 * math/w_fmod.c: Likewise.
44836 * math/w_fmodf.c: Likewise.
44837 * math/w_fmodl.c: Likewise.
44838 * math/w_hypot.c: Likewise.
44839 * math/w_hypotf.c: Likewise.
44840 * math/w_hypotl.c: Likewise.
44841 * math/w_j0.c: Likewise.
44842 * math/w_j0f.c: Likewise.
44843 * math/w_j0l.c: Likewise.
44844 * math/w_j1.c: Likewise.
44845 * math/w_j1f.c: Likewise.
44846 * math/w_j1l.c: Likewise.
44847 * math/w_jn.c: Likewise.
44848 * math/w_jnf.c: Likewise.
44849 * math/w_jnl.c: Likewise.
44850 * math/w_lgamma.c: Likewise.
44851 * math/w_lgamma_r.c: Likewise.
44852 * math/w_lgammaf.c: Likewise.
44853 * math/w_lgammaf_r.c: Likewise.
44854 * math/w_lgammal.c: Likewise.
44855 * math/w_lgammal_r.c: Likewise.
44856 * math/w_log.c: Likewise.
44857 * math/w_log10.c: Likewise.
44858 * math/w_log10f.c: Likewise.
44859 * math/w_log10l.c: Likewise.
44860 * math/w_log2.c: Likewise.
44861 * math/w_log2f.c: Likewise.
44862 * math/w_log2l.c: Likewise.
44863 * math/w_logf.c: Likewise.
44864 * math/w_logl.c: Likewise.
44865 * math/w_pow.c: Likewise.
44866 * math/w_powf.c: Likewise.
44867 * math/w_powl.c: Likewise.
44868 * math/w_remainder.c: Likewise.
44869 * math/w_remainderf.c: Likewise.
44870 * math/w_remainderl.c: Likewise.
44871 * math/w_scalb.c: Likewise.
44872 * math/w_scalbf.c: Likewise.
44873 * math/w_scalbl.c: Likewise.
44874 * math/w_sinh.c: Likewise.
44875 * math/w_sinhf.c: Likewise.
44876 * math/w_sinhl.c: Likewise.
44877 * math/w_sqrt.c: Likewise.
44878 * math/w_sqrtf.c: Likewise.
44879 * math/w_sqrtl.c: Likewise.
44880 * math/w_tgamma.c: Likewise.
44881 * math/w_tgammaf.c: Likewise.
44882 * math/w_tgammal.c: Likewise.
44883
6a621eb7
UD
44884 * po/ja.po: Update from translation team.
44885
bf582445
AJ
448862011-09-29 Andreas Jaeger <aj@suse.de>
44887
f9efbf3a
AJ
44888 [BZ #13179]
44889 * sunrpc/netname.c (netname2host): Fix logic.
44890
bf582445
AJ
44891 [BZ #6779]
44892 [BZ #6783]
44893 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44894 correctly.
44895 * math/w_remainder.c (__remainder): Likewise.
44896 * math/w_remainderf.c (__remainderf): Likewise.
44897 * math/libm-test.inc (remainder_test): Add test cases.
44898
48693bea
AK
448992011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44900
44901 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44902 sdiv_qrnnd.
44903
42622229
LD
449042011-10-07 Ulrich Drepper <drepper@gmail.com>
44905
44906 * string/test-memcmp.c: Avoid unncessary #defines.
44907 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44908
093ecf92
LD
449092011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44910
44911 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44912 Use new sse2 version for core i3 - i7 as it's faster
44913 than sse42 version.
44914 (bit_Prefer_PMINUB_for_stringop): New.
44915 * sysdeps/x86_64/rawmemchr.S: Update.
44916 Replace with faster SSE2 version.
44917 * sysdeps/x86_64/memrchr.S: New file.
44918 * sysdeps/x86_64/memchr.S: Update.
44919 Replace with faster SSE2 version.
44920
fde56e5c
MP
449212011-09-12 Marek Polacek <mpolacek@redhat.com>
44922
44923 * elf/dl-load.c (lose): Add cast to avoid warning.
44924
21fd49a9
UD
449252011-10-07 Ulrich Drepper <drepper@gmail.com>
44926
5a06e643
UD
44927 * po/ca.po: Update from translation team.
44928
684ae515
UD
44929 * inet/getnetgrent_r.c: Hook up nscd.
44930 * nscd/Makefile (routines): Add nscd_netgroup.
44931 (nscd-modules): Add netgroupcache.
44932 (CFLAGS-netgroupcache.c): Define.
44933 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44934 (cache_search): Add const to second parameter.
44935 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44936 INNETGR.
44937 (dbs): Add netgrdb entry.
44938 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44939 (verify_persistent_db): Handle netgrdb.
44940 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44941 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44942 GETFDNETGR.
44943 (netgroup_response_header): Define.
44944 (innetgroup_response_header): Define.
44945 (datahead): Add netgroup_response_header and innetgroup_response_header
44946 elements.
44947 * nscd/nscd.conf: Add entries for netgroup cache.
44948 * nscd/nscd.h (dbtype): Add netgrdb.
44949 (_PATH_NSCD_NETGROUP_DB): Define.
44950 (netgroup_iov_disabled): Declare.
44951 (xmalloc, xcalloc, xrealloc): Move declarations here.
44952 (cache_search): Adjust prototype.
44953 Add netgroup-related prototypes.
44954 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44955 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44956 (__nscd_innetgr): Declare.
44957 * nscd/selinux.c (perms): Use access_vector_t as element type and
44958 add netgroup-related initializers.
44959 * nscd/netgroupcache.c: New file.
44960 * nscd/nscd_netgroup.c: New file.
44961 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44962 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44963 For four parameters use innetgr.
44964 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44965 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44966 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44967 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44968
21fd49a9
UD
44969 * nscd/connections.c (register_traced_file): Don't register file
44970 for disabled databases.
44971
054c0457
UD
449722011-10-06 Ulrich Drepper <drepper@gmail.com>
44973
32b63198
UD
44974 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44975
054c0457
UD
44976 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44977 from tree and freeing node.
44978
64031225
JO
449792011-09-25 Jiri Olsa <jolsa@redhat.com>
44980
44981 * nss/nsswitch.c (__nss_database_lookup): Handle
44982 nss_parse_service_list out of memory case.
44983
0490345c
JO
449842011-09-15 Jiri Olsa <jolsa@redhat.com>
44985
44986 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44987 out of memory case.
44988
3a62d00d
AS
449892011-10-04 Andreas Schwab <schwab@redhat.com>
44990
44991 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44992 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44993 pass it down.
44994 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44995 elf_machine_rela, elf_machine_lazy_rel.
44996 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44997 (ELF_DYNAMIC_DO_REL): Likewise.
44998 (ELF_DYNAMIC_DO_RELA): Likewise.
44999 (ELF_DYNAMIC_RELOCATE): Likewise.
45000 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45001 to ELF_DYNAMIC_DO_REL.
45002 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45003 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45004 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45005 elf_machine_rela.
45006 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45007 skip_ifunc, don't call ifunc function if non-zero.
45008 (elf_machine_rela): Likewise.
45009 (elf_machine_lazy_rel): Likewise.
45010 (elf_machine_lazy_rela): Likewise.
45011 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45012 (elf_machine_lazy_rel): Likewise.
45013 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45014 Likewise.
45015 (elf_machine_lazy_rel): Likewise.
45016 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45017 Likewise.
45018 (elf_machine_lazy_rel): Likewise.
45019 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45020 (elf_machine_lazy_rel): Likewise.
45021 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45022 (elf_machine_lazy_rel): Likewise.
45023 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45024 (elf_machine_lazy_rel): Likewise.
45025 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45026 (elf_machine_lazy_rel): Likewise.
45027 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45028 (elf_machine_lazy_rel): Likewise.
45029 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45030 (elf_machine_lazy_rel): Likewise.
45031
68577918
UD
450322011-09-28 Ulrich Drepper <drepper@gmail.com>
45033
45034 * nss/nss_files/files-init.c (_nss_files_init): Use static
45035 initialization for all the *_traced_file variables.
45036
68822d74
AS
450372011-09-28 Andreas Schwab <schwab@redhat.com>
45038
45039 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45040
2056100b
RM
450412011-09-27 Roland McGrath <roland@hack.frob.com>
45042
45043 [BZ #13226]
45044 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45045
32c76b63
AS
450462011-09-27 Andreas Schwab <schwab@redhat.com>
45047
45048 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45049 Reread the line before reparsing it.
45050
bf972c9d
AS
450512011-09-26 Andreas Schwab <schwab@redhat.com>
45052
45053 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45054
e057a1b5
JM
450552011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45056 Maxim Kuvyrkov <maxim@codesourcery.com>
45057 Joseph Myers <joseph@codesourcery.com>
45058
45059 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45060 if needed for __stack_chk_guard.
45061
bc7e1c36
RM
450622011-09-19 Roland McGrath <roland@hack.frob.com>
45063
ecb1482f
RM
45064 * sysdeps/posix/spawni.c (script_execute): Always define it.
45065 It will be optimized away if unused.
45066 (maybe_script_execute): New function.
45067 (__spawni): Call it.
45068
bc7e1c36
RM
45069 * Makerules: Don't include tls.make.
45070 (config-tls): Always set to thread.
45071 * tls.make.c: File removed.
45072
1c3b002b
MF
450732011-09-19 Mike Frysinger <vapier@gentoo.org>
45074
45075 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45076 * config.make.in (CPPFLAGS-config): New substituted variable.
45077
2840865d
UD
450782011-09-15 Ulrich Drepper <drepper@gmail.com>
45079
88738eb6
UD
45080 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45081
cbf645a6 45082 [BZ #13192]
2840865d
UD
45083 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45084 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45085
b402e91a
RM
450862011-09-15 Roland McGrath <roland@hack.frob.com>
45087
45088 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45089 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45090 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45091 (CALL_FAIL): Likewise.
45092 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45093 (CALL_FAIL): Macro removed.
45094 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45095
4c1a1f71
UD
450962011-09-15 Ulrich Drepper <drepper@gmail.com>
45097
45098 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45099 for __FINITE_MATH_ONLY__ == 1.
45100
edc121be
AS
451012011-09-15 Andreas Schwab <schwab@redhat.com>
45102
45103 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45104 __ieee754_sqrt instead of sqrt.
45105 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45106 __ieee754_sqrtf instead of sqrtf.
45107 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45108 __floorf instead of floorf.
45109 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45110 __floorf, __truncf instead of floorf, truncf.
45111
cd205654
UD
451122011-09-14 Ulrich Drepper <drepper@gmail.com>
45113
ee4d0315
UD
45114 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45115
cd205654
UD
45116 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45117 __extern_always_inline.
45118 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45119 32-bit.
45120
48b67d71
AS
451212011-09-14 Andreas Schwab <schwab@redhat.com>
45122
45123 * elf/rtld.c (dl_main): Also relocate in dependency order when
45124 doing symbol dependency testing.
45125
1ae12c75
AS
451262011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45127
45128 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45129 Always define `refsym'.
45130
995a80df
AS
451312011-09-13 Andreas Schwab <schwab@redhat.com>
45132
e529793b
AS
45133 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45134 (__FD_ELT): Renamed from __FDELT.
45135 * misc/bits/select2.h (__FD_ELT): Likewise.
45136 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45137 __FD_MASK instead of __FDELT, __FDMASK.
45138 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45139 Likewise.
45140 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45141 Likewise.
45142
52d4fef8
AS
45143 * elf/Makefile (gen-ldd): Fix pattern.
45144
995a80df
AS
45145 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45146 (init_tls): Likewise.
45147
8682f8b0
UD
451482011-09-12 Ulrich Drepper <drepper@gmail.com>
45149
45150 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45151
de82006d
AS
451522011-09-12 Andreas Schwab <schwab@redhat.com>
45153
a7c8e6a1
AS
45154 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45155 `struct cmsghdr *' instead of `void *'.
45156 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45157 Likewise.
45158
0f31fe77
AS
451592011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45160
45161 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45162 if non-absolute.
45163 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45164 ldd_rewrite_script.
0f31fe77 45165
32b4c839
UD
451662011-09-11 Ulrich Drepper <drepper@gmail.com>
45167
83cd1420
UD
45168 * configure.in: Remove --with-tls option.
45169 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45170 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45171 out in case it is missing.
45172 * sysdeps/ia64/elf/configure.in: Likewise.
45173 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45174 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45175 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45176 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45177 * sysdeps/sh/elf/configure.in: Likewise.
45178 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45179 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45180 * sysdeps/x86_64/elf/configure.in: Likewise.
45181 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45182 * sysdeps/mach/hurd/tls.h: Likewise.
45183
633f745d
UD
45184 [BZ #13067]
45185 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45186
f318beb8
UD
45187 [BZ #13090]
45188 * configure.in: Fix use of AC_INIT.
45189
32b4c839
UD
45190 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45191
3ce1f295
UD
451922011-09-10 Ulrich Drepper <drepper@gmail.com>
45193
bb016596
UD
45194 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45195 __set_errno.
8e58439c
UD
45196 * malloc/hooks.c: Likewise.
45197
aebae053 45198 [BZ #11929]
02d46fc4
UD
45199 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45200 variables statically.
45201 (narenas): Initialize.
45202 (list_lock): Initialize.
bb016596
UD
45203 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45204 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
45205 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45206 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45207 Add initializers to main_arena and mp_.
45208 (malloc_state): Remove pagesize member. Change all users to use
45209 GLRO(dl_pagesize).
45210
45211 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45212 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45213 is always initialized.
45214
22a89187
UD
45215 * malloc/malloc.c: Removed unused configurations and dead code.
45216 * malloc/arena.c: Likewise.
45217 * malloc/hooks.c: Likewise.
02d46fc4 45218 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 45219
d063d164
UD
45220 * include/tls.h: Removed. USE___THREAD must always be defined.
45221 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45222 * elf/dl-libc.c: Likewise.
45223 * elf/dl-tsd.c: Likewise.
45224 * include/errno.h: Likewise.
45225 * include/netdb.h: Likewise.
45226 * include/resolv.h: Likewise.
45227 * inet/herrno-loc.c: Likewise.
45228 * inet/herrno.c: Likewise.
45229 * malloc/arena.c: Likewise.
45230 * malloc/hooks.c: Likewise.
45231 * malloc/malloc.c: Likewise.
45232 * resolv/res-state.c: Likewise.
45233 * resolv/res_libc.c: Likewise.
45234 * sysdeps/i386/dl-machine.h: Likewise.
45235 * sysdeps/ia64/dl-machine.h: Likewise.
45236 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45237 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45238 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45239 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45240 * sysdeps/sh/dl-machine.h: Likewise.
45241 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45242 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45243 * sysdeps/unix/i386/sysdep.S: Likewise.
45244 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45245 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45246 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45247 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45248 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45249 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45250 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45251 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45252 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45253 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45254 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45255 * sysdeps/x86_64/dl-machine.h: Likewise.
45256 * tls.make.c: Likewise.
45257
3ce1f295
UD
45258 * configure.in: Remove --with-__thread option. Make tests for
45259 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45260 tls_model attribute fail if no support is available. Remove
45261 USE_IN_LIBIO.
45262 * Makeconfig: Adjust for dropped configure option. All features are
45263 now mandatory.
45264 * Makerules: Likewise.
45265 * Versions.def: Likewise.
45266 * argp/argp-fmtstream.c: Likewise.
45267 * argp/argp-fmtstream.h: Likewise.
45268 * argp/argp-help.c: Likewise.
45269 * assert/assert.c: Likewise.
45270 * config.h.in: Likewise.
45271 * config.make.in: Likewise.
45272 * configure: Likewise.
45273 * configure.in: Likewise.
45274 * csu/Versions: Likewise.
45275 * csu/init.c: Likewise.
45276 * elf/tst-audit2.c: Likewise.
45277 * elf/tst-tls10.c: Likewise.
45278 * elf/tst-tls10.h: Likewise.
45279 * elf/tst-tls11.c: Likewise.
45280 * elf/tst-tls12.c: Likewise.
45281 * elf/tst-tls14.c: Likewise.
45282 * elf/tst-tlsmod11.c: Likewise.
45283 * elf/tst-tlsmod12.c: Likewise.
45284 * elf/tst-tlsmod13.c: Likewise.
45285 * elf/tst-tlsmod13a.c: Likewise.
45286 * elf/tst-tlsmod14a.c: Likewise.
45287 * elf/tst-tlsmod15b.c: Likewise.
45288 * elf/tst-tlsmod16a.c: Likewise.
45289 * elf/tst-tlsmod16b.c: Likewise.
45290 * elf/tst-tlsmod7.c: Likewise.
45291 * elf/tst-tlsmod8.c: Likewise.
45292 * elf/tst-tlsmod9.c: Likewise.
45293 * gmon/gmon.c: Likewise.
45294 * grp/fgetgrent_r.c: Likewise.
45295 * grp/putgrent.c: Likewise.
45296 * hurd/fopenport.c: Likewise.
45297 * include/libc-symbols.h: Likewise.
45298 * include/tls.h: Likewise.
45299 * intl/gettextP.h: Likewise.
45300 * intl/loadinfo.h: Likewise.
45301 * locale/global-locale.c: Likewise.
45302 * locale/localeinfo.h: Likewise.
45303 * mach/devstream.c: Likewise.
45304 * malloc/arena.c: Likewise.
45305 * malloc/set-freeres.c: Likewise.
45306 * misc/err.c: Likewise.
45307 * misc/getttyent.c: Likewise.
45308 * misc/mntent_r.c: Likewise.
45309 * posix/getopt.c: Likewise.
45310 * posix/wordexp.c: Likewise.
45311 * pwd/fgetpwent_r.c: Likewise.
45312 * resolv/Versions: Likewise.
45313 * resolv/res_hconf.c: Likewise.
45314 * shadow/fgetspent_r.c: Likewise.
45315 * shadow/putspent.c: Likewise.
45316 * stdio-common/printf_fphex.c: Likewise.
45317 * stdio-common/tmpfile.c: Likewise.
45318 * stdlib/abort.c: Likewise.
45319 * stdlib/fmtmsg.c: Likewise.
45320 * sunrpc/auth_unix.c: Likewise.
45321 * sunrpc/clnt_perr.c: Likewise.
45322 * sunrpc/clnt_tcp.c: Likewise.
45323 * sunrpc/clnt_udp.c: Likewise.
45324 * sunrpc/clnt_unix.c: Likewise.
45325 * sunrpc/openchild.c: Likewise.
45326 * sunrpc/svc_simple.c: Likewise.
45327 * sunrpc/svc_tcp.c: Likewise.
45328 * sunrpc/svc_udp.c: Likewise.
45329 * sunrpc/svc_unix.c: Likewise.
45330 * sunrpc/xdr.c: Likewise.
45331 * sunrpc/xdr_array.c: Likewise.
45332 * sunrpc/xdr_rec.c: Likewise.
45333 * sunrpc/xdr_ref.c: Likewise.
45334 * sunrpc/xdr_stdio.c: Likewise.
45335
1248c1c4
PB
453362011-09-09 Ulrich Drepper <drepper@gmail.com>
45337
45338 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45339
453402011-07-03 Andreas Jaeger <aj@suse.de>
45341
45342 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45343 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45344 regenerate with gen-libm-tests.pl.
45345
453462010-05-12 Petr Baudis <pasky@suse.cz>
45347
45348 [BZ #11589]
45349 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45350 around j0() zero points by switching to j1().
45351 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45352 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45353 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45354 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45355
f22e1074
UD
453562011-09-09 Ulrich Drepper <drepper@gmail.com>
45357
f19009c1
UD
45358 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45359 instead of 0.
45360 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 45361 instead of 0.
f19009c1
UD
45362 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45363 Patch in part by Pavel Roskin <proski@gnu.org>.
45364
3f8cc204
UD
45365 [BZ #13138]
45366 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45367 realloc.
45368 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45369 Free memory block if necessary.
45370
f22e1074
UD
45371 [BZ #12847]
45372 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45373 be NULL. Don't lock in this case.
45374
0a2349f9
RM
453752011-09-09 Roland McGrath <roland@hack.frob.com>
45376
45377 * elf/elf.h (ELFOSABI_GNU): New macro.
45378 (ELFOSABI_LINUX): Define to that.
45379
f3cdd467
DZ
453802011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45381
45382 * string/strncat.c (strncat): Undef the symbol in case it has been
45383 defined in bits/string.h.
45384
74718d13
UD
453852011-09-09 Ulrich Drepper <drepper@gmail.com>
45386
633e9e0f
UD
45387 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45388
0a2349f9 45389 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
45390 link map.
45391
f9924780
AJ
453922011-08-17 Andreas Jaeger <aj@suse.de>
45393
45394 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45395
7f5517aa
PP
453962011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45397 Ian Lance Taylor <iant@google.com>
45398
45399 * math/libm-test.inc (lround_test): New testcase.
45400 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45401
762011fe
UD
454022011-09-08 Ulrich Drepper <drepper@gmail.com>
45403
92963737
UD
45404 * Makefile: Remove support for automatic cvs check-ins.
45405 * Makerules: Likewise.
45406 * config.make.in: Likewise.
45407 * configure.in: Likewise.
45408 * intl/Makefile: Likewise.
45409 * locale/Makefile: Likewise.
45410 * po/Makefile: Likewise.
45411 * posix/Makefile: Likewise.
45412 * sysdeps/gnu/Makefile: Likewise.
45413 * sysdeps/mach/hurd/Makefile: Likewise.
45414 * sysdeps/sparc/sparc32/Makefile: Likewise.
45415
b0727fd8
JS
45416 [BZ #13118]
45417 * posix/Makefile (bug-regex32-ENV): Define.
45418 Patch by John Stanley <jpsinthemix@verizon.net>.
45419
a0f33f99
UD
45420 * misc/Makefile (headers): Add bits/select2.h.
45421 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45422 * misc/bits/select2.h: New file.
45423 * include/bits/select2.h: New file.
45424 * debug/Makefile (routines): Add fdelt_chk.
45425 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45426 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45427 FD_ISSET.
45428 * debug/fdelt_chk.c: New file.
45429
762011fe
UD
45430 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45431 * wcsmbs/test-wmemcmp.c: Likewise.
45432 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 45433 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
45434
454352011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45436
45437 * string/Makefile (strop-tests): Add memcmp.
45438 * string/test-wmemcmp.c: New file.
45439 * string/test-memcmp.c: Add wmemcmp support.
45440
7f513ec8
RM
454412011-09-08 Roland McGrath <roland@hack.frob.com>
45442
0442afb4
RM
45443 [BZ #13153]
45444 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45445 2011-07-19 change.
45446
7f513ec8
RM
45447 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45448 garbage value in a __mach_port_mod_refs call in the cases of the
45449 task-self and thread-self ports.
45450
a12b2239
ST
454512011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45452
45453 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45454
610f9ab4
AS
454552011-09-08 Andreas Schwab <schwab@redhat.com>
45456
7f513ec8 45457 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 45458
48882a1a
LD
454592011-09-07 Ulrich Drepper <drepper@gmail.com>
45460
b49865be
UD
45461 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45462
fdc86bc9
UD
45463 * elf/dl-libc.c (dlerror_run): Pass back error code from
45464 dl_catch_error.
45465
c966526a
UD
45466 [BZ #13123]
45467 * elf/dl-load.c (lose): Free l_origin if it is valid.
45468
48882a1a
LD
45469 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45470 names.
45471 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45472 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45473 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45474 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45475 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45476 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45477
77a2a8b4
AZ
454782011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45479
45480 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45481 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45482 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45483 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45484 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45485 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45486 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45487 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45488 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45489 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45490
24f579d8
AM
454912011-08-15 Alan Modra <amodra@gmail.com>
45492
45493 [BZ #13092]
45494 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45495 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45496 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45497 ppc_mcount to static-only-routines.
45498 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45499 __mcount_internal.
45500 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45501 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45502
3d4837df
UD
455032011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45504
45505 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45506 for finite and infinity parameters.
45507
22700377
WS
455082011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45509
45510 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45511 and add nop instructions for throughput optimization.
45512 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45513
5025581e
WS
455142011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45515
45516 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45517 aligned copy for power7 with vector-scalar instructions.
45518 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45519
08a300c9
L
455202011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45521
45522 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45523 AVX check.
45524
59178ef9
AS
455252011-09-07 Andreas Schwab <schwab@redhat.com>
45526
45527 [BZ #13144]
45528 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45529 last change.
45530
e38ba7ab
UD
455312011-09-07 Ulrich Drepper <drepper@gmail.com>
45532
45533 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45534 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45535 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45536 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45537 clock_gettime.
45538
d53a73ac
UD
455392011-09-06 Ulrich Drepper <drepper@gmail.com>
45540
fc8bffcc
UD
45541 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45542 Forgot to demangle the pointer.
45543
ceaa0c5d
UD
45544 * sysdeps/i386/sysdep.h: Define atom_text_section.
45545 * sysdeps/x86_64/sysdep.h: Likewise.
45546 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45547 section with atom_text_section.
45548 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45549 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45550 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45551 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45552 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45553
a77d3c17
UD
45554 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45555 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45556 already be defined. Change to take two parameters and don't assign
45557 result to variable. Adjust all users.
45558 Define INTERNAL_GETTIME if not already defined.
45559 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45560 call.
45561 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45562 HAVE_CLOCK_GETTIME_VSYSCALL.
45563 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45564
d53a73ac
UD
45565 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45566 gettimeofday vsyscall, just use time.
45567
a8f84144
AS
455682011-09-06 Andreas Schwab <schwab@redhat.com>
45569
45570 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45571 <errno.h>.
45572
ef606249
UD
455732011-09-06 Ulrich Drepper <drepper@gmail.com>
45574
45575 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45576 syscall on x86-64.
45577 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45578 syscall.
45579 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45580 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45581 syscall if possible.
45582
6585cb60
UD
455832011-09-05 Ulrich Drepper <drepper@gmail.com>
45584
45585 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45586 e_ident. Don't pass to find_mapsXX.
45587 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45588
a5f524e4
LD
455892011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45590
45591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45592 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45593 * sysdeps/x86_64/multiarch/strchr.S: Update.
45594 Check bit_slow_BSF bit.
45595 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45596 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45597 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45598
554881ef
UD
455992011-09-05 Ulrich Drepper <drepper@gmail.com>
45600
d96de963
UD
45601 [BZ #13134]
45602 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45603 before glibc 2.15.
45604 (tryshell): Define.
45605 (__spawni): Change last parameter to be flag. Test
45606 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45607 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45608 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45609 * posix/spawni.c: Likewise.
45610 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45611 * posix/spawnp.c: Likewise. Change normal version to use
45612 SPAWN_XFLAGS_USE_PATH.
45613 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45614 SPAWN_XFLAGS_TRY_SHELL.
45615
d48e5868
UD
45616 [BZ #13150]
45617 * posix/glob.h: Remove gcc 1.x support.
45618
554881ef
UD
45619 [BZ #13068]
45620 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45621
693fb948
LD
456222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45623
45624 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45625 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45626 strrchr-sse2-bsf
45627 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45628 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45629 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45630 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45631 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45632 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45633
1b48c537
UD
456342011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45635
49d42c37
UD
45636 * sysdeps/x86_64/wcscmp.S: New file.
45637
1b48c537
UD
45638 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45639 wcscmp-c wcscmp-sse2
45640 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45641 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45642 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45643 * wcsmbs/wcscmp.c: Allow renaming.
45644
15c95c5d
DM
456452011-09-05 David S. Miller <davem@davemloft.net>
45646
45647 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45648 stack slot, rather than the struct return pointer slot.
45649 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45650 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45652 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45653
2f0ad8f3
UD
456542011-09-05 Ulrich Drepper <drepper@gmail.com>
45655
d88ae418
UD
45656 * po/ja.po: Update from translation team.
45657
2f0ad8f3
UD
45658 [BZ #13144]
45659 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45660 kernel in 64-bit binaries.
45661
5f4318d1
DM
456622011-09-01 David S. Miller <davem@davemloft.net>
45663
45664 * elf/elf.h (HWCAP_SPARC_*): Move to..
45665 * sysdeps/sparc/sysdep.h: this new file and add new values.
45666 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45667 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45668 _DL_HWCAP_COUNT to 24.
45669 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45670 entries.
45671 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45672 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45673 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45674 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45675 instead of magic constants.
45676 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45677
3ba57516
DM
456782011-08-31 David S. Miller <davem@davemloft.net>
45679
45680 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45681 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45682 Reimplement to do errno handling inline.
45683 (SYSCALL_ERROR_HANDLER): New macro.
45684 (__SYSCALL_STRING): Do not do errno handling in asm.
45685 (__CLONE_SYSCALL_STRING): Delete.
45686 (__INTERNAL_SYSCALL_STRING): Delete.
45687 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45688 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45689 (PSEUDO): Reimplement to do errno handling inline.
45690 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45691 (SYSCALL_ERROR_HANDLER): New macro.
45692 (__SYSCALL_STRING): Do not do errno handling in asm.
45693 (__CLONE_SYSCALL_STRING): Delete.
45694 (__INTERNAL_SYSCALL_STRING): Delete.
45695 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45696 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45697 i386.
45698 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45699 (inline_syscall*): Add 'err' argument.
45700 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45701 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45702 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45703 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45704
45705 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45706 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45707
2bc17433
AS
457082011-08-30 Andreas Schwab <schwab@redhat.com>
45709
45710 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45711
fbeb5f4d
JO
457122011-08-29 Jiri Olsa <jolsa@redhat.com>
45713
45714 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45715 directive.
45716
ad69cc26
DM
457172011-08-24 David S. Miller <davem@davemloft.net>
45718
45719 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45720
39dd69df
AS
457212011-08-24 Andreas Schwab <schwab@redhat.com>
45722
45723 * elf/Makefile: Add rules to build and run unload8 test.
45724 * elf/unload8.c: New file.
45725 * elf/unload8mod1.c: New file.
45726 * elf/unload8mod1x.c: New file.
45727 * elf/unload8mod2.c: New file.
45728 * elf/unload8mod3.c: New file.
45729
45730 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45731 it wasn't used.
45732
2c0b250a
DM
457332011-08-23 David S. Miller <davem@davemloft.net>
45734
45735 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45736 subtract stack bias.
45737 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45738 %sp not %fp in calculations.
45739 (_JMPBUF_UNWINDS_ADJ): Likewise.
45740
22044b48
DM
45741 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45742 (aio_suspend): Call it to force an exception region around the
45743 AIO_MISC_WAIT() invocation.
45744
2cae4995
AS
457452011-08-23 Andreas Schwab <schwab@redhat.com>
45746
45747 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45748 backslash.
45749
873a772e
AJ
457502011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45751
45752 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45753 protection macro.
45754 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45755 and <dl-machine.h>.
45756 (Elf64_FuncDesc): Remove.
45757
25ad0df1
DM
457582011-08-22 David S. Miller <davem@davemloft.net>
45759
45760 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45761 sigaltstack check, add missing cfi directives.
45762 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45763 missing cfi directives, and sigaltstack handling.
45764
e888bcbe
AS
457652011-08-16 Andreas Schwab <schwab@redhat.com>
45766
45767 [BZ #11724]
45768 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45769 object is seen twice.
45770 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45771
45772 * elf/Makefile (distribute): Add tst-initorder2.c.
45773 (tests): Add tst-initorder2.
45774 (modules-names): Add tst-initorder2a tst-initorder2b
45775 tst-initorder2c tst-initorder2d. Add rules to build them.
45776 ($(objpfx)tst-initorder2.out): New rule.
45777 * elf/tst-initorder2.c: New file.
45778 * elf/tst-initorder2.exp: New file.
45779
87162f46
AS
457802011-08-22 Andreas Schwab <schwab@redhat.com>
45781
70538b7f
AS
45782 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45783
f55ffe58
AS
45784 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45785 dependencies back to end of function.
45786
87162f46
AS
45787 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45788 $(elfobjdir)/ld.so.
45789
91b392a4
UD
457902011-08-21 Ulrich Drepper <drepper@gmail.com>
45791
45792 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45793 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45794 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45795 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45796 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45797 of __vdso_gettimeofday.
45798 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45799 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45800 attribute_hidden.
45801 (_libc_vdso_platform_setup): Remove initialization of
45802 __vdso_gettimeofday and __vdso_time.
45803
5c43483f
UD
458042011-08-20 Ulrich Drepper <drepper@gmail.com>
45805
775a77e7
UD
45806 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45807 and fgetc_unlocked.
45808 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45809 getc_unlocked.
89f447ed 45810
49c74ba9
UD
45811 * elf/dl-open.c (add_to_global): Report additions to the global scope
45812 for LD_DEBUG=scopes.
45813 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 45814 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 45815
5c43483f
UD
45816 [BZ #13114]
45817 * stdio-common/Makefile (tests): Add bug24.
45818 * stdio-common/bug24.c: New file.
45819
a101b025
AJ
458202011-08-19 Andreas Jaeger <aj@suse.de>
45821
45822 [BZ #13114]
45823 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45824 non-existant file when using close-on-exec mode.
45825
c88f1766
UD
458262011-08-20 Ulrich Drepper <drepper@gmail.com>
45827
0276a718
UD
45828 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45829 the very first instruction.
45830
c88f1766
UD
45831 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45832 the CFI state in the end.
45833 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45834 inclusion of dl-trampoline.h.
45835 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45836
51ccffa0
AS
458372011-08-19 Andreas Schwab <schwab@redhat.com>
45838
94d7165f
AS
45839 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45840 expectations for long double.
45841
51ccffa0
AS
45842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45843 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45844
fd708658 458452011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
45846
45847 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45848 artificual limit depends upon the system page size.
45849
44f0a71e
UD
458502011-08-17 Ulrich Drepper <drepper@gmail.com>
45851
45852 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45853 * resolv/Makefile: Define CFLAGS-libresolv.
45854
8de79a24
AS
458552011-08-17 Andreas Schwab <schwab@redhat.com>
45856
45857 * nss/makedb.c (compute_tables): Make variables used in nested
45858 function static.
45859
27724598
UD
458602011-08-17 Ulrich Drepper <drepper@gmail.com>
45861
c5305d88
UD
45862 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45863 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45864 if buffer was too small.
45865
27724598
UD
45866 * elf/pldd.c (main): Attach to all threads in the process.
45867 Rewrite /proc handling to use *at functions.
45868
076fe015
UD
458692011-08-16 Ulrich Drepper <drepper@gmail.com>
45870
174baab3
UD
45871 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45872 specifies first scope to show.
45873 (dl_open_worker): Update callers. Move printing scope of new
45874 object to before the relocation.
44f0a71e 45875 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
45876 * sysdeps/generic/ldsodefs.h: Update declaration.
45877
076fe015
UD
45878 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45879 string for the scope number.
45880
a60df2c3
UD
458812011-08-14 Ulrich Drepper <drepper@gmail.com>
45882
45883 * nscd/servicescache.c (cache_addserv): Make sure written is always
45884 initialized.
45885
5e4287d1
RM
458862011-08-14 Roland McGrath <roland@hack.frob.com>
45887
85ae0589
RM
45888 * sysdeps/i386/i486/bits/atomic.h
45889 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45890 statement expression, so as to suppress "set but not used" warning.
45891 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45892
69f63097
RM
45893 * string/strncat.c (STRNCAT): Use prototype definition.
45894
675456ef
RM
45895 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45896 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45897 -Iprograms here.
45898 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45899 (localedef-modules): Add localedef.
45900 (locale-modules): Add locale.
45901
5e4287d1
RM
45902 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45903 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45904 to avoid a warning.
45905
9c96ff23
DM
459062011-08-14 David S. Miller <davem@davemloft.net>
45907
45908 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45909 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45910
f9ddf089
UD
459112011-08-13 Ulrich Drepper <drepper@gmail.com>
45912
44f0a71e 45913 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
45914 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45915 * elf/rtld.c (dl_main): Set l_name of vDSO.
45916 Call _dl_show_scope when DL_DEBUG_SCOPES.
45917 (process_dl_debug): Recognize scopes flag and also set it for all.
45918 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45919 Declare _dl_show_scope.
45920
1dc27704
UD
45921 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45922 (do_dlopen): Pass caller_dlopen to dl_open.
45923 (__libc_dlopen_mode): Initialize caller_dlopen.
45924
f9ddf089
UD
45925 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45926 of libc. Make tolower call locale-independent. Optimize a bit by
45927 using isdigit instead of isalnum.
45928 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45929
9ac533d3
UD
459302011-08-12 Ulrich Drepper <drepper@gmail.com>
45931
45932 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45933 was a dependency or dynamically loaded.
45934
89edf2e9
UD
459352011-08-11 Ulrich Drepper <drepper@gmail.com>
45936
8e999d29
UD
45937 * intl/l10nflist.c: Allow architecture-specific pop function.
45938 * sysdeps/x86_64/l10nflist.c: New file.
45939
89edf2e9
UD
45940 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45941 classification.
45942
14d96785
AS
459432011-08-10 Andreas Schwab <schwab@redhat.com>
45944
45945 * include/dirent.h: Add libc_hidden_proto for scandirat and
45946 scandirat64. Don't declare __scandirat64.
45947 * dirent/scandirat.c: Add libc_hidden_def.
45948 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45949 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45950
6761ac04
DM
459512011-08-10 David S. Miller <davem@davemloft.net>
45952
45953 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45954 enum.
45955 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45956 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45957 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45958
c55fbd1e
UD
459592011-08-09 Ulrich Drepper <drepper@gmail.com>
45960
45961 * Versions.def [libc]: Add GLIBC_2.15.
45962 * dirent/Makefile (routines): Add scandirat and scandirat64.
45963 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45964 GLIBC_2.15.
45965 * dirent/dirent.h: Declare scandirat and scandirat64.
45966 * dirent/scandirat.c: New file.
45967 * dirent/scandirat64.c: New file.
45968 * sysdeps/wordsize-64/scandirat.c: New file.
45969 * sysdeps/wordsize-64/scandirat64.c: New file.
45970 * dirent/opendir.c: Define opendirat.
45971 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45972 using scandirat.
45973 * dirent/scandir64.c: Adjust for scandir.c change.
45974 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45975 __scandirat64, and __scandir_cancel_handler.
45976 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45977 additional parameter and use openat instead of open (outside of ld.so).
45978 Add new __opendir as wrapper around __opendirat.
45979 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45980 here without requiring old scandirat implementation.
45981
879165f2
UD
459822011-08-08 Ulrich Drepper <drepper@gmail.com>
45983
45984 * dirent/scandir.c (cancel_handler): Renamed to
45985 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45986 defined. Adjust users.
45987 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45988 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45989
cb7e923b
UD
459902011-08-04 Ulrich Drepper <drepper@gmail.com>
45991
16292edd
UD
45992 * string/test-string.h (IMPL): Use __STRING to expand name and then
45993 stringify it.
45994
cb7e923b
UD
45995 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45996 of cleanups.
45997
cff82933
LD
459982011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45999
46000 * string/Makefile: Update.
46001 (strop-tests): Append strncat.
46002 * string/test-wcscmp.c: New file.
46003 New comprehensive test for wcscmp.
46004 * string/test-strcmp.c: Update.
46005 (WIDE): New define.
46006
9be9bfcc
AS
460072011-07-22 Andreas Schwab <schwab@redhat.com>
46008
46009 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46010 line.
46011
2e96f1c7
AS
460122011-07-26 Andreas Schwab <schwab@redhat.com>
46013
46014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46015 encoding to ACE if AI_IDN.
46016
85188888
JJ
460172011-08-01 Jakub Jelinek <jakub@redhat.com>
46018
46019 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46020 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46021
5fa16e9b
LD
460222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46023
46024 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46025 Fix overflow bug in strncat.
46026 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46027
46028 * string/test-strncat.c: Update.
46029 Add new tests for checking overflow bugs.
46030
460312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46032
46033 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46034 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46035 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46036 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46037 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46038 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46039 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46040 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46041 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46042
46043 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46044 (USE_AS_STRCAT): Define.
46045 Add strcat and strncat support.
46046 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46047
8c1a459f
AS
460482011-07-25 Andreas Schwab <schwab@redhat.com>
46049
46050 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46051 __n bigger than INT_MAX+1.
46052 (__strncmp_g): Likewise.
46053
bba33c28
UD
460542011-07-23 Ulrich Drepper <drepper@gmail.com>
46055
798be72d
UD
46056 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46057 * libio/stido.h: Likewise.
46058
8accd4dc
UD
46059 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46060 (AF_NFC): Define.
46061 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46062 (AF_NFC): Define.
46063
cbff0d96
UD
46064 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46065 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46066 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46067 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46068 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46069
9191c04a
UD
46070 [BZ #13021]
46071 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46072 installed.
46073
bba33c28
UD
46074 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46075 typo.
46076 (_dl_x86_64_save_sse): Likewise.
46077
90f139dd
UD
460782011-07-22 Ulrich Drepper <drepper@gmail.com>
46079
1aae088a
UD
46080 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46081 OSXSAVE.
46082 (_dl_x86_64_save_sse): Likewise.
46083
8e2045f5
UD
46084 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46085
90f139dd
UD
46086 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46087
1d002f25
AS
460882011-07-21 Andreas Schwab <schwab@redhat.com>
46089
46090 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46091 change.
46092 (_dl_x86_64_save_sse): Use correct AVX check.
46093
21137f89
UD
460942011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46095
46096 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46097 bug in strncpy/strncat.
46098 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46099
a65c0b7a
UD
461002011-07-21 Ulrich Drepper <drepper@gmail.com>
46101
46102 * string/tester.c (test_strcat): Add tests for different alignments
46103 of source and destination.
46104 (test_strncat): Likewise.
46105
6986b98a
UD
461062011-07-20 Ulrich Drepper <drepper@gmail.com>
46107
90bb2039
UD
46108 [BZ #12852]
46109 * posix/glob.c (glob): Check passed in values before using them in
46110 expressions to avoid some overflows.
46111 (glob_in_dir): Likewise.
46112
5644ef54
UD
46113 [BZ #13007]
46114 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46115 check for AVX enablement so that we don't crash with old kernels and
46116 new hardware.
46117 * elf/tst-audit4.c: Add same checks here.
46118 * elf/tst-audit6.c: Likewise.
46119
46120 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 46121
bfc9dc9b
AS
461222011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46123
46124 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46125
702e64bb
UD
461262011-07-20 Ulrich Drepper <drepper@gmail.com>
46127
46128 * po/cs.po: Update from translation team.
46129 * po/bg.po: Likewise.
46130
295e904f
MP
461312011-07-12 Marek Polacek <mpolacek@redhat.com>
46132
46133 * misc/sys/cdefs.h: Add support for const attribute.
46134 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46135 to gnu_dev_{major,minor,makedev} functions.
46136
3ff94596
MP
461372011-07-20 Marek Polacek <mpolacek@redhat.com>
46138
46139 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46140
28b59fca
AS
461412011-07-20 Andreas Schwab <schwab@redhat.com>
46142
46143 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46144 strlen results.
46145
19df733e
AK
461462011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46147
46148 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46149 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46150 register in order to avoid conflicts with the soft frame pointer
46151 being held in r11 when necessary.
46152 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46153 (INTERNAL_VSYSCALL_NCS): Likewise.
46154
c8835729
MP
461552011-07-14 Marek Polacek <mpolacek@redhat.com>
46156
46157 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46158 * elf/dl-fini.c (_dl_fini): Adjust caller.
46159 * elf/dl-close.c (_dl_close_worker): Likewise.
46160 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46161
b902330c
MP
461622011-07-15 Marek Polacek <mpolacek@redhat.com>
46163
8991e135
MP
46164 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46165 "aux_cache->nlibs < 0".
46166
b902330c
MP
46167 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46168 in the reload-count case.
46169
99710781
LD
461702011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46171
46172 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46173 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46174 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46175 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46176 * sysdeps/x86_64/multiarch/strcat.S: New file.
46177 * sysdeps/x86_64/multiarch/strncat.S: New file.
46178 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46179 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46180 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46181 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46182 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46183 (USE_AS_STRCAT): Define.
46184 Add strcat and strncat support.
46185 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46186 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46187 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46188 * string/strncat.c: Update.
46189 (USE_AS_STRNCAT): Define.
46190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46191 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46192 and i7.
46193 * sysdeps/x86_64/multiarch/init-arch.h
46194 (bit_Prefer_PMINUB_for_stringop): New.
46195 (index_Prefer_PMINUB_for_stringop): Likewise.
46196 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46197 bit_Prefer_PMINUB_for_stringop.
46198
7dc6bd90
UD
461992011-07-19 Ulrich Drepper <drepper@gmail.com>
46200
46201 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46202 buffer64.
46203 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46204 of casting of buffer.
46205 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46206 buffer32 and buffer64.
46207 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46208 writes instead of casting of buffer.
46209 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46210 buffer32.
46211 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46212 casting of buffer.
46213
e0e72284
AS
462142011-07-19 Andreas Schwab <schwab@redhat.com>
46215
46216 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46217
feb1eb0b
UD
462182011-07-19 Ulrich Drepper <drepper@gmail.com>
46219
46220 * nscd/nscd.c (termination_handler): Don't do anything for a database
46221 if it has not yet been initialized.
46222
298711ff
UD
462232011-07-18 Ulrich Drepper <drepper@gmail.com>
46224
46225 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46226
462272011-07-15 Marek Polacek <mpolacek@redhat.com>
46228
46229 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46230
f9d68389
UD
462312011-07-18 Ulrich Drepper <drepper@gmail.com>
46232
46233 * po/nl.po: Update from translation team.
46234 * po/sv.po: Likewise.
46235
db290cf5
RM
462362011-07-16 Roland McGrath <roland@hack.frob.com>
46237
46238 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46239 now disallowed by GCC.
5c550700 46240
fd5e21c7
RM
46241 * configure.in (use-default-link): Default to yes if a test -shared
46242 link meets our qualifications.
46243 * configure: Regenerated.
46244
5c550700
RM
46245 * config.make.in (output-format): New variable.
46246 * configure.in: Check for ld --print-output-format support.
46247 * configure: Regenerated.
46248 * Makerules ($(common-objpfx)format.lds)
46249 [$(output-format) != unknown]: Just use $(output-format),
46250 instead of the linker-script munging.
46251
9fa2c032
RM
462522011-07-14 Roland McGrath <roland@hack.frob.com>
46253
a6928d51
RM
46254 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46255 of $(common-objpfx)shlib.lds.
46256 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46257
661607b3
RM
46258 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46259 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46260
9fa2c032
RM
46261 * configure.in (-z relro check): Adjust test code to add a large
46262 writable data section after it.
46263 * configure: Regenerated.
46264
defe9061
RM
462652011-07-11 Roland McGrath <roland@hack.frob.com>
46266
46267 * configure.in (-z relro check): Fix test code to make the variable
46268 truly const.
46269 * configure: Regenerated.
46270
319b9ad4
UD
462712011-07-11 Ulrich Drepper <drepper@gmail.com>
46272
46273 * nscd/nscd.h (struct traced_file): Define.
46274 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46275 elements. Add traced_files.
46276 (inotify_fd): Declare.
46277 (register_traced_file): Declare.
46278 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46279 (inotify_fd): Export.
46280 (resolv_conf_descr): Remove.
46281 (nscd_init): Move inotify descriptor creation to main.
46282 Don't register files for notification here.
46283 (register_traced_file): New function.
46284 (invalidate_cache): Don't use reset_res to determine whether to call
46285 res_init, go through the list of registered files.
46286 (main_loop_poll): The inotify descriptors are now stored in the
46287 structures for the traced files.
46288 (main_loop_epoll): Likewise
46289 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46290 to __nss_disable_nscd.
46291 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46292 for a database anymore. Check the records for all the registered
46293 files instead.
46294 * nss/Makefile (libnss_files-routines): Add files-init.
46295 (libnss_db-routines): Add db-init.
46296 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46297 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46298 * nss/nss_db/db-init.c: New file.
46299 * nss/nss_files/files-init.c: New file.
46300 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46301 __nss_lookup_function.
46302 (__nss_lookup_function): Call nss_load_library.
46303 (nss_load_all_libraries): New function.
46304 (__nss_disable_nscd): Take parameter with callback function for files
46305 to register. Set is_nscd. Load all the DSOs for the NSS modules
46306 used for the cached services.
46307 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46308 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46309 options for features to all the files in nscd.
46310
46311 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46312
23bee3e8
RM
463132011-07-10 Roland McGrath <roland@hack.frob.com>
46314
46315 * csu/elf-init.c (__libc_csu_init): Comment typo.
46316
46a5b7f0
UD
463172011-07-09 Ulrich Drepper <drepper@gmail.com>
46318
46319 * po/pl.po: Update from translation team.
46320 * po/ja.po: Likewise.
46321 * po/ru.po: Likewise.
46322 * po/ko.po: Likewise.
46323 * po/fr.po: Likewise.
46324
d30cf5bb
RM
463252011-07-09 Roland McGrath <roland@hack.frob.com>
46326
113ddea4
RM
46327 * configure.in (.ctors/.dtors header and trailer check):
46328 Use an empirical test on a built program.
46329 * configure: Regenerated.
46330
574920b4
RM
46331 * configure.in (-z relro check): Use an empirical test on a built DSO.
46332 Detect, but do not require, on ia64.
46333 * configure: Regenerated.
46334
d30cf5bb
RM
46335 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46336 Update tests that use readelf to use $READELF instead.
46337 * configure: Regenerated.
46338
8538fdb3
UD
463392011-07-08 Ulrich Drepper <drepper@gmail.com>
46340
46341 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46342 if the result is not used.
46343
04d08991
AJ
463442011-07-05 Andreas Jaeger <aj@suse.de>
46345
46346 [BZ#9696]
46347 * stdlib/tst-strtod.c: Add testcase.
46348
de283087
AD
463492011-07-07 Ulrich Drepper <drepper@gmail.com>
46350
4e5f31c8 46351 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 46352 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
46353 The latter has a higher limit. Take additional parameter to pass to
46354 the new function.
46355 (__pathconf): Pass file to __statfs_link_max.
46356 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46357 __statfs_link_max.
46358 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46359 __statfs_link_max.
46360
de283087
AD
46361 [BZ #12868]
46362 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46363 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46364 Handle Lustre.
46365 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46366 (__statfs_filesize_max): Likewise.
46367 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46368
c75fa153
AJ
463692011-07-05 Andreas Jaeger <aj@suse.de>
46370
46371 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46372
1a544854
UD
463732011-07-06 Marek Polacek <mpolacek@redhat.com>
46374
46375 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46376 `status' variable.
46377 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46378 Likewise.
46379
6f0eec67
UD
463802011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46381
46382 * Makefile (strop-tests): Add strncat.
46383 * string/test-strncat.c: New file.
46384
aae30307
UD
463852011-06-30 Marek Polacek <mpolacek@redhat.com>
46386
46387 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46388
c0cfb5eb
UD
463892011-06-21 Andreas Jaeger <aj@suse.de>
46390
46391 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46392 Copy rule from iconvdata/Makefile.
46393
01636b21
UD
463942011-07-06 Ulrich Drepper <drepper@gmail.com>
46395
46396 [BZ #12922]
46397 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46398 but no long options are defined, just return 'W'.
46399
9895c8bc
UD
464002011-06-22 Marek Polacek <mpolacek@redhat.com>
46401
46402 [BZ #9696]
46403 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46404
5d4cf042
UD
464052011-07-06 Ulrich Drepper <drepper@gmail.com>
46406
46407 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46408 netgroups to read.
960e5535 46409 (innetgr): Likewise.
5d4cf042 46410
751eb97e
RM
464112011-07-05 Roland McGrath <roland@hack.frob.com>
46412
46413 * config.make.in (install_root): Default to $(DESTDIR).
46414
f15f1e45
UD
464152011-07-05 Ulrich Drepper <drepper@gmail.com>
46416
46417 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46418
4e34ac6a
RM
464192011-07-02 Roland McGrath <roland@hack.frob.com>
46420
5e9b6af4
RM
46421 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46422
84f9ea0f
RM
46423 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46424 containing directory rather than embedding absolute directory names.
46425
ea5ee9f7
RM
46426 * scripts/check-local-headers.sh: Rewritten using awk.
46427 Match by word, not by line. Print error messages for matches.
46428 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46429
1b74661a
RM
46430 * Makerules [shlib-lds-flags empty]:
46431 ($(common-objpfx)libc_pic.opts): New target.
46432 ($(common-objpfx)libc_pic.os.clean): New target.
46433 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46434
46435 * config.make.in (OBJCOPY): New variable.
46436 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46437 * configure: Regenerated.
46438
f781ef40
RM
46439 * config.make.in (use-default-link): New variable.
46440 * configure.in (use_default_link): Grok --with-default-link to set it.
46441 * configure: Regenerated.
46442 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46443 (shlib-lds, shlib-lds-flags): Define to empty.
46444
2d4fa81e
RM
46445 * Makerules (shlib-lds): New variable.
46446 (shlib-lds-flags): New variable.
46447 (build-shlib, build-moduile, build-module-asneeded): Use it.
46448 ($(common-objpfx)libc.so): Use $(shlib-lds).
46449 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46450 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46451
31fffa6b
RM
46452 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46453 DT_FLAGS/DT_FLAGS_1 with zero flags.
46454
4e34ac6a
RM
46455 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46456 linker script munging.
46457
fcfc776b
UD
464582011-07-02 Ulrich Drepper <drepper@gmail.com>
46459
46460 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46461 as 128-bit value.
46462 * crypt/sha512.c (sha512_process_block): Perform total addition using
46463 128-bit if possible.
46464 (__sha512_finish_ctx): Likewise.
46465 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46466 as 64-bit value.
46467 * crypt/sha256.c (SWAP64): Define.
46468 (sha256_process_block): Perform total addition using 64-bit if
46469 possible.
46470 (__sha256_finish_ctx): Likewise.
46471
99231d9a
UD
464722011-07-01 Ulrich Drepper <drepper@gmail.com>
46473
46474 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46475 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46476 * nscd/hstcache.c (cache_addhst): Likewise.
46477 * nscd/grpcache.c (cache_addgr): Likewise.
46478 * nscd/aicache.c (addhstaiX): Likewise
46479 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46480
445b4a53
TK
464812011-07-01 Thorsten Kukuk <kukuk@suse.de>
46482
46483 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46484 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46485 * nscd/hstcache.c (cache_addhst): Likewise.
46486 * nscd/grpcache.c (cache_addgr): Likewise.
46487 * nscd/aicache.c (addhstaiX): Likewise
46488
6d4d8e8e
AS
464892011-07-01 Andreas Schwab <schwab@redhat.com>
46490
46491 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46492 domain only when needed.
46493
89f654c5
AS
464942011-06-30 Andreas Schwab <schwab@redhat.com>
46495
46496 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46497 is always restored.
46498
cf3b23ff
UD
464992011-06-29 Ulrich Drepper <drepper@gmail.com>
46500
46501 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46502 are re-adding the entry.
46503 * nscd/servicescache.c (cache_addserv): Likewise.
46504
751626f9
AJ
465052011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46506
46507 * sysdeps/generic/dl-irel.h: fix protection against multiple
46508 inclusions.
46509 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46510
9113ea1f
UD
465112011-06-28 Ulrich Drepper <drepper@gmail.com>
46512
5c0b8d90
UD
46513 [BZ #12935]
46514 * malloc/memusage.sh: Fix quoting in message.
46515 * debug/xtrace.sh: Likewise.
46516
9113ea1f
UD
46517 * configure.in: Remove support for --experimental-malloc option, make
46518 it the default.
46519 * config.make.in: Likewise.
46520 * malloc/Makefile: Likewise.
46521
a4172181
AS
465222011-06-27 Andreas Schwab <schwab@redhat.com>
46523
46524 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46525 two-byte characters.
46526
78a7eee7
RM
465272011-06-27 Roland McGrath <roland@hack.frob.com>
46528
62bede13
RM
46529 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46530 AC_CACHE_CHECK invocation.
46531 * configure: Regenerated.
46532
78a7eee7
RM
46533 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46534
5ce33a62
UD
465352011-06-27 Ulrich Drepper <drepper@gmail.com>
46536
034807a9
UD
46537 [BZ #12350]
46538 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46539 bit from old_res_options.
46540
4902da17
UD
46541 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46542
5ce33a62
UD
46543 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46544 value type for setfct.
46545
c2344f56
L
465462011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46547
46548 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46549 __gettimeofday instead of gettimeofday.
46550
68468076
UD
465512011-06-26 Ulrich Drepper <drepper@gmail.com>
46552
46553 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46554
acb0d739
L
465552011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46556
46557 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46558
46559 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46560 info.
46561
8912479f
L
465622011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46563
46564 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46565 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46566 strcpy-sse2-unaligned strncpy-sse2-unaligned
46567 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46568 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46569 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46570 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46571 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46572 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46573 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46574 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46575 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46576 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46577 (STRCPY): Support SSE2 and SSSE3 versions.
46578
d5495a11
UD
465792011-06-24 Ulrich Drepper <drepper@gmail.com>
46580
46581 [BZ #12874]
46582 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46583 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46584 kernels which artificially limit size of requests.
46585
0b1cbaae
L
465862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46587
46588 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46589 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46590 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46591 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46592 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46593 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46594 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46595 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46596 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46597 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46598 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46599 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46600 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46601 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46602 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46603 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46604 Enable unaligned load optimization for Intel Core i3, i5 and i7
46605 processors.
46606 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46607 Define.
46608 (index_Fast_Unaligned_Load): Define.
46609 (HAS_FAST_UNALIGNED_LOAD): Define.
46610
07f494a0
MP
466112011-06-23 Marek Polacek <mpolacek@redhat.com>
46612
46613 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46614
fa3fc0fe
UD
466152011-06-22 Ulrich Drepper <drepper@gmail.com>
46616
46617 [BZ #12907]
46618 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46619 until it is clear that the information is realy needed.
46620 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46621
e12df166
AS
466222011-06-22 Andreas Schwab <schwab@redhat.com>
46623
46624 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46625
852eb34d
UD
466262011-06-22 Ulrich Drepper <drepper@gmail.com>
46627
84e2a551
UD
46628 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46629 /sys/devices/system/cpu/online if it is usable.
46630
852eb34d
UD
46631 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46632 reading the information from the /proc filesystem to once a second.
46633
6e502e19
UD
466342011-06-21 Andreas Jaeger <aj@suse.de>
46635
46636 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46637 NULL after inclusion of kernel headers.
46638
75d39ff2
UD
466392011-06-21 Ulrich Drepper <drepper@gmail.com>
46640
51f9aa6a
UD
46641 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46642 calls to internal_setent.
46643
c0244a9d
UD
46644 [BZ #12885]
46645 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46646 addresses using gethostbyname4_r ignore IPv4 addresses.
46647
c5e3c2ae
UD
46648 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46649 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46650
75d39ff2
UD
46651 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46652
42675c6f
DM
466532011-06-20 David S. Miller <davem@davemloft.net>
46654
46655 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46656 inclusions.
46657 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46658
46659 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46660 (elf_irel): Use it.
46661 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46662 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46663 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46664 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46665 * sysdeps/x86_64/dl-irel.h: Likewise.
46666
46667 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46668 * elf/dl-sym.c: Likewise.
46669
57912a71
UD
466702011-06-15 Ulrich Drepper <drepper@gmail.com>
46671
46672 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46673 need to dereference resplen2.
46674
ee22793d
AS
466752011-06-14 Andreas Schwab <schwab@redhat.com>
46676
46677 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46678
a9e836b0
UD
466792011-06-15 Ulrich Drepper <drepper@gmail.com>
46680
77fb9117
UD
46681 * Makeconfig: Define vardbdir and inst_vardbdir.
46682 * nss/Makefile: Add rules to install db-Makefile.
46683
40c1b22c
UD
46684 * nss/nss_db/db-XXX.c: Cleanup.
46685
9f2da732
UD
46686 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46687 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46688 GLIBC_PRIVATE.
46689 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46690 * nss/makedb.c: Implement -g option to specify that value strings
46691 are generated and should not be added to table iterated over for
46692 get*ent calls.
46693 * nss/nss_db/db-initgroups.c: New file.
46694
82e9a1f7
UD
46695 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46696 interface.
46697
c41af17e
UD
46698 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46699 (internal_getgrouplist): Adjust to name change.
46700 Update use_initgroups_entry if this is not the first call.
46701 * nss/databases.def: Add initgroups entry.
46702
a9e836b0
UD
46703 * nss/makedb.c (compute_tables): Check result of multiple hash table
46704 sizes to minimize maximum chain length.
46705
2666d441
UD
467062011-06-14 Ulrich Drepper <drepper@gmail.com>
46707
46708 * Versions.def: Add entry for libnss_db.
46709 * shlib-versions: Likewise.
46710 * nss/Makefile: Add rules to build libnss_db.
46711 * nss/Versions: Add libnss_db information. Organize libnss_files
46712 entries better.
46713 * nss/db-Makefile: Add gshadow support. Change rules for the new
46714 makedb progra. Some minor improvements to generate smaller files.
46715 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46716 here from...
46717 * nss/makedb.c: ...here.
46718 Improve database format to be smaller and require less memory at
46719 runtime.
46720 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46721 db anymore.
46722 * nss/nss_db/db-netgrp.c: Likewise.
46723 * nss/nss_db/db-open.c: Likewise.
46724 * nss/nss_files/flies-XXX.x: Adjust comments.
46725 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46726 * nss/nss_files/files-grp.c: Likewise.
46727 * nss/nss_files/files-hosts.c: Likewise.
46728 * nss/nss_files/files-network.c: Likewise.
46729 * nss/nss_files/files-proto.c: Likewise.
46730 * nss/nss_files/files-pwd.c: Likewise.
46731 * nss/nss_files/files-rpc.c: Likewise.
46732 * nss/nss_files/files-service.c: Likewise.
46733 * nss/nss_files/files-sgrp.c: Likewise.
46734 * nss/nss_files/files-spwd.c: Likewise.
46735 * nss/nss_db/db-alias.c: Removed.
46736 * nss/nss_db/dummy-db.h: Removed.
46737
9ee76b5a
UD
467382011-06-02 Ulrich Drepper <drepper@gmail.com>
46739
46740 * nss/makedb.c: Rewritten to not use database library.
46741 * nss/Makefile: Update to build new makedb program.
46742
c71ca1f8
AJ
467432011-06-14 Andreas Jaeger <aj@suse.de>
46744
46745 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46746 memset declaration.
46747
3154bfb8
UD
467482011-06-10 Andreas Schwab <schwab@redhat.com>
46749
46750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46751 tmpbuf.
46752
b350afab
RM
467532011-06-10 Roland McGrath <roland@hack.frob.com>
46754
decd4e50
RM
46755 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46756 * elf/Makefile ($(objpfx)ld.so): Likewise.
46757
5615eaf2
RM
46758 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46759 Don't list ld.so twice in dependencies.
46760
46761 * posix/bug-regex31.c: Include <stdlib.h>.
46762
46763 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46764
46765 * nis/nss_compat/compat-spwd.c
46766 (getspent_next_nss_netgr): Remove unused variable.
46767 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46768
46769 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46770 nonmembers" output to use the right array.
46771
46772 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46773
46774 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46775
46776 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46777 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46778 * catgets/gencat.c (read_input_file): Likewise.
46779 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46780
46781 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46782 variable definition inside #if's controlling its use.
46783
46784 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46785
46786 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46787
46788 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46789
46790 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46791 unreachable code.
46792
46793 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46794
b68e08db
RM
46795 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46796 * configure: Regenerated.
46797
b350afab
RM
46798 * Makerules: Revert last change.
46799 * elf/Makefile: Likewise.
46800
28368601
RM
468012011-06-09 Roland McGrath <roland@hack.frob.com>
46802
46803 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46804 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46805 (reloc-link): Likewise.
46806
11988f8f
UD
468072011-06-09 Ulrich Drepper <drepper@gmail.com>
46808
46809 * elf/Makefile: Add rules to build pldd.
46810 * elf/pldd.c: New file.
46811 * elf/pldd-xx.c: New file.
46812
e80fab37
UD
468132011-06-07 Ulrich Drepper <drepper@gmail.com>
46814
46815 * version.h: Update for 2.15 development version.
46816
9b849836
DM
468172011-06-07 David S. Miller <davem@davemloft.net>
46818
46819 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46820 ifuncs.
46821 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46822 elf_machine_lazy_rel): Likewise.
46823 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46824 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46825 elf_machine_lazy_rel): Likewise.
46826 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46827 dl_hwcap via passed in argument.
46828 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46829 Likewise.
46830
5a31b283
AK
468312011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46832
46833 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46834
069e52f8
RM
468352011-06-06 Roland McGrath <roland@hack.frob.com>
46836
46837 [BZ #12849]
46838 * manual/fdl-1.1.texi: New file, verbatim from:
46839 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46840 * manual/lgpl-2.1.texi: New file, verbatim from:
46841 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46842 * manual/Makefile (licenses): New variable, list those new file names.
46843 (texis): Use it.
46844 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46845
46846 * manual/fdl.texi: File removed.
46847 * manual/lesser.texi: File removed.
46848 * manual/libc.texinfo (Copying, Documentation License):
46849 Use new @include file names, put @appendix directive before @include.
46850
f16846a5
JJ
468512011-06-04 Jakub Jelinek <jakub@redhat.com>
46852
46853 [BZ #12841]
46854 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46855 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46856 (mq_open): Add __NTH.
46857
3d29045b
L
468582011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46859
46860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46861 Assume Intel Core i3/i5/i7 processor if AVX is available.
46862
8c297311
UD
468632011-05-31 Ulrich Drepper <drepper@gmail.com>
46864
46865 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46866 typo.
46867
c8fc0c91
UD
468682011-05-31 Andreas Schwab <schwab@redhat.com>
46869
46870 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46871 memory. Use alloca_account. Fix memory leak when retrying.
46872
5b27a807
UD
468732011-05-31 Ulrich Drepper <drepper@gmail.com>
46874
356f8bc6
UD
46875 * version.h (RELEASE): Bump for 2.14 release.
46876 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46877
5b27a807
UD
46878 * config.make.in (RANLIB): Remove entry.
46879
01f16ab0
UD
468802011-05-30 Ulrich Drepper <drepper@gmail.com>
46881
41fce8bd
UD
46882 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46883 (libc.pot): Work around missing support for .ksh extension in xgettext.
46884
4769ae77
UD
46885 [BZ #12684]
46886 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46887 if both request failed.
46888 (send_dg): In case of server errors clear resplen or *resplen2.
46889
6b1e7d19
UD
46890 [BZ #12454]
46891 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46892 when there are multiple maps.
46893 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46894 (_dl_fini): Remove test here.
46895
01f16ab0
UD
46896 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46897
b1ebd700
UD
468982011-05-29 Ulrich Drepper <drepper@gmail.com>
46899
7ae22829
UD
46900 [BZ #12350]
46901 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46902 bit from old_res_options.
46903 (gaih_inet): Likewise.
46904
553149f6 46905 [BZ #11099]
18a84741 46906 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
46907 as signed.
46908
652ffab1
UD
46909 * resolv/res_init.c (res_setoptions): Make the code more compact.
46910
16985fd0
UD
46911 [BZ #11558]
46912 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46913 set RES_USEVC.
46914
0464f746
UD
46915 [BZ #11634]
46916 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46917
7d17596c
UD
46918 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46919
cf6bbbd7
UD
46920 [BZ #11781]
46921 * malloc/malloc.h: Declare malloc hook variables as volatile.
46922
13f1ab36
UD
46923 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46924 in last patch.
46925
b1ebd700
UD
46926 [BZ #11799]
46927 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 46928 raise in the comment.
80e2212d
UD
46929 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46930 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46931 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 46932
ce67228d
UD
469332011-05-28 Ulrich Drepper <drepper@gmail.com>
46934
8887a920
UD
46935 [BZ #12811]
46936 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46937 grow the buffers more if it already has to be sufficient.
46938 (build_wcs_upper_buffer): Likewise.
46939 * posix/regexec.c (check_matching): Likewise.
46940 (clean_state_log_if_needed): Likewise.
46941 (extend_buffers): Don't enlarge buffers beyond size of the input
46942 buffer.
46943 Patches mostly by Emil Wojak <emil@wojak.eu>.
46944 * posix/bug-regex32.c: New file.
46945 * posix/Makefile (tests): Add bug-regex32.
46946
4f031072
UD
46947 * locale/findlocale.c (_nl_find_locale): Return right away if
46948 _nl_explode_name failed.
46949 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46950
d0478f0c
UD
46951 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46952
de81b246
UD
46953 * debug/xtrace.sh: Unify messages.
46954 * malloc/memusage.sh: Likewise.
46955
c738465a
UD
46956 [BZ #12813]
46957 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46958 time symbol from vDSO. Substitute with vsyscall if not available.
46959 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46960 __vdso_time.
46961
f1f929d7
UD
46962 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46963 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46964 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46965 Add sendmmsg and internal_sendmmsg.
46966 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46967 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46968 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46969
ce67228d
UD
46970 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46971 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46972 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46973
e57420c6
UD
469742011-05-27 Ulrich Drepper <drepper@gmail.com>
46975
a8509ca5
UD
46976 [BZ #12813]
46977 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46978 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46979 available.
46980 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46981 __vdso_getcpu.
46982
e57420c6
UD
46983 [BZ #12814]
46984 * iconvdata/Makefile (tests): Add bug-iconv9.
46985 * iconvdata/bug-iconv9.c: New file.
46986
4d07db15
AS
469872011-05-27 Andreas Schwab <schwab@redhat.com>
46988
46989 [BZ #12814]
46990 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46991
ea486f69
JJ
469922011-05-25 Jakub Jelinek <jakub@redhat.com>
46993
46994 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46995 (struct user_regs_struct): Change intcs field back to cs.
46996
6f038433
UD
469972011-05-25 Ulrich Drepper <drepper@gmail.com>
46998
46999 * po/ja.po: Update from translation team.
47000
67f86a25
UD
470012011-05-23 Ulrich Drepper <drepper@gmail.com>
47002
47003 [BZ #12795]
47004 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47005 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47006
def7fbd6
AS
470072011-05-20 Andreas Schwab <schwab@redhat.com>
47008
47009 * stdlib/longlong.h: Update from GCC.
47010
f50ef8f1
AS
470112011-05-23 Andreas Schwab <schwab@redhat.com>
47012
47013 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47014 parameter name.
47015 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47016 Add parameter name.
47017 (__sysconf): Pass it down.
47018
de7ce8f1
UD
470192011-05-22 Ulrich Drepper <drepper@gmail.com>
47020
f2962a71
UD
47021 [BZ #12671]
47022 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47023 some situations.
47024 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47025 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47026 add in in __libc_use_alloca calls. Adjust callers.
47027 (glob): Use malloc in some situations.
47028
de7ce8f1
UD
47029 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47030 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47031 pltexit.
47032
aec84f53
UD
470332011-05-21 Ulrich Drepper <drepper@gmail.com>
47034
05bb4a68
UD
47035 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47036 and CLOCK_BOOTTIME_ALARM.
47037
7ea72f99
UD
47038 [BZ #12782]
47039 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47040 is returned.
47041
7e4afad5
UD
47042 * string/_strerror.c (__strerror_r): Print negative errors as signed
47043 numbers.
47044
8e211fec
UD
47045 [BZ #12777]
47046 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47047 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47048 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47049
f7d82dc9
UD
47050 * configure.in: Fix typo in redirection and correct removal of test
47051 files in two cases.
47052
cc9e536d
UD
47053 [BZ #12788]
47054 * locale/setlocale.c (new_composite_name): Fix test to check for
47055 identical name of all categories.
47056
aec84f53
UD
47057 [BZ #12792]
47058 * libio/filedoalloc.c (local_isatty): New function.
47059 (_IO_file_doallocate): Use local_isatty.
47060 * stdio-common/perror.c (perror): In case a new stream is used
47061 forward the stream error.
47062 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47063 error flag.
47064
78e64fdc
RT
470652011-05-20 Ulrich Drepper <drepper@gmail.com>
47066
34a9094f
UD
47067 [BZ #11869]
47068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47069 alloca.
47070 * include/alloca.h (extend_alloca_account): Define.
47071
78e64fdc
RT
47072 [BZ #11857]
47073 * posix/regex.h: Fix comments with documentation of user-accessible
47074 fields after compilation and describe correct free'ing of pattern
47075 after re_compile_pattern.
47076 Patch by Reuben Thomas <rrt@sc3d.org>.
47077
457bddfc
RA
470782011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47079
47080 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47081 and -mno-altivec to prevent the compiler from using Altivec and/or
47082 VSX instructions when the corresponding registers are not available.
47083
a4527b51
AS
470842011-05-19 Andreas Schwab <schwab@redhat.com>
47085
47086 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47087
ed690b2f
UD
470882011-05-19 Ulrich Drepper <drepper@gmail.com>
47089
47090 * libio/freopen.c (freopen): Use __dup2, not dup2.
47091 * libio/freopen64.c (freopen64): Likewise.
47092
8db73634
L
470932011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47094
47095 [BZ #12775]
47096 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47097 * math/Makefile (tests): Add test-powl.
47098 (CFLAGS-test-powl.c): Define.
47099 * math/test-powl.c: New file.
47100
0a197a9d
L
471012011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47102
47103 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47104
ee30c380
UD
471052011-05-17 Ulrich Drepper <drepper@gmail.com>
47106
47107 [BZ #11837]
47108 * iconvdata/gb18030.c: Update to GB18020-2005.
47109
6ce75379
UD
471102011-05-16 Ulrich Drepper <drepper@gmail.com>
47111
a4b89fd8
AR
47112 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47113 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47114 Patch by Aharon Robbins <arnold@skeeve.com>.
47115
ea389b12
UD
47116 [BZ #11892]
47117 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47118 on the stack.
47119
68a3f91f
UD
47120 [BZ #11895]
47121 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47122 through underflows.
47123
15cc7dd1
UD
47124 [BZ #12766]
47125 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47126 point to strings before performing equality test for error_one_per_line
47127 mode.
47128
f3799213
UD
47129 [BZ #11697]
47130 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47131
d79a9c94
UD
47132 [BZ #11820]
47133 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47134 (struct user_fpregs_struct): Avoid __uint*_t types.
47135
56e5eb46
UD
47136 [BZ #6420]
47137 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47138 symbol info. Use it instead of calling _dl_addr locally.
47139 (lock_and_info): New function.
47140 (tr_freehook): Call lock_and_info and pass symbol info as additional
47141 parameter to tr_where.
47142 (tr_mallochook): Likewise.
47143 (tr_reallochook): Likewise.
47144 (tr_memalignhook): Likewise.
47145
6ce75379
UD
47146 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47147 used and couldn't be at all thread-safe.
47148
f8a3b5bf
UD
471492011-05-15 Ulrich Drepper <drepper@gmail.com>
47150
94b7cc37
UD
47151 * libio/freopen.c (freopen): Don't close old file descriptor
47152 before the new one is opened. Instead dup the new file descriptor
47153 to the old one after the new stream is created.
47154 * libio/freopen64.c (freopen64): Likewise.
47155 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47156 * libio/fileops.c (_IO_new_file_close_it): Handle new
47157 _IO_FLAGS2_NOCLOSE flag.
47158 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47159 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47160 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47161 _IO_FLAGS2_NOCLOSE flag.
47162 * include/unistd.h: Add hidden_proto for dup3.
47163 Define __have_dup3.
47164 * io/dup3.c: Define hidden symbol.
47165 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47166
bd25564e
UD
47167 [BZ #7101]
47168 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47169 when an incomplete long option is used.
47170 * posix/tst-getopt_long1.c: New file.
47171 * posix/Makefile (tests): Add tst-getopt_long1.
47172
c84cfef4
UD
47173 [BZ #10138]
47174 * scripts/config.guess: Update from autoconf-2.68.
47175 * scripts/config.sub: Likewise.
47176
3b85df27
UD
47177 [BZ #10157]
47178 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47179 tests into ...
47180 (has_cpuclock): ...this. New function.
47181 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47182 macro here based on has_cpuclock code.
47183
15a856b1
UD
47184 [BZ #10149]
47185 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47186 First byte (not low byte) is now always NUL.
47187 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47188
05f399e6
UD
47189 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47190 Use non-cancelable interfaces.
47191
10a52685 47192 [BZ #9809]
94ecc67d
UD
47193 * locale/iso-639.def: Add entry for Sorani.
47194
f8a3b5bf
UD
47195 [BZ #11901]
47196 * include/stdlib.h: Move include protection to the right place.
47197 Define abort_msg_s. Declare __abort_msg with it.
47198 * stdlib/abort.c (__abort_msg): Adjust type.
47199 * assert/assert.c (__assert_fail_base): New function. Majority
47200 of code from __assert_fail. Allocate memory for __abort_msg with
47201 mmap.
47202 (__assert_fail): Now call __assert_fail_base.
47203 * assert/assert-perr.c: Remove bulk of implementation. Use
47204 __assert_fail_base.
47205 * include/assert.hL Declare __assert_fail_base.
47206 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47207 mmap.
47208 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47209
1af4e298
UD
472102011-05-14 Ulrich Drepper <drepper@gmail.com>
47211
f8a3b5bf 47212 [BZ #11952]
d26dfc60
MG
47213 [BZ #12453]
47214 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47215 until all modules are registered in the DTV.
47216 * elf/Makefile: Add rules to build and run tst-tls19.
47217 * elf/tst-tls19.c: New file.
47218 * elf/tst-tls19mod1.c: New file.
47219 * elf/tst-tls19mod2.c: New file.
47220 * elf/tst-tls19mod3.c: New file.
47221 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47222
2fc54d6f
UD
47223 [BZ #12083]
47224 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47225 correctly.
47226
98d76b46
UD
47227 [BZ #12601]
47228 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47229 two-byte sequence errors.
47230 * iconvdata/Makefile (tests): Add bug-iconv8.
47231 * iconvdata/bug-iconv8.c: New file.
47232
da3c19ef
UD
47233 [BZ #12626]
47234 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47235 buf2 definition.
47236
ca408c15
UD
47237 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47238
d6f67f7d
UD
47239 [BZ #12432]
47240 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47241 (dummy_getcfa): New function.
47242 (init): Get _Unwind_GetCFA address, use dummy if not found.
47243 (backtrace_helper): In recursion check, also check whether CFA changes.
47244 (__backtrace): Completely initialize arg.
47245
1af4e298 47246 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
47247 storing incomplete byte sequence in state object. Avoid testing for
47248 guaranteed too small input if we know there is enough data available.
1af4e298 47249
da62f81b
AS
472502011-05-11 Andreas Schwab <schwab@redhat.com>
47251
47252 * Makeconfig (+link-pie): Indent.
47253 * Rules (binaries-pie): Define if $(have-fpie) and
47254 $(build-shared).
47255 (binaries-shared): Also filter out $(binaries-pie).
47256 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47257 * nscd/Makefile (others-pie): Add nscd.
47258 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47259 ($(objpfx)nscd): Remove command override.
47260 * login/Makefile (others-pie): Add pt_chown.
47261 ($(objpfx)pt_chown): Remove command override.
47262 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47263 remove command overrides.
47264
fcabc0f8
UD
472652011-05-13 Ulrich Drepper <drepper@gmail.com>
47266
20030ae6
UD
47267 * libio/tst_putwc.c: Fix error messages.
47268
fcabc0f8
UD
47269 [BZ #12724]
47270 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47271 currently writing and seek to current position when not.
47272 * libio/Makefile (tests): Add bug-fclose1.
47273 * libio/bug-fclose1.c: New file.
47274
320a5dc0
PB
472752011-05-12 Ulrich Drepper <drepper@gmail.com>
47276
47277 [BZ #12511]
47278 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47279 don't set DF_1_NODELETE here.
47280 (do_lookup_x): When entering new entry test for copy relocation
47281 and if necessary set DF_1_NODELETE flag.
47282 * elf/tst-unique4.cc: New file.
47283 * elf/tst-unique4.h: New file.
47284 * elf/tst-unique4lib.cc: New file.
47285 * elf/Makefile: Add rules to build and run tst-unique4.
47286 Patch by Piotr Bury <pbury@goahead.com>.
47287
22836f52
UD
472882011-05-11 Ulrich Drepper <drepper@gmail.com>
47289
f574184a
UD
47290 [BZ #12052]
47291 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47292
e1fb097f
UD
47293 [BZ #12625]
47294 * misc/mntent_r.c (addmntent): Flush the stream after the output
47295
22836f52
UD
47296 [BZ #12393]
47297 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47298 (is_trusted_path_normalize): Skip initial colon. Append slash
47299 to empty buffer. Duplicate is_trusted_path code but allow
47300 constructed patch to be prefix.
47301 (is_dst): Allow $ORIGIN followed by /.
47302 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47303 Correct testing of result of is_trusted_path_normalize
47304 (decompose_rpath): Fix warning.
47305
7b3b0b2a
UD
473062011-05-10 Ulrich Drepper <drepper@gmail.com>
47307
47308 [BZ #11257]
47309 * grp/initgroups.c (internal_getgrouplist): When we found the service
47310 list through the initgroups entry in nsswitch.conf do not always
47311 continue on a successful lookup. Don't always use the
eac80ce2 47312 __nss_group_database value if it is set.
7b3b0b2a
UD
47313 * nss/nsswitch.conf (initgroups): Change action for successful db
47314 lookup to continue for compatibility.
47315
2a81eaa5
UD
473162011-05-09 Ulrich Drepper <drepper@gmail.com>
47317
be97a69e
UD
47318 [BZ #11532]
47319 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47320 and CP774 modules.
47321 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47322 and CP774 modules.
47323 * iconvdata/tst-tables.sh: Likewise.
47324 * iconvdata/cp770.c: New file.
47325 * iconvdata/cp771.c: New file.
47326 * iconvdata/cp772.c: New file.
47327 * iconvdata/cp773.c: New file.
47328 * iconvdata/cp774.c: New file.
47329 * iconvdata/testdata/CP770: New file.
47330 * iconvdata/testdata/CP770..UTF8: New file.
47331 * iconvdata/testdata/CP771: New file.
47332 * iconvdata/testdata/CP771..UTF8: New file.
47333 * iconvdata/testdata/CP772: New file.
47334 * iconvdata/testdata/CP772..UTF8: New file.
47335 * iconvdata/testdata/CP773: New file.
47336 * iconvdata/testdata/CP773..UTF8: New file.
47337 * iconvdata/testdata/CP774: New file.
47338 * iconvdata/testdata/CP774..UTF8: New file.
47339
47340 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47341 END CHARMAP line.
47342 * iconvdata/gen-8bit-gap.sh: Likewise.
47343 * iconvdata/gen-8bit.sh: Likewise.
47344
c1e9e399
UD
47345 * locale/iso-639.def: Add ary entry.
47346
24c55fb3 47347 [BZ #11258]
96b4b1b0
UD
47348 * locale/C-translit.h.in: Add U20A1 transliteration.
47349
bdc2f971
KB
47350 [BZ #12178]
47351 * locale/iso-639.def: Add wae entry.
47352 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47353
2952b117
UD
47354 [BZ #12545]
47355 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47356 for n.
47357
2a81eaa5
UD
47358 [BZ #12711]
47359 * locale/C-translit.h.in: Add entry for U20B9.
47360 Patch by pravin.d.s@gmail.com.
47361
28377d1b
UD
473622011-05-08 Ulrich Drepper <drepper@gmail.com>
47363
7fb90fb8
UD
47364 [BZ #12713]
47365 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47366 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
47367 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47368 in rtld. Use *stat64.
7fb90fb8 47369 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 47370 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 47371 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
47372 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47373 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47374 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47375 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47376 __fstatat64 macros.
7fb90fb8
UD
47377 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47378 * dirent/rewinddir.c: Add libc_hidden_def.
47379 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 47380 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 47381
28377d1b
UD
47382 * include/dirent.h (__alloc_dir): Add flags parameter.
47383 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47384 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47385 __alloc_dir.
47386 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47387 from fdopendir if O_CLOEXEC is already set.
47388
66bdbaa4
AM
473892011-03-15 Alan Modra <amodra@gmail.com>
47390
47391 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47392 l_tls_firstbyte_offset non-zero. Save padding offset in
47393 l_tls_firstbyte_offset for later use.
47394 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47395 freeing static tls block.
47396
95721191
JN
473972011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47398
47399 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47400 where #ifdef was intended. The intent is to prevent ARG_MAX from
47401 being defined by the kernel headers.
47402
f87dfb1f
UD
474032011-05-07 Ulrich Drepper <drepper@gmail.com>
47404
47405 [BZ #12734]
47406 * resolv/resolv.h: Define RES_NOTLDQUERY.
47407 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47408 no-tld-query and set RES_NOTLDQUERY.
47409 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47410 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47411 modern BIND to search name as TLD unless forbidden.
47412
47c3cd7a
UD
474132011-05-07 Petr Baudis <pasky@suse.cz>
47414 Ulrich Drepper <drepper@gmail.com>
47415
47416 [BZ #12393]
47417 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47418 (is_trusted_path): ...to here.
c1e9ea35 47419 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 47420 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 47421 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 47422
8a35c912
PP
474232011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47424
47425 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47426 __BEGIN/__END_DECLS.
47427
acd41f47
UD
474282011-05-06 Ulrich Drepper <drepper@gmail.com>
47429
47430 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47431 NSS_STATUS_NOTFOUND if no record was found.
47432
597df647
AS
474332011-05-05 Andreas Schwab <schwab@redhat.com>
47434
47435 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47436 (headers-not-in-tirpc): Remove rpc/netdb.h
47437 * resolv/netdb.h: Revert last change.
47438
b9af1301
PP
474392011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47440
47441 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47442 circular dependency between libgcc.a and libc.a.
47443
4e34d5f5
AS
474442011-05-05 Andreas Schwab <schwab@redhat.com>
47445
47446 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47447 * nis/Makefile: Don't install rpcsvc/*.
47448 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47449 instead of <rpc/types.h>.
47450 (MAXHOSTNAMELEN): Define.
47451
00ee369c
AS
474522011-05-03 Andreas Schwab <schwab@redhat.com>
47453
47454 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47455
0b592a30
MB
474562011-04-28 Maciej Babinski <mbabinski@google.com>
47457
47458 [BZ #12714]
47459 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47460 gethostbyname4_r when IPv6 results are possible.
47461
6e04cbbe
UD
474622011-05-02 Ulrich Drepper <drepper@gmail.com>
47463
47464 [BZ #12723]
47465 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47466 _PC_PIPE_BUF handling.
47467
e4ecafe0
BH
474682011-04-30 Bruno Haible <bruno@clisp.org>
47469
47470 [BZ #12717]
47471 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47472 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47473 to 'int'.
47474 * inet/getnameinfo.c (getnameinfo): Likewise.
47475
125ee683
UD
474762011-04-29 Ulrich Drepper <drepper@gmail.com>
47477
47478 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47479 to groups setting in database lookup.
47480 * nss/nsswitch.conf: Add initgroups entry.
47481
b722481a
EB
474822011-04-22 Ulrich Drepper <drepper@gmail.com>
47483
47484 [BZ #12685]
47485 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47486 mode string.
47487 Patch by Eric Blake <eblake@redhat.com>.
47488
4df46dbd
L
474892011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47490
47491 * sunrpc/Makefile (need-export-routines): Add svc_run.
47492 (routines): Remove svc_run.
47493 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47494 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47495 * sunrpc/svc_run.c (svc_run): Likewise.
47496 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47497
e84142d2
UD
474982011-04-21 Ulrich Drepper <drepper@gmail.com>
47499
47500 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47501 problem in reallocation in last patch.
47502
877175d8
UD
475032011-04-20 Ulrich Drepper <drepper@gmail.com>
47504
47505 * sunrpc/Makefile: Move inclusion of Rules.
47506
ab8eed78
UD
475072011-04-19 Ulrich Drepper <drepper@gmail.com>
47508
47509 * nss/nss_files/files-initgroups.c: New file.
47510 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47511 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47512 _nss_files_initgroups_dyn.
47513
e3d8f584
RS
475142011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47515
47516 * elf/elf.h (R_ARM_IRELATIVE): Define.
47517
af190f45
UD
475182011-04-19 Ulrich Drepper <drepper@gmail.com>
47519
47520 * po/ru.po: Update from translation team.
47521
53cf59ef
UD
475222011-04-17 Ulrich Drepper <drepper@gmail.com>
47523
47524 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47525 dependencies.
47526
4c559bcd
MF
475272011-02-06 Mike Frysinger <vapier@gentoo.org>
47528
47529 [BZ #12653]
47530 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47531 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47532 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47533 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47534 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47535
4420675c
AS
475362011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47537
47538 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47539 differing bytes.
47540 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47541 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47542 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47543
75ea32ab
UD
475442011-04-17 Ulrich Drepper <drepper@gmail.com>
47545
47546 [BZ #12420]
47547 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47548 storing it.
47549 * stdlib/bug-getcontext.c: New file.
47550 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47551
27390476
AK
475522011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47553
47554 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47555 instructions into .machine "z9-109".
47556 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47557 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47558
10442705
AK
475592011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47560
47561 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47562 between environment variables and auxiliary vector.
47563
7b57bfe5
UD
475642011-04-16 Ulrich Drepper <drepper@gmail.com>
47565
47566 * Makefile: Add rules to build linkobj/libc.so.
47567 * include/libc-symbols.h: Define libc_hidden_nolink.
47568 * include/rpc/auth.h: Mark functions which are to be hidden.
47569 * include/rpc/auth_des.h: Likewise.
47570 * include/rpc/auth_unix.h: Likewise.
47571 * include/rpc/clnt.h: Likewise.
47572 * include/rpc/des_crypt.h: Likewise.
47573 * include/rpc/key_prot.h: Likewise.
47574 * include/rpc/pmap_clnt.h: Likewise.
47575 * include/rpc/pmap_prot.h: Likewise.
47576 * include/rpc/pmap_rmt.h: Likewise.
47577 * include/rpc/rpc_msg.h: Likewise.
47578 * include/rpc/svc.h: Likewise.
47579 * include/rpc/svc_auth.h: Likewise.
47580 * include/rpc/xdr.h: Likewise.
47581 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47582 * nss/Makefile: Likewise.
47583 * sunrpc/Makefile: Don't install headers. Build library with normal
47584 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47585 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47586 for the compat linking library. Remove use of INTDEF/INTUSE.
47587 * sunrpc/auth_none.c: Likewise.
47588 * sunrpc/auth_unix.c: Likewise.
47589 * sunrpc/authdes_prot.c: Likewise.
47590 * sunrpc/authuxprot.c: Likewise.
47591 * sunrpc/clnt_gen.c: Likewise.
47592 * sunrpc/clnt_perr.c: Likewise.
47593 * sunrpc/clnt_raw.c: Likewise.
47594 * sunrpc/clnt_simp.c: Likewise.
47595 * sunrpc/clnt_tcp.c: Likewise.
47596 * sunrpc/clnt_udp.c: Likewise.
47597 * sunrpc/clnt_unix.c: Likewise.
47598 * sunrpc/des_crypt.c: Likewise.
47599 * sunrpc/des_soft.c: Likewise.
47600 * sunrpc/get_myaddr.c: Likewise.
47601 * sunrpc/key_call.c: Likewise.
47602 * sunrpc/key_prot.c: Likewise.
47603 * sunrpc/netname.c: Likewise.
47604 * sunrpc/pm_getmaps.c: Likewise.
47605 * sunrpc/pm_getport.c: Likewise.
47606 * sunrpc/pmap_clnt.c: Likewise.
47607 * sunrpc/pmap_prot.c: Likewise.
47608 * sunrpc/pmap_prot2.c: Likewise.
47609 * sunrpc/pmap_rmt.c: Likewise.
47610 * sunrpc/publickey.c: Likewise.
47611 * sunrpc/rpc_cmsg.c: Likewise.
47612 * sunrpc/rpc_common.c: Likewise.
47613 * sunrpc/rpc_dtable.c: Likewise.
47614 * sunrpc/rpc_prot.c: Likewise.
47615 * sunrpc/rpc_thread.c: Likewise.
47616 * sunrpc/rtime.c: Likewise.
47617 * sunrpc/svc.c: Likewise.
47618 * sunrpc/svc_auth.c: Likewise.
47619 * sunrpc/svc_authux.c: Likewise.
47620 * sunrpc/svc_raw.c: Likewise.
47621 * sunrpc/svc_run.c: Likewise.
47622 * sunrpc/svc_simple.c: Likewise.
47623 * sunrpc/svc_tcp.c: Likewise.
47624 * sunrpc/svc_udp.c: Likewise.
47625 * sunrpc/svc_unix.c: Likewise.
47626 * sunrpc/svcauth_des.c: Likewise.
47627 * sunrpc/xcrypt.c: Likewise.
47628 * sunrpc/xdr.c: Likewise.
47629 * sunrpc/xdr_array.c: Likewise.
47630 * sunrpc/xdr_float.c: Likewise.
47631 * sunrpc/xdr_intXX_t.c: Likewise.
47632 * sunrpc/xdr_mem.c: Likewise.
47633 * sunrpc/xdr_rec.c: Likewise.
47634 * sunrpc/xdr_ref.c: Likewise.
47635 * sunrpc/xdr_sizeof.c: Likewise.
47636 * sunrpc/xdr_stdio.c: Likewise.
47637
e6c61494
UD
476382011-04-10 Ulrich Drepper <drepper@gmail.com>
47639
47640 [BZ #12650]
47641 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47642 * sysdeps/ia64/dl-tls.h: Likewise.
47643 * sysdeps/powerpc/dl-tls.h: Likewise.
47644 * sysdeps/s390/dl-tls.h: Likewise.
47645 * sysdeps/sh/dl-tls.h: Likewise.
47646 * sysdeps/sparc/dl-tls.h: Likewise.
47647 * sysdeps/x86_64/dl-tls.h: Likewise.
47648 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47649
34fe483e
AS
476502011-03-14 Andreas Schwab <schwab@redhat.com>
47651
47652 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47653 rpath element also skip the following colon.
47654 (expand_dynamic_string_token): Add is_path parameter and pass
47655 down to DL_DST_REQUIRED and _dl_dst_substitute.
47656 (decompose_rpath): Call expand_dynamic_string_token with
47657 non-zero is_path. Ignore empty rpaths.
47658 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47659 with zero is_path.
47660
f12a32e6
AS
476612011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47662
47663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47664 Make cancelable.
47665
38a7d692
UD
476662011-04-09 Ulrich Drepper <drepper@gmail.com>
47667
47668 [BZ #12655]
47669 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47670 Patch by Filipe David Manana <fdmanana@apache.org>.
47671
e451d22b
AS
476722011-04-07 Andreas Schwab <schwab@redhat.com>
47673
47674 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47675 Maintain aligned stack.
47676 (CHECK_RSP): Remove unused macro.
47677
dedc7c7b
UD
476782011-04-03 Ulrich Drepper <drepper@gmail.com>
47679
47680 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47681 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47682
94521213
UD
476832011-04-02 Ulrich Drepper <drepper@gmail.com>
47684
47685 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47686
8cb700c0 47687 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 47688
0354e355
L
476892011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47690
47691 [BZ #12518]
47692 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47693 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47694 * sysdeps/x86_64/memmove.c: New file.
47695 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47696 (memcpy): Renamed to ...
47697 (__new_memcpy): This.
47698 (memcpy): Provide GLIBC_2_14 memcpy.
47699 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47700 (memcpy): Provide GLIBC_2_2_5 memcpy.
47701
8593482f
UD
477022011-04-01 Ulrich Drepper <drepper@gmail.com>
47703
47704 [BZ #12631]
47705 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47706
81a5726b
AS
477072011-03-30 Andreas Schwab <schwab@redhat.com>
47708
47709 * misc/syncfs.c: New file.
47710 * misc/Makefile (routines): Add syncfs.
47711 * posix/unistd.h: Declare syncfs.
47712 * sysdeps/unix/syscalls.list: Add syncfs.
47713
00e5419f
AS
477142011-04-01 Andreas Schwab <schwab@redhat.com>
47715
47716 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47717 open_by_handle_at.
47718 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47719 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47720 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47721 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47722 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47723 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47724 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47725
748876bf
UD
477262011-04-01 Ulrich Drepper <drepper@gmail.com>
47727
658e451d
UD
47728 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47729 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47730 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47731 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47732 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47733 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47734 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47735
748876bf
UD
47736 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47737 sync_file_range.c with -fexceptions.
47738 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47739 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47740 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47741 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47742 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47743 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47744 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
47745 sync_file_range as cancellation point
47746 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47747 now a wrapper around __call_sync_file_range with cancellation handling.
47748 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47749 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47750 function name to __call_sync_file_range.
47751 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47752 Add call_sync_file_range.
748876bf 47753
6e63d5e1
AS
477542011-04-01 Andreas Schwab <schwab@redhat.com>
47755
47756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 47757 bits/timex.h.
6e63d5e1 47758
46998f74
UD
477592011-04-01 Ulrich Drepper <drepper@gmail.com>
47760
4c1423ed
UD
47761 * iconv/iconv.h: Fix typo in comment.
47762 * io/fcntl.h: Likewise.
47763 * libio/stdio.h: Likewise.
47764 * posix/spawn.h: Likewise.
47765 * posix/unistd.h: Likewise.
47766 * stdlib/stdlib.h: Likewise.
47767 * time/time.h: Likewise.
47768 * wcsmbs/wchar.h: Likewise.
47769
158648c0
UD
47770 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47771 open_by_handle): Add.
47772 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47773 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47774 Augment a few comments.
47775 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47776 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47777 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47778 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47779 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47780 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47781 open_by_handle.
47782
46998f74
UD
47783 * io/fcntl.h (AT_EMPTY_PATH): Define.
47784
83fe108b
UD
477852011-03-30 Ulrich Drepper <drepper@gmail.com>
47786
47787 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47788 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47789 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47790 to...
47791 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
47792 * Versions.def: Add GLIBC_2.14.
47793 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47794 Export.
83fe108b 47795
bb242059
UD
477962011-03-22 Ulrich Drepper <drepper@gmail.com>
47797
47798 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47799 round counter.
47800 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47801
c97a1282
L
478022011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47803
47804 [BZ #12597]
47805 * string/test-strncmp.c (do_page_test): New function.
47806 (check2): Likewise.
47807 (test_main): Call check2.
47808 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47809
2a115601
UD
478102011-03-20 Ulrich Drepper <drepper@gmail.com>
47811
47812 [BZ #12587]
47813 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47814 Handle cache information in CPU leaf 4.
47815 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47816
8126d904
UD
478172011-03-18 Ulrich Drepper <drepper@gmail.com>
47818
042c49c6 47819 [BZ #12583]
8126d904
UD
47820 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47821 character representation.
47822 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47823
ccfe366e
RA
478242011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47825
47826 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47827 END(__isnan) to END(__isnanf) to match function entry point/label
47828 EALIGN(__isnanf,...).
47829
c6e13027
JJ
478302011-03-10 Jakub Jelinek <jakub@redhat.com>
47831
47832 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47833
33f85a3f
UD
478342011-03-10 Ulrich Drepper <drepper@gmail.com>
47835
028478fa
UD
47836 [BZ #12510]
47837 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47838 copy from the symbol referenced in the relocation to initialize the
47839 used variable.
47840 Patch by Piotr Bury <pbury@goahead.com>.
47841 * elf/Makefile: Add rules to build and tst-unique3.
47842 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47843 * elf/tst-unique3.cc: New file.
47844 * elf/tst-unique3.h: New file.
47845 * elf/tst-unique3lib.cc: New file.
47846 * elf/tst-unique3lib2.cc: New file.
47847
33f85a3f
UD
47848 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47849
03592fc7
MF
478502011-03-10 Mike Frysinger <vapier@gentoo.org>
47851
47852 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47853 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47854 to _start.
03592fc7 47855
6a5ee102
UD
478562011-03-06 Ulrich Drepper <drepper@gmail.com>
47857
47858 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47859 to-be-loaded object along a path to loader is ld.so.
47860
7e4ba49c
HJ
478612011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47862 Ulrich Drepper <drepper@gmail.com>
47863
47864 * sysdeps/x86_64/memset.S: After aligning destination, code
47865 branches to different locations depending on the value of
47866 misalignment, when multiarch is enabled. Fix this.
47867
478682011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47869
47870 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47871 Set _x86_64_preferred_memory_instruction for AMD processsors.
47872 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47873 Set bit_Prefer_SSE_for_memop for AMD processors.
47874
13a804de
UD
478752011-03-04 Ulrich Drepper <drepper@gmail.com>
47876
47877 * libio/fmemopen.c (fmemopen): Optimize a bit.
47878
9d25c392
AS
478792011-03-03 Andreas Schwab <schwab@redhat.com>
47880
47881 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47882
a5543c6a
RM
478832011-03-03 Roland McGrath <roland@redhat.com>
47884
47885 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47886
012d35f7
DM
478872011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47888
7e4ba49c 47889 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
47890 __bzero_ultra1 instead of __memset_ultra1.
47891
4bff6e01
AS
478922011-02-23 Andreas Schwab <schwab@redhat.com>
47893 Ulrich Drepper <drepper@gmail.com>
47894
47895 [BZ #12509]
47896 * include/link.h (struct link_map): Add l_orig_initfini.
47897 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47898 returning unsuccessfully.
47899 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47900 close of a file loaded at startup, restore the original l_initfini
47901 list.
47902 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47903 list, store the pointer.
47904 * elf/Makefile ($(objpfx)noload-mem): New rule.
47905 (noload-ENV): Define.
47906 (tests): Add $(objpfx)noload-mem.
47907 * elf/noload.c: Include <memcheck.h>.
47908 (main): Call mtrace. Close all opened handles.
47909
f2092faf
AS
479102011-02-17 Andreas Schwab <schwab@redhat.com>
47911
47912 [BZ #12454]
47913 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47914 dependencies are missing.
47915
6c8a2e88
ST
479162011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47917
f2092faf 47918 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
47919 Hurd needs munmap.
47920 * sysdeps/mach/hurd/ifreq.h: New file.
47921
84a42118
PB
479222011-01-27 Petr Baudis <pasky@suse.cz>
47923 Ulrich Drepper <drepper@gmail.com>
47924
071f805e 47925 [BZ 12445]#
84a42118
PB
47926 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47927 to extend_alloca().
47928 * stdio-common/bug23.c: New file.
47929 * stdio-common/Makefile (tests): Add bug23.
47930
e23fe25b
AS
479312010-09-28 Andreas Schwab <schwab@redhat.com>
47932 Ulrich Drepper <drepper@gmail.com>
47933
47934 [BZ #12489]
47935 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47936 before performing relro protection. At old place add assertion
47937 to make sure nothing changed.
47938
d3f02e10
NS
479392011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47940 Glauber de Oliveira Costa <glommer@gmail.com>
47941
47942 * elf/elf.h: Add new ARM TLS relocs.
47943
d55fd7a5
RA
479442011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47945
47946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47947 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47948 cast from r3.
47949 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47950 'tests' variable.
47951 * sysdeps/wordsize-64/tst-writev.c: New file.
47952
2206397e
RA
479532011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47954
47955 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47956 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47957 insns in _dl_start to prevent a TOC reference before relocs are
47958 resolved.
47959
e9433893
UD
479602011-02-15 Ulrich Drepper <drepper@gmail.com>
47961
47962 [BZ #12469]
47963 * Makeconfig: Remove RANLIB definition.
47964 * Makerules: Don't use RANLIB.
47965 * aclocal.m4: Remove ranlib test.
47966 * configure.in: No need to check for ranlib.
47967 * elf/rtld-Rules: Don't use RANLIB.
47968
f75286c6
ST
479692011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47970
8e31c82d
ST
47971 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47972 protection macro.
47973 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47974 inclusion protection macro.
47975
f75286c6
ST
47976 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47977 SIGRTMIN and SIGRTMAX and print information in that case only when
47978 SIGRTMIN is defined.
47979
c1d0e639
JJ
479802011-02-11 Jakub Jelinek <jakub@redhat.com>
47981
47982 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47983 arginfo fn returning -1.
47984
47985 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47986 and thousands string is zero terminated.
47987
edf9294e
AS
479882011-02-03 Andreas Schwab <schwab@redhat.com>
47989
47990 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47991 sysdeps/unix/sysv/linux/bits/socket.h.
47992
2b7e92df
ST
479932011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47994
edf9294e
AS
47995 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47996 (__CPU_COUNT): Remove old macros.
47997 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47998 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47999 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
48000 (__sched_cpualloc, __sched_cpufree): Add declarations.
48001
a4c7ea7b
UD
480022011-02-05 Ulrich Drepper <drepper@gmail.com>
48003
48004 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48005 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48006 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48007 (readdhstai): Return value of addhstaiX call.
48008 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48009 (addgrbyX): Return value returned by cache_addgr.
48010 (readdgrbyname): Return value returned by addgrbyX.
48011 (readdgrbygid): Likewise.
48012 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48013 (addpwbyX): Return value returned by cache_addpw.
48014 (readdpwbyname): Return value returned by addhstbyX.
48015 (readdpwbyuid): Likewise.
48016 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48017 (addservbyX): Return value returned by cache_addserv.
48018 (readdservbyname): Return value returned by addservbyX:
48019 (readdservbyport): Likewise.
48020 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48021 (addhstbyX): Return value returned by cache_addhst.
48022 (readdhstbyname): Return value returned by addhstbyX.
48023 (readdhstbyaddr): Likewise.
48024 (readdhstbynamev6): Likewise.
48025 (readdhstbyaddrv6): Likewise.
48026 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48027 (readdinitgroups): Return value returned by addinitgroupsX.
48028 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48029 (prune_cache): Keep track of timeout value of re-added entries.
48030 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48031 * nscd/nscd.h: Adjust prototypes of readd* functions.
48032
a0bf67cc
RM
480332011-02-04 Roland McGrath <roland@redhat.com>
48034
48035 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48036 (nis_stats): Likewise.
48037 * nis/nis_modify.c (nis_modify): Likewise.
48038 * nis/nis_remove.c (nis_remove): Likewise.
48039 * nis/nis_add.c (nis_add): Likewise.
48040
48041 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48042
48043 * posix/fnmatch_loop.c: Add some consts.
48044
48045 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48046
435b95eb
L
480472011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48048
48049 [BZ #12460]
48050 * config.make.in (config-cflags-novzeroupper): Define.
48051 * configure.in: Substitute libc_cv_cc_novzeroupper.
48052 * elf/Makefile (AVX-CFLAGS): Define.
48053 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48054 (CFLAGS-tst-auditmod4a.c): Likewise.
48055 (CFLAGS-tst-auditmod4b.c): Likewise.
48056 (CFLAGS-tst-auditmod6b.c): Likewise.
48057 (CFLAGS-tst-auditmod6c.c): Likewise.
48058 (CFLAGS-tst-auditmod7b.c): Likewise.
48059 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48060
8517b15e
UD
480612011-02-02 Ulrich Drepper <drepper@gmail.com>
48062
48063 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48064 function to the callback.
48065 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48066
10a656fe
AS
480672011-02-02 Andreas Schwab <schwab@redhat.com>
48068
48069 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48070 of errno.
48071
968dad0a
UD
480722011-01-19 Ulrich Drepper <drepper@gmail.com>
48073
9f94d2ea 48074 [BZ #11724]
968dad0a
UD
48075 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48076 of constructors.
48077 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48078 of destructors.
48079 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48080
48081 [BZ #11724]
48082 * elf/Makefile: Add rules to build and run new test.
48083 * elf/tst-initorder.c: New file.
48084 * elf/tst-initorder.exp: New file.
48085 * elf/tst-initordera1.c: New file.
48086 * elf/tst-initordera2.c: New file.
48087 * elf/tst-initordera3.c: New file.
48088 * elf/tst-initordera4.c: New file.
48089 * elf/tst-initorderb1.c: New file.
48090 * elf/tst-initorderb2.c: New file.
48091 * elf/tst-order-a1.c: New file.
48092 * elf/tst-order-a2.c: New file.
48093 * elf/tst-order-a3.c: New file.
48094 * elf/tst-order-a4.c: New file.
48095 * elf/tst-order-b1.c: New file.
48096 * elf/tst-order-b2.c: New file.
48097 * elf/tst-order-main.c: New file.
48098 New test case by George Gensure <werkt0@gmail.com>.
48099
86e92359
UD
481002010-10-01 Andreas Schwab <schwab@redhat.com>
48101
48102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48103 decoding ACE if AI_CANONIDN.
48104
5d5732b0
UD
481052011-01-18 Ulrich Drepper <drepper@gmail.com>
48106
48107 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48108
a77e8cbc
UD
481092011-01-17 Ulrich Drepper <drepper@gmail.com>
48110
6392473f
UD
48111 * version.h (RELEASE): Bump for 2.13 release.
48112 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48113
620a0529
UD
48114 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48115
18ba70a5
UD
48116 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48117 MADV_NOHUGEPAGE.
32465c3e
UD
48118 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48119 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48120 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48121 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48122 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48123 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48124
c0dafcf1
UD
48125 * posix/getconf.c: Update copyright year.
48126 * catgets/gencat.c: Likewise.
48127 * csu/version.c: Likewise.
48128 * debug/catchsegv.sh: Likewise.
48129 * debug/xtrace.sh: Likewise.
48130 * elf/ldconfig.c: Likewise.
48131 * elf/ldd.bash.in: Likewise.
48132 * elf/sprof.c (print_version): Likewise.
48133 * iconv/iconv_prog.c: Likewise.
48134 * iconv/iconvconfig.c: Likewise.
48135 * locale/programs/locale.c: Likewise.
48136 * locale/programs/localedef.c: Likewise.
48137 * malloc/memusage.sh: Likewise.
48138 * malloc/mtrace.pl: Likewise.
48139 * nscd/nscd.c (print_version): Likewise.
48140 * nss/getent.c: Likewise.
48141
a77e8cbc
UD
48142 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48143 PF_CAIF, and PF_ALG.
48144 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48145
77e8bddf
AS
481462011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48147
1f20b93a
AS
48148 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48149 (modules-names): Use them.
48150 (ifunc-test-modules, ifunc-pie-tests): Define.
48151 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48152 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48153 (test-extras): Likewise.
48154 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48155 $(compile-command.c).
48156 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48157 (all-built-dso): Define.
48158 (check-textrel.out, check-execstack.out): Depend on it.
48159
77e8bddf
AS
48160 * configure.in: Don't override --enable-multi-arch.
48161
bc425b33
UD
481622011-01-15 Ulrich Drepper <drepper@gmail.com>
48163
48164 [BZ #6812]
48165 * nscd/hstcache.c (tryagain): Define.
48166 (cache_addhst): Return tryagain not notfound for temporary errors.
48167 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48168 failed.
48169
794c3ad3
UD
481702011-01-14 Ulrich Drepper <drepper@gmail.com>
48171
70181fdd
UD
48172 [BZ #10563]
48173 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48174 to make the syscall.
48175 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48176
794c3ad3
UD
48177 [BZ #12378]
48178 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48179 and fall back to matching as normal character if the string ends before
48180 the matching ']' is found. This is what POSIX requires.
48181 * posix/testfnm.c: Adjust test result.
48182 * posix/globtest.sh: Adjust test result. Add new test.
48183 * posix/tst-fnmatch.input: Likewise.
48184 * posix/tst-fnmatch2.c: Add new test.
48185
68dc9497
AS
481862010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48187
48188 * elf/Makefile (check-execstack): Revert last change. Depend on
48189 check-execstack.h.
48190 (check-execstack.h): New target.
48191 (generated): Add check-execstack.h.
48192 * elf/check-execstack.c: Include "check-execstack.h".
48193 (main): Revert last change.
48194 (handle_file): Return zero if GNU_STACK is absent and
48195 DEFAULT_STACK_PERMS doesn't include PF_X.
48196
451f001b
UD
481972011-01-13 Ulrich Drepper <drepper@gmail.com>
48198
cfa28e56
UD
48199 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48200 in child fails because the descriptor is already closed.
8cf8ce17
UD
48201 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48202 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48203 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 48204
1086d70d
UD
48205 [BZ #12397]
48206 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48207 syscall.
48208
451f001b
UD
48209 [BZ #10484]
48210 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48211 temporary buffer used to handle multi lookups locally.
a85b5cb4 48212 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 48213
08769175
UD
482142011-01-12 Ulrich Drepper <drepper@gmail.com>
48215
48216 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48217 loader is ld.so.
48218
5e49c52e
UD
482192011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48220
48221 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48222 alignment for SSE2.
48223
60522a5f
UD
482242011-01-12 Ulrich Drepper <drepper@gmail.com>
48225
48226 [BZ #12394]
48227 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48228 characters. When rounding increased number of integer digits recompute
48229 number of groups.
48230 * stdio-common/tst-grouping.c: New file.
48231 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48232
f257bbd7
UD
482332011-01-09 Ulrich Drepper <drepper@gmail.com>
48234
48235 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48236 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48237
48238 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48239 void.
48240 * bits/select.h: Likewise.
48241
fa9c15cb
UD
482422011-01-08 Ulrich Drepper <drepper@gmail.com>
48243
48244 * po/ja.po: Update from translation team.
48245
16c2895f
DM
482462011-01-04 David S. Miller <davem@sunset.davemloft.net>
48247
48248 [BZ #11155]
48249 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48250 implementation just like for lxstat, fxstatat, et al.
48251
2543fef2
JM
482522010-12-27 Jim Meyering <meyering@redhat.com>
48253
48254 [BZ #12348]
48255 * posix/regexec.c (build_trtable): Return failure indication upon
48256 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48257
98727dbe
UD
482582010-12-25 Ulrich Drepper <drepper@gmail.com>
48259
5bd6dc5c
UD
48260 [BZ #12201]
48261 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48262 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48263 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48264 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48265
97983464
UD
48266 [BZ #12207]
48267 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48268
98727dbe
UD
48269 [BZ #12204]
48270 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48271 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48272
4a531bb0
L
482732010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48274
48275 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48276 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48277 script has SORT_BY_INIT_PRIORITY.
48278 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48279 NO_CTORS_DTORS_SECTIONS is defined.
48280 * elf/soinit.c: Likewise.
48281 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48282 NO_CTORS_DTORS_SECTIONS is defined.
48283 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48284 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48285 * sysdeps/sh/init-first.c: Likewise.
48286 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48287
07eb4b71
UD
482882010-12-24 Ulrich Drepper <drepper@gmail.com>
48289
48290 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48291 always use the slow path.
48292
30950a5f
RA
482932010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48294
48295 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48296 similar rule which adds the sysdep directories to the header search in
48297 order to pick up the correct platform stackinfo.h.
48298 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48299 perform test if it is, otherwise return successfully without testing.
48300 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48301 DEFAULT_STACK_PERMS define in stackinfo.h.
48302 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48303 defined in stackinfo.h.
48304 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48305 DEFAULT_STACK_PERMS defined in stackinfo.h.
48306 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48307 * sysdeps/ia64/stackinfo.h: Likewise.
48308 * sysdeps/s390/stackinfo.h: Likewise.
48309 * sysdeps/sh/stackinfo.h: Likewise.
48310 * sysdeps/sparc/stackinfo.h: Likewise.
48311 * sysdeps/x86_64/stackinfo.h: Likewise.
48312 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48313 PF_X for powerpc64. Retain PF_X for powerpc32.
48314
db753e2c
UD
483152010-12-19 Ulrich Drepper <drepper@gmail.com>
48316
14b697f7
UD
48317 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48318 accurately.
db753e2c
UD
48319 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48320 GETDENTS_64BIT_ALIGNED.
48321
28300719
UD
483222010-12-14 Ulrich Drepper <dreper@gmail.com>
48323
14b697f7 48324 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 48325
4f197237
AS
483262010-12-10 Andreas Schwab <schwab@redhat.com>
48327
dbb0472f
AS
48328 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48329 _GNU_SOURCE.
48330
4f197237
AS
48331 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48332 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48333 Remove __restrict.
48334 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48335 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48336
fb88ac72
UD
483372010-12-09 Ulrich Drepper <drepper@gmail.com>
48338
48339 [BZ #11655]
48340 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48341 are initialized.
48342
42acbb92
JJ
483432010-12-09 Jakub Jelinek <jakub@redhat.com>
48344
48345 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48346
c038d98d
UD
483472010-12-03 Ulrich Drepper <drepper@gmail.com>
48348
48349 * po/it.po: Update from translation team.
48350
3a4a2499
L
483512010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48352
48353 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48354 unused codes.
48355
1e24cf6e
UD
483562010-11-30 Ulrich Drepper <drepper@gmail.com>
48357
48358 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48359
a7690819
AS
483602010-11-24 Andreas Schwab <schwab@redhat.com>
48361
48362 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48363 specially.
48364 (gaih_getanswer_slice): Likewise.
48365
3bf8d1b1
JJ
483662010-10-20 Jakub Jelinek <jakub@redhat.com>
48367
48368 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48369
6db52fbb
PB
483702010-05-31 Petr Baudis <pasky@suse.cz>
48371
48372 [BZ #11149]
48373 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48374 silently even in the chroot mode.
48375
eaca7569
UD
483762010-11-22 Ulrich Drepper <drepper@gmail.com>
48377
48378 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48379 last patch a bit. Pretty printing
48380
3056dcdb
UD
483812010-05-31 Petr Baudis <pasky@suse.cz>
48382
48383 [BZ #10085]
48384 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48385 initialization of skip_initgroups_dyn.
48386
cf7c9078
UD
483872010-11-19 Ulrich Drepper <drepper@gmail.com>
48388
48389 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48390 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48391
a1fb5e3e
UD
483922010-11-16 Ulrich Drepper <drepper@gmail.com>
48393
48394 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48395
3540d66b
AS
483962010-11-11 Andreas Schwab <schwab@redhat.com>
48397
48398 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48399 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48400 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48401 ($(objpfx)tst-fnmatch-mem): New rule.
48402 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48403 * posix/tst-fnmatch.c (main): Call mtrace.
48404
13b69574
L
484052010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48406
48407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48408 Support Intel processor model 6 and model 0x2c.
48409
da93d214
LM
484102010-11-10 Luis Machado <luisgpm@br.ibm.com>
48411
48412 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48413 signed comparison.
48414
8ca52c6e
L
484152010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48416
48417 [BZ #12205]
48418 * string/test-strncasecmp.c (check_result): New function.
48419 (do_one_test): Use it.
48420 (check1): New function.
48421 (test_main): Use it.
48422 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48423 Support strcasecmp and strncasecmp.
48424
69da074d
UD
484252010-11-08 Ulrich Drepper <drepper@gmail.com>
48426
48427 [BZ #12194]
48428 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48429 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48430
ff02d528
L
484312010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48432
48433 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48434 IFUNC support.
48435 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48436 memset-x86-64.
48437 * sysdeps/x86_64/multiarch/bzero.S: New file.
48438 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48439 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48440 * sysdeps/x86_64/multiarch/memset.S: New file.
48441 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48443 Set bit_Prefer_SSE_for_memop for Intel processors.
48444 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48445 Define.
48446 (index_Prefer_SSE_for_memop): Define.
48447 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48448
344d0b54
LM
484492010-11-04 Luis Machado <luisgpm@br.ibm.com>
48450
48451 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48452 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48453
c0dde15b
UD
484542010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48455
48456 [BZ #12191]
48457 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48458 (__x86_64_raw_data_cache_size_half): Likewise.
48459 (__x86_64_raw_shared_cache_size): Likewise.
48460 (__x86_64_raw_shared_cache_size_half): Likewise.
48461
48462 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48463 (__x86_64_raw_data_cache_size_half): Likewise.
48464 (__x86_64_raw_shared_cache_size): Likewise.
48465 (__x86_64_raw_shared_cache_size_half): Likewise.
48466 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48467 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48468 and __x86_64_raw_shared_cache_size_half. Round
48469 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48470 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48471 to multiple of 256 bytes.
48472
0e516e0e
MS
484732010-11-03 Ulrich Drepper <drepper@gmail.com>
48474
48475 [BZ #12167]
48476 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48477 of inacessible symlinks. Verify result of symlink before returning it.
48478 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48479 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48480
0e012e87
ER
484812010-10-28 Erich Ritz <erichritz@gmail.com>
48482
48483 * math/math.h (isinf): Fix typo in comment.
48484
de0ff7bc
UD
484852010-11-01 Ulrich Drepper <drepper@gmail.com>
48486
48487 * po/da.po: Update from translation team.
48488
fa41c84d
UD
484892010-10-26 Ulrich Drepper <drepper@gmail.com>
48490
48491 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48492 is added to the list.
48493
f0967738
AK
484942010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48495 Ulrich Drepper <drepper@gmail.com>
48496
48497 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48498 the global list here. Move code to...
48499 (_dl_add_to_namespace_list): ...here. New function.
48500 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48501 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48502 * elf/dl-load.c (lose): Don't remove the element from the list.
48503 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48504 (_dl_map_object): Likewise.
48505
485062010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
48507
48508 [BZ #12159]
48509 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48510 into all bytes of SSE register.
48511 Patch by Richard Li <richardpku@gmail.com>.
48512
f0967738 485132010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
48514
48515 [BZ #12140]
48516 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48517 perturbing.
48518
d0b9e94f
MB
485192010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48520
48521 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48522 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48523 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48524 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48526 submachine.
48527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48528
8e9f92e9
AS
485292010-10-22 Andreas Schwab <schwab@redhat.com>
48530
48531 * include/dlfcn.h (__RTLD_SECURE): Define.
48532 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48533 mode & __RTLD_SECURE instead.
48534 (open_path): Rename preloaded parameter to secure.
48535 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48536 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48537 * elf/dl-deps.c (openaux): Likewise.
48538 * elf/rtld.c (struct map_args): Remove is_preloaded.
48539 (map_doit): Don't use it.
48540 (dl_main): Likewise.
48541 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48542 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48543
bc96fbda
AS
485442010-09-09 Andreas Schwab <schwab@redhat.com>
48545
48546 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48547 (sysd-rules-targets): Remove duplicates.
48548 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48549 rtld-%.$o dependency.
48550
22cd1c9b
AS
485512010-10-18 Andreas Schwab <schwab@redhat.com>
48552
48553 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48554 _dl_map_object do it.
48555
18edac48
UD
485562010-10-19 Ulrich Drepper <drepper@gmail.com>
48557
48558 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48559 fast fma builtins, define the macros in the C99 standard.
48560 (FP_FAST_FMAF): Likewise.
48561 (FP_FAST_FMAL): Likewise.
48562 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48563
48564 * bits/mathdef.h: Update copyright year.
48565 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48566
d2050124
MM
485672010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48568
48569 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48570 builtins, define the macros in the C99 standard.
48571 (FP_FAST_FMAF): Likewise.
48572 (FP_FAST_FMAL): Likewise.
48573 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48574 multiply/add.
48575 (FP_FAST_FMAF): Likewise.
48576
475facd1
JJ
485772010-10-15 Jakub Jelinek <jakub@redhat.com>
48578
48579 [BZ #3268]
48580 * math/libm-test.inc (fma_test): Some new testcases.
48581 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48582 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48583 y and infinite z. Do multiplication by C already in long double.
48584 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48585 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48586 y and infinite z. Do bitwise or of inexact bit into u.d.
48587 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48588 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48589 * sysdeps/i386/fpu/s_fma.S: Removed.
48590 * sysdeps/i386/fpu/s_fmal.S: Removed.
48591
7c08a05c
JJ
485922010-10-16 Jakub Jelinek <jakub@redhat.com>
48593
48594 [BZ #3268]
48595 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48596 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48597 computation is not scheduled after fetestexcept. Fix value
48598 of minimum denormal long double.
48599
f3f7372d
JJ
486002010-10-14 Jakub Jelinek <jakub@redhat.com>
48601
48602 [BZ #3268]
48603 * math/libm-test.inc (fma_test): Add some more tests.
48604 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48605 correctly.
48606
14d43591
AS
486072010-10-15 Andreas Schwab <schwab@redhat.com>
48608
48609 * scripts/data/localplt-s390-linux-gnu.data: New file.
48610 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48611
5e908464
JJ
486122010-10-13 Jakub Jelinek <jakub@redhat.com>
48613
48614 [BZ #3268]
48615 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48616 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48617 instead of dbl-64.
48618 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48619 inlines.
48620 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48621 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48622 if one of x and y is very large and the other is subnormal.
48623 * sysdeps/s390/fpu/s_fmaf.c: New file.
48624 * sysdeps/s390/fpu/s_fma.c: New file.
48625 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48626 * sysdeps/powerpc/fpu/s_fma.S: New file.
48627 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48628 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48629 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48630
486312010-10-12 Jakub Jelinek <jakub@redhat.com>
48632
48633 [BZ #3268]
48634 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48635 fma tests.
48636 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48637 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48638 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48639 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48640 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48641 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48642 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48643
b833d51f
UD
486442010-10-12 Ulrich Drepper <drepper@redhat.com>
48645
48646 [BZ #12078]
48647 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48648 * posix/bug-regex31.input: Add test case.
48649
1751705d
UD
486502010-10-11 Ulrich Drepper <drepper@gmail.com>
48651
e9b9cbf5
UD
48652 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48653 * posix/bug-regex31.input: New file.
48654
48655 [BZ #12078]
48656 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48657 (parse_sub_exp): Fix last change, use postorder.
48658
ef06edbe
UD
48659 * posix/bug-regex31.c: New file.
48660 * posix/Makefile: Add rules to build and run bug-regex31.
48661
a129c80d
UD
48662 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48663
48664 [BZ #12078]
48665 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48666
b76b818e
UD
48667 [BZ #12108]
48668 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48669 to have entries in sys_siglist.
48670
1751705d
UD
48671 [BZ #12093]
48672 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48673 be NULL.
48674
9ff8d36f
JJ
486752010-10-07 Jakub Jelinek <jakub@redhat.com>
48676
48677 [BZ #3268]
48678 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48679 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48680 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48681 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48682 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48683 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48684 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48685 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48686 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48687 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48688 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48689 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48690 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48691 * math/ftestexcept.c (fetestexcept): Likewise.
48692 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48693 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48694 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48695 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48696 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48697 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48698 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48699
af325969
UD
487002010-10-11 Ulrich Drepper <drepper@gmail.com>
48701
c579b202 48702 [BZ #12107]
af325969
UD
48703 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48704 newline.
48705
67a67b95
UD
487062010-10-06 Ulrich Drepper <drepper@gmail.com>
48707
48708 * string/bug-strstr1.c: New file.
48709 * string/Makefile: Add rules to build and run bug-strstr1.
48710
5fb308bc
EB
487112010-10-05 Eric Blake <eblake@redhat.com>
48712
48713 [BZ #12092]
48714 * string/str-two-way.h (two_way_long_needle): Always clear memory
48715 when skipping input due to the shift table.
48716
45db99c7
UD
487172010-10-03 Ulrich Drepper <drepper@gmail.com>
48718
3b111893
UD
48719 [BZ #12005]
48720 * malloc/mcheck.c: Handle large requests.
48721
45db99c7
UD
48722 [BZ #12077]
48723 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48724 for strncmp and strncasecmp.
48725 * string/stratcliff.c: Add tests for strcmp and strncmp.
48726 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48727
cf7a1eb8
NI
487282010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48729
48730 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48731 __set_fpscr.
48732
6484ba5e
AJ
487332010-09-30 Andreas Jaeger <aj@suse.de>
48734
48735 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48736 (CGROUP_SUPER_MAGIC): Define.
48737 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48738 Handle btrfs and cgroup file systems.
48739 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48740 Likewise.
48741
91c42559
LM
487422010-09-27 Luis Machado <luisgpm@br.ibm.com>
48743
48744 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48745 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48746
87a97932
AK
487472010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48748
48749 [BZ #12067]
48750 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48751 trying to locate the ELF header.
48752
c21cc9bc
AS
487532010-09-27 Andreas Schwab <schwab@redhat.com>
48754
48755 [BZ #11611]
48756 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48757 Mask out sign-bit copies when constructing f_fsid.
48758
315970f6
PB
487592010-09-24 Petr Baudis <pasky@suse.cz>
48760
48761 * debug/stack_chk_fail_local.c: Add missing licence exception.
48762 * debug/warning-nop.c: Likewise.
48763
1ac7a2c7
JM
487642010-09-15 Joseph Myers <joseph@codesourcery.com>
48765
48766 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48767 implementing getdents64 using getdents syscall, set d_type if
48768 __ASSUME_GETDENTS32_D_TYPE.
48769
56801c50
AS
487702010-09-16 Andreas Schwab <schwab@redhat.com>
48771
48772 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48773 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48774
dda51327
UD
487752010-09-21 Ulrich Drepper <drepper@redhat.com>
48776
48777 [BZ #12037]
48778 * posix/unistd.h: Undo change of feature selection for ftruncate from
48779 2010-01-11.
48780
8ffcee4a
UD
487812010-09-20 Ulrich Drepper <drepper@redhat.com>
48782
a545ecd9 48783 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
48784 detection.
48785
e24f0a8b
AS
487862010-09-20 Andreas Schwab <schwab@redhat.com>
48787
48788 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48789 fanotify_mark.
48790 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48791
7291c56f
AS
487922010-09-14 Andreas Schwab <schwab@redhat.com>
48793
48794 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48795 variables after CHECK_SP call.
48796 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48797
bc5fb037
AS
487982010-09-13 Andreas Schwab <schwab@redhat.com>
48799 Ulrich Drepper <drepper@redhat.com>
48800
48801 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48802 re-relocationg ld.so.
48803 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48804 _dl_init_paths call.
48805 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48806 here anymore.
48807
e66e7419
UD
488082010-09-14 Ulrich Drepper <drepper@redhat.com>
48809
48810 * resolv/res_init.c (__res_vinit): Count the default server we added.
48811
c044aa75
CLT
488122010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48813 Ulrich Drepper <drepper@redhat.com>
48814
48815 [BZ #11968]
48816 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48817 (____longjmp_chk): Use %ebx for saving value across system call.
48818 Add unwind info.
48819
32cf4069
AS
488202010-09-06 Andreas Schwab <schwab@redhat.com>
48821
48822 * manual/Makefile: Don't mix pattern rules with normal rules.
48823
817328ee
AS
488242010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48825
48826 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48827 operation.
48828 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48829 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48830 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48831 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48832 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48833 Likewise.
48834
29fddf61
UD
488352010-09-04 Ulrich Drepper <drepper@redhat.com>
48836
48837 [BZ #11979]
48838 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48839 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48840
0959ffc9
UD
488412010-09-02 Ulrich Drepper <drepper@redhat.com>
48842
48843 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48844 * sysdeps/x86_64/addmul_1.S: Likewise.
48845 * sysdeps/x86_64/lshift.S: Likewise.
48846 * sysdeps/x86_64/mul_1.S: Likewise.
48847 * sysdeps/x86_64/rshift.S: Likewise.
48848 * sysdeps/x86_64/sub_n.S: Likewise.
48849 * sysdeps/x86_64/submul_1.S: Likewise.
48850
ece29840
ST
488512010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48852
0959ffc9
UD
48853 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48854 Define __sched_param instead of SCHED_* and sched_param when
ece29840 48855 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 48856 * bits/sched.h [__need_schedparam]
ece29840 48857 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
48858 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48859 (__defined_schedparam): Define to 1.
ece29840
ST
48860 (__sched_param): New structure, identical to sched_param.
48861 (__need_schedparam): Undefine.
48862
e53a31fe
MF
488632010-08-31 Mike Frysinger <vapier@gentoo.org>
48864
fdc0c10d
MF
48865 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48866 (epoll_create1): Declare.
48867
e53a31fe
MF
48868 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48869
a726d796
AS
488702010-08-31 Andreas Schwab <schwab@redhat.com>
48871
48872 [BZ #7066]
48873 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48874 shifting retval into place.
48875
2f3e3dc7
UD
488762010-09-01 Ulrich Drepper <drepper@redhat.com>
48877
f2933da9
UD
48878 * nis/rpcsvc/nis.h: Update copyright notice.
48879 * nis/rpcsvc/nis.x: Likewise.
48880 * nis/rpcsvc/nis_callback.h: Likewise.
48881 * nis/rpcsvc/nis_callback.x: Likewise.
48882 * nis/rpcsvc/nis_object.x: Likewise.
48883 * nis/rpcsvc/nis_tags.h: Likewise.
48884 * nis/rpcsvc/yp.h: Likewise.
48885 * nis/rpcsvc/yp.x: Likewise.
48886 * nis/rpcsvc/ypupd.h: Likewise.
48887 * nis/yp_xdr.c: Likewise.
48888 * nis/ypupdate_xdr.c: Likewise.
48889
2f3e3dc7
UD
48890 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48891 mainly the body of pmap_getport. Add parameters to specify timeouts.
48892 (pmap_getport): Use __libc_rpc_getport.
48893 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48894 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48895 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48896
f3dcc2f9
AS
488972010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48898
48899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48900 fanotify_mark.
48901
6d34eb5b
RM
489022010-08-27 Roland McGrath <roland@redhat.com>
48903
48904 * sysdeps/i386/i686/multiarch/Makefile
48905 (CFLAGS-varshift.c): New variable.
48906
9ea3de11
UD
489072010-08-27 Ulrich Drepper <drepper@redhat.com>
48908
c96d23fc
UD
48909 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48910 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48911
9ea3de11
UD
48912 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48913
48914 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48915
623aac7f
L
489162010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48917
48918 * sysdeps/x86_64/strlen.S: Unroll the loop.
48919 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48920 strlen-sse2 strlen-sse2-bsf.
48921 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48922 __strlen_no_bsf if bit_Slow_BSF is set.
48923 (__strlen_sse42): Removed.
48924 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48925 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48926
8b2b7715
RM
489272010-08-25 Roland McGrath <roland@redhat.com>
48928
48929 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48930 * sysdeps/x86_64/multiarch/varshift.c: New file.
48931 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48932 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48933 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48934 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48935
e73015f2
L
489362010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48937
48938 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48939 strlen-sse2 strlen-sse2-bsf.
48940 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48941 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48942 (__strlen_sse2): Removed.
48943 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48944 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48945 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48946 bit_Slow_BSF for Atom.
48947 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48948 (index_Slow_BSF): Define.
48949 (HAS_SLOW_BSF): Define.
48950
df24a73e
UD
489512010-08-25 Ulrich Drepper <drepper@redhat.com>
48952
48953 [BZ #10851]
48954 * resolv/res_init.c (__res_vinit): When no server address at all
48955 is given default to loopback.
48956
f2ac4868
RM
489572010-08-24 Roland McGrath <roland@redhat.com>
48958
09055553
RM
48959 * configure.in: Remove config-name.h generation.
48960 * configure: Regenerated.
48961 * config-name.in: File removed.
48962 * scripts/config-uname.sh: New file.
48963 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48964 ($(objdir)config-name.h): New target.
48965
f2ac4868
RM
48966 * sunrpc/rpc_parse.h: Avoid nested comment.
48967
73f27d5e
RH
489682010-08-24 Richard Henderson <rth@redhat.com>
48969 Ulrich Drepper <drepper@redhat.com>
48970 H.J. Lu <hongjiu.lu@intel.com>
48971
48972 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48973 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48974 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48975 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48976 _mm_alignr_epi8 with _mm_loadu_si128.
48977 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48978 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48979 (__m128i_shift_right): Removed.
48980 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48981 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48982 * sysdeps/x86_64/multiarch/varshift.h: New file.
48983 * sysdeps/x86_64/multiarch/varshift.S: New file.
48984
84b9230c
MF
489852010-08-21 Mike Frysinger <vapier@gentoo.org>
48986
48987 * configure.in: Move assembler checks to before sysdep dir checking.
48988
9bbd0ddc
PB
489892010-08-20 Petr Baudis <pasky@suse.cz>
48990
48991 * LICENSES: Sync the sunrpc license.
48992
9da4bb31
UD
489932010-08-19 Ulrich Drepper <drepper@redhat.com>
48994
a7ab6ec8
UD
48995 * sunrpc/auth_des.c: Update copyright notice once again.
48996 * sunrpc/auth_none.c: Likewise.
48997 * sunrpc/auth_unix.c: Likewise.
48998 * sunrpc/authdes_prot.c: Likewise.
48999 * sunrpc/authuxprot.c: Likewise.
49000 * sunrpc/bindrsvprt.c: Likewise.
49001 * sunrpc/clnt_gen.c: Likewise.
49002 * sunrpc/clnt_perr.c: Likewise.
49003 * sunrpc/clnt_raw.c: Likewise.
49004 * sunrpc/clnt_simp.c: Likewise.
49005 * sunrpc/clnt_tcp.c: Likewise.
49006 * sunrpc/clnt_udp.c: Likewise.
49007 * sunrpc/clnt_unix.c: Likewise.
49008 * sunrpc/des_crypt.c: Likewise.
49009 * sunrpc/des_soft.c: Likewise.
49010 * sunrpc/get_myaddr.c: Likewise.
49011 * sunrpc/getrpcport.c: Likewise.
49012 * sunrpc/key_call.c: Likewise.
49013 * sunrpc/key_prot.c: Likewise.
49014 * sunrpc/openchild.c: Likewise.
49015 * sunrpc/pm_getmaps.c: Likewise.
49016 * sunrpc/pm_getport.c: Likewise.
49017 * sunrpc/pmap_clnt.c: Likewise.
49018 * sunrpc/pmap_prot.c: Likewise.
49019 * sunrpc/pmap_prot2.c: Likewise.
49020 * sunrpc/pmap_rmt.c: Likewise.
49021 * sunrpc/rpc/auth.h: Likewise.
49022 * sunrpc/rpc/auth_unix.h: Likewise.
49023 * sunrpc/rpc/clnt.h: Likewise.
49024 * sunrpc/rpc/des_crypt.h: Likewise.
49025 * sunrpc/rpc/key_prot.h: Likewise.
49026 * sunrpc/rpc/netdb.h: Likewise.
49027 * sunrpc/rpc/pmap_clnt.h: Likewise.
49028 * sunrpc/rpc/pmap_prot.h: Likewise.
49029 * sunrpc/rpc/pmap_rmt.h: Likewise.
49030 * sunrpc/rpc/rpc.h: Likewise.
49031 * sunrpc/rpc/rpc_des.h: Likewise.
49032 * sunrpc/rpc/rpc_msg.h: Likewise.
49033 * sunrpc/rpc/svc.h: Likewise.
49034 * sunrpc/rpc/svc_auth.h: Likewise.
49035 * sunrpc/rpc/types.h: Likewise.
49036 * sunrpc/rpc/xdr.h: Likewise.
49037 * sunrpc/rpc_clntout.c: Likewise.
49038 * sunrpc/rpc_cmsg.c: Likewise.
49039 * sunrpc/rpc_common.c: Likewise.
49040 * sunrpc/rpc_cout.c: Likewise.
49041 * sunrpc/rpc_dtable.c: Likewise.
49042 * sunrpc/rpc_hout.c: Likewise.
49043 * sunrpc/rpc_main.c: Likewise.
49044 * sunrpc/rpc_parse.c: Likewise.
49045 * sunrpc/rpc_parse.h: Likewise.
49046 * sunrpc/rpc_prot.c: Likewise.
49047 * sunrpc/rpc_sample.c: Likewise.
49048 * sunrpc/rpc_scan.c: Likewise.
49049 * sunrpc/rpc_scan.h: Likewise.
49050 * sunrpc/rpc_svcout.c: Likewise.
49051 * sunrpc/rpc_tblout.c: Likewise.
49052 * sunrpc/rpc_util.c: Likewise.
49053 * sunrpc/rpc_util.h: Likewise.
49054 * sunrpc/rpcinfo.c: Likewise.
49055 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49056 * sunrpc/rpcsvc/key_prot.x: Likewise.
49057 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49058 * sunrpc/rpcsvc/mount.x: Likewise.
49059 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49060 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49061 * sunrpc/rpcsvc/rex.x: Likewise.
49062 * sunrpc/rpcsvc/rstat.x: Likewise.
49063 * sunrpc/rpcsvc/rusers.x: Likewise.
49064 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49065 * sunrpc/rpcsvc/spray.x: Likewise.
49066 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49067 * sunrpc/rtime.c: Likewise.
49068 * sunrpc/svc.c: Likewise.
49069 * sunrpc/svc_auth.c: Likewise.
49070 * sunrpc/svc_authux.c: Likewise.
49071 * sunrpc/svc_raw.c: Likewise.
49072 * sunrpc/svc_run.c: Likewise.
49073 * sunrpc/svc_simple.c: Likewise.
49074 * sunrpc/svc_tcp.c: Likewise.
49075 * sunrpc/svc_udp.c: Likewise.
49076 * sunrpc/svc_unix.c: Likewise.
49077 * sunrpc/svcauth_des.c: Likewise.
49078 * sunrpc/xcrypt.c: Likewise.
49079 * sunrpc/xdr.c: Likewise.
49080 * sunrpc/xdr_array.c: Likewise.
49081 * sunrpc/xdr_float.c: Likewise.
49082 * sunrpc/xdr_mem.c: Likewise.
49083 * sunrpc/xdr_rec.c: Likewise.
49084 * sunrpc/xdr_ref.c: Likewise.
49085 * sunrpc/xdr_sizeof.c: Likewise.
49086 * sunrpc/xdr_stdio.c: Likewise.
49087
9da4bb31
UD
49088 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49089 handling.
49090
bdaa77bc
AS
490912010-08-19 Andreas Schwab <schwab@redhat.com>
49092
49093 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49094
fe2f79db
LM
490952010-08-19 Luis Machado <luisgpm@br.ibm.com>
49096
49097 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49098 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49099 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49100 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49101 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49102 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49103 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49104 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49105 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49106 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49107 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49108 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49109 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49110 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49111
b9b42ee0
AB
491122010-07-26 Anton Blanchard <anton@samba.org>
49113
49114 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49115 * malloc/arena.c (heap_trim): Likewise.
49116
1c06ba31
UD
491172010-08-16 Ulrich Drepper <drepper@redhat.com>
49118
49119 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49120 here. Not...
49121 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49122 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49123
f8392f40
L
491242010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49125
49126 * sysdeps/i386/elf/Makefile: New file.
49127
3162f12e
AS
491282010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49129
49130 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49131 from fanotify_init.
49132 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49133 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49134
28c90b2c
UD
491352010-08-15 Ulrich Drepper <drepper@redhat.com>
49136
49137 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49138 of strncasecmp_l.
1feccb6c 49139 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 49140
ca6bb004
UD
491412010-08-14 Ulrich Drepper <drepper@redhat.com>
49142
e9f82e0d
UD
49143 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49144 strncase_l-nonascii.
49145 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49146 Add strncase_l-ssse3.
49147 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49148 * sysdeps/x86_64/strcmp.S: Likewise.
49149 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49150 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49151 * sysdeps/x86_64/strncase.S: New file.
49152 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49153 * sysdeps/x86_64/strncase_l.S: New file.
49154 * string/Makefile (strop-tests): Add strncasecmp.
49155 * string/test-strncasecmp.c: New file.
49156
49157 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49158 warning.
49159
ca6bb004
UD
49160 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49161 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49162
052fa7b3
AS
491632010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49164
49165 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49166
962dba78
UD
491672010-08-12 Ulrich Drepper <drepper@redhat.com>
49168
49169 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49170 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49171 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49172
bebff237
AM
491732010-05-01 Alan Modra <amodra@gmail.com>
49174
49175 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49176 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49177 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49178 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49179 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49180 tidying. Don't tail-call __sigjmp_save for static lib.
49181 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49182 save location.
49183 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49184 (CALL_MCOUNT): Add eh info, and nop after bl.
49185 (TAIL_CALL_SYSCALL_ERROR): New macro.
49186 (PSEUDO_RET): Use it.
49187 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49188 Correct save location of integer regs and cr.
49189 (_dl_profile_resolve): Correct cr save location. Delete nops
49190 after bl when SHARED. Reduce cfi size a little by better
49191 placement of cfi directives.
49192 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49193 make a stack frame. Instead use parm save area as a temp.
49194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49195 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49197 Don't make a stack frame for parent, use parm save area.
49198 Increase child stack frame to 112 bytes. Don't save unused reg,
49199 and adjust reg usage. Set up cfi on error recovery and
49200 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49202 (__makecontext): Add dummy nop after jump to exit.
49203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49204 Use correct parm save area and cr save, reduce stack frame.
49205 Correct cfi for possible PSEUDO_RET frame setup.
49206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49207 Branch to local label emitted by PSEUDO_RET rather than
49208 __syscall_error.
49209
02637374
AS
492102010-08-12 Andreas Schwab <schwab@redhat.com>
49211
49212 [BZ #11904]
49213 * locale/programs/locale.c (print_assignment): New function.
49214 (show_locale_vars): Use it.
49215
c3e2f19b
UD
492162010-08-11 Ulrich Drepper <drepper@redhat.com>
49217
3cdaa6ad
UD
49218 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49219 field.
49220 (struct statfs64): Likewise.
49221 (_STATFS_F_FLAGS): Define.
49222 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49223 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49224 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49225 (ST_VALID): Define locally.
49226 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49227 __statvfs_getflags, use the provided value.
49228 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49229 __ASSUME_STATFS_F_FLAGS.
49230
754f7da3
UD
49231 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49232
10b3bedc
UD
49233 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49234 Add sys/fanotify.h.
49235 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49236 fanotify_mask for GLIBC_2.13.
49237 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49238 fanotify_init and fanotify_mark.
49239 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49240 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49241
c08fb0d7
UD
49242 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49243 Add prlimit.
49244 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49245 prlimit64 for GLIBC_2.13.
49246 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49247 prlimit64.
49248 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49249 syscall.
49250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49251 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49252 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49253 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49254 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49255 add prlimit alias.
49256 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49257
15bac72b
UD
49258 [BZ #11903]
49259 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49260 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49261
c3e2f19b
UD
49262 * nss/Makefile: Add rules to build and run tst-nss-test1.
49263 * shlib-versions: Add entry for libnss_test1.
49264 * nss/nss_test1.c: New file.
49265 * nss/tst-nss-test1.c: New file.
49266
49267 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49268 (__nss_configure_lookup): Set appropriate entry in
49269 __nss_configure_lookup to true.
49270 * nss/nsswitch.h: Define enum with indeces of databases in
49271 databases and __nss_database_custom arrays. Declare
49272 __nss_database_custom.
49273 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49274 to avoid using nscd when custom rules are installed.
49275 * nss/getXXbyYY_r.c: Likewise.
49276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49277
49278 * nss/nss_files/files-parse.c: Whitespace fixes.
49279
f15ce4d8
UD
492802010-08-09 Ulrich Drepper <drepper@redhat.com>
49281
49282 [BZ #11883]
49283 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49284 * posix/fnmatch_loop.c: Likewise.
49285
d22e4cc9
AK
492862010-07-17 Andi Kleen <ak@linux.intel.com>
49287
49288 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49289 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49290 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49291 * Versions.def [GLIBC_2.13]: Add.
49292
805bc17d
UD
492932010-08-06 Ulrich Drepper <drepper@redhat.com>
49294
49295 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49296 Also fail if tpwd after pwuid call is NULL.
49297
5a42321d
ST
492982010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49299
49300 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49301 when converting to ms.
49302
fd3ebeda
ST
493032010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49304
49305 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49306 EOPNOTSUPP errors with ENOTTY.
49307 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49308 EOPNOTSUPP errors with ENOTTY.
49309
73507d3a
UD
493102010-07-31 Ulrich Drepper <drepper@redhat.com>
49311
49312 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49313 Add strcasecmp_l-ssse3.
49314 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49315 strcasecmp.
49316 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49317 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49318 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49319
fe36dd02
UD
493202010-07-30 Ulrich Drepper <drepper@redhat.com>
49321
66f6765a
UD
49322 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49323
42e08a54
UD
49324 * string/Makefile (strop-tests): Add strcasecmp.
49325 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49326 strcasecmp_l-nonascii.
49327 (gen-as-const-headers): Add locale-defines.sym.
49328 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49329 * sysdeps/x86_64/strcasecmp.S: New file.
49330 * sysdeps/x86_64/strcasecmp_l.S: New file.
49331 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49332 * sysdeps/x86_64/locale-defines.sym: New file.
49333 * string/test-strcasecmp.c: New file.
49334
fe36dd02
UD
49335 * string/test-strcasestr.c: Test both ends of the range of characters.
49336 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49337
48cbc0d6
RM
493382010-07-29 Roland McGrath <roland@redhat.com>
49339
76e6d6bc 49340 [BZ #11856]
48cbc0d6
RM
49341 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49342
880113d9
UD
493432010-07-27 Ulrich Drepper <drepper@redhat.com>
49344
49345 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49346 for ld.so.
49347
deb9cabb
AS
493482010-07-27 Andreas Schwab <schwab@redhat.com>
49349
49350 * manual/memory.texi (Malloc Tunable Parameters): Document
49351 M_PERTURB.
49352
1c7570ff
RM
493532010-07-26 Roland McGrath <roland@redhat.com>
49354
49355 [BZ #11840]
49356 * configure.in (-fgnu89-inline check): Set and substitute
49357 gnu89_inline, not libc_cv_gnu89_inline.
49358 * configure: Regenerated.
49359 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49360
24fb0f88
UD
493612010-07-26 Ulrich Drepper <drepper@redhat.com>
49362
49363 * string/test-strnlen.c: New file.
49364 * string/Makefile (strop-tests): Add strnlen.
49365 * string/tester.c (test_strnlen): Add a few more test cases.
49366 * string/tst-strlen.c: Better error reporting.
49367
49368 * sysdeps/x86_64/strnlen.S: New file.
49369
8e96b93a
UD
493702010-07-24 Ulrich Drepper <drepper@redhat.com>
49371
49372 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49373 lower-latency instructions.
49374
dbc676d4
UD
493752010-07-23 Ulrich Drepper <drepper@redhat.com>
49376
49377 * string/test-strcasestr.c: New file.
49378 * string/test-strstr.c: New file.
49379 * string/Makefile (strop-tests): Add strstr and strcasestr.
49380 * string/str-two-way.h: Don't undefine MAX.
49381 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49382
f6a31e0e
AS
493832010-07-21 Andreas Schwab <schwab@redhat.com>
49384
49385 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49386 strcasestr-nonascii.
49387 (CFLAGS-strcasestr-nonascii.c): Define.
49388 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49389 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49390 Remove unused attribute.
49391
5dbc3b6c
RM
493922010-07-20 Roland McGrath <roland@redhat.com>
49393
49394 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49395 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49396 ld.so.cache was broken. With it, there is no way to disable dsocaps
49397 like LD_HWCAP_MASK can disable hwcaps.
49398
23d101d8
EPM
493992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49400
49401 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49402
cc9f2e47
UD
494032010-07-16 Ulrich Drepper <drepper@redhat.com>
49404
49405 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49406 call in strcasestr.
49407 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49408 __strcasestr_sse42_nonascii.
49409 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49410 strcasestr-nonascii.c.
49411 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49412
77c1b069
LM
494132010-06-15 Luis Machado <luisgpm@br.ibm.com>
49414
49415 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49416 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49417 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49418 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49419
440566c3
UD
494202010-07-09 Ulrich Drepper <drepper@redhat.com>
49421
49422 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49423 fcntl.
49424
5be9d05d
AS
494252010-07-06 Andreas Schwab <schwab@redhat.com>
49426
c30b7ee2 49427 [BZ #11577]
5be9d05d
AS
49428 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49429 dl_signal_cerror.
49430
8a492a67
UD
494312010-07-06 Ulrich Drepper <drepper@redhat.com>
49432
49433 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49434 _PC_PIPE_BUF using F_GETPIPE_SZ.
49435
713df3d5
RM
494362010-07-05 Roland McGrath <roland@redhat.com>
49437
49438 * manual/arith.texi (Rounding Functions): Fix rint description
49439 implicit in round description.
49440
702e8f14
UD
494412010-07-02 Ulrich Drepper <drepper@redhat.com>
49442
49443 * elf/Makefile: Fix linking for a few tests to make recent linker
49444 happy.
49445
52ed8be9
AS
494462010-06-30 Andreas Schwab <schwab@redhat.com>
49447
49448 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49449 $(common-objpfx)libc_nonshared.a.
49450
f47c9a11
LM
494512010-06-21 Luis Machado <luisgpm@br.ibm.com>
49452
49453 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49454 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49455 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49456 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49457 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49458 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49459 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49460 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49475 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49476 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49477 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49478 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49479 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49480 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49481 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49482 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49483 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49484 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49485 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49486 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49501
6fb8cbcb
L
495022010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49503
49504 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49505 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49506 * string/memmove.c (memmove): Renamed to ...
49507 (MEMMOVE): ...this. Default to memmove.
49508 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49509 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49510 (END_CHK): Define.
49511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49512 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49513 mempcpy-ssse3-back memmove-ssse3-back.
49514 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49515 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49516 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49517 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49518 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49519 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49520 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49521 * sysdeps/x86_64/multiarch/memmove.c: New file.
49522 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49523 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49524 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49525 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49526 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49527 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49528 Define.
49529 (index_Fast_Copy_Backward): Define.
49530 (HAS_ARCH_FEATURE): Define.
49531 (HAS_FAST_REP_STRING): Define.
49532 (HAS_FAST_COPY_BACKWARD): Define.
49533
4e733bac 495342010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
49535
49536 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49537 Restore proper fallback handling.
49538
63c4ed22
UD
495392010-06-19 Ulrich Drepper <drepper@redhat.com>
49540
ac2b484c
UD
49541 [BZ #11701]
49542 * posix/group_member.c (__group_member): Correct checking loop.
49543
63c4ed22
UD
49544 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49545 OOM in getpwuid_r correctly. Return error number when the caller
49546 should return, otherwise -1.
49547 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49548 call returning > 0 value.
49549 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49550
765ade4b
AS
495512010-06-07 Andreas Schwab <schwab@redhat.com>
49552
49553 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49554 libc_nonshared.a from targets in modules-names.
49555
80da2e09
KS
495562010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49557
49558 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49559 requires it.
49560
158db122
LM
495612010-06-10 Luis Machado <luisgpm@br.ibm.com>
49562
49563 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49564 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49565 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49566 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49567
caa78cf8
AS
495682010-06-02 Andreas Schwab <schwab@redhat.com>
49569
49570 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49571
b2ef2c01
UD
495722010-06-14 Ulrich Drepper <drepper@redhat.com>
49573
49574 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49575 and F_GETPIPE_SZ.
49576 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49577 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49578 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49580 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49581 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49582
fbd643b6
RM
495832010-06-14 Roland McGrath <roland@redhat.com>
49584
49585 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49586
f32f2869
JJ
495872010-06-07 Jakub Jelinek <jakub@redhat.com>
49588
49589 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49590 __REDIRECT followed by __THROW.
49591 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49592 * posix/getopt.h (getopt): Likewise.
49593
2a50c078
EPM
495942010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49595
49596 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49597 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49598 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49599 in AT_FLAGS.
49600 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49601 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49602
eb5ad2eb
LM
496032010-05-28 Luis Machado <luisgpm@br.ibm.com>
49604
49605 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49606
3c88fe1e
L
496072010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49608
49609 [BZ #11640]
49610 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49611 Properly check family and model.
49612
d2f73151
TY
496132010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49614
49615 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49616
ebd2e13d
LM
496172010-05-24 Luis Machado <luisgpm@br.ibm.com>
49618
49619 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49620
b32b8b45
UD
496212010-05-21 Ulrich Drepper <drepper@redhat.com>
49622
49623 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49624 symbol reference.
49625
9acbe24d
AS
496262010-05-19 Andreas Schwab <schwab@redhat.com>
49627
49628 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49629 symbol reference.
49630
f0ccf6ea
AS
496312010-05-21 Andreas Schwab <schwab@redhat.com>
49632
3d04ff3a
AS
49633 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49634 and internal_recvmmsg.
49635 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49636 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49637 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49638 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49639
f0ccf6ea
AS
49640 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49641 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49642 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49643
5b08ac57
AS
496442010-05-20 Andreas Schwab <schwab@redhat.com>
49645
49646 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49647
4828935d
LM
496482010-05-17 Luis Machado <luisgpm@br.ibm.com>
49649
49650 POWER7 optimizations.
49651 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49652 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49653
373d545e
UD
496542010-05-19 Ulrich Drepper <drepper@redhat.com>
49655
49656 * version.h: Update for 2.13 development version.
49657
21a2b1ae
AS
496582010-05-12 Andrew Stubbs <ams@codesourcery.com>
49659
49660 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49661 exceptions. Return 0.
49662
3f7dcb2b
RM
496632010-05-07 Roland McGrath <roland@redhat.com>
49664
49665 * elf/ldconfig.c (main): Add a const.
49666
5f24d53a 496672010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 49668
a160f8d8
UD
49669 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49670 (args_options): Add no-idn option.
49671 (ahosts_keys_int): Add idn_flags to ai_flags.
49672 (parse_option): Handle 'i' option to clear idn_flags.
49673
5f24d53a
UD
49674 * malloc/malloc.c (_int_free): Possible race in the most recently
49675 added check. Only act on the data if no current modification
49676 happened.
265bb1ce
UD
49677
49678See ChangeLog.17 for earlier changes.