]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Improve 64bit memcpy performance for Haswell CPU with AVX instruction
[thirdparty/glibc.git] / ChangeLog
1 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
2
3 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4 memmove-avx-unaligned, memcpy-avx-unaligned and
5 mempcpy-avx-unaligned.
6 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7 Add tests for AVX memcpy functions.
8 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
9 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
10 memcpy_chk.
11 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
13 memmove_chk.
14 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
15 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
16 mempcpy_chk.
17 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
18 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
19 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
20
21 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22
23 [BZ #17213]
24 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
25 powerpc64le.
26
27 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
28
29 [BZ #16839]
30 * manual/llio.texi: Add section about open file description locks.
31 * manual/examples/ofdlocks.c: Example of open file description
32 lock usage.
33 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
34 F_OFD_SETLK, and F_OFD_SETLKW.
35
36 2014-07-23 Allan McRae <allan@archlinux.org>
37
38 * po/es.po: Update Spanish translation from translation project.
39
40 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
41
42 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
43
44 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
45
46 [BZ #17078]
47 * sysdeps/arm/dl-machine.h (elf_machine_rela)
48 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
49 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
50
51 2014-07-17 Joseph Myers <joseph@codesourcery.com>
52
53 [BZ #17088]
54 * math/fesetenv.c (__fesetenv)
55 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
56 * math/feupdateenv.c (__feupdateenv)
57 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
58
59 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
60 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
61 (__ASSUME_SOCKETCALL): Do not define.
62
63 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
64 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
65 (__ASSUME_SOCKETCALL): Do not define.
66 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
67 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
68 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
69 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
70 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
71 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
72 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
73 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
74
75 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
76 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
77 (__ASSUME_SOCKETCALL): Do not define.
78 (__ASSUME_IPC64): Define unconditionally.
79 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
80 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
81 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
82 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
83 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
84 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
85 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
86 Likewise.
87
88 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
89 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
90 (__ASSUME_SOCKETCALL): Do not define.
91 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
92 (__ASSUME_FUTEX_LOCK_PI): Likewise.
93 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
94 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
95 (__ASSUME_REQUEUE_PI): Define unconditionally.
96 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
97 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
98 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
99 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
100 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
101 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
102
103 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
104 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
105 (__ASSUME_SOCKETCALL): Do not define.
106 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
107 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
108 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
109 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
110 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
111 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
112
113 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
114 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
115 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
116 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
117 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
118 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
119 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
120 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
121 (__ASSUME_GETCPU_SYSCALL): Likewise.
122
123 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
124 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
125 cases for individual architectures.
126 * sysdeps/gnu/configure: Regenerated.
127 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
128 LIBC_SLIBDIR_RTLDDIR.
129 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
130 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
131 LIBC_SLIBDIR_RTLDDIR.
132 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
134 LIBC_SLIBDIR_RTLDDIR.
135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
136 Regenerated.
137 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
138 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
139 file.
140 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
141 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
142 file.
143 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
144 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
145 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
146 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
147
148 * sysdeps/aarch64/shlib-versions: Move to ...
149 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
150 * sysdeps/alpha/shlib-versions: Move to ...
151 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
152 * sysdeps/arm/shlib-versions: Move to ...
153 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
154 * sysdeps/hppa/shlib-versions: Move all contents except for
155 libgcc_s entry to ...
156 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
157 entry from ...
158 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
159 * sysdeps/ia64/shlib-versions: Move to ...
160 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
161 entry from ...
162 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
163 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
164 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
165 * sysdeps/microblaze/shlib-versions: Move to ...
166 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
167 * sysdeps/mips/shlib-versions: Move to ...
168 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
169 entry from ...
170 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
171 * sysdeps/tile/shlib-versions: Move to ...
172 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
173 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
174 from ...
175 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
176 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
177 entry from ...
178 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
179
180 2014-07-17 Will Newton <will.newton@linaro.org>
181
182 * sysdeps/arm/bits/atomic.h
183 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
184 (__arch_compare_and_exchange_bool_16_int): Likewise.
185 (__arch_compare_and_exchange_bool_64_int): Likewise.
186
187 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
188 into an #else block.
189
190 2014-07-16 Roland McGrath <roland@hack.frob.com>
191
192 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
193 just Linux configurations. Test empirically that the compiler sets
194 __ARM_EABI__, rather than using the tuple to decide.
195 * sysdeps/arm/preconfigure: Regenerated.
196 * sysdeps/unix/sysv/linux/arm/configure: File removed.
197 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
198 contents appended ...
199 * sysdeps/arm/configure.ac: ... here.
200 * sysdeps/arm/configure: Regenerated.
201
202 2014-07-15 Roland McGrath <roland@hack.frob.com>
203
204 * nptl/pthread_kill.c: New file.
205 * nptl/pthread_sigmask.c: New file.
206 * nptl/pthread_sigqueue.c: New file.
207
208 * sysdeps/nptl/lowlevellock.h: New file.
209 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
210 * sysdeps/nptl/lowlevellock-futex.h: New file.
211
212 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
213 Remove dead declarations.
214
215 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
216
217 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
218 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
219 config-cflags-avx2.
220 * sysdeps/x86_64/configure.ac: Likewise.
221 * sysdeps/i386/configure: Regenerated.
222 * sysdeps/x86_64/configure: Likewise.
223 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
224 memset-avx2 only if config-cflags-avx2 is yes.
225 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
226 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
227 defined.
228 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
229 only if HAVE_AVX2_SUPPORT is defined.
230 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
231
232 2014-07-14 Alan Modra <amodra@gmail.com>
233
234 [BZ #17153]
235 * elf/elf.h (DT_PPC64_NUM): Correct value.
236 * NEWS: Add to fixed bug list.
237
238 2014-07-13 Jim Meyering <meyering@fb.com>
239
240 [BZ 17150]
241 regex: don't deref NULL upon heap allocation failure
242 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
243 failure in one more place.
244 To trigger the segfault, configure grep -with-included-regex,
245 build it, and run these commands:
246 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
247
248 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
249
250 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
251
252 2014-07-11 Richard Henderson <rth@redhat.com>
253
254 * sysdeps/aarch64/libm-test-ulps: Update.
255
256 2014-07-10 Florian Weimer <fweimer@redhat.com>
257
258 [BZ #17135]
259 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
260 * nptl/allocatestack.c (__nptl_setxid_error): New function.
261 (__nptl_setxid): Initialize error member. Call
262 __nptl_setxid_error.
263 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
264 * nptl/descr.h (struct xid_command): Add error member.
265 * nptl/tst-setuid3.c: New file.
266 * nptl/Makefile (tests): Add it.
267
268 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
269
270 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
271 New define.
272 (__lll_trylock): Use __lll_base_trylock.
273 (__lll_cond_trylock): Likewise.
274
275 2014-07-10 Roland McGrath <roland@hack.frob.com>
276
277 * nptl/pthread_create.c (start_thread): Use atomic_or and
278 lll_futex_wake directly rather than lll_robust_dead.
279 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
280 (lll_robust_dead): Macro removed.
281 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
282 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
283 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
284 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
285 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
286 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
287 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
288 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
289 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
290 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
291 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
292 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
293 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
294 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
295 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
296
297 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
298 Use atomic_compare_and_exchange_val_acq directly rather than
299 lll_robust_trylock.
300 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
301 (__lll_robust_trylock, lll_robust_trylock): Removed.
302 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
303 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
304 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
305 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
306 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
307 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
308 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
309 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
310 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
311 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
312 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
313 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
314 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
315 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
316
317 2014-07-02 Florian Weimer <fweimer@redhat.com>
318
319 * manual/locale.texi (Locale Names): New section documenting
320 locale name syntax. Adjust menu and node chaining accordingly.
321 (Choosing Locale): Reference Locale Names, Locale Categories.
322 Mention setting LC_ALL=C. Reflect that name syntax is now
323 documented.
324 (Locale Categories): New section title. Reference Locale Names.
325 LC_ALL is an environment variable, but not a category.
326 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
327 description, now in Locale Name. Reference that section. Locale
328 name syntax is now documented.
329
330 2014-07-02 Florian Weimer <fweimer@redhat.com>
331
332 [BZ #17137]
333 * locale/findlocale.c (name_present, valid_locale_name): New
334 functions.
335 (_nl_find_locale): Use the loc_name variable to store name
336 candidates. Call name_present and valid_locale_name to check and
337 validate locale names. Return an error if the locale is invalid.
338
339 2014-07-02 Florian Weimer <fweimer@redhat.com>
340
341 * locale/setlocale.c (setlocale): Use strdup for allocating
342 composite name copy.
343
344 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
345
346 Sync up with gnulib.
347 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
348 [!_LIBC && ENABLE_NLS]: Include gettext.h.
349 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
350 and _GL_ARG_NONNULL.
351 [USE_UNLOCKED_IO]: Include unlocked-io.h.
352 [!_LIBC]: Include code for Windows and Cygwin.
353 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
354 Include prototype for int strerror_r.
355 [!_LIBC] (is_open): New function.
356 (flush_stdout): New function.
357 (print_errno_message): Use it.
358 (error): Likewise.
359 (error_at_line): Likewise.
360 (error_tail) Add function attribute macros. Use
361 __builtin_expect.
362
363 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
364
365 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
366
367 * io/ftw.c: Include sys/param.h unconditionally.
368
369 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
370
371 [BZ #17125]
372 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
373 libc_freeres_ptr.
374 (freecache): New function to free CACHE on exit.
375
376 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
377 initialization.
378
379 2014-07-09 David S. Miller <davem@davemloft.net>
380
381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
382
383 * sysdeps/sparc/nptl/internaltypes.h: Delete.
384 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
385 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
386 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
387 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
388 * sysdeps/sparc/nptl/sem_init.c: Likewise.
389 * sysdeps/sparc/nptl/sem_post.c: Likewise.
390 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
391 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
392 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
393 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
394 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
395 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
396
397 2014-07-09 Andreas Schwab <schwab@suse.de>
398
399 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
400 output.
401 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
402 (do_test): Likewise.
403
404 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
405
406 2014-07-09 Will Newton <will.newton@linaro.org>
407
408 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
409 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
410 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
411 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
412 * sysdeps/hppa/start.S (_start): Likewise.
413
414 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
415
416 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
417
418 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
419 defined.
420
421 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
422
423 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
424 after checking that it is non-NULL.
425
426 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
427
428 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
429
430 * sysdeps/powerpc/memmove.c: Remove file.
431 * sysdeps/powerpc/powerpc32/power4/memcopy.h
432 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
433 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
434 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
435 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
436 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
437 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
438 string memmove instead of removed powerpc one.
439
440 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
441 [weak_alias]: Fix compiler warning due trailing data.
442 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
443 [weak_alias]: Likewise.
444 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
445 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
446
447 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
448 (__libc_ifunc_impl_list): Add memmove functions.
449
450 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
451
452 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
453 Remove code.
454 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
455 Likewise
456 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
457 Likewise
458 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
459 Likewise
460 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
461 Likewise
462 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
463 Likewise
464 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
465 Likewise
466 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
467 Likewise
468 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
469 Likewise
470 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
471 Likewise
472 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
473 Likewise
474 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
475 Likewise
476 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
477 Likewise
478 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
479 Likewise
480 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
481 Likewise
482 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
483 Likewise
484 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
485 Likewise
486
487 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
488
489 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
490 to avoid alignment traps in non-cacheable memory.
491 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
492
493 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
494 multiarch objects.
495 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
496 file: multiarch power7 memmove.
497 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
498 multiarch default memmove.
499 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
500 multiarch memove for powerpc32/power4.
501
502 * string/bcopy.c: Use full path to include memmove.c.
503 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
504 multiarch objects.
505 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
506 bcopy for powerpc64.
507 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
508 bcopy for powerpc64.
509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
510 and memmove implementations.
511 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
512 optimized multiarch memmove for POWER7/powerpc64.
513 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
514 default multiarch memmove for powerpc64.
515 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
516 multiarch for powerpc64.
517 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
518 for POWER7/powerpc64.
519 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
520 memmove for POWER7/powerpc64.
521
522 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
523 glibc default one.
524
525 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
526 __ELF_NATIVE_CLASS equal to 64.
527
528 2014-07-07 Roland McGrath <roland@hack.frob.com>
529
530 * sysdeps/nptl/lowlevellock.h: File removed.
531
532 * NEWS: NPTL is no longer an add-on!
533 * nptl/internaltypes.h: Moved ...
534 * sysdeps/nptl/internaltypes.h: ... here.
535 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
536 * sysdeps/nptl/fork.c: Likewise.
537 * sysdeps/nptl/gai_misc.h: Likewise.
538 * sysdeps/nptl/librt-cancellation.c: Likewise.
539 * sysdeps/nptl/jmp-unwind.c: Likewise.
540 * sysdeps/nptl/setxid.h: Likewise.
541 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
542 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
543 * sysdeps/unix/sysv/linux/arm/Implies: New file.
544 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
545 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
546 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
547 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
548 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
549 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
550 * sysdeps/unix/sysv/linux/mips/Implies: New file.
551 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
552 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
553 * sysdeps/unix/sysv/linux/sh/Implies: New file.
554 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
555 * sysdeps/unix/sysv/linux/tile/Implies: New file.
556 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
557 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
558 * nptl/Makeconfig: Moved ...
559 * sysdeps/nptl/Makeconfig: ... here.
560 * nptl/configure: File removed.
561 * nptl/ANNOUNCE: File removed.
562 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
563 * sysdeps/unix/sysv/linux/configure: Regenerated.
564
565 * nptl/Makefile (routines): Add libc_pthread_init,
566 libc_multiple_threads, register-atfork and unregister-atfork.
567 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
568 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
569 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
570 pthread-pi-defines.sym, structsem.sym.
571 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
572 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
573 [$(subdir) = nptl] (tests): Add tst-setgetname.
574 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
575 * sysdeps/unix/sysv/linux/sigaction.c: Just include
576 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
577 [!LIBC_SIGACTION]: Remove aliases.
578 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
579 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
580 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
581 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
582 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
583 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
584 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
585 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
586 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
587 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
588 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
589 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
590 __libc_allocate_rtsig_private.
591 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
592 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
593 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
594 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
595 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
596 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
597 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
598 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
599 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
600 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
601 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
602 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
603 * nptl/internaltypes.h: ... here.
604 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
605 * sysdeps/nptl/jmp-unwind.c: ... here.
606 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
607 * nptl/libc-lowlevellock.c: ... here.
608 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
609 * nptl/libc_multiple_threads.c: ... here.
610 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
611 * nptl/libc_pthread_init.c: ... here.
612 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
613 * nptl/lowlevelbarrier.sym: ... here.
614 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
615 * nptl/lowlevelcond.sym: ... here.
616 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
617 * nptl/lowlevellock.c: ... here.
618 * nptl/lowlevellock.h: Moved ...
619 * sysdeps/nptl/lowlevellock.h: ... here.
620 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
621 * nptl/lowlevelrobustlock.c: ... here.
622 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
623 * nptl/lowlevelrobustlock.sym: ... here.
624 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
625 * nptl/lowlevelrwlock.sym: ... here.
626 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
627 * nptl/pt-fork.c: ... here.
628 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
629 * nptl/pthread-pi-defines.sym: ... here.
630 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
631 * nptl/pthread_attr_getaffinity.c: ... here.
632 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
633 * nptl/pthread_attr_setaffinity.c: ... here.
634 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
635 * nptl/pthread_mutex_cond_lock.c: ... here.
636 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
637 Update #include.
638 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
639 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
640 * nptl/pthread_once.c: ... here, replacing old file.
641 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
642 * nptl/pthread_yield.c: ... here.
643 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
644 * nptl/register-atfork.c: ... here.
645 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
646 * nptl/sem_post.c: ... here.
647 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
648 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
649 * nptl/sem_timedwait.c: ... here.
650 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
651 * nptl/sem_trywait.c: ... here.
652 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
653 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
654 * nptl/sem_wait.c: ... here.
655 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
656 * nptl/structsem.sym: ... here.
657 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
658 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
659 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
660 * nptl/unregister-atfork.c: ... here.
661 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
662 * nptl/unwindbuf.sym: ... here.
663 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
664 * sysdeps/nptl/fork.c: ... here.
665 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
666 * sysdeps/nptl/fork.h: ... here.
667 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
668 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
669 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
670 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
671 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
672 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
673 * sysdeps/unix/sysv/linux/getpid.c: ... here.
674 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
675 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
676 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
677 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
678 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
679 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
680 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
681 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
682 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
683 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
684 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
685 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
686 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
687 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
688 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
689 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
690 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
691 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
692 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
693 * sysdeps/unix/sysv/linux/raise.c: ... here.
694 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
695 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
696 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
697 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
698 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
699 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
700 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
701 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
702 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
703 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
704 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
705 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
706 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
707 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
708 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
709
710 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
711
712 * sysdeps/generic/memcopy.h: Add comment for
713 MEMCPY_OK_FOR_FWD_MEMMOVE.
714
715 2014-07-04 Will Newton <will.newton@linaro.org>
716
717 * string/memchr.c: Merge from gnulib.
718 [_LIBC]: Remove conditionals.
719 (__ptr_t): Remove define.
720 (LONG_MAX_32_BITS): Likewise.
721 (LONG_MAX): Likewise.
722 (MEMCHR): Use ANSI prototype and optimize algorithm.
723
724 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
725
726 2014-07-03 Roland McGrath <roland@hack.frob.com>
727
728 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
729 (lll_futex_timed_wait_bitset): Fix syscall argument count.
730
731 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
732 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
733 in a bare environment with no <stdlib.h> installed.
734 * sysdeps/nptl/configure: Regenerated.
735
736 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
737
738 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
739 AC_EGREP_CPP for kernel header checks, so they only succeed if
740 including <linux/version.h> actually works right.
741 * sysdeps/unix/sysv/linux/configure: Regenerated.
742
743 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
744 value so it's not diagnosed as unused.
745
746 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
747 thing) with "ifeq ($(subdir),rt)".
748
749 2014-07-03 Richard Henderson <rth@redhat.com>
750
751 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
752 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
753 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
754
755 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
756 (math_force_eval): New.
757
758 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
759 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
760
761 * sysdeps/alpha/fpu/s_round.c: Remove file.
762 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
763
764 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
765 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
766 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
767 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
768 (_dl_start, print_statistics): Likewise.
769 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
770 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
771
772 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
773 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
774 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
775 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
776 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
777 (HP_SMALL_TIMING_AVAIL): Define.
778 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
779 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
780 (HP_SMALL_TIMING_AVAIL): Define.
781 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
782 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
783
784 * sysdeps/aarch64/hp-timing.h: New file.
785
786 * sysdeps/generic/hp-timing.h: Remove dead comment.
787 * sysdeps/generic/hp-timing-common.h: New file.
788 * sysdeps/alpha/hp-timing.h: Include it.
789 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
790 * sysdeps/i386/i686/hp-timing.h: Likewise.
791 * sysdeps/ia64/hp-timing.h: Likewise.
792 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
793 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
794 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
795 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
796 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
797 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
798 (hp_timing_t): New.
799
800 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
801 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
802 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
803 * elf/rtld.c (_dl_start_final): Likewise.
804 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
805 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
806 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
807 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
808 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
809 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
810 (HP_TIMING_DIFF_INIT): Remove.
811 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
812 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
813 (HP_TIMING_DIFF_INIT): Remove.
814 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
815 * sysdeps/i386/i686/hp-timing.c: Remove file.
816 * sysdeps/x86_64/hp-timing.c: Remove file.
817 * sysdeps/ia64/hp-timing.c: Remove file.
818 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
819 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
820 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
821 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
822
823 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
824 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
825 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
826 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
827 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
828 (HP_TIMING_ACCUM): Remove.
829 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
830 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
831 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
832
833 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
834 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
835 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
836 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
837 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
838 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
839 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
840 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
841
842 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
843
844 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
845
846 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
847
848 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
849
850 Sync up with gettext.
851 * intl/loadmsgcat.c: Define O_BINARY if not defined.
852 [_MSC_VER]: Include malloc.h
853 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
854 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
855 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
856 TEMP_FAILURE_RETRY. Cast return of alloca.
857 [!_LIBC] Call gl_rwlock_init.
858 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
859
860 2014-07-02 Roland McGrath <roland@hack.frob.com>
861
862 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
863 before checking its value.
864
865 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
866
867 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
868
869 * debug/memcpy_chk.c: Don't include pagecopy.h.
870 * debug/mempcpy_chk.c: Likewise.
871 * string/memcpy.c: Likewise.
872 * string/memmove.c: Likewise.
873 * sysdeps/powerpc/memmove.c: Likewise.
874 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
875 definition of PAGE_COPY_FWD_MAYBE here...
876 * sysdeps/generic/pagecopy.h: ... from here.
877 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
878
879 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
880 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
881
882 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
883 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
884 optimizations.
885 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
886 (__libc_ifunc_impl_list): Likewise.
887 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
888 multiarch strcat for PPC64.
889 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
890 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
891
892 2014-07-02 Roland McGrath <roland@hack.frob.com>
893
894 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
895
896 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
897
898 * intl/loadmsgcat.c: Remove declaration of
899 get_sysdep_segment_value.
900 (get_sysdep_segment_value): Use ISO C style.
901 (_nl_load_domain): Use ISO C style. Get rid of redundant
902 semicolon. Fix typo and formatting in comment.
903 (_nl_unload_domain): Use ISO C style.
904
905 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
906
907 2014-07-02 Will Newton <will.newton@linaro.org>
908
909 * malloc/obstack.c: Merge from gnulib master.
910 [HAVE_CONFIG_H]: Remove conditional code.
911 [!_LIBC]: Include config.h.
912 [!ELIDE_CODE]: Don't include inttypes.h, include
913 stdint.h unconditionally.
914 (print_and_abort): Mark as _Noreturn.
915 (_obstack_allocated_p): Mark as __attribute_pure__.
916 (obstack_free): Rename to __obstack_free.
917 [!__attribute__]: Remove conditional code.
918 * malloc/obstack.h: Merge from gnulib master.
919 [__cplusplus]: Move conditional down.
920 [!__attribute_pure__]: Define __attribute_pure__ here
921 if it is not already defined.
922 (_obstack_memory_used): Mark as __attribute_pure__.
923 [!__obstack_free]: Define as obstack_free.
924 [__GNUC__]: Remove check for ancient NeXT gcc.
925
926 2014-07-02 Will Newton <will.newton@linaro.org>
927 Paul Eggert <eggert@cs.ucla.edu>
928
929 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
930
931 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
932
933 * resolv/gethnamaddr.c: Add comment warning that the file is
934 not maintained.
935
936 2014-07-01 Carlos O'Donell <carlos@redhat.com>
937
938 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
939 entries.
940
941 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
942 entry for aio_cancel and aio_cancel64.
943 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
944 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
945 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
946 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
947 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
948 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
949 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
950 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
951 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
952 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
953 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
954 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
955 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
956
957 2014-07-01 Roland McGrath <roland@hack.frob.com>
958
959 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
960 * nptl/pthread_mutex_lock.c: Likewise.
961 * nptl/pthread_mutex_timedlock.c: Likewise.
962 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
963
964 2014-07-01 Richard henderson <rth@redhat.com>
965
966 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
967 (__isnan, __isnanl): Remove.
968 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
969
970 * sysdeps/alpha/fpu/libm-test-ulps: Update.
971
972 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
973
974 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
975
976 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
977
978 * resolv/nss_dns/dns-host.c (getanswer_r)
979 [MULTI_PTRS_ARE_ALIASES]: Remove code.
980
981 2014-07-01 Joseph Myers <joseph@codesourcery.com>
982
983 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
984 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
985 undefine.
986 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
987 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
988
989 2014-07-01 Roland McGrath <roland@hack.frob.com>
990
991 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
992 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
993
994 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
995 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
996
997 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
998 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
999 ... here.
1000 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1001 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1002
1003 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1004 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1005 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1006 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1007
1008 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1009 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1010 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1011 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1012 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1013 Moved ...
1014 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1015 ... here.
1016 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1017 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1018 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1019 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1020 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1021 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1022 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1023 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1024 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1025 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1026 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1027 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1028 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1029 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1030 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1031 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1032 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1033 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1034 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1035 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1036 ... here.
1037 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1038 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1039 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1040 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1041 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1042 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1043 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1044 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1045
1046 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1047
1048 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1049 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1050 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1051 Add sysdep.
1052
1053 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1054
1055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1056
1057 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1058
1059 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1060 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1061
1062 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1063
1064 * sysdeps/arm/libm-test-ulps: Regenerated.
1065
1066 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1067 Roland McGrath <roland@hack.frob.com>
1068
1069 * test-skeleton.c (signal_handler): Kill the whole process group
1070 before killing the child individually.
1071 (main): Report any failure on `setpgid'.
1072
1073 2014-06-30 Roland McGrath <roland@hack.frob.com>
1074
1075 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1076 from _TLS_H to _ARM_NPTL_TLS_H.
1077 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1078 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1079
1080 2014-06-30 Joseph Myers <joseph@codesourcery.com>
1081
1082 [BZ #16539]
1083 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1084 (__expm1l): Return argument unchanged when small but not
1085 subnormal.
1086
1087 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1088 include macro name.
1089 (_FP_UNPACK_RAW_1_P): Likewise.
1090 (_FP_PACK_RAW_1): Likewise.
1091 (_FP_PACK_RAW_1_P): Likewise.
1092 (_FP_MUL_MEAT_1_wide): Likewise.
1093 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1094 (_FP_MUL_MEAT_1_hard): Likewise.
1095 (_FP_DIV_MEAT_1_imm): Likewise.
1096 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1097 (_FP_DIV_MEAT_1_udiv): Likewise.
1098 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1099 (_FP_UNPACK_RAW_2): Likewise.
1100 (_FP_UNPACK_RAW_2_P): Likewise.
1101 (_FP_PACK_RAW_2): Likewise.
1102 (_FP_PACK_RAW_2_P): Likewise.
1103 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1104 (_FP_MUL_MEAT_2_wide): Likewise.
1105 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1106 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1107 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1108 (_FP_MUL_MEAT_2_gmp): Likewise.
1109 (_FP_DIV_MEAT_2_udiv): Likewise.
1110 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1111 (_FP_FRAC_SRL_4): Likewise.
1112 (_FP_FRAC_SRST_4): Likewise.
1113 (_FP_FRAC_SRS_4): Likewise.
1114 (_FP_UNPACK_RAW_4): Likewise.
1115 (_FP_UNPACK_RAW_4_P): Likewise.
1116 (_FP_PACK_RAW_4): Likewise.
1117 (_FP_PACK_RAW_4_P): Likewise.
1118 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1119 (_FP_MUL_MEAT_4_wide): Likewise.
1120 (_FP_MUL_MEAT_4_gmp): Likewise.
1121 (umul_ppppmnnn): Likewise.
1122 (_FP_DIV_MEAT_4_udiv): Likewise.
1123 (__FP_FRAC_ADD_4): Likewise.
1124 (__FP_FRAC_SUB_3): Likewise.
1125 (__FP_FRAC_SUB_4): Likewise.
1126 (__FP_FRAC_DEC_3): Likewise.
1127 (__FP_FRAC_DEC_4): Likewise.
1128 (__FP_FRAC_ADDI_4): Likewise.
1129 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1130 (_FP_FRAC_SRL_8): Likewise.
1131 (_FP_FRAC_SRS_8): Likewise.
1132
1133 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1134 include macro name.
1135 (FP_UNPACK_RAW_EP): Likewise.
1136 (FP_PACK_RAW_E): Likewise.
1137 (FP_PACK_RAW_EP): Likewise.
1138 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1139 (_FP_ISSIGNAN): Likewise.
1140 (_FP_ADD_INTERNAL): Likewise.
1141 (_FP_FMA): Likewise.
1142 (_FP_CMP): Likewise.
1143 (_FP_SQRT): Likewise.
1144 (_FP_TO_INT): Likewise.
1145 (_FP_FROM_INT): Likewise.
1146 (FP_EXTEND): Likewise.
1147 (_FP_DIV_MEAT_N_loop): Likewise.
1148
1149 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1150
1151 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1152 throughout.
1153
1154 2014-06-29 Joseph Myers <joseph@codesourcery.com>
1155
1156 [BZ #17097]
1157 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1158 result with correct sign in case of exponents that produce
1159 overflow except for X very close to 1.
1160
1161 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1162
1163 mktime: merge #if/#ifdef usage from glibc
1164 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1165 as that works with both Glibc's and Gnulib's style.
1166 See thread starting at Siddhesh Poyarekar's bug report at:
1167 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1168
1169 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1170
1171 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1172 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1173 * sysdeps/tile/tilegx/memmove.c: Remove file.
1174
1175 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1176
1177 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1178 abi-name definition.
1179 * scripts/soversions.awk: Do not handle or generate ABI lines.
1180 * shlib-versions: Remove ABI entries.
1181 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1182 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1183
1184 2014-06-27 Roland McGrath <roland@hack.frob.com>
1185
1186 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1187 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1188 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1189 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1190 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1191 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1192 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1193 Moved ...
1194 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1195 ... here.
1196 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1197 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1198 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1199 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1200 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1201 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1202 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1203 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1204 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1205 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1206 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1207 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1208 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1209 Moved ...
1210 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1211 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1212 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1213 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1214 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1215 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1216 Moved ...
1217 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1218 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1219 Moved ...
1220 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1221 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1222 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1223 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1224 Moved ...
1225 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1226 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1227 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1228 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1229 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1230 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1231 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1232 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1233 Moved ...
1234 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1235 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1236 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1237 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1238 Moved ...
1239 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1240 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1241 Moved ...
1242 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1243 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1244 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1245 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1246 Moved ...
1247 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1248 ... here.
1249 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1250 Identical file removed.
1251 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1252 Moved ...
1253 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1254 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1255 Identical file removed.
1256 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1257 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1258 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1259 Moved ...
1260 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1261 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1262 Identical file removed.
1263 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1264 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1265 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1266 Identical file removed.
1267 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1268 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1269 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1270 Identical file removed.
1271 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1272 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1273 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1274 Identical file removed.
1275 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1276 Moved ...
1277 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1278 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1279 Identical file removed.
1280 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1281 Moved ...
1282 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1283 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1284 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1285 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1286 Identical file removed.
1287 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1288 Moved ...
1289 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1290 ... here.
1291 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1292 Identical file removed.
1293 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1294 Moved ...
1295 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1296 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1297 Identical file removed.
1298 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1299 Moved ...
1300 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1301 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1302 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1303 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1304 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1305 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1306 Moved ...
1307 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1308 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1309 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1310
1311 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1312 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1313 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1314 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1315 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1316
1317 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
1318
1319 [BZ #17092]
1320 * nscd/nscd.c (monitor_child): Return exit status of child
1321 instead of return value from wait syscall.
1322
1323 2014-06-27 Joseph Myers <joseph@codesourcery.com>
1324
1325 * configure.ac (libc_commonpagesize): Remove variable.
1326 (libc_relro_required): Likewise.
1327 (libc_cv_z_relro): Remove configure test.
1328 * configure: Regenerated.
1329 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1330 variable.
1331 (libc_relro_required): Likewise.
1332 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1333 (libc_relro_required): Likewise.
1334 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1335 (libc_relro_required): Likewise.
1336 * sysdeps/arm/preconfigure: Regenerated.
1337 * sysdeps/ia64/preconfigure: Remove file.
1338 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1339 variable.
1340 (libc_relro_required): Likewise.
1341
1342 [BZ #16561]
1343 [BZ #16562]
1344 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1345 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1346 recompute overflowing results in original rounding mode.
1347 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1348 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1349 recompute overflowing results in original rounding mode.
1350 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1351 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1352 recompute overflowing results in original rounding mode.
1353 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1354 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1355 recompute overflowing results in original rounding mode.
1356 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1357 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1358 recompute overflowing results in original rounding mode.
1359 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1360 (libc_feholdsetround_ctx): New macro.
1361 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1362 * sysdeps/i386/fpu/libm-test-ulps: Update.
1363 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1364
1365 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1366
1367 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1368 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1369 corresponding .cpsetup call.
1370
1371 2014-06-26 Roland McGrath <roland@hack.frob.com>
1372
1373 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1374 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1375 * sysdeps/arm/Makefile [$(subdir) = csu]
1376 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1377 (static-only-routines): Add aeabi_read_tp here.
1378 (shared-only-routines): Add libc-aeabi_read_tp here.
1379 (CFLAGS-libc-start.c): Add -fexceptions here.
1380 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1381 (sysdep_routines, static-only-routines, shared-only-routines):
1382 Don't add to these here.
1383 (CFLAGS-libc-start.c): Likewise.
1384
1385 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1386 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1387 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1388 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1389 * sysdeps/arm/Makefile [$(subdir) = rt]
1390 (librt-sysdep_routines, librt-shared-only-routines):
1391 Append rt-aeabi_unwind_cpp_pr1 here.
1392 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1393 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1394 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1395 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1396 Append nptl-aeabi_unwind_cpp_pr1 here.
1397 (tests): Filter out tst-cleanupx4 here.
1398 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1399 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1400 Don't do those here.
1401
1402 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1403
1404 * scripts/list-sources.sh: Do not handle ports specially.
1405
1406 2014-06-26 Roland McGrath <roland@hack.frob.com>
1407
1408 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1409 * sysdeps/arm/feupdateenv.c: Likewise.
1410
1411 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1412
1413 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1414
1415 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1416 trailing whitespace removed.
1417 * scripts/config.guess: Update to version 2014-03-23.
1418 * scripts/config.sub: Update to version 2014-05-01
1419 * scripts/install-sh: Update to version 2013-12-25.23.
1420 * scripts/move-if-change: Update from gnulib.
1421
1422 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1423
1424 * debug/memmove_chk.c: Remove pagecopy.h include.
1425
1426 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1427
1428 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1429 identical to gnulib mktime.
1430
1431 2014-06-26 Joseph Myers <joseph@codesourcery.com>
1432
1433 * configure.ac: Do not test for machine being rs6000. Do not test
1434 for powerpc*-*soft.
1435 * configure: Regenerated.
1436
1437 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1438 test.
1439 * configure: Regenerated.
1440 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1441 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1442 Remove configure test.
1443 * sysdeps/arm/configure: Regenerated.
1444 * sysdeps/nptl/configure.ac: Do not check
1445 libc_cv_asm_cfi_directives.
1446 * sysdeps/nptl/configure: Regenerated.
1447 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1448 * sysdeps/x86_64/nptl/configure: Remove generated file.
1449 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1450 unconditional.
1451 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1452
1453 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1454
1455 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1456 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1457 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1458 it is defined.
1459
1460 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1461 instead of whether it is defined.
1462 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1463 * sysdeps/hppa/dl-machine.h: Likewise.
1464 * sysdeps/ia64/dl-machine.h: Likewise.
1465 * sysdeps/m68k/dl-machine.h: Likewise.
1466 * sysdeps/microblaze/dl-machine.h: Likewise.
1467 * sysdeps/mips/dl-machine.: Likewise.
1468 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1469 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1470 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1471 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1472 * sysdeps/sh/dl-machine.h: Likewise.
1473 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1474 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1475 * sysdeps/tile/dl-machine.h: Likewise.
1476 * sysdeps/x86_64/dl-machine.h: Likewise.
1477
1478 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1479 code.
1480 (verify_persistent_db): Likewise.
1481
1482 2014-06-26 Roland McGrath <roland@hack.frob.com>
1483
1484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1485 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1487 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1489 Moved ...
1490 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1491 ... here.
1492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1493 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1495 Identical file removed.
1496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1497 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1499 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1501 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1503 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1505 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1507 Moved ...
1508 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1510 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1512 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1514 Moved ...
1515 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1517 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1519 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1521 Identical file removed.
1522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1523 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1525 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1527 Moved ...
1528 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1529 ... here.
1530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1531 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1533 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1535 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1537 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1539 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1541 Moved ...
1542 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1544 Moved ...
1545 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1547 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1549 Moved ...
1550 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1552 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1553
1554 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1555 folded into ...
1556 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1557 * sysdeps/unix/sysv/linux/s390/Versions
1558 (libpthread: GLIBC_2.19): New version set.
1559 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1560 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1561 (librt: GLIBC_2.3.3): New version set.
1562 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1563 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1564 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1565 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1566 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1567 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1568 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1569 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1570 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1571 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1572 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1573 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1574 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1575 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1576 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1577 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1578 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1579 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1580 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1581 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1582 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1583 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1584 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1585 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1586 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1587 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1588 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1589 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1590 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1591 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1592 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1593 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1594 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1595 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1596 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1597 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1598 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1599 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1600 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1601 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1602 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1603 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1604 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1605 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1606 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1607
1608 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1609 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1610 (__libc_vfork): Define the function under this name.
1611 [!NOT_IN_libc] (__vfork): Make this an alias.
1612 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1613 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1614 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1615 (__libc_vfork): Define the function under this name.
1616 [!NOT_IN_libc] (__vfork): Make this an alias.
1617 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1618 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1619 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1620 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1621 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1622 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1623
1624 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1625 code that was previously under [RESET_PID].
1626 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1627 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1628 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1629
1630 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1631 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1632 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1633 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1634 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1635 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1636 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1637 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1638 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1639 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1640 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1641 Moved ...
1642 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1643 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1644 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
1645 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
1646 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
1647 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
1648 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
1649 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
1650 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
1651 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
1652 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
1653 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
1654 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
1655 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
1656 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
1657 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
1658 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
1659 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
1660 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
1661 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
1662 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
1663 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
1664 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
1665 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
1666 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
1667 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
1668 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
1669 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
1670 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
1671
1672 2014-06-25 Roland McGrath <roland@hack.frob.com>
1673
1674 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
1675 that was previously under [RESET_PID].
1676 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
1677
1678 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1679
1680 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
1681 not undefine and redefine.
1682 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
1683 [O_CLOEXEC]: Make code unconditional.
1684 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
1685 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
1686 <kernel-features.h>.
1687 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
1688 conditional variable definition.
1689 (shm_open) [O_CLOEXEC]: Make code unconditional.
1690 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
1691 code.
1692
1693 * configure.ac (USE_REGPARMS): Don't define here.
1694 * configure: Regenerated.
1695 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
1696 * sysdeps/i386/configure: Regenerated.
1697
1698 * nptl/createthread.c: Don't include kernel-features.h.
1699 * nptl/pthread_cancel.c: Likewise.
1700 * nptl/pthread_condattr_setclock.c: Likewise.
1701 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
1702 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
1703 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
1704 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
1705 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
1706 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
1707 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1708 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
1709 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1710 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
1711 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
1712 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
1713 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
1714 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
1715 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
1716 * nscd/gai.c: Likewise.
1717 * nss/nss_db/db-open.c: Likewise.
1718 * sysdeps/generic/ldsodefs.h: Likewise.
1719 * sysdeps/sh/nptl/tls.h: Likewise.
1720 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1721 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
1722 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
1723 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
1724 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
1725 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1726 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
1727 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1728 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
1729 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1730 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1731 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
1732 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
1733 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
1734 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
1735 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
1736 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
1737 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
1738 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
1739 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
1740 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1741 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1742 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
1743 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
1744 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1745 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1746 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
1747 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
1748 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1749 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
1750 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
1751 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1752 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1753 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1754 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1755 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1756 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1757 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1758 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
1759 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
1760 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1761 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
1762 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
1763 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1764 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1765 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
1766 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
1767 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
1768 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
1769 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1770 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1771 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1772 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1773 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1774 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
1775 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
1776 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1777 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
1778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
1780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
1781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
1782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
1783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
1790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
1791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
1792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
1798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1800 * sysdeps/unix/sysv/linux/pread.c: Likewise.
1801 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
1802 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
1803 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
1804 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
1805 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
1806 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
1807 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
1808 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
1809 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1810 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1811 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1812 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
1813 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
1814 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
1815 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1816 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1817 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
1818 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
1819 * sysdeps/unix/sysv/linux/system.c: Likewise.
1820 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
1821 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1822 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1823 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1824 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
1825 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1826 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1827
1828 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
1829 * configure: Regenerated.
1830 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
1831
1832 * configure.ac (base_machine): Do not set specially for particular
1833 machines here.
1834 * configure: Regenerated.
1835 * sysdeps/powerpc/preconfigure: Move machine and base_machine
1836 settings from configure.ac.
1837 * sysdeps/i386/preconfigure: New file.
1838 * sysdeps/s390/preconfigure: Likewise.
1839 * sysdeps/sh/preconfigure: Likewise.
1840 * sysdeps/sparc/preconfigure: Likewise.
1841
1842 2014-06-25 Roland McGrath <roland@hack.frob.com>
1843
1844 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
1845 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
1846 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
1847 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
1848 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
1849 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
1850 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
1851 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
1852 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
1853 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
1854 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
1855 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
1856 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
1857 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
1858 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
1859 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
1860 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
1861 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
1862 * sysdeps/sparc/sparc64/Makefile: ... appended here.
1863
1864 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
1865 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
1866 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
1867 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
1868 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
1869 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
1870 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
1871 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
1872 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
1873 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
1874 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
1875 * sysdeps/sparc/sparc32/sem_post.c: ... here.
1876 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
1877 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1878 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1879 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1880 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1881 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1882 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1883 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1884 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1885 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1886 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1887 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1888 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1889 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1890 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1891 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1892 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1893 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1894 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1895 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1896 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1897 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1898 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1899 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1900 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1901 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1902
1903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1904 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1906 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1908 Moved ...
1909 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1910 ... here.
1911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1912 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1914 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1916 Moved ...
1917 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1918 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1919 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1921 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1923 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1925 Moved ...
1926 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1928 Moved ...
1929 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1931 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1933 Moved ...
1934 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1936 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1938 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1940 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1942 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1944 Moved ...
1945 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1946 ... here.
1947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1948 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1950 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1952 Moved ...
1953 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1955 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1957 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1959 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1961 Moved ...
1962 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1964 Moved ...
1965 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1967 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1969 Moved ...
1970 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1972 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1974 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1975
1976 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1977
1978 * timezone/checktab.awk: Update from tzcode 2014e.
1979 * timezone/private.h: Likewise.
1980 * timezone/tzfile.h: Likewise.
1981 * timezone/zdump.c: Likewise.
1982 * timezone/zic.c: Likewise.
1983
1984 * sysdeps/unix/sysv/linux/kernel-features.h
1985 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1986 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1987 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1988 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1989 Remove conditional code.
1990
1991 2014-06-25 Will Newton <will.newton@linaro.org>
1992
1993 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1994 (_dl_arm_cap_flags): Add HWCAP2 values.
1995 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1996 (_DL_HWCAP_COUNT): Increase to 37.
1997 (_DL_HWCAP_LAST): New define.
1998 (_DL_HWCAP2_LAST): New define.
1999 (_dl_procinfo): Add support for printing
2000 AT_HWCAP2 entries.
2001 (_dl_string_hwcap): Use _dl_hwcap_string.
2002
2003 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2004
2005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2006
2007 2014-06-25 Joseph Myers <joseph@codesourcery.com>
2008
2009 * README: Do not mention ports directory.
2010
2011 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2012 Remove macro.
2013 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2014 <kernel-features.h>.
2015 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2016 conditional variable definition.
2017 (__futimes): Update comment.
2018 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2019 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2020
2021 [BZ #16560]
2022 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2023 arguments close to 0.
2024 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2025 Likewise.
2026 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2027 Likewise.
2028 * math/auto-libm-test-in: Add more tests of exp10.
2029 * math/auto-libm-test-out: Regenerated.
2030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2031
2032 * sysdeps/unix/sysv/linux/kernel-features.h
2033 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2034 * sysdeps/unix/sysv/linux/readv.c: Do not include
2035 <kernel-features.h>.
2036 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2037 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2038 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2039 unconditional.
2040 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2041 conditional code.
2042 * sysdeps/unix/sysv/linux/writev.c: Do not include
2043 <kernel-features.h>.
2044 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2045 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2046 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2047 unconditional.
2048 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2049 conditional code.
2050
2051 2014-06-25 Will Newton <will.newton@linaro.org>
2052
2053 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2054 comment changes throughout the file. Remove checks
2055 for HAVE_*_H definitions that are not required.
2056 (__gen_tempname): Call abort if an unknown kind value is
2057 passed.
2058
2059 2014-06-25 Andreas Schwab <schwab@suse.de>
2060
2061 [BZ #17086]
2062 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2063 scalbln, scalblnf, scalblnl in libc.
2064
2065 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2066
2067 [BZ #17086]
2068 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2069 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2070 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2071
2072 2014-06-24 Roland McGrath <roland@hack.frob.com>
2073
2074 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2075 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2076 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2077 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2078 Update #include.
2079 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2080 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2081 Update #include.
2082 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2083 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2084 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2085 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2086 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2087 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2088 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2089 * sysdeps/x86/bits/semaphore.h: ... here.
2090 * sysdeps/x86/nptl/elide.h: Moved ...
2091 * sysdeps/x86/elide.h: ... here.
2092 * sysdeps/x86_64/nptl/Implies: File removed.
2093 * sysdeps/i386/nptl/Implies: File removed.
2094
2095 2014-06-24 Joseph Myers <joseph@codesourcery.com>
2096
2097 [BZ #16539]
2098 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2099 return the argument for normal arguments with exponent below -64.
2100 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2101 Likewise.
2102 * math/auto-libm-test-in: Add another test of expm1.
2103 * math/auto-libm-test-out: Regenerated.
2104
2105 [BZ #16287]
2106 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2107 calling __erfcl for arguments at least 16.
2108 * math/auto-libm-test-in: Add more tests of erf.
2109 * math/auto-libm-test-out: Regenerated.
2110
2111 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2112 individual architectures.
2113 * sysdeps/unix/sysv/linux/configure: Regenerated.
2114 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2115 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2116 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2117 (ldd_rewrite_script): Define variable.
2118 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2120 file.
2121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2122 generated file.
2123 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2124 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2125 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2126 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2127 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2128 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2129 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2130 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2131
2132 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2133
2134 [BZ #17084]
2135 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2136 Rename member __data.d to __data.__elision_data.
2137
2138 2014-06-24 Wilco <wdijkstr@arm.com>
2139
2140 * NEWS: Add 16918 to fixed bug list.
2141
2142 2014-06-24 Wilco <wdijkstr@arm.com>
2143
2144 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2145
2146 2014-06-24 Wilco <wdijkstr@arm.com>
2147
2148 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2149 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2150 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2151 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2152 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2153 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2154 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2155 Use _FPU_MASK_RM.
2156
2157 2014-06-24 Wilco <wdijkstr@arm.com>
2158
2159 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2160
2161 2014-06-24 Wilco <wdijkstr@arm.com>
2162
2163 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2164 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2165 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2166 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2167
2168 2014-06-24 Wilco <wdijkstr@arm.com>
2169
2170 [BZ #16918]
2171 * sysdeps/arm/feupdateenv.c (feupdateenv):
2172 Rewrite to reduce FPSCR accesses and fix return value.
2173
2174 2014-06-24 Wilco <wdijkstr@arm.com>
2175
2176 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2177 Optimize to avoid unnecessary FPSCR writes.
2178 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2179 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2180 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2181 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2182
2183 2014-06-24 Wilco <wdijkstr@arm.com>
2184
2185 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2186 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2187 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2188 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2189 Call libc_fetestexcept_vfp.
2190 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2191 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2192 __SOFTFP__ ifdef so that they can be built for softfp.
2193
2194 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2195
2196 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2197 argument type signed char.
2198
2199 * Makerules (check-abi): Dump diff of symlist if the test
2200 fails.
2201
2202 2014-06-23 Roland McGrath <roland@hack.frob.com>
2203
2204 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2205 using abort.
2206
2207 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2208 Remove unused variable ST.
2209
2210 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2211
2212 [BZ #16354]
2213 [BZ #17061]
2214 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2215 small arguments before calling __expm1.
2216 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2217 small arguments before calling __expm1f.
2218 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2219 small arguments before calling __expm1l.
2220 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2221 Likewise.
2222 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2223 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2224 spurious underflow for some cosh tests.
2225 * math/auto-libm-test-out: Regenerated.
2226 * sysdeps/i386/fpu/libm-test-ulps: Update.
2227
2228 [BZ #17050]
2229 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2230 (__ieee754_y1): Set errno if return value overflows.
2231 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2232 (__ieee754_y1f): Set errno if return value overflows.
2233 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2234 (__ieee754_y1l): Set errno if return value overflows.
2235 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2236 (__ieee754_y1l): Set errno if return value overflows.
2237 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2238 * math/auto-libm-test-out: Regenerated.
2239
2240 * math/gen-auto-libm-tests.c: Document use of
2241 ignore-zero-inf-sign.
2242 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2243 (input_flags): Add ignore-zero-inf-sign.
2244 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2245 * math/gen-libm-test.pl (generate_testfile): Handle
2246 ignore-zero-inf-sign.
2247 * math/auto-libm-test-in: Mark some cpow tests with
2248 ignore-zero-inf-sign and some with xfail-rounding.
2249 * math/auto-libm-test-out: Regenerated.
2250 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2251 * sysdeps/i386/fpu/libm-test-ulps: Update.
2252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2253
2254 [BZ #16315]
2255 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2256 overflowing or underflowing operations take place with sign of
2257 result.
2258 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2259 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2260 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2261 (__ieee754_pow): Recompute overflowing and underflowing results in
2262 original rounding mode.
2263 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2264 (__powl_helper): Allow negative argument X and scale negated value
2265 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2266 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2267 overflowing or underflowing operations take place with sign of
2268 result.
2269 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2270 Include <math.h>.
2271 * math/auto-libm-test-in: Add more tests of pow.
2272 * math/auto-libm-test-out: Regenerated.
2273 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2274 (pow_tonearest_test_data): Remove.
2275 (pow_test_tonearest): Likewise.
2276 (pow_towardzero_test_data): Likewise.
2277 (pow_test_towardzero): Likewise.
2278 (pow_downward_test_data): Likewise.
2279 (pow_test_downward): Likewise.
2280 (pow_upward_test_data): Likewise.
2281 (pow_test_upward): Likewise.
2282 (main): Don't call removed functions.
2283 * sysdeps/i386/fpu/libm-test-ulps: Update.
2284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2285
2286 2014-06-23 Roland McGrath <roland@hack.frob.com>
2287
2288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2289 Moved ...
2290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2292 Moved ...
2293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2295 Moved ...
2296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2298 Moved ...
2299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2301 File removed.
2302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2303 File removed.
2304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2305 File removed.
2306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2307 File removed.
2308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2309 File removed.
2310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2311 File removed.
2312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2313 File removed.
2314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2315 File removed.
2316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2317 File removed.
2318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2319 File removed.
2320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2321 File removed.
2322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2323 File removed.
2324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2325 Moved ...
2326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2328 Moved ...
2329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2330 ... here.
2331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2332 Moved ...
2333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2335 Moved ...
2336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2338 Moved ...
2339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2341 Moved ...
2342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2344 Moved ...
2345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2347 Moved ...
2348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2350 Moved ...
2351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2354 ... here.
2355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2356 Moved ...
2357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2359 Moved ...
2360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2361 ... here.
2362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2363 Moved ...
2364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2365 ... here.
2366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2367 Moved ...
2368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2369 ... here.
2370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2371 Moved ...
2372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2374 Moved ...
2375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2379 Moved ...
2380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2381 ... here.
2382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2383 Moved ...
2384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2385 ... here.
2386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2387 Moved ...
2388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2390 Moved ...
2391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2393 Moved ...
2394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2396 Moved ...
2397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2399 Moved ...
2400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2401 ... here.
2402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2403 Moved ...
2404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2406 Moved ...
2407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2409 Moved ...
2410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2412 Moved ...
2413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2417 Moved ...
2418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2420 Moved ...
2421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2423 Moved ...
2424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2425 ... here.
2426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2427 Moved ...
2428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2429 ... here.
2430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2431 Moved ...
2432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2433 ... here.
2434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2435 Moved ...
2436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2438 Moved ...
2439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2441 Moved ...
2442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2444 Moved ...
2445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2446 ... here.
2447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2448 Moved ...
2449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2450 ... here.
2451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2452 Moved ...
2453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2454 ... here.
2455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2456 Moved ...
2457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2459 Moved ...
2460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2461
2462 2014-06-23 Will Newton <will.newton@linaro.org>
2463 Wilco <wdijkstr@arm.com>
2464
2465 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2466 implementation. Include get-rounding-mode.h.
2467 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2468 [!libc_feholdsetround_noex_ctx]: Define
2469 libc_feholdsetround_noex_ctx.
2470 [!libc_feholdsetround_noexf_ctx]: Define
2471 libc_feholdsetround_noexf_ctx.
2472 [!libc_feholdsetround_noexl_ctx]: Define
2473 libc_feholdsetround_noexl_ctx.
2474 (libc_feholdsetround_ctx): New function.
2475 (libc_feresetround_ctx): New function.
2476 (libc_feholdsetround_noex_ctx): New function.
2477 (libc_feresetround_noex_ctx): New function.
2478
2479 2014-06-23 Roland McGrath <roland@hack.frob.com>
2480
2481 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2482 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2483 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2484 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2485 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2486 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2487
2488 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2489 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2490 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2491 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2492 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2493 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2494 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2495 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2496 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2497 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2498 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2499 Moved ...
2500 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2501 ... here.
2502 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2503 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2504 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2505 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2506 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2507 Moved ...
2508 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2509 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2510 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2511 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2512 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2513 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2514 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2515 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2516 Moved ...
2517 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2518 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2519 Moved ...
2520 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2521 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2522 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2523 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2524 Moved ...
2525 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2526 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2527 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2528 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2529 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2530 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2531 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2532 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2533 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2534 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2535 Moved ...
2536 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2537 ... here.
2538 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2539 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2540 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2541 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2542 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2543 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2544 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2545 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2546 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2547 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2548 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2549 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2550 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2551 Moved ...
2552 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2553 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2554 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2555 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2556 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2557 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2558 Moved ...
2559 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2560 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2561 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2562 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2563 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2564
2565 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2566 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2567 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2568 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2569 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2570 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2571 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2572 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2573 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2574 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2575 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2576 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2577 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2578 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2579 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2580 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2581 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2582 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2583 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2584 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2585 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2586 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2587 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2588 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2589 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2590 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2591 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2592 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2593
2594 2014-06-23 Joseph Myers <joseph@codesourcery.com>
2595
2596 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2597 (FALLOC_FL_COLLAPSE_RANGE): New macro.
2598 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2599 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2600 (IPV6_PMTUDISC_INTERFACE): Likewise.
2601 (IPV6_PMTUDISC_OMIT): Likewise.
2602
2603 2014-06-23 Andreas Schwab <schwab@suse.de>
2604
2605 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2606 Remove unused errout label.
2607
2608 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2609
2610 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2611 macro: hardware supports Vector Crypto instructions.
2612
2613 2014-06-23 Will Newton <will.newton@linaro.org>
2614
2615 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2616 rather than __builtin_expect.
2617
2618 * elf/dl-lookup.c (undefined_msg): Remove variable.
2619 (_dl_lookup_symbol_x): Replace undefined_msg with string
2620 literal.
2621
2622 * elf/dl-lookup.c (do_lookup_unique): New function.
2623 (do_lookup_x): Move STB_GNU_UNIQUE handling code
2624 to a separate function.
2625
2626 2014-06-23 Andreas Schwab <schwab@suse.de>
2627
2628 [BZ #17079]
2629 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2630 before reading the next line.
2631
2632 2014-06-23 Will Newton <will.newton@linaro.org>
2633
2634 * test-skeleton.c (signal_handler): Use printf and %m
2635 rather than perror. Use printf rather than fprintf to
2636 stderr. Use puts rather than fputs to stderr.
2637 (main): Likewise.
2638
2639 2014-06-22 Ludovic Courtès <ludo@gnu.org>
2640
2641 * nscd/nscd.c (thread_info_t): Remove typedef.
2642 (thread_info): Remove variable.
2643
2644 2014-06-21 Allan McRae <allan@archlinux.org>
2645
2646 * NEWS: Mention CVE-2014-4043.
2647
2648 2014-06-20 Roland McGrath <roland@hack.frob.com>
2649
2650 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
2651 * nptl/smp.h: ... here.
2652
2653 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
2654
2655 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
2656 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
2657 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
2658 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
2659
2660 * nptl/allocatestack.c: Include <stack-aliasing.h>.
2661 * nptl/stack-aliasing.h: New file.
2662 * sysdeps/i386/i686/stack-aliasing.h: New file.
2663 * sysdeps/i386/i686/nptl/Makefile: File removed.
2664 * sysdeps/x86_64/stack-aliasing.h: New file.
2665 * sysdeps/x86_64/nptl/Makefile
2666 (CFLAGS-pthread_create.c): Variable removed.
2667
2668 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
2669 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
2670 old file.
2671 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
2672 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
2673 old file.
2674
2675 2014-06-21 Joseph Myers <joseph@codesourcery.com>
2676
2677 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2678 (__ASSUME_SIGFRAME_V2): Remove macro.
2679 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
2680 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
2681 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
2682 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
2683 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
2684 Declare as function. Remove conditional macro definitions.
2685 (__default_rt_sa_restorer): Likewise.
2686 (__default_sa_restorer_v1): Remove declaration.
2687 (__default_sa_restorer_v2): Likewise.
2688 (__default_rt_sa_restorer_v1): Likewise.
2689 (__default_rt_sa_restorer_v2): Likewise.
2690 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
2691 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
2692 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
2693
2694 2014-06-20 Roland McGrath <roland@hack.frob.com>
2695
2696 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
2697 (libpthread-routines): Add sysdep.
2698 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
2699 * sysdeps/unix/sysv/linux/sparc/Versions
2700 (libpthread: GLIBC_2.3.3): New version set.
2701 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
2702 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
2703 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
2704 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
2705 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
2706 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
2707 Moved ...
2708 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
2709 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
2710 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
2711 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
2712 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
2713 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
2714 * sysdeps/sparc/nptl/sem_init.c: ... here.
2715 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
2716 * sysdeps/sparc/nptl/sem_post.c: ... here.
2717 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
2718 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
2719 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
2720 * sysdeps/sparc/nptl/sem_wait.c: ... here.
2721 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
2722 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
2723 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
2724 (libpthread-routines): Add cpu_relax.
2725 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
2726 File removed.
2727 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
2728 (librt: GLIBC_2.3.3): New version set.
2729 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
2730 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
2731 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
2732 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
2733 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
2734 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
2735 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
2736 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
2737 Moved ...
2738 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
2739 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
2740 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
2741 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
2742 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
2743 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
2744 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
2745 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
2746 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
2747 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
2748 Moved ...
2749 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
2750 Update #include.
2751 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
2752 Moved ...
2753 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
2754 Update #include.
2755 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
2756 Moved ...
2757 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
2758 Update #include.
2759 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
2760 Moved ...
2761 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
2762 Update #include.
2763 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
2764 Moved ...
2765 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
2766 Update #include.
2767 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
2768 Moved ...
2769 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
2770 Update #include.
2771 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
2772 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
2773 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
2774 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
2775 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
2776 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
2777 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
2778 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
2779 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
2780 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
2781 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2782 Moved ...
2783 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
2784 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
2785 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
2786 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
2787 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
2788
2789 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2790
2791 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
2792 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
2793 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2794 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
2795 * nscd/nscd.c: Likewise.
2796 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2797 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2798 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2799 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2800
2801 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
2802 <kernel-features.h>.
2803 (init_mq_netlink): Remove conditional have_sock_cloexec
2804 definitions. Remove code conditional on have_sock_cloexec < 0.
2805 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
2806 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
2807 * sysdeps/unix/sysv/linux/opensock.c: Do not include
2808 <kernel-features.h>.
2809 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
2810 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
2811
2812 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2813
2814 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2815 Add tests for memset_chk and memset.
2816
2817 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
2818 with AVX2_Usable.
2819
2820 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2821
2822 [BZ #16046]
2823 * elf/tst-dl-iter-static.c: New file.
2824 * elf/Makefile (tests-static): Add tst-dl-iter-static.
2825
2826 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
2827 error.
2828
2829 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2830
2831 * sysdeps/unix/sysv/linux/kernel-features.h
2832 (__ASSUME_F_GETOWN_EX): Remove macro.
2833 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
2834 <kernel-features.h>.
2835 (miss_F_GETOWN_EX): Remove variable or macro.
2836 (do_fcntl): Do not check miss_F_GETOWN_EX.
2837 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
2838
2839 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
2840 Remove macro.
2841 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
2842 [!__ASSUME_AT_RANDOM]: Remove conditional code.
2843 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
2844
2845 * sysdeps/unix/sysv/linux/kernel-features.h
2846 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
2847 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
2848 [ADJ_OFFSET_SS_READ]: Make code unconditional.
2849 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
2850
2851 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
2852
2853 [BZ #17075]
2854 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
2855 Fix calculation of the symbol's value.
2856 * sysdeps/arm/tst-armtlsdescloc.c: New file.
2857 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
2858 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
2859 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
2860 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
2861 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
2862 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
2863 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
2864 (modules-names): Add `tst-armtlsdescmod',
2865 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
2866 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
2867 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2868 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
2869 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
2870 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
2871 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
2872 ($(objpfx)tst-armtlsdescloc): New dependency.
2873 ($(objpfx)tst-armtlsdescextnow): Likewise.
2874 ($(objpfx)tst-armtlsdescextlazy): Likewise.
2875 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
2876 TLS scheme support.
2877 * sysdeps/arm/configure: Regenerate.
2878
2879 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2880
2881 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2882 (__atfct_seterrno_2): Likewise.
2883 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2884 <kernel-features.h>.
2885 (__ASSUME_ATFCTS): Do not undefine and redefine.
2886 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2887 (__have_atfcts): Remove conditional definition.
2888 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2889 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2890 unreachable if [__ASSUME_ATFCTS].
2891 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2892 not undefine and redefine.
2893 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2894 <kernel-features.h>.
2895 (faccessat) [__NR_faccessat]: Make code unconditional.
2896 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2897 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2898 <kernel-features.h>.
2899 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2900 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2901 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2902 <kernel-features.h>.
2903 (fchownat) [__NR_fchownat]: Make code unconditional.
2904 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2905 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2906 <kernel-features.h>.
2907 (futimesat) [__NR_futimesat]: Make code unconditional.
2908 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2909 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2910 <kernel-features.h>.
2911 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2912 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2913 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2914 <kernel-features.h>.
2915 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2916 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2917 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2918 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2919 <kernel-features.h>.
2920 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2921 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2922 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2923 <kernel-features.h>.
2924 (linkat) [__NR_linkat]: Make code unconditional.
2925 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2926 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2927 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2928 <kernel-features.h>.
2929 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2930 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2931 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2932 <kernel-features.h>.
2933 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2934 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2935 * sysdeps/unix/sysv/linux/openat.c: Do not include
2936 <kernel-features.h>.
2937 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2938 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2939 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2940 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2941 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2942 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2943 <kernel-features.h>.
2944 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2945 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2946 result of INLINE_SYSCALL directly, not via int variable.
2947 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2948 <kernel-features.h>.
2949 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2950 (renameat) [__NR_renameat]: Make code unconditional.
2951 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2952 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2953 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2954 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2955 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2956 (__ASSUME_ATFCTS): Do not undefine and redefine.
2957 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2958 <kernel-features.h>.
2959 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2960 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2961 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2962 <kernel-features.h>.
2963 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2964 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2965 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2966 (__ASSUME_ATFCTS): Do not undefine and redefine.
2967 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2968 <kernel-features.h>.
2969 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2970 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2971 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2972 <kernel-features.h>.
2973 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2974 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2975
2976 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2977
2978 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2979
2980 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2981
2982 [BZ #17069]
2983 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2984 constructed tree before returning error.
2985 * posix/bug-regexp36.c: Expand test case.
2986
2987 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2988
2989 [BZ #6803]
2990 * math/libm-test.inc (scalbln_test_date):
2991 Add errno expectations.
2992 * math/w_scalblnf.c: New File.
2993 Add wrapper which checks for setting errno to ERANGE.
2994 Add weak_alias for corresponding scalbln function.
2995 * math/w_scalbln.c: Likewise.
2996 * math/w_scalblnl.c: Likewise.
2997 * math/Makefile (libm-calls): Add w_scalbln.
2998 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2999 Remove weak_alias for corresponding scalbln function.
3000 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3001 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3002 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3003 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3004 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3005 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3006 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3007 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3008 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3009 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3010 Remove long_double_symbol for scalblnl function in libm, libc.
3011 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3012 Add wrapper which checks for setting errno to ERANGE.
3013 Add long_double_symbol for scalblnl function in libm, libc.
3014 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3015 Remove long_double_symbol for scalblnl in libm.
3016 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3017 Add wrapper which checks for setting errno to ERANGE.
3018 Add long_double_symbol for scalblnl function in libm.
3019 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3020 Do not use wrapper because of own implementation.
3021
3022 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3023
3024 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3025 3 bytes for __pad1 for x32.
3026 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3027
3028 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3029 H.J. Lu <hongjiu.lu@intel.com>
3030
3031 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3032 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3033 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3034 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3035 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3036
3037 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3038
3039 [BZ #17069]
3040 * posix/regcomp.c (parse_expression): Deallocate partially
3041 constructed tree before returning error.
3042 * posix/Makefile.c (tests): Add bug-regex36.
3043 (generated): Add bug-regex36.mtrace.
3044 (tests-special): Add $(objpfx)bug-regex36-mem.out
3045 (bug-regex36-ENV): New variable.
3046 ($(objpfx)bug-regex36-mem.out): New rule.
3047 * posix/bug-regex36.c: New file.
3048
3049 2014-06-19 Will Newton <will.newton@linaro.org>
3050
3051 * malloc/malloc.c (systrim): If extra is zero then return
3052 early.
3053
3054 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3055
3056 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3057
3058 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
3059
3060 * sysdeps/aarch64/strchr.S: New file.
3061
3062 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3063
3064 [BZ #17022]
3065 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3066 from arguments -2 or below.
3067 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3068 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3069
3070 2014-06-18 Andreas Schwab <schwab@suse.de>
3071
3072 [BZ #17062]
3073 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3074 of a bracket expr not to run off the end of the string.
3075 * posix/Makefile (tests): Add tst-fnmatch3.
3076 * posix/tst-fnmatch3.c: New file.
3077
3078 2014-06-18 Joseph Myers <joseph@codesourcery.com>
3079
3080 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3081 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3082 [$(cross-compiling) = no]: Likewise.
3083 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3084 [$(cross-compiling) = no]: Likewise.
3085
3086 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3087
3088 [BZ #17031]
3089 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3090 double, adjusted for any remainder from the high double.
3091 * math/libm-test.inc (nearbyint): Add tests.
3092 (rint): Likewise.
3093
3094 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3095
3096 * nptl/sysdeps/powerpc/Makefile: Moved ...
3097 * sysdeps/powerpc/nptl/Makefile: ... here.
3098 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3099 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3100 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3101 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3102 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3103 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3104 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3105 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3106 * nptl/sysdeps/powerpc/tls.h: Moved ...
3107 * sysdeps/powerpc/nptl/tls.h: ... here.
3108
3109 2014-06-16 Joseph Myers <joseph@codesourcery.com>
3110
3111 [BZ #16681]
3112 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3113 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3114 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3115 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3116 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3117 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3118 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3119 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3120 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3121
3122 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3123
3124 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3125
3126 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3127
3128 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3129 defined operator.
3130
3131 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3132 $TIMEOUTFACTOR.
3133
3134 2014-06-16 Florian Weimer <fweimer@redhat.com>
3135
3136 [BZ #17058]
3137 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3138 non-executed part of the test.
3139
3140 2014-06-16 Andreas Schwab <schwab@suse.de>
3141
3142 * string/bits/string2.h (strdup, strndup): Update feature guard.
3143
3144 2014-06-14 David S. Miller <davem@davemloft.net>
3145
3146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3147
3148 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3149
3150 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3151 that was previously under [RESET_PID].
3152 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3153
3154 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3155 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3156 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3157 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3158 (__libc_vfork): New strong alias.
3159 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3160
3161 2014-06-14 Andi Kleen <ak@linux.intel.com>
3162
3163 * sysdeps/generic/elide.h: New file.
3164
3165 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3166
3167 * Makefile (installed-headers): Adjust path of pthread.h header.
3168
3169 2014-06-13 Roland McGrath <roland@hack.frob.com>
3170
3171 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3172 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3173 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3174 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3175
3176 * nptl/sysdeps/s390/Makefile: Moved ...
3177 * sysdeps/s390/nptl/Makefile: ... here.
3178 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3179 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3180 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3181 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3182 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3183 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3184 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3185 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3186 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3187 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3188 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3189 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3190 * nptl/sysdeps/s390/tls.h: Moved ...
3191 * sysdeps/s390/nptl/tls.h: ... here.
3192
3193 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3194 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3195
3196 2014-06-13 David S. Miller <davem@davemloft.net>
3197
3198 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3199 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3200 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3201 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3202 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3203 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3204 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3205 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3206 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3207 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3208 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3209 Remove RESET_PID cpp guards.
3210 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3211 Remove RESET_PID cpp guards.
3212 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3213
3214 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3215
3216 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3217 __sp to uintptr_t.
3218
3219 2014-06-13 Andi Kleen <ak@linux.intel.com>
3220
3221 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3222 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3223 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3224 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3225 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3226 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3227 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3228 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3229 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3230 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3231 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3232 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3233 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3234 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3235 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3236 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3237 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3238 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3239 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3240 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3241
3242 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3243 (pthread_rwlock_rdlock): Add elision.
3244 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3245 (pthread_rwlock_wrlock): Add elision.
3246 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3247 (pthread_rwlock_trywrlock): Add elision.
3248 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3249 (pthread_rwlock_tryrdlock): Add elision.
3250 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3251 (pthread_rwlock_tryrdlock): Add elision unlock.
3252 * nptl/sysdeps/pthread/pthread.h:
3253 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3254 (PTHREAD_RWLOCK_INITIALIZER,
3255 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3256 Handle new elision field.
3257 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3258 * sysdeps/arm/nptl/bits/pthreadtypes.h
3259 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3260 * sysdeps/sh/nptl/bits/pthreadtypes.h
3261 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3262 * sysdeps/tile/nptl/bits/pthreadtypes.h
3263 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3264 * sysdeps/a/nptl/bits/pthreadtypes.h
3265 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3266 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3267 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3268 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3269 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3270 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3271 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3272 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3273 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3274 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3275 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3276 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3277 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3278 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3279 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3280 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3281 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3282 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3283 (elision_init): Set try_xbegin to zero when no RTM.
3284 * sysdeps/x86/nptl/bits/pthreadtypes.h
3285 (pthread_rwlock_t): Change __pad1 to __rwelision.
3286 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3287
3288 2014-06-13 Andi Kleen <ak@linux.intel.com>
3289
3290 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3291 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3292 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3293 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3294
3295 2014-06-13 Meador Inge <meadori@codesourcery.com>
3296
3297 [BZ #16996]
3298 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3299 that the cached result has been set before returning it.
3300
3301 2014-06-12 Roland McGrath <roland@hack.frob.com>
3302
3303 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3304 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3305 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3306 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3307 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3308 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3309
3310 * nptl/sysdeps/sparc/Makefile: Moved ...
3311 * sysdeps/sparc/nptl/Makefile: ... here.
3312 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3313 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3314 * nptl/sysdeps/sparc/tls.h: Moved ...
3315 * sysdeps/sparc/nptl/tls.h: ... here.
3316 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3317 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3318 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3319 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3320 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3321 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3322 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3323 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3324 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3325 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3326 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3327 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3328 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3329 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3330 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3331 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3332 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3333 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3334 Update #include.
3335 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3336 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3337 Update #include.
3338 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3339 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3340 Update #include.
3341 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3342 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3343 Update #include.
3344
3345 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3346
3347 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3348 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3349
3350 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3351 (struct list_links): Type removed.
3352 (struct thread_node, struct timer_node): Replace struct list_links
3353 with struct list_head.
3354 (list_unlink_ip): Likewise.
3355 * sysdeps/pthread/timer_routines.c
3356 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3357 (list_append, list_insbefore): Likewise.
3358 (list_init): Function removed.
3359 (thread_init, init_module): Use INIT_LIST_HEAD instead.
3360 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3361 * sysdeps/pthread/Makefile: ... here, new file.
3362
3363 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3364 * sysdeps/nptl/Implies: ... here.
3365 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3366 * nptl/sysdeps/pthread/list.h: Moved ...
3367 * include/list.h: ... here.
3368 * nptl/sysdeps/pthread/createthread.c: Moved ...
3369 * nptl/createthread.c: ... here.
3370 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3371 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3372 * nptl/pt-longjmp.c: ... here.
3373 * nptl/sysdeps/pthread/Makefile: Moved ...
3374 * sysdeps/nptl/Makefile: ... here.
3375 * nptl/sysdeps/pthread/Subdirs: Moved ...
3376 * sysdeps/nptl/Subdirs: ... here.
3377 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3378 * sysdeps/nptl/aio_misc.h: ... here.
3379 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3380 * sysdeps/nptl/bits/libc-lock.h: ... here.
3381 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3382 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3383 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3384 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3385 * nptl/sysdeps/pthread/configure: Moved ...
3386 * sysdeps/nptl/configure: ... here.
3387 * nptl/sysdeps/pthread/configure.ac: Moved ...
3388 * sysdeps/nptl/configure.ac: ... here.
3389 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3390 * sysdeps/nptl/gai_misc.h: ... here.
3391 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3392 * sysdeps/nptl/librt-cancellation.c: ... here.
3393 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3394 * sysdeps/nptl/malloc-machine.h: ... here.
3395 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3396 * sysdeps/nptl/pthread-functions.h: ... here.
3397 * nptl/sysdeps/pthread/pthread.h: Moved ...
3398 * sysdeps/nptl/pthread.h: ... here.
3399 * nptl/sysdeps/pthread/setxid.h: Moved ...
3400 * sysdeps/nptl/setxid.h: ... here.
3401 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3402 * sysdeps/nptl/sigfillset.c: ... here.
3403 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3404 * sysdeps/nptl/tcb-offsets.h: ... here.
3405 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3406 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3407 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3408 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3409 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3410 * sysdeps/pthread/allocalim.h: ... here.
3411 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3412 * sysdeps/pthread/bits/sigthread.h: ... here.
3413 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3414 * sysdeps/pthread/flockfile.c: ... here.
3415 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3416 * sysdeps/pthread/ftrylockfile.c: ... here.
3417 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3418 * sysdeps/pthread/funlockfile.c: ... here.
3419 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3420 * sysdeps/pthread/posix-timer.h: ... here.
3421 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3422 * sysdeps/pthread/timer_create.c: ... here.
3423 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3424 * sysdeps/pthread/timer_delete.c: ... here.
3425 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3426 * sysdeps/pthread/timer_getoverr.c: ... here.
3427 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3428 * sysdeps/pthread/timer_gettime.c: ... here.
3429 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3430 * sysdeps/pthread/timer_routines.c: ... here.
3431 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3432 * sysdeps/pthread/timer_settime.c: ... here.
3433 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3434 * sysdeps/pthread/tst-timer.c: ... here.
3435 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3436 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3437
3438 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3439 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3440
3441 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3442 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3443 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3444 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3445 Update #include target.
3446 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3447 * sysdeps/i386/i686/nptl/Makefile: ... here.
3448 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3449 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3450 Update #include target.
3451 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3452 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3453 * nptl/sysdeps/i386/Makefile: Moved ...
3454 * sysdeps/i386/nptl/Makefile: ... here.
3455 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3456 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3457 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3458 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3459 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3460 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3461 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3462 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3463 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3464 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3465 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3466 * nptl/sysdeps/i386/tls.h: Moved ...
3467 * sysdeps/i386/nptl/tls.h: ... here.
3468
3469 * sysdeps/sh/Makefile [$(subdir) = csu]
3470 (gen-as-const-headers): Add tcb-offsets.sym.
3471 * nptl/sysdeps/sh/Makefile: File removed.
3472 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3473 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3474 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3475 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3476 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3477 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3478 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3479 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3480 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3481 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3482 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3483 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3484 * nptl/sysdeps/sh/tls.h: Moved ...
3485 * sysdeps/sh/nptl/tls.h: ... here.
3486 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3487 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3488 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3489 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3490 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3491 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3492 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3493 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3494 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3495 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3496 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3497 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3498 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3499 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3500 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3501 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3502 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3503 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3504 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3505 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3506 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3507 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3508 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3509 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3510 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3511 Moved ...
3512 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3513 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3514 Moved ...
3515 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3516 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3517 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3518 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3519 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3520 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3521 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3522 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3523 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3524 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3525 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3526 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3527 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3528 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3529 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3530 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3531 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3532 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3533 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3534
3535 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3536
3537 * posix/spawn_faction_addopen.c: Include string.h.
3538
3539 2014-06-11 Roland McGrath <roland@hack.frob.com>
3540
3541 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3542 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3543 * nptl/sysdeps/x86_64/Makefile: Moved ...
3544 * sysdeps/x86_64/nptl/Makefile: ... here.
3545 * nptl/sysdeps/x86_64/configure: Moved ...
3546 * sysdeps/x86_64/nptl/configure: ... here.
3547 * nptl/sysdeps/x86_64/configure.ac: Moved ...
3548 * sysdeps/x86_64/nptl/configure.ac: ... here.
3549 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3550 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3551 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3552 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3553 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3554 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3555 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3556 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3557 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3558 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3559 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3560 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3561 * nptl/sysdeps/x86_64/tls.h: Moved ...
3562 * sysdeps/x86_64/nptl/tls.h: ... here.
3563 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3564 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3565 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3566 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3567
3568 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3569
3570 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3571
3572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3573
3574 2014-06-11 Joseph Myers <joseph@codesourcery.com>
3575
3576 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3577 type.
3578 [POSIX] (off_t): Likewise.
3579 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3580 [POSIX] (S_ISBLK): Require macro.
3581 [POSIX] (S_ISCHR): Likewise.
3582 [POSIX] (S_ISDIR): Likewise.
3583 [POSIX] (S_ISFIFO): Likewise.
3584 [POSIX] (S_ISREG): Likewise.
3585 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3586 optional-macro.
3587 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3588 type.
3589 [POSIX] (time_t): Likewise.
3590 [POSIX] (timer_t): Likewise.
3591
3592 2014-06-11 Florian Weimer <fweimer@redhat.com>
3593
3594 [BZ #17048]
3595 * posix/spawn_int.h (struct __spawn_action): Make the path string
3596 non-const to support deallocation.
3597 * posix/spawn_faction_addopen.c
3598 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3599 * posix/spawn_faction_destroy.c
3600 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
3601 path in all spawn_do_open actions.
3602 * posix/tst-spawn.c (do_test): Exercise the copy operation in
3603 posix_spawn_file_actions_addopen.
3604
3605 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
3606
3607 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3608 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3609 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3610 conditional code always true.
3611 (__libc_vfork): New alias.
3612
3613 2014-06-11 Roland McGrath <roland@hack.frob.com>
3614
3615 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3616 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3617
3618 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3619
3620 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3621 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3622
3623 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3624 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3625
3626 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3627 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3628
3629 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3630
3631 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3632 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3633 multiarch strcmp for PPC64.
3634 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3635 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3636 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3637 multiarch optimizations.
3638 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3639 (__libc_ifunc_impl_list): Likewise.
3640
3641 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3642
3643 * benchtests/scripts/validate_benchout.py: New script.
3644 * benchtests/Makefile (bench-func): Call it.
3645 * benchtests/scripts/benchout.schema.json: New file.
3646
3647 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
3648
3649 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
3650 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
3651 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
3652 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
3653 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
3654 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
3655 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
3656 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
3657 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
3658 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
3659 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
3660 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
3661 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
3662 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
3663 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
3664 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
3665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
3666 Moved ...
3667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
3668 ... here.
3669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
3670 Moved ...
3671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
3672 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
3673 Moved ...
3674 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
3675 ... here.
3676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
3677 Moved ...
3678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
3679 ... here.
3680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
3681 Moved ...
3682 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
3683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
3684 Moved ...
3685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
3686 ... here.
3687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
3688 Moved ...
3689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
3690 ... here.
3691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
3692 Moved ...
3693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
3694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
3695 Moved ...
3696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
3697 ... here.
3698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
3699 Moved ...
3700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
3701 ... here.
3702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
3703 Moved ...
3704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
3705 ... here.
3706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
3707 Moved ...
3708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
3709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
3710 Moved ...
3711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
3712 ... here.
3713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
3714 Moved ...
3715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
3716 ... here.
3717 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
3718 Moved ...
3719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
3720 ... here.
3721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
3722 Moved ...
3723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
3724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
3725 Moved ...
3726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
3727 ... here.
3728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
3729 Moved ...
3730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
3731 ... here.
3732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
3733 Moved ...
3734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
3735 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
3736 Moved ...
3737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
3738 ... here.
3739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
3740 Moved ...
3741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
3742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
3743 Moved ...
3744 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
3745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
3746 Moved ...
3747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
3748 ... here.
3749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
3750 Moved ...
3751 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
3752 ... here.
3753 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
3754 Moved ...
3755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
3756 ... here.
3757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
3758 Moved ...
3759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
3760 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
3761 Moved ...
3762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
3763 ... here.
3764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
3765 Moved ...
3766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
3767 ... here.
3768 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
3769 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
3770 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
3771 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
3772 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
3773 Moved ...
3774 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
3775 ... here.
3776 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
3777 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
3778 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
3779 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
3780 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
3781 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
3782 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
3783 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
3784 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
3785 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
3786 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
3787 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
3788 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
3789 Moved ...
3790 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
3791 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
3792 Moved ...
3793 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
3794 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
3795 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
3796 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
3797 Moved ...
3798 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
3799 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
3800 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
3801 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
3802 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
3803 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
3804 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
3805
3806 2014-06-10 Wilco <wdijkstr@arm.com>
3807
3808 * math/test-fenv-return.c: New file.
3809 * math/Makefile: Add new test test-fenv-return.
3810
3811 2014-06-10 Joseph Myers <joseph@codesourcery.com>
3812
3813 [BZ #17042]
3814 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
3815 when x - 1 is zero.
3816 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
3817 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3818 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
3819 0.0L for an argument of 1.0L.
3820 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3821 Likewise.
3822 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
3823 value when x - 1 is zero.
3824 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
3825 * sysdeps/i386/fpu/libm-test-ulps: Update.
3826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3827
3828 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
3829
3830 [BZ #15119]
3831 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
3832
3833 2014-06-09 Roland McGrath <roland@hack.frob.com>
3834
3835 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
3836 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
3837
3838 2014-06-09 Roland McGrath <roland@hack.frob.com>
3839
3840 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3841 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
3842
3843 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3844 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
3845
3846 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3847 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
3848
3849 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3850 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
3851
3852 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
3853 if not already defined.
3854 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
3855 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
3856 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
3857 (TLS_INIT_TP): Use it.
3858 (TLS_DEFINE_INIT_TP): New macro.
3859 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
3860
3861 2014-06-09 Joseph Myers <joseph@codesourcery.com>
3862
3863 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
3864 constant.
3865 [POSIX] (IXANY): Likewise.
3866 [POSIX] (OLCUC): Likewise.
3867 [POSIX || POSIX2008] (CBAUD): Do not allow.
3868 [POSIX || POSIX2008] (DEFECHO): Likewise.
3869 [POSIX || POSIX2008] (ECHOCTL): Likewise.
3870 [POSIX || POSIX2008] (ECHOKE): Likewise.
3871 [POSIX || POSIX2008] (ECHOPRT): Likewise.
3872 [POSIX || POSIX2008] (EXTA): Likewise.
3873 [POSIX || POSIX2008] (EXTB): Likewise.
3874 [POSIX || POSIX2008] (FLUSHO): Likewise.
3875 [POSIX || POSIX2008] (LOBLK): Likewise.
3876 [POSIX || POSIX2008] (PENDIN): Likewise.
3877 [POSIX || POSIX2008] (SWTCH): Likewise.
3878 [POSIX || POSIX2008] (VDISCARD): Likewise.
3879 [POSIX || POSIX2008] (VDSUSP): Likewise.
3880 [POSIX || POSIX2008] (VLNEXT): Likewise.
3881 [POSIX || POSIX2008] (VREPRINT): Likewise.
3882 [POSIX || POSIX2008] (VSTATUS): Likewise.
3883 [POSIX || POSIX2008] (VWERASE): Likewise.
3884 (B*): Change to B[0123456789]*.
3885 * conform/data/time.h-data [POSIX || UNIX98]
3886 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3887 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3888 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3889 [POSIX] (tm_*): Do not allow.
3890
3891 2014-06-07 Joseph Myers <joseph@codesourcery.com>
3892
3893 * Makefile (install): Don't set LANGUAGE.
3894 * Makefile.in (install): Likewise.
3895 * assert/Makefile (test-assert-ENV): Remove variable.
3896 (test-assert-perr-ENV): Likewise.
3897 * elf/Makefile (neededtest4-ENV): Likewise.
3898 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3899 [$(cross-compiling) = no]: Don't set LANGUAGE.
3900 * io/ftwtest-sh (LANG): Remove variable.
3901 * libio/Makefile (tst-widetext-ENV): Likewise.
3902 * manual/install.texi (Running make install): Don't refer to
3903 environment settings for make install.
3904 * INSTALL: Regenerated.
3905 * nptl/tst-tls6.sh: Don't set LANG.
3906 * posix/globtest.sh (LANG): Remove variable.
3907 * string/Makefile (tester-ENV): Likewise.
3908 (inl-tester-ENV): Likewise.
3909 (noinl-tester-ENV): Likewise.
3910 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3911 [$(cross-compiling) = no]: Don't set LANGUAGE.
3912 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3913 without explicit environment settings.
3914
3915 2014-06-06 Roland McGrath <roland@hack.frob.com>
3916
3917 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3918 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3919 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3920 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3921
3922 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3923
3924 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3925 other files in the crypt directory.
3926 * crypt/crypt.c: Remove duplicate includes.
3927 * crypt/crypt-entry.c: Likewise.
3928 * crypt/crypt_util.c: Likewise.
3929
3930 2014-06-06 Joseph Myers <joseph@codesourcery.com>
3931
3932 * Makeconfig (run-program-env): New variable.
3933 (run-program-prefix-before-env): Likewise.
3934 (run-program-prefix-after-env): Likewise.
3935 (run-program-prefix): Define in terms of new variables.
3936 (built-program-cmd-before-env): New variable.
3937 (built-program-cmd-after-env): Likewise.
3938 (built-program-cmd): Define in terms of new variables.
3939 (test-program-prefix-before-env): New variable.
3940 (test-program-prefix-after-env): Likewise.
3941 (test-program-prefix): Define in terms of new variables.
3942 (test-program-cmd-before-env): New variable.
3943 (test-program-cmd-after-env): Likewise.
3944 (test-program-cmd): Define in terms of new variables.
3945 * Rules (make-test-out): Use $(run-program-env).
3946 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3947 (help): Do not mention environment variables. Mention
3948 --timeoutfactor option.
3949 (timeoutfactor): New variable.
3950 (blacklist_exports): Remove function.
3951 (exports): Remove variable.
3952 (command): Do not include ${exports}.
3953 * manual/install.texi (Configuring and compiling): Do not mention
3954 test wrappers preserving environment variables. Mention that last
3955 assignment to a variable must take precedence.
3956 * INSTALL: Regenerated.
3957 * benchtests/Makefile (run-bench): Use $(run-program-env).
3958 * catgets/Makefile ($(objpfx)test1.cat): Use
3959 $(built-program-cmd-before-env), $(run-program-env) and
3960 $(built-program-cmd-after-env).
3961 ($(objpfx)test2.cat): Do not specify environment variables
3962 explicitly.
3963 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3964 $(run-program-env) and $(built-program-cmd-after-env).
3965 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3966 $(run-program-env) and $(test-program-cmd-after-env).
3967 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3968 explicitly.
3969 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3970 run_program_env and test_program_cmd_after_env arguments.
3971 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3972 * elf/tst-pathopt.sh: Use run_program_env argument.
3973 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3974 $(test-wrapper-env) and $(run-program-env).
3975 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3976 run_program_env arguments.
3977 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3978 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3979 $(test-program-prefix-before-env), $(run-program-env) and
3980 $(test-program-prefix-after-env).
3981 ($(objpfx)tst-gettext2.out): Likewise.
3982 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3983 run_program_env and test_program_prefix_after_env arguments.
3984 * intl/tst-gettext2.sh: Likewise.
3985 * intl/tst-gettext4.sh: Do not set environment variables
3986 explicitly.
3987 * intl/tst-gettext6.sh: Likewise.
3988 * intl/tst-translit.sh: Likewise.
3989 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3990 $(test-program-prefix-before-env), $(run-program-env) and
3991 $(test-program-prefix-after-env).
3992 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3993 run_program_env and test_program_prefix_after_env arguments.
3994 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3995 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3996 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3997 explicitly with each use of ${test_wrapper_env}.
3998 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3999 $(test-program-prefix-before-env), $(run-program-env) and
4000 $(test-program-prefix-after-env).
4001 * posix/tst-getconf.sh: Do not set environment variables
4002 explicitly.
4003 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4004 run_program_env and test_program_prefix_after_env arguments.
4005 * stdio-common/tst-printf.sh: Do not set environment variables
4006 explicitly.
4007 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4008 $(test-program-prefix-before-env), $(run-program-env) and
4009 $(test-program-prefix-after-env).
4010 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4011 run_program_env and test_program_prefix_after_env arguments.
4012 Split $test calls into $test_pre and $test.
4013 * timezone/Makefile (build-testdata): Use
4014 $(built-program-cmd-before-env), $(run-program-env) and
4015 $(built-program-cmd-after-env).
4016
4017 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4018
4019 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4020 strlen for non SHARED builds.
4021
4022 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4023
4024 * nptl/allocatestack.c (check_list): Inlined function...
4025 (__reclaim_stacks): ... here.
4026
4027 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4028
4029 [BZ #15698]
4030 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4031 memory overrun.
4032
4033 2014-06-05 Joseph Myers <joseph@codesourcery.com>
4034
4035 * Rules (make-test-out): Include
4036 LOCPATH=$(common-objpfx)localedata in default environment.
4037 * debug/Makefile (tst-chk1-ENV): Remove variable.
4038 (tst-chk2-ENV): Likewise.
4039 (tst-chk3-ENV): Likewise.
4040 (tst-chk4-ENV): Likewise.
4041 (tst-chk5-ENV): Likewise.
4042 (tst-chk6-ENV): Likewise.
4043 (tst-lfschk1-ENV): Likewise.
4044 (tst-lfschk2-ENV): Likewise.
4045 (tst-lfschk3-ENV): Likewise.
4046 (tst-lfschk4-ENV): Likewise.
4047 (tst-lfschk5-ENV): Likewise.
4048 (tst-lfschk6-ENV): Likewise.
4049 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4050 (tst-iconv7-ENV): Likewise.
4051 * intl/Makefile (LOCPATH-ENV): Likewise.
4052 (tst-codeset-ENV): Likewise.
4053 (tst-gettext3-ENV): Likewise.
4054 (tst-gettext5-ENV): Likewise.
4055 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4056 (tst-fopenloc-ENV): Likewise.
4057 (tst-fgetws-ENV): Remove variable.
4058 (tst-ungetwc1-ENV): Likewise.
4059 (tst-ungetwc2-ENV): Likewise.
4060 (bug-ungetwc2-ENV): Likewise.
4061 (tst-swscanf-ENV): Likewise.
4062 (bug-ftell-ENV): Likewise.
4063 (tst-fgetwc-ENV): Likewise.
4064 (tst-fseek-ENV): Likewise.
4065 (tst-ftell-partial-wide-ENV): Likewise.
4066 (tst-ftell-active-handler-ENV): Likewise.
4067 (tst-ftell-append-ENV): Likewise.
4068 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4069 (tst-regexloc-ENV): Likewise.
4070 (bug-regex1-ENV): Likewise.
4071 (tst-regex-ENV): Likewise.
4072 (tst-regex2-ENV): Likewise.
4073 (bug-regex5-ENV): Likewise.
4074 (bug-regex6-ENV): Likewise.
4075 (bug-regex17-ENV): Likewise.
4076 (bug-regex18-ENV): Likewise.
4077 (bug-regex19-ENV): Likewise.
4078 (bug-regex20-ENV): Likewise.
4079 (bug-regex22-ENV): Likewise.
4080 (bug-regex23-ENV): Likewise.
4081 (bug-regex25-ENV): Likewise.
4082 (bug-regex26-ENV): Likewise.
4083 (bug-regex30-ENV): Likewise.
4084 (bug-regex32-ENV): Likewise.
4085 (bug-regex33-ENV): Likewise.
4086 (bug-regex34-ENV): Likewise.
4087 (bug-regex35-ENV): Likewise.
4088 (tst-rxspencer-ENV): Likewise.
4089 (tst-rxspencer-no-utf8-ENV): Likewise.
4090 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4091 (tst-sscanf-ENV): Likewise.
4092 (tst-swprintf-ENV): Likewise.
4093 (tst-swscanf-ENV): Likewise.
4094 (test-vfprintf-ENV): Likewise.
4095 (scanf13-ENV): Likewise.
4096 (bug14-ENV): Likewise.
4097 (tst-grouping-ENV): Likewise.
4098 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4099 (tst-strtod3-ENV): Likewise.
4100 (tst-strtod4-ENV): Likewise.
4101 (tst-strtod5-ENV): Likewise.
4102 (testmb2-ENV): Likewise./
4103 * string/Makefile (tst-strxfrm-ENV): Likewise.
4104 (tst-strxfrm2-ENV): Likewise.
4105 (bug-strcoll1-ENV): Likewise.
4106 (test-strcasecmp-ENV): Likewise.
4107 (test-strncasecmp-ENV): Likewise.
4108 * time/Makefile (tst-strptime-ENV): Likewise.
4109 (tst-ftime_l-ENV): Likewise.
4110 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4111 (tst-mbrtowc-ENV): Likewise.
4112 (tst-wcrtomb-ENV): Likewise.
4113 (tst-mbrtowc2-ENV): Likewise.
4114 (tst-c16c32-1-ENV): Likewise.
4115 (tst-mbsnrtowcs-ENV): Likewise.
4116
4117 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
4118
4119 * manual/resource.texi (How to get information about the memory
4120 subsystem?): Fix typo.
4121 Reported by Peon de la Parra Ivan <peon@keba.com>
4122
4123 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4124
4125 [BZ #16882]
4126 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4127 (pthread_spin_lock): Branch out of spin loop to proper location.
4128 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4129 (pthread_spin_lock): Likewise.
4130
4131 * nptl/tst-spin4.c: New test.
4132 * nptl/Makefile (tests): Add tst-spin4.
4133
4134 2014-06-03 Andreas Schwab <schwab@suse.de>
4135
4136 [BZ #15946]
4137 * resolv/res_send.c (send_dg): Reload file descriptor after
4138 calling reopen.
4139
4140 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4141
4142 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4143
4144 2014-06-03 Richard Henderson <rth@redhat.com>
4145
4146 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4147 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4148 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4149 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4150 in the SAVE_PID block.
4151 (__libc_vfork): New alias.
4152 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4153
4154 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4155 child in registers, not on the stack. Remove RESET_PID conditionals.
4156 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4157
4158 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4159
4160 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4161
4162 2014-06-03 Wilco <wdijkstr@arm.com>
4163
4164 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4165 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4166 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4167 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4168 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4169 Likewise.
4170
4171 2014-06-03 Wilco <wdijkstr@arm.com>
4172
4173 * sysdeps/aarch64/fpu/math_private.h
4174 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4175 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4176 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4177 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4178 Fix declarations.
4179
4180 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4181
4182 * crypt/crypt-private.h: Include ufc-crypt.h.
4183 (__b64_from_24bit): Declare extern.
4184 * crypt/crypt_util.c(__b64_from_24bit): New function.
4185 (b64t): New static const variable.
4186 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4187 (b64t): Remove variable.
4188 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4189 * crypt/sha256-crypt.c: Include crypt-private.h.
4190 (b64t): Remove variable.
4191 (__sha256_crypt_r): Remove b64_from_24bit and replace
4192 with __b64_from_24bit.
4193 * crypt/sha512-crypt.c: Likewise.
4194
4195 2014-06-02 Roland McGrath <roland@hack.frob.com>
4196
4197 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4198 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4199 Label the code __libc_vfork rather than __vfork.
4200 [!NOT_IN_libc] (vfork): Define as weak alias.
4201 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4202 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4203 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4204
4205 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4206
4207 * malloc/malloc.c (malloc_info): Fix format specifier for
4208 n_mmaps.
4209
4210 2014-06-02 Wilco <wdijkstr@arm.com>
4211
4212 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4213 FPCR write.
4214
4215 2014-06-02 Wilco <wdijkstr@arm.com>
4216
4217 [BZ #17009]
4218 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4219 Rewrite to reduce FPCR/FPSR accesses.
4220
4221 2014-06-01 David S. Miller <davem@davemloft.net>
4222
4223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4224
4225 2014-05-31 David S. Miller <davem@davemloft.net>
4226
4227 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4228 to occur in round to nearest mode when |x| >= 2.0
4229
4230 2014-05-30 Richard Henderson <rth@twiddle.net>
4231
4232 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4233 (PSEUDO_RET_NOERRNO): Remove.
4234 (ret): Don't redefine.
4235 (ret_NOERRNO): Define in terms of ret.
4236 (ret_ERRVAL): Likewise.
4237
4238 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4239 use of PSEUDO_RET; perform the error check directly.
4240
4241 2014-05-30 Marko Myllynen <myllynen@redhat.com>
4242
4243 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4244 with __int128_t.
4245
4246 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4247
4248 * malloc/malloc (malloc_info): Fix formatting.
4249
4250 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4251 Roland McGrath <roland@hack.frob.com>
4252
4253 * malloc/malloc (malloc_info): Also print mmapped statistics.
4254
4255 2014-05-30 Roland McGrath <roland@hack.frob.com>
4256
4257 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4258 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4259
4260 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
4261
4262 * malloc/malloc.c (malloc_info): Inline mi_arena.
4263
4264 2014-05-29 Richard Henderson <rth@twiddle.net>
4265
4266 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4267 Remove comma before expanding ASM_ARGS_##nr.
4268 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4269 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4270 of ASM_ARGS_##nr.
4271 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4272 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4273 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4274 (ASM_ARGS_1): Add leading comma.
4275
4276 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4277 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4278 to __errno_location.
4279 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4280 Remove the expected plt for __errno_location.
4281
4282 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4283 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4284 call to __read_tp.
4285
4286 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4287 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4288 it and break it down.
4289 (DOCARGS_0, DOCARGS_1): Do nothing.
4290 (DOCARGS_2): Update to store into the new stack frame.
4291 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4292 (UNDOCARGS_1): Update to restore from the new stack frame.
4293 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4294 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4295
4296 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4297 (SINGLE_THREAD_P): New parameter for result regno.
4298 (PSEUDO): Update to match; use cbz instead of beq.
4299
4300 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4301 Use ENTRY to define the _nocancel entry point. Share the syscall
4302 and syscall error check paths with the cancel path.
4303 (PSEUDO_END): New.
4304
4305 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4306 whitespace; tabs before and after asm mnemonics.
4307
4308 2014-05-29 Eric Wong <normalperson@yhbt.net>
4309
4310 [BZ #15132]
4311 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4312 Call fstat64 or stat64 internally, depending on arguments passed.
4313 Replace stat buffer argument with file descriptor argument.
4314 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4315 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4316 Pass fd to __internal_statvfs instead of calling fstat64.
4317 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4318 Pass fd to __internal_statvfs64 instead of calling fstat64.
4319 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4320 Pass -1 to __internal_statvfs instead of calling stat64.
4321 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4322 Pass -1 to __internal_statvfs64 instead of calling stat64.
4323
4324 2014-05-28 Roland McGrath <roland@hack.frob.com>
4325
4326 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4327 that was previously under [RESET_PID].
4328 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4329
4330 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4331 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4332
4333 2014-05-27 Roland McGrath <roland@hack.frob.com>
4334
4335 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4336
4337 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4338 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4339
4340 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
4341
4342 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4343
4344 2014-05-27 Andreas Schwab <schwab@suse.de>
4345
4346 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4347 TLS_INIT_TP macro.
4348 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4349 * elf/rtld.c (init_tls, dl_main): Likewise.
4350 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4351 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4352 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4353 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4354 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4355 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4356 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4357 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4358 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4359 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4360 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4361 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4362 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4363 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4364 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4365 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4366 * sysdeps/generic/tls.h: Update description.
4367
4368 2014-05-27 Will Newton <will.newton@linaro.org>
4369
4370 [BZ #16990]
4371 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4372 and restore r2 rather than just restoring.
4373
4374 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4375
4376 [BZ #16724]
4377 * libio/tst-ftell-append.c: New test case.
4378 * libio/Makefile (tests): Add test case.
4379 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4380 append mode.
4381 * libio/wfileops.c (do_ftell_wide): Likewise.
4382
4383 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4384
4385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4386
4387 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4388 ...
4389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4391 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4392 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4393 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4394 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4395 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4396 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4397 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4398 Moved ...
4399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4400 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4401 Moved ...
4402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4403 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4404 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4405 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4406 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4407 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4408 ...
4409 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4410 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4411 Moved ...
4412 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4413 here.
4414 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4415 ...
4416 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4417 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4418 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4419
4420 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4421 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4422 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4423 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4424
4425 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4426 merge into ...
4427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4428 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4429 ...
4430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4431 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4432 ...
4433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4434 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4435 Moved ...
4436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4437 here.
4438 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4439 Moved ...
4440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4441 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4442 Moved ...
4443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4444
4445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4446 conditional [RESET_PID].
4447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4448 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4449 removed.
4450 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4451 removed.
4452
4453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4454 <tcb-offsets.h>.
4455 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4456 (__libc_vfork): New strong alias.
4457 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4458 removed.
4459 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4460 Removed.
4461
4462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4463 <tcb-offsets.h>.
4464 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4465 (__libc_vfork): New strong alias.
4466 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4467 removed.
4468 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4469 removed.
4470
4471 2014-05-26 Carlos O'Donell <carlos@redhat.com>
4472
4473 * malloc/malloc.c (mi_arena): New function.
4474 (malloc_info): Remove nested function mi_arena. Call non-nosted
4475 function mi_arena.
4476
4477 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4478
4479 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4480 by insrwi.
4481 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4482 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4483 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4484 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4485 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4486 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4487 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4488
4489 2014-05-26 Andreas Schwab <schwab@suse.de>
4490
4491 [BZ #16984]
4492 * locale/programs/repertoire.c (repertoire_read): Add slash
4493 between I18NPATH element and file name.
4494 * locale/programs/locfile.c (locfile_read): Likewise.
4495
4496 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4497
4498 * nptl/pthread_mutexattr_settype.c
4499 (__pthread_mutexattr_settype):
4500 Disable lock elision for PTHREAD_MUTEX_NORMAL.
4501
4502 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
4503
4504 * nptl/tst-mutex5 (do_test):
4505 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4506
4507 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4508
4509 * benchtests/README: Document 'init' directive.
4510 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4511 BENCH_INIT.
4512 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4513 (parse_file): Recognize 'init' directive.
4514
4515 2014-05-26 Kyle McMartin <kyle@redhat.com>
4516
4517 [BZ #16796]
4518 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4519 alignment of struct pthread.
4520
4521 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4522
4523 [BZ #16878]
4524 * nscd/netgroupcache.c (addgetnetgrentX): Look for
4525 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4526 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4527 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4528
4529 2014-05-25 Richard Henderson <rth@twiddle.net>
4530
4531 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4532 (SINGLE_THREAD_P_PIC): Remove.
4533 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4534 (SINGLE_THREAD_P_PIC): Remove.
4535
4536 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4537 branch to syscall error ...
4538 (PSEUDO): ... here.
4539 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4540 from __local_syscall_error to .Lsyscall_error.
4541 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4542 (SYSCALL_ERROR): Update label name.
4543
4544 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4545 Do not use DOARGS/UNDOARGS.
4546 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4547 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4548 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4549 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4550 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4551
4552 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4553 block comment.
4554
4555 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4556 define if !NOT_IN_libc.
4557 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4558 define with non-default symbol versions.
4559
4560 2014-05-23 Richard Henderson <rth@twiddle.net>
4561
4562 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4563 (vfork, __vfork): Define via compat_symbol.
4564
4565 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4566 [!HAVE_IFUNC] (vfork_compat): Remove.
4567 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4568
4569 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4570
4571 [BZ #16978]
4572 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4573 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4574 variable.
4575
4576 2014-05-23 Richard Henderson <rth@twiddle.net>
4577
4578 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4579 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4580 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4581 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4582
4583 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4584 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4585 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4586 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4587 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4588 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4589 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4590 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4591 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4592 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4593 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4594 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4595 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4596 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4597 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4598 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4599 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4600 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4601 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4602 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4603 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4604 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4605 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4606 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4607 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4608 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4609 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4610 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4611 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4612 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4613 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4614 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4615 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4616 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4617 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4618 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4619 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4620 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4621 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4622 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4623 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4624 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4625 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4626 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4627 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4628 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4629 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4630 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4631 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4632 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4633 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4634 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4635 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4636 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4637 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4638 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4639
4640 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4641 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4642 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
4643 before exiting on error.
4644 (__libc_vfork): New strong alias.
4645 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
4646 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
4647
4648 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
4649 that was previously under [RESET_PID].
4650 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
4651
4652 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
4653
4654 2014-05-23 Joseph Myers <joseph@codesourcery.com>
4655
4656 [BZ #16977]
4657 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
4658 value when x - 1 is zero.
4659 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
4660 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
4661 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
4662 0.0L for an argument of 1.0L.
4663 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
4664 Likewise.
4665 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
4666 value when x - 1 is zero.
4667 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
4668 * sysdeps/i386/fpu/libm-test-ulps: Update.
4669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4670
4671 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4672
4673 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
4674 alphasort and versionsort.
4675
4676 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4677
4678 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
4679 macro.
4680 [copysignf]: Likewise.
4681
4682 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4683
4684 * crypt/md5-crypt.c: Fix formatting.
4685
4686 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4687
4688 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
4689 (b64_from_24bit): New function.
4690
4691 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4692
4693 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
4694 libc_hidden_builtin_def to ifunc.
4695 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4696 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
4697
4698 2014-05-21 Roland McGrath <roland@hack.frob.com>
4699
4700 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
4701 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
4702
4703 2014-05-21 Joseph Myers <joseph@codesourcery.com>
4704
4705 * nscd/Depend (linuxthreads): Remove.
4706 (nptl): Add.
4707 * resolv/Depend (linuxthreads): Remove.
4708 * rt/Depend (linuxthreads): Remove.
4709
4710 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
4711 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
4712 $(common-objpfx)elf/.
4713 (link-libc-before-gnulib): Likewise.
4714 (elfobjdir): Remove variable.
4715 * Makefile (install): Use $(elf-objpfx) instead of
4716 $(common-objpfx)elf/.
4717 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
4718 $(elfobjdir)/.
4719 (link-libc-deps): Likewise.
4720 ($(common-objpfx)libc.so): Likewise.
4721 ($(common-objpfx)linkobj/libc.so): Likewise.
4722 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
4723 instead of $(common-objpfx)elf/.
4724 (symbolic-link-list): Likewise.
4725 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4726 [$(cross-compiling) = no]: Likewise.
4727 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
4728 $(elfobjdir)/.
4729 (static-gnulib-arch): Likewise.
4730 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4731 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
4732 $(common-objpfx)elf/.
4733
4734 2014-05-21 Richard Henderson <rth@redhat.com>
4735
4736 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4737 (SINGLE_THREAD_P): Use the correct width load. Fold
4738 into the ldr offset.
4739
4740 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
4741 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
4742
4743 2014-05-20 Joseph Myers <joseph@codesourcery.com>
4744
4745 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
4746 (libgcc_s_resume): Use __attribute_used__.
4747 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
4748 Likewise.
4749
4750 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4751
4752 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
4753 optimization when used with float constants.
4754
4755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4756
4757 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
4758
4759 [BZ #16915]
4760 * locale/nl_langinfo_l.c: Make direct reference to every
4761 _nl_current_CATEGORY symbol.
4762 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
4763 (tests-static): Add tst-langinfo-static.
4764 (tests-special): Add tst-langinfo-static.out.
4765 ($(objpfx)tst-langinfo.out): Redirect output.
4766 ($(objpfx)tst-langinfo-static.out): New.
4767 * localedata/tst-langinfo.sh: Send output to stdout.
4768 * localedata/tst-langinfo-static.c: New file.
4769
4770 [BZ #16965]
4771 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
4772 when the shift amount is modulo the limb size.
4773
4774 2014-05-20 Richard Henderson <rth@redhat.com>
4775
4776 [BZ #16967]
4777 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
4778 Change type of sa_flags from unsigned int to int.
4779
4780 [BZ #16966]
4781 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
4782
4783 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
4784
4785 2014-05-20 Will Newton <will.newton@linaro.org>
4786
4787 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4788 Test the return value of the system call in the nocancel case.
4789
4790 2014-05-20 Will Newton <will.newton@linaro.org>
4791 Yvan Roux <yvan.roux@linaro.org>
4792
4793 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
4794 #include of asm/ptrace.h.
4795 (PTRACE_GET_THREAD_AREA): Remove #undef.
4796 (PTRACE_GETHBPREGS): Likewise.
4797 (PTRACE_SETHBPREGS): Likewise.
4798 (struct user_regs_struct): New structure.
4799 (struct user_fpsimd_struct): New structure.
4800 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
4801 #include of asm/ptrace.h and second #include of sys/user.h.
4802 (PTRACE_GET_THREAD_AREA): Remove #undef.
4803 (PTRACE_GETHBPREGS): Likewise.
4804 (PTRACE_SETHBPREGS): Likewise.
4805 (ELF_NGREG): Use new struct user_regs_struct.
4806 (elf_fpregset_t): Use new struct user_fpsimd_struct.
4807
4808 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4809
4810 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
4811 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
4812
4813 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4814
4815 [BZ #16958]
4816 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
4817 membar to avoid block loads/stores to overlap previous stores.
4818
4819 2014-05-17 Richard Henderson <rth@redhat.com>
4820
4821 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
4822 Create the __##syscall_name##_nocancel entry point.
4823 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
4824 Remove; let the sysdep-cancel.h code create it.
4825
4826 2014-05-17 David S. Miller <davem@davemloft.net>
4827
4828 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4829 Protect with __USE_GNU.
4830 (TIOCSET_TEMPT): Likewise.
4831 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4832 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
4833 these are already provided in bits/ioctl-types.h
4834
4835 2014-05-16 Roland McGrath <roland@hack.frob.com>
4836
4837 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
4838 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
4839
4840 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
4841 Use wait4 regardless of [__NR_waitpid].
4842
4843 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4844
4845 PR libgcc/60166
4846 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4847 (_FP_NANSIGN_Q): Set the quiet bit.
4848
4849 2014-05-16 Joseph Myers <joseph@codesourcery.com>
4850
4851 * benchtests/Makefile
4852 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
4853 not $(common-objpfx)math/libm.so.
4854 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
4855 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
4856 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
4857 $(common-objpfx)dlfcn/libdl.so.
4858 ($(objpfx)tst-audit8): Depend on $(libm), not
4859 $(common-objpfx)math/libm.so.
4860 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
4861 not $(common-objpfx)dlfcn/libdl.so.
4862 * math/Makefile
4863 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4864 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
4865 [$(build-shared) = yes].
4866 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
4867 $(common-objpfx)nptl/libpthread.so.
4868 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
4869 $(common-objpfx)math/libm.so$(libm.so-version) or
4870 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
4871 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
4872 $(common-objpfx)dlfcn/libdl.so.
4873 * setjmp/Makefile (link-libm): Remove variable.
4874 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
4875 * stdio-common/Makefile (link-libm): Remove variable.
4876 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
4877 * stdlib/Makefile (link-libm): Remove variable.
4878 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4879 ($(objpfx)tst-strtod-round): Likewise.
4880 ($(objpfx)tst-tininess): Likewise.
4881 ($(objpfx)tst-strtod-underflow): Likewise.
4882 ($(objpfx)tst-strtod6): Likewise.
4883 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4884 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4885 $(common-objpfx)dlfcn/libdl.so.
4886
4887 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4888
4889 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4890 BSD terminal modes definitions.
4891
4892 2014-05-16 Roland McGrath <roland@hack.frob.com>
4893
4894 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4895 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4896
4897 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4898 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4899 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4900 Don't do #include_next.
4901 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4902 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4903 Don't do #include_next.
4904 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4905 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4906 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4907 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4908
4909 2014-05-16 Allan McRae <allan@archlinux.org>
4910
4911 * po/sv.po: Update Swedish translation from translation project.
4912
4913 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4914 in sed expression.
4915
4916 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4917
4918 [BZ #16917]
4919 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4920 errno if the TIOCGPTN ioctl fails with an error different than
4921 EINVAL.
4922 * login/tst-ptsname.c: New file.
4923 * login/Makefile (tests): Add tst-ptsname.
4924
4925 [BZ #16943]
4926 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4927 and prlimit64.
4928
4929 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4930
4931 [BZ #16849]
4932 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4933 herrno to return EAI_AGAIN.
4934
4935 2014-05-14 Roland McGrath <roland@hack.frob.com>
4936
4937 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4938 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4939 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4940 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4941 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4942 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4943 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4944 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4945 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4946 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4947 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4948 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4949 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4950 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4951 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4952 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4953 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4954 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4955 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4956 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4957 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4958 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4959 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4960 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4961 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4962 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4963 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4964 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4965 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4966 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4967 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4968 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4970 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4972 Moved ...
4973 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4975 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4977 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4979 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4981 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4983 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4985 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4987 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4989 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4991 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4993 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4995 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4997 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4999 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5001 Moved ...
5002 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5004 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5006 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5008 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5010 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5012 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5014 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5016 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5018 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5020 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5021 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5022 Moved ...
5023 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5025 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5026
5027 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5028 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5029 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5030 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5031 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5032 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5033 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5034 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5035 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5036 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5037 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5038 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5039 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5040 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5041 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5042 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5043 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5044 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5045 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5046 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5047 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5048 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5049 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5050 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5051 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5052 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5053 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5054 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5055 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5056 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5057 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5058
5059 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5060 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5061
5062 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5063 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5064 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5065 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5066 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5067 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5068 Moved ...
5069 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5070 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5071 Moved ...
5072 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5073 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5074 Moved ...
5075 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5076 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5077 Moved ...
5078 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5079 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5080 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5081 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5082 Moved ...
5083 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5084 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5085 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5086 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5087 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5088 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5089 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5090 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5091 Moved ...
5092 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5093 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5094 Moved ...
5095 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5096 ... here.
5097 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5098 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5099 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5100 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5101 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5102 Moved ...
5103 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5104 ... here.
5105 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5106 Moved ...
5107 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5108 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5109 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5110 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5111 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5112 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5113 Moved ...
5114 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5115 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5116 Moved ...
5117 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5118 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5119 Moved ...
5120 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5121 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5122 Moved ...
5123 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5124 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5125 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5126 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5127 Moved ...
5128 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5129 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5130 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5131 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5132 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5133 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5134 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5135 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5136 Moved ...
5137 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5138 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5139 Moved ...
5140 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5141 ... here.
5142 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5143 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5144 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5145 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5146 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5147 Moved ...
5148 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5149 ... here.
5150 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5151 Moved ...
5152 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5153 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5154 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5155 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5156 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5157 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5158 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5159 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5160 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5161 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5162 Moved ...
5163 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5164 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5165 Moved ...
5166 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5167 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5168 Moved ...
5169 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5170 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5171 Moved ...
5172 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5173 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5174 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5175 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5176 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5177 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5178 Moved ...
5179 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5180 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5181 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5182 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5183 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5184 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5185 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5186 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5187 Moved ...
5188 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5189 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5190 Moved ...
5191 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5192 ... here.
5193 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5194 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5195 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5196 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5197 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5198 Moved ...
5199 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5200 ... here.
5201 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5202 Moved ...
5203 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5204 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5205 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5206 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5207 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5208 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5209 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5210 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5211 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5212 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5213 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5214
5215 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5216 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5217
5218 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5219 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5220
5221 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5222 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5223 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5224 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5225 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5226 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5227 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5228 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5229 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5230 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5231 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5232 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5233 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5234 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5235 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5236 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5237 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5238 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5239 Moved ...
5240 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5241 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5242 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5243 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5244 Moved ...
5245 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5246 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5247 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5248 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5249 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5250 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5251 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5252 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5253 Moved ...
5254 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5255 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5256 Moved ...
5257 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5258 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5259 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5260 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5261 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5262 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5263 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5264 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5265 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5266 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5267 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5268 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5269 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5270 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5271 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5272 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5273 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5274
5275 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5276 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5277 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5278 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5279 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5280
5281 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5282 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5283 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5284 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5285 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5286 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5287 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5288 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5289 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5290 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5291
5292 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5293 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5294
5295 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5296 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5297 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5298 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5299 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5300 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5301 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5302 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5303 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5304 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5305 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5306 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5307 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5308 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5309 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5310 Update #include.
5311 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5312 Likewise.
5313 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5314 Likewise.
5315 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5316 Likewise.
5317 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5318 Likewise.
5319 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5320 Likewise.
5321 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5322 Likewise.
5323 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5324 Likewise.
5325 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5326 Likewise.
5327 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5328 Likewise.
5329 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5330 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5331 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5332 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5333 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5334 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5335 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5336 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5337 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5338 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5339 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5340 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5341 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5342 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5343 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
5344
5345 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5346 that was previously under [RESET_PID].
5347 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5348 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5349 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5350
5351 * sysdeps/i386/nptl/Implies: New file.
5352 * sysdeps/x86_64/nptl/Implies: New file.
5353 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5354 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5355 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5356 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5357
5358 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5359 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5360 (__libc_vfork): New strong alias.
5361 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5362 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5363
5364 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5365 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5366 (__libc_vfork): New strong alias.
5367 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5368 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5369
5370 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5371 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5372 (__libc_vfork): New strong alias.
5373 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5374 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5375 * nptl/pt-vfork.c: New file.
5376 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5377 (libpthread: GLIBC_2.20): New version set (empty).
5378
5379 2014-05-14 Will Newton <will.newton@linaro.org>
5380
5381 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5382 rather than #if.
5383
5384 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5385
5386 [BZ #16564]
5387 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5388 arguments with exponent 65 or above.
5389 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5390 arguments 0x1p113L or above.
5391 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5392 to arguments 0x1p107L or above.
5393 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5394 positive arguments with exponent 65 or above.
5395 * math/auto-libm-test-in: Add more tests of log1p.
5396 * math/auto-libm-test-out: Regenerated.
5397
5398 [BZ #16928]
5399 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5400 non-finite arguments is +0.
5401 * math/s_cacosf.c (__cacosf): Likewise.
5402 * math/s_cacosl.c (__cacosl): Likewise.
5403 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5404 * sysdeps/i386/fpu/libm-test-ulps: Update.
5405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5406
5407 [BZ #16927]
5408 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5409 value.
5410 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5411 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5412 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5413 for explicit high bit of mantissa when testing for argument equal
5414 to 1.
5415 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5416 * sysdeps/i386/fpu/libm-test-ulps: Update.
5417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5418
5419 [BZ #16516]
5420 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5421 (__erf): Scale by 16 instead of 8 in potentially underflowing
5422 case. Ensure exception if result actually underflows.
5423 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5424 (__erff): Scale by 16 instead of 8 in potentially underflowing
5425 case. Ensure exception if result actually underflows.
5426 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5427 (efx8): Remove variable.
5428 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5429 case. Ensure exception if result actually underflows.
5430 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5431 (efx8): Remove variable.
5432 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5433 case. Ensure exception if result actually underflows.
5434 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5435 (efx8): Remove variable.
5436 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5437 case. Ensure exception if result actually underflows.
5438 * math/auto-libm-test-in: Add more tests of erf.
5439 * math/auto-libm-test-out: Regenerated.
5440
5441 2014-05-14 Andreas Schwab <schwab@suse.de>
5442
5443 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5444 Remove code conditionalized on USE___THREAD.
5445
5446 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5447 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5448 not definedness.
5449
5450 2014-05-14 Joseph Myers <joseph@codesourcery.com>
5451
5452 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5453 Define unconditionally.
5454 (__ASSUME_O_CLOEXEC): Likewise.
5455 (__ASSUME_SOCK_CLOEXEC): Likewise.
5456 (__ASSUME_IN_NONBLOCK): Likewise.
5457 (__ASSUME_PIPE2): Likewise.
5458 (__ASSUME_EVENTFD2): Likewise.
5459 (__ASSUME_SIGNALFD4): Likewise.
5460 (__ASSUME_DUP3): Likewise.
5461 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5462 (__ASSUME_DUP3): Do not define.
5463 (__ASSUME_EVENTFD2): Likewise.
5464 (__ASSUME_IN_NONBLOCK): Likewise.
5465 (__ASSUME_O_CLOEXEC): Likewise.
5466 (__ASSUME_PIPE2): Likewise.
5467 (__ASSUME_SIGNALFD4): Likewise.
5468 (__ASSUME_SOCK_CLOEXEC): Likewise.
5469 (__ASSUME_UTIMES): Undefine.
5470 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5471 (__ASSUME_UTIMES): Do not define.
5472 (__ASSUME_O_CLOEXEC): Likewise.
5473 (__ASSUME_SOCK_CLOEXEC): Likewise.
5474 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5475 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5476 0x020621].
5477 (__ASSUME_PIPE2): Likewise.
5478 (__ASSUME_EVENTFD2): Likewise.
5479 (__ASSUME_SIGNALFD4): Likewise.
5480 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5481 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5482 Do not define.
5483 (__ASSUME_EVENTFD2): Likewise.
5484 (__ASSUME_SIGNALFD4): Likewise.
5485 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5486 (__ASSUME_32BITUIDS): Likewise.
5487 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5488 (__ASSUME_IPC64): Likewise.
5489 (__ASSUME_ST_INO_64_BIT): Likewise.
5490 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5491 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5492 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5493 (__ASSUME_UTIMES): Do not define.
5494 (__ASSUME_PSELECT): Likewise.
5495 (__ASSUME_PPOLL): Likewise.
5496 (__ASSUME_O_CLOEXEC): Likewise.
5497 (__ASSUME_SOCK_CLOEXEC): Likewise.
5498 (__ASSUME_IN_NONBLOCK): Likewise.
5499 (__ASSUME_PIPE2): Likewise.
5500 (__ASSUME_EVENTFD2): Likewise.
5501 (__ASSUME_SIGNALFD4): Likewise.
5502 (__ASSUME_DUP3): Likewise.
5503 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5504 (__ASSUME_UTIMES): Likewise.
5505 (__ASSUME_O_CLOEXEC): Likewise.
5506 (__ASSUME_SOCK_CLOEXEC): Likewise.
5507 (__ASSUME_IN_NONBLOCK): Likewise.
5508 (__ASSUME_PIPE2): Likewise.
5509 (__ASSUME_EVENTFD2): Likewise.
5510 (__ASSUME_SIGNALFD4): Likewise.
5511 (__ASSUME_DUP3): Likewise.
5512 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5513 (__ASSUME_UTIMES): Likewise.
5514 (__ASSUME_O_CLOEXEC): Likewise.
5515 (__ASSUME_SOCK_CLOEXEC): Likewise.
5516 (__ASSUME_IN_NONBLOCK): Likewise.
5517 (__ASSUME_PIPE2): Likewise.
5518 (__ASSUME_EVENTFD2): Likewise.
5519 (__ASSUME_SIGNALFD4): Likewise.
5520 (__ASSUME_DUP3): Likewise.
5521 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5522 Likewise.
5523 (__ASSUME_UTIMES): Likewise.
5524 (__ASSUME_EVENTFD2): Likewise.
5525 (__ASSUME_SIGNALFD4): Likewise.
5526 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5527 (__ASSUME_O_CLOEXEC): Likewise.
5528 (__ASSUME_SOCK_CLOEXEC): Likewise.
5529 (__ASSUME_IN_NONBLOCK): Likewise.
5530 (__ASSUME_PIPE2): Likewise.
5531 (__ASSUME_EVENTFD2): Likewise.
5532 (__ASSUME_SIGNALFD4): Likewise.
5533 (__ASSUME_DUP3): Likewise.
5534 (__ASSUME_UTIMES): Undefine.
5535
5536 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5537 feclearexcept. Remove symbol versioning code.
5538 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
5539 symbol versioning code.
5540 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
5541 symbol versioning code.
5542 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5543 feupdateenv. Remove symbol versioning code.
5544 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5545 fegetexceptflag. Remove symbol versioning code.
5546 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5547 fesetexceptflag. Remove symbol versioning code.
5548 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5549 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
5550 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5551 (__posix_fadvise64_l32): Remove prototype.
5552 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5553 code.
5554
5555 2014-05-13 Roland McGrath <roland@hack.frob.com>
5556
5557 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5558 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5559 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5560 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5561
5562 2014-05-13 Sami Kerola <kerolasa@iki.fi>
5563
5564 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5565 current working directory
5566
5567 2014-05-13 Roland McGrath <roland@hack.frob.com>
5568
5569 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5570 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5571 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5572 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5573 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5574 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5575 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5576 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5577 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5578 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5579 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5580 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5581 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5582 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5583 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5584 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5585 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5586 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5587 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5588 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5589 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5590 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5591 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5592 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5593 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5594 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5595 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5596 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5597 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5598 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5599 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5600 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5601 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5602 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5603 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5604 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5605 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5606 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5607 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5608 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5609 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5610 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5611
5612 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5613 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5614
5615 * sysdeps/unix/sysv/linux/arm/Makefile
5616 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5617 Add rt-aeabi_unwind_cpp_pr1.
5618 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5619 Add nptl-aeabi_unwind_cpp_pr1.
5620 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5621 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5622 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5623 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5624 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5625 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5626
5627 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5628 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5629 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5630 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5631
5632 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5633 Deconditionalize the code that was previously under [RESET_PID].
5634 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5635
5636 * sysdeps/generic/exit-thread.h: New file.
5637 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5638 * include/unistd.h (__exit_thread): Remove declaration.
5639 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5640 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5641 * csu/libc-start.c: Include <exit-thread.h>.
5642 (LIBC_START_MAIN): Pass no argument to __exit_thread.
5643 * nptl/pthread_create.c: Include <exit-thread.h>.
5644 (start_thread): Call __exit_thread in place of __exit_thread_inline.
5645 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
5646 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
5647 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
5648 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
5649 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
5650 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
5651 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
5652 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
5653 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
5654 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
5655 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
5656 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
5657 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
5658 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
5659 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
5660 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
5661
5662 2014-05-13 Andreas Schwab <schwab@suse.de>
5663
5664 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
5665
5666 2014-05-12 Joseph Myers <joseph@codesourcery.com>
5667
5668 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5669 (__ASSUME_UTIMES): Do not condition on kernel version.
5670 (__ASSUME_PSELECT): Define unconditionally.
5671 (__ASSUME_PPOLL): Likewise.
5672 (__ASSUME_ATFCTS): Likewise.
5673 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
5674 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
5675 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
5676 (__ASSUME_UTIMENSAT): Define unconditionally.
5677 (__ASSUME_PRIVATE_FUTEX): Likewise.
5678 (__ASSUME_FALLOCATE): Likewise.
5679 (__ASSUME_O_CLOEXEC): Likewise.
5680 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
5681 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
5682 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
5683 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
5684 (__ASSUME_IN_NONBLOCK): Likewise.
5685 (__ASSUME_PIPE2): Likewise.
5686 (__ASSUME_EVENTFD2): Likewise.
5687 (__ASSUME_SIGNALFD4): Likewise.
5688 (__ASSUME_DUP3): Likewise.
5689 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5690 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
5691 (__ASSUME_AT_RANDOM): Likewise.
5692 (__ASSUME_PREADV): Likewise.
5693 (__ASSUME_PWRITEV): Likewise.
5694 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
5695 (__ASSUME_F_GETOWN_EX): Define unconditionally.
5696 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
5697 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5698 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
5699 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5700 (__ASSUME_O_CLOEXEC): Define unconditionally.
5701 (__ASSUME_PSELECT): Do not undefine conditionally.
5702 (__ASSUME_PPOLL): Likewise.
5703 (__ASSUME_ATFCTS): Likewise.
5704 (__ASSUME_SET_ROBUST_LIST): Likewise.
5705 (__ASSUME_UTIMENSAT): Likewise.
5706 (__ASSUME_FDATASYNC): Define unconditionally.
5707 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5708 (__ASSUME_SIGFRAME_V2): Likewise.
5709 )__ASSUME_EVENTFD2): Likewise.
5710 (__ASSUME_SIGNALFD4): Likewise.
5711 (__ASSUME_PSELECT): Do not undefine conditionally.
5712 (__ASSUME_PPOLL): Likewise.
5713 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5714 (__ASSUME_PSELECT): Define unconditionally.
5715 (__ASSUME_PPOLL): Likewise.
5716 (__ASSUME_O_CLOEXEC): Likewise.
5717 (__ASSUME_SOCK_CLOEXEC): Likewise.
5718 (__ASSUME_IN_NONBLOCK): Likewise.
5719 (__ASSUME_PIPE2): Likewise.
5720 (__ASSUME_EVENTFD2): Likewise.
5721 (__ASSUME_SIGNALFD4): Likewise.
5722 (__ASSUME_DUP3): Likewise.
5723 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5724 (__ASSUME_O_CLOEXEC): Likewise.
5725 (__ASSUME_SOCK_CLOEXEC): Likewise.
5726 (__ASSUME_IN_NONBLOCK): Likewise.
5727 (__ASSUME_PIPE2): Likewise.
5728 (__ASSUME_EVENTFD2): Likewise.
5729 (__ASSUME_SIGNALFD4): Likewise.
5730 (__ASSUME_DUP3): Likewise.
5731 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5732 (__ASSUME_EVENTFD2): Likewise.
5733 (__ASSUME_SIGNALFD4): Likewise.
5734 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5735
5736 2014-05-12 Andreas Schwab <schwab@suse.de>
5737
5738 [BZ #16932]
5739 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5740 (_nss_nis_gethostbyname4_r): Return error if item length is larger
5741 than maximum RPC packet size.
5742 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
5743 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
5744 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
5745 (_nss_nis_getservbyport_r): Likewise.
5746
5747 2014-05-12 Will Newton <will.newton@linaro.org>
5748
5749 * malloc/Makefile (tests): Add tst-mallopt.
5750 * malloc/tst-mallopt.c: New file.
5751
5752 2014-05-09 Roland McGrath <roland@hack.frob.com>
5753
5754 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
5755 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
5756
5757 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5758
5759 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
5760 (tst-tlsmod6.so): Likewise.
5761
5762 2014-05-09 Roland McGrath <roland@hack.frob.com>
5763
5764 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
5765
5766 2014-05-09 Joseph Myers <joseph@codesourcery.com>
5767
5768 [BZ #16064]
5769 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
5770 and <dl-procinfo.h>.
5771 (__fegetenv): Save SSE state in envp->__eip if supported.
5772 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
5773 envp->__eip if supported.
5774 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
5775 and <dl-procinfo.h>.
5776 (__fesetenv): Always set __eip, __cs_selector, __opcode,
5777 __data_offset and __data_selector in environment to 0. Set SSE
5778 state if supported.
5779 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5780 test-fenv-sse.
5781 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
5782 -mfpmath=sse.
5783 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
5784
5785 2014-05-09 Will Newton <will.newton@linaro.org>
5786
5787 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
5788 and libc_relro_required for ARM.
5789 * sysdeps/arm/preconfigure: Regenerate.
5790
5791 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
5792 Stefan Liebler <stli@linux.vnet.ibm.com>
5793
5794 * config.make.in (enable-lock-elision): New Makefile variable.
5795 * configure.ac: Likewise.
5796 * configure: Regenerate.
5797 * sysdeps/s390/configure.ac:
5798 Add check for gcc transactions support.
5799 * sysdeps/s390/configure: Regenerate.
5800 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
5801 Build elision files if enabled.
5802 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
5803 Add lock elision support for s390.
5804 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
5805 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
5806 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
5807 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5808 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5809 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
5810 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5811 Likewise.
5812 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
5813 Likewise.
5814 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
5815 Likewise.
5816 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
5817 Likewise.
5818 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
5819 (__lll_timedlock_elision, __lll_lock_elision)
5820 (__lll_unlock_elision, __lll_trylock_elision)
5821 (lll_timedlock_elision, lll_lock_elision)
5822 (lll_unlock_elision, lll_trylock_elision): Add.
5823 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5824 (pthread_mutex_t): Add lock elision support for s390.
5825
5826 2014-05-14 Wilco <wdijkstr@arm.com>
5827
5828 * sysdeps/arm/fclrexcpt.c: Cleanup.
5829 * sysdeps/arm/fedisblxcpt.c: Cleanup.
5830 * sysdeps/arm/feenablxcpt.c: Cleanup.
5831 * sysdeps/arm/fegetenv.c: Cleanup.
5832 * sysdeps/arm/fegetexcept.c: Cleanup.
5833 * sysdeps/arm/fegetround.c: Cleanup.
5834 * sysdeps/arm/feholdexcpt.c: Cleanup.
5835 * sysdeps/arm/fesetenv.c: Cleanup.
5836 * sysdeps/arm/fesetround.c: Cleanup.
5837 * sysdeps/arm/feupdateenv.c: Cleanup.
5838 * sysdeps/arm/fgetexcptflg.c: Cleanup.
5839 * sysdeps/arm/fraiseexcpt.c: Cleanup.
5840 * sysdeps/arm/fsetexcptflg.c: Cleanup.
5841 * sysdeps/arm/ftestexcept.c: Cleanup.
5842 * sysdeps/arm/get-rounding-mode.h: Cleanup.
5843 * sysdeps/arm/setfpucw.c: Cleanup.
5844
5845 2014-05-09 Will Newton <will.newton@linaro.org>
5846
5847 * sysdeps/arm/armv7/strcmp.S: New file.
5848 * NEWS: Mention addition of ARMv7 optimized strcmp.
5849
5850 2014-05-08 Roland McGrath <roland@hack.frob.com>
5851
5852 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
5853 look for %.ac rather than %.in.
5854
5855 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
5856 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
5857 * sysdeps/mach/hurd/configure: Regenerated.
5858 * sysdeps/unix/sysv/linux/configure: Regenerated.
5859
5860 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
5861
5862 2014-05-07 Steve Ellcey <sellcey@mips.com>
5863
5864 [BZ# 16922]
5865 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
5866 (LONG_SUB): Ditto.
5867 (PTR_SUB): Ditto.
5868
5869 2014-05-07 Andreas Schwab <schwab@suse.de>
5870
5871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
5872 when skipping over non-matching result from nscd.
5873
5874 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
5875
5876 [BZ #16876]
5877 * nptl/sockperf.c (client): Check socket return value.
5878
5879 [BZ #16877]
5880 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5881 nscd security class.
5882
5883 2014-05-06 Roland McGrath <roland@hack.frob.com>
5884
5885 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5886 * sysdeps/arm/unwind.h: ... here.
5887
5888 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5889
5890 [BZ# 16916]
5891 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5892 Define.
5893
5894 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5895
5896 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5897 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5898 multiarch strncpy for PPC64.
5899 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5900 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5901 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5902 multiarch optimizations.
5903 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5904 (__libc_ifunc_impl_list): Likewise.
5905 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5906 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5907 multiarch stpncpy for PPC64.
5908 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5909 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5910
5911 2014-05-06 Andreas Schwab <schwab@suse.de>
5912
5913 [BZ #16912]
5914 * gmon/mcount.c (_MCOUNT_DECL): Use
5915 atomic_compare_and_exchange_bool_acq instead of
5916 catomic_compare_and_exchange_bool_acq.
5917
5918 2014-05-05 Roland McGrath <roland@hack.frob.com>
5919
5920 * elf/Makefile (others, install-bin): Remove pldd.
5921 (pldd-modules): Variable removed.
5922 ($(objpfx)pldd): Target removed.
5923 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5924 (others, install-bin): Append pldd here.
5925 ($(objpfx)pldd): New target.
5926
5927 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5928 to 0, so the first #if test emitted later doesn't see it undefined.
5929 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5930 * sysdeps/gnu/errlist.c: Regenerated.
5931
5932 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5933
5934 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5935 [libc_hidden_builtin_def]: Define to empty value.
5936 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5937 [libc_hidden_builtin_def]: Likewise.
5938 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5939 [libc_hidden_builtin_def]: Likewise.
5940 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5941 [libc_hidden_builtin_def]: Likewise.
5942 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5943 __redirect_memcpy and define ifunc as default hidden symbol.
5944 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5945 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5946
5947 2014-05-04 Adam Conrad <adconrad@0c3.net>
5948
5949 * locale/iso-4217.def: Reintroduce XDR currency.
5950
5951 2014-05-04 Allan McRae <allan@archlinux.org>
5952
5953 * po/eo.po: Update Esperanto translation from translation project.
5954
5955 2014-05-02 Carlos O'Donell <carlos@redhat.com>
5956
5957 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5958 and FEATURE_INDEX_MAX to 1.
5959 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5960
5961 2014-05-01 Steve Ellcey <sellcey@mips.com>
5962
5963 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5964 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5965 * iconvdata/big5.c (ONE_DIRECTION): Define.
5966 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5967 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5968 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5969 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5970 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5971 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5972 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5973 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5974 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5975 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5976 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5977 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5978 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5979 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5980 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5981 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5982 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5983 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5984 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5985 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5986 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5987 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5988 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5989 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5990 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5991 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5992 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5993 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5994 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5995 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5996 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5997 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5998 * iconvdata/johab.c (ONE_DIRECTION): Define.
5999 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6000 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6001 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6002 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6003 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6004 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6005 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6006 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6007 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6008 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6009
6010 2014-05-01 Roland McGrath <roland@hack.frob.com>
6011
6012 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6013 (_IO_JUMPS_OFFSET): Define to 0.
6014
6015 * nptl/sysdeps/pthread/bits/libc-lock.h
6016 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6017 (__libc_lock_define_initialized_recursive): Always define using
6018 initializer. Modern compilers treat uninitialized (implicit zero) and
6019 explicit zero initializers the same (i.e. put the datum in bss).
6020
6021 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6022
6023 * nscd/nscd-client.h: Include <string.h>.
6024
6025 2014-05-01 David S. Miller <davem@davemloft.net>
6026
6027 [BZ #16885]
6028 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6029 multiple zero bytes exist at the end of a string.
6030 Reported by Aurelien Jarno <aurelien@aurel32.net>
6031
6032 * string/test-strcmp.c (check): Add explicit test for situations where
6033 there are multiple zero bytes after the first.
6034
6035 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6036
6037 [BZ #16890]
6038 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6039 when compiling wprintf.
6040 * stdio-common/tstdiomisc.c (t3): New function.
6041 (main): Call it.
6042
6043 2014-05-01 Steve Ellcey <sellcey@mips.com>
6044
6045 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6046 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6047 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6048 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6049
6050 2014-05-01 Steve Ellcey <sellcey@mips.com>
6051
6052 * stdlib/longlong.h: Updated from GCC.
6053
6054 2014-05-01 Will Newton <will.newton@linaro.org>
6055 Bernard Ogden <bernie.ogden@linaro.org>
6056
6057 * NEWS: Update fixed bug list.
6058
6059 [BZ #15119]
6060 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6061
6062 2014-04-30 David S. Miller <davem@davemloft.net>
6063
6064 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6065 (libc_feholdexcept_setround_sparc_ctx): New function.
6066 (libc_fesetenv_sparc_ctx): Likewise.
6067 (libc_feupdateenv_sparc_ctx): Likewise.
6068 (libc_feholdsetround_sparc_ctx): Likewise.
6069 (libc_feholdexcept_setround_ctx): Define.
6070 (libc_feholdexcept_setroundf_ctx): Likewise.
6071 (libc_feholdexcept_setroundl_ctx): Likewise.
6072 (libc_fesetenv_ctx): Likewise.
6073 (libc_fesetenvf_ctx): Likewise.
6074 (libc_fesetenvl_ctx): Likewise.
6075 (libc_feupdateenv_ctx): Likewise.
6076 (libc_feupdateenvf_ctx): Likewise.
6077 (libc_feupdateenvl_ctx): Likewise.
6078 (libc_feresetround_ctx): Likewise.
6079 (libc_feresetroundf_ctx): Likewise.
6080 (libc_feresetroundl_ctx): Likewise.
6081 (libc_feholdsetround_ctx): Likewise.
6082 (libc_feholdsetroundf_ctx): Likewise.
6083 (libc_feholdsetroundl_ctx): Likewise.
6084
6085 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6086 with __USE_GNU instead of XOPEN cpp guards.
6087
6088 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6089 0.
6090
6091 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6092 with XOPEN cpp guards.
6093
6094 2014-04-30 Julian Brown <julian@codesourcery.com>
6095
6096 [BZ #16888]
6097 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6098 handling.
6099
6100 2014-04-30 Joseph Myers <joseph@codesourcery.com>
6101
6102 [BZ #9894]
6103 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6104 Change to 2.6.32.
6105 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6106 * sysdeps/unix/sysv/linux/configure: Regenerated.
6107 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6108 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6109 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6110 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6111 * README: Update reference to required Linux kernel version.
6112 * manual/install.texi (Linux): Update reference to required Linux
6113 kernel headers version.
6114 * INSTALL: Regenerated.
6115
6116 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6117 header inclusion.
6118 [POSIX] (limits.h): Likewise.
6119 [POSIX] (math.h): Likewise.
6120 [POSIX] (sys/wait.h): Likewise.
6121 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6122 function.
6123 [POSIX] (stddef.h): Do not allow header inclusion.
6124
6125 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6126
6127 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6128
6129 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6130
6131 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6132 Return immediately after lll_futex_wake.
6133
6134 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6135
6136 [BZ #16791]
6137 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6138 structure.
6139 (datahead_init_pos): Call datahead_init_common early.
6140 (datahead_init_neg): Likewise.
6141
6142 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6143 datahead_init_neg): New functions.
6144 * nscd/aicache.c (addhstaiX): Use them.
6145 * nscd/grpcache.c (cache_addgr): Likewise.
6146 * nscd/hstcache.c (cache_addhst): Likewise.
6147 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6148 * nscd/netgroupcache.c (do_notfound): Likewise.
6149 (addgetnetgrentX): Likewise.
6150 (addinnetgrX): Likewise.
6151 * nscd/pwdcache.c (cache_addpw): Likewise.
6152 * nscd/servicescache.c (cache_addserv): Likewise.
6153
6154 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6155 Atsushi Onoe <atsushi@onoe.org>
6156
6157 [BZ #14308]
6158 [BZ #12994]
6159 [BZ #13651]
6160 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6161 one response is valid.
6162 * resolv/res_send.c (send_dg): Check for validity of other
6163 response if the current response is a referral.
6164
6165 2014-04-29 Steve Ellcey <sellcey@mips.com>
6166
6167 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6168
6169 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6170
6171 [BZ #16823]
6172 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6173 Always divide by positive zero when computing -Inf result.
6174 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6175 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6176
6177 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6178
6179 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6180 FPSCR if value do not change.
6181 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6182 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6183 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6184 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6185 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6186 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6187 function.
6188
6189 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6190
6191 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6192 * sysdeps/unix/sysv/linux/hppa: Move directory from
6193 ports/systeps/unix/sysv/linux/hppa.
6194 * README: Update listing for hppa-*-linux-gnu.
6195
6196 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
6197
6198 [BZ #16754]
6199 * manual/stdio.texi (Hook functions): Fix types of stream hook
6200 functions.
6201 [BZ #16854]
6202 * socket/sys/socket.h: Fix typo in comment.
6203
6204 2014-04-28 Wilco <wdijkstr@arm.com>
6205
6206 * sysdeps/arm/fenv_private.h: New file.
6207 * sysdeps/arm/math_private.h: New file.
6208 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6209
6210 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6211
6212 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6213 with __int128_t.
6214 (La_x86_64_retval): Likewise.
6215
6216 2014-04-24 Ian Bolton <ian.bolton@arm.com>
6217
6218 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6219 fpsr if value didn't change.
6220 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6221 to fpcr if value didn't change.
6222 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6223 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6224 fpsr or fpcr if value didn't change.
6225 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6226 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6227 fpcr if value didn't change.
6228 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6229 to fpsr if value didn't change.
6230
6231 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6232
6233 * nptl/tst-sem3.c: Use test-skeleton.c
6234 (main): Rename to do_test. Use return instead of
6235 exit.
6236 * nptl/tst-sem4.c: Use test-skeleton.c
6237 (main): Rename to do_test.
6238
6239 2014-04-22 David S. Miller <davem@davemloft.net>
6240
6241 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6242 (struct sigaction): New struct member __glibc_reserved0, change
6243 type of sa_flags to int.
6244
6245 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6246
6247 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6248 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6249
6250 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6251
6252 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6253 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6254
6255 2014-04-22 Will Newton <will.newton@linaro.org>
6256 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6257
6258 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6259 (__longjmp): Add longjmp and longjmp_target SystemTap
6260 probes.
6261 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6262 (__sigsetjmp): Add setjmp SystemTap probe.
6263
6264 2014-04-17 Carlos O'Donell <carlos@redhat.com>
6265
6266 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6267 match manual order.
6268
6269 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6270
6271 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6272
6273 * sysdeps/powerpc/fpu/fenv_private.h
6274 (libc_feholdexcept_setroundl_ctx): Define to
6275 libc_feholdexcept_setround_ppc_ctx.
6276 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6277 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6278 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6279 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6280
6281 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6282
6283 * sysdeps/aarch64/math-tests.h: New file.
6284
6285 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6286
6287 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6288 New.
6289 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6290 Check and set bit_AVX2_Usable.
6291 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6292 macro.
6293 (bit_AVX2): Likewise.
6294 (index_AVX2_Usable): Likewise.
6295 (CPUID_AVX2): Likewise.
6296 (HAS_AVX2): Likewise.
6297
6298 2014-04-17 Will Newton <will.newton@linaro.org>
6299
6300 * manual/setjmp.texi (System V contexts): Add note that
6301 calling setcontext on a context created by a call to a
6302 signal handler is undefined. Update text to note that
6303 setcontext from a signal handler is possible but not
6304 recommended.
6305
6306 [BZ #16629]
6307 * stdlib/tst-setcontext.c: Include signal.h.
6308 (main): Check that the signal stack before and
6309 after swapcontext is the same.
6310
6311 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6312 Re-implement to restore registers in user code and avoid
6313 rt_sigreturn system call.
6314
6315 2014-04-17 Wilco <wdijkstr@arm.com>
6316
6317 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6318 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6319 * math/test-fenv.c: Skip exception trap tests on targets which only
6320 support non-stop mode.
6321
6322 2014-04-17 Ian Bolton <ian.bolton@arm.com>
6323 Wilco Dijkstra <wilco.dijkstra@arm.com>
6324
6325 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6326 (libc_feholdsetround_aarch64_ctx)
6327 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6328 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6329 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6330 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6331 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6332 (libc_feresetround_noexl_ctx): Define.
6333
6334 2014-04-16 Richard Henderson <rth@redhat.com>
6335
6336 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6337
6338 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6339 unwind tables.
6340
6341 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6342 const from the non-libc, non-ldso copy.
6343
6344 * sysdeps/alpha/libm-test-ulps: Regenerate.
6345
6346 2014-04-16 Ian Bolton <ian.bolton@arm.com>
6347 Wilco Dijkstra <wilco.dijkstra@arm.com>
6348
6349 * sysdeps/aarch64/fpu/math_private.h: New file.
6350
6351 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6352
6353 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6354
6355 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6356
6357 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6358 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6359 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6360 Intel MPX bound registers before _dl_profile_fixup.
6361 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6362 registers after _dl_profile_fixup. Save and restore bound
6363 registers bnd0/bnd1 when calling _dl_call_pltexit.
6364 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6365 (LR_BND_OFFSET): Likewise.
6366 (LRV_BND0_OFFSET): Likewise.
6367 (LRV_BND1_OFFSET): Likewise.
6368
6369 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6370
6371 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6372 to...
6373 * sysdeps/mach/hurd/i386/tls.h: ... here.
6374 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6375 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6376 fields.
6377
6378 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6379
6380 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6381
6382 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6383
6384 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6385
6386 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6387
6388 [BZ #14770]
6389 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6390 * sysdeps/s390/configure: Regenerate.
6391
6392 [BZ #16824]
6393 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6394 Set round-to-nearest internally to reduce error accumulation.
6395
6396 2014-04-16 Alan Modra <amodra@gmail.com>
6397
6398 [BZ #16740]
6399 [BZ #16619]
6400 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6401 * math/libm-test.inc (frexp_test_data): Add tests.
6402 * NEWS: Update fixed bug list.
6403
6404 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6405
6406 * benchtests/Makefile: Depend on libraries in build directory.
6407 (bench-math): Separate out math tests.
6408 (bench-pthread): Separate out pthread tests.
6409 (bench): Include math and pthread tests.
6410
6411 2014-04-14 Carlos O'Donell <carlos@redhat.com>
6412
6413 [BZ #16831]
6414 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6415 _dl_debug_initialize.
6416
6417 * configure.ac: Remove SELinux header check.
6418 * configure: Regenerate.
6419 * nscd/selinux.c (perms): Array of const char* to permission names.
6420 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6421 default policy. Call string_to_security_class and string_to_av_perm to
6422 translate strings. Enforce default policy and call avs_has_perm with
6423 results of translated strings.
6424
6425 2014-04-13 David S. Miller <davem@davemloft.net>
6426
6427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6428
6429 2014-04-12 Allan McRae <allan@archlinux.org>
6430
6431 [BZ #16838]
6432 * manual/string.texi (Collation Functions): Fix qsort argument
6433 order in example.
6434 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6435
6436 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6437
6438 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6439 Make the test a no-op if there are no exceptions defined.
6440
6441 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6442
6443 * elf/Makefile (tests): make tst-dlopen-aout conditional on
6444 enable-hardcoded-path-in-tests
6445
6446 2014-04-11 Will Newton <will.newton@linaro.org>
6447
6448 * benchtests/Makefile (extra-objs): Add json-lib.o.
6449 (bench-func): Tidy up JSON output.
6450 * benchtests/bench-skeleton.c: Include json-lib.h.
6451 (main): Use JSON library functions to do output of
6452 benchmark results.
6453 * benchtests/bench-timing-type.c (main): Output the
6454 timing type simply, leaving formatting to the user.
6455 * benchtests/json-lib.c: New file.
6456 * benchtests/json-lib.h: Likewise.
6457
6458 2014-04-11 Torvald Riegel <triegel@redhat.com>
6459
6460 [BZ #15215]
6461 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6462 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6463 memory barriers. Add comments.
6464 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6465 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6466 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6467 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6468 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6469 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6470
6471 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6472
6473 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6474 * sysdeps/s390/s390-64/configure.ac: ... this ...
6475 * sysdeps/s390/configure.ac: ... to here.
6476 * sysdeps/s390/s390-32/configure: Delete file.
6477 * sysdeps/s390/s390-64/configure: Delete file.
6478 * sysdeps/s390/configure: Regenerate.
6479
6480 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6481
6482 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6483
6484 2014-04-11 Will Newton <will.newton@linaro.org>
6485
6486 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6487 to zero if it is not defined elsewhere. (mtrim): Test
6488 the value of MALLOC_DEBUG with #if rather than #ifdef.
6489
6490 2014-04-10 Torvald Riegel <triegel@redhat.com>
6491
6492 * benchtests/pthread_once-inputs: New file.
6493 * benchtests/pthread_once-source.c: New file.
6494 * benchtests/README: Update documentation.
6495
6496 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
6497 H.J. Lu <hongjiu.lu@intel.com>
6498
6499 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6500 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6501 * sysdeps/x86_64/configure: Regenerated.
6502 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6503 macro.
6504 (REGISTER_SAVE_RAX): Likewise.
6505 (REGISTER_SAVE_RCX): Likewise.
6506 (REGISTER_SAVE_RDX): Likewise.
6507 (REGISTER_SAVE_RSI): Likewise.
6508 (REGISTER_SAVE_RDI): Likewise.
6509 (REGISTER_SAVE_R8): Likewise.
6510 (REGISTER_SAVE_R9): Likewise.
6511 (REGISTER_SAVE_BND0): Likewise.
6512 (REGISTER_SAVE_BND1): Likewise.
6513 (REGISTER_SAVE_BND2): Likewise.
6514 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
6515 bound registers when calling _dl_fixup.
6516
6517 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6518
6519 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6520 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6521 of its definition.
6522 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6523 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6524 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6525 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6526 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6527 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6528 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6529
6530 2014-04-09 Peter Brett <peter@peter-b.co.uk>
6531
6532 [BZ #15514]
6533 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6534 pathconf(_PC_NAME_MAX).
6535
6536 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6537
6538 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6539 Remove macro usage.
6540 (__PTHREAD_SPINS): Move definition to ...
6541 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6542 (__PTHREAD_SPINS): ... here.
6543 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6544 (__PTHREAD_SPIN): Likewise.
6545 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6546 (__PTHREAD_SPIN): Likewise.
6547 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6548 (__PTHREAD_SPIN): Likewise.
6549 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6550 (__PTHREAD_SPIN): Likewise.
6551 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6552 (__PTHREAD_SPIN): Likewise.
6553 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6554 (__PTHREAD_SPIN): Likewise.
6555 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6556 (__PTHREAD_SPIN): Likewise.
6557 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6558 (__PTHREAD_SPIN): Likewise.
6559 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6560 (__PTHREAD_SPIN): Likewise.
6561 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6562 (__PTHREAD_SPIN): Likewise.
6563 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6564 (__PTHREAD_SPIN): Likewise.
6565 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6566 (__PTHREAD_SPIN): Likewise.
6567
6568 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6569 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6570 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6571 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6572 imply folder.
6573 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6574 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6575 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6576 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6577 correct imply path.
6578 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6579 strlen symbol for non multi-arch builds.
6580 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6581 missing hidden_def and weak_alias.
6582
6583 2014-04-08 Carlos O'Donell <carlos@redhat.com>
6584
6585 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6586
6587 2014-04-07 Will Newton <will.newton@linaro.org>
6588
6589 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6590 and contents. [!_LIBC] Remove #ifndef and contents.
6591 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
6592 * string/memccpy.c (__memccpy): Use ANSI prototype.
6593 * string/memfrob.c (memfrob): Likewise.
6594 * string/strcoll.c (STRCOLL): Likewise.
6595 * string/strlen.c (strlen): Likewise.
6596 * string/strtok.c (STRTOK): Likewise.
6597 * string/strcat.c: Remove unused #include of memcopy.h.
6598 (strcat): Use ANSI prototype.
6599 * string/strchr.c: Remove unused #include of memcopy.h.
6600 (strchr): Use ANSI prototype.
6601 * string/strcmp.c: Remove unused #include of memcopy.h.
6602 (strcmp): Use ANSI prototype.
6603 * string/strcpy.c: Remove unused #include of memcopy.h.
6604 (strcpy): Use ANSI prototype.
6605
6606 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6607
6608 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6609 * config.make.in (config-extra-cppflags): Set it from
6610 libc_extra_cppflags.
6611 * configure.ac (libc_extra_cflags): Make it accumulate over
6612 configure fragments.
6613 (libc_extra_cppflags): New flag.
6614 * configure. Regenerate.
6615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6616 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6617 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6619
6620 [BZ #16815]
6621 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6622 result for FE_DOWNWARD rounding mode.
6623 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6624 Likewise.
6625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6626
6627 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
6628
6629 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6630 in function argument name.
6631
6632 2014-04-03 David Svoboda <svoboda@cert.org>
6633
6634 [BZ #5666]
6635 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6636 explicitly.
6637
6638 2014-04-03 Roland McGrath <roland@hack.frob.com>
6639
6640 * elf/dl-unmap-segments.h: New file.
6641 * sysdeps/generic/ldsodefs.h
6642 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6643 * elf/dl-close.c: Include <dl-unmap-segments.h>.
6644 * elf/dl-fptr.c: Likewise.
6645 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
6646 * sysdeps/aarch64/tlsdesc.c: Likewise.
6647 * sysdeps/arm/tlsdesc.c: Likewise.
6648 * sysdeps/i386/tlsdesc.c: Likewise.
6649 * sysdeps/tile/dl-runtime.c: Likewise.
6650 * sysdeps/x86_64/tlsdesc.c: Likewise.
6651 * elf/dl-load.h: New file.
6652 * elf/dl-load.c: Include it.
6653 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
6654 Macros moved to dl-load.h.
6655 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
6656 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
6657 Use _dl_unmap_segments in place of __munmap.
6658 Break out segment-mapping loop into ...
6659 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
6660
6661 2014-04-03 Will Newton <will.newton@linaro.org>
6662
6663 * elf/dl-lookup.c (do_lookup_x): Remove comment
6664 referring to nested function and move variable
6665 declarations down to before first use.
6666
6667 2014-04-02 Joseph Myers <joseph@codesourcery.com>
6668
6669 [BZ #16799]
6670 [BZ #16800]
6671 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
6672 with 0 numerator.
6673 * math/s_catanf.c (__catanf): Likewise.
6674 * math/s_catanh.c (__catanh): Likewise.
6675 * math/s_catanhf.c (__catanhf): Likewise.
6676 * math/s_catanhl.c (__catanhl): Likewise.
6677 * math/s_catanl.c (__catanl): Likewise.
6678 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
6679 by positive zero when computing -Inf result.
6680 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
6681 (catanh_test): Likewise.
6682 * sysdeps/i386/fpu/libm-test-ulps: Update.
6683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6684
6685 [BZ #16789]
6686 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
6687 instead of using underflowing value in computing result.
6688 * math/s_clog10.c (__clog10): Likewise.
6689 * math/s_clog10f.c (__clog10f): Likewise.
6690 * math/s_clog10l.c (__clog10l): Likewise.
6691 * math/s_clogf.c (__clogf): Likewise.
6692 * math/s_clogl.c (__clogl): Likewise.
6693 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
6694 (clog10_test): Likewise.
6695 * sysdeps/i386/fpu/libm-test-ulps: Update.
6696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6697
6698 2014-04-02 Alan Modra <amodra@gmail.com>
6699
6700 [BZ #16739]
6701 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
6702 output when value is near a power of two. Use int64_t for lx and
6703 remove casts. Use decimal rather than hex exponent constants.
6704 Don't use long double multiplication when double will suffice.
6705 * math/libm-test.inc (nextafter_test_data): Add tests.
6706 * NEWS: Add 16739 and 16786 to bug list.
6707
6708 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
6709
6710 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
6711
6712 2014-04-01 Will Newton <will.newton@linaro.org>
6713
6714 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
6715 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
6716
6717 2014-04-01 Florian Weimer <fweimer@redhat.com>
6718
6719 [BZ #13347]
6720 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
6721 * nptl/tst-setuid2.c: New file.
6722 * nptl/Makefile (xtests): Add tst-setuid2.
6723
6724 2014-04-01 Alan Modra <amodra@gmail.com>
6725
6726 [BZ #16786]
6727 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
6728
6729 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6730
6731 [BZ #6803]
6732 [BZ #6804]
6733 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
6734 set errno as appropriate.
6735 * math/w_scalbf.c (__scalbf): Likewise.
6736 * math/w_scalbl.c (__scalbl): Likewise.
6737 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
6738 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
6739 * math/libm-test.inc (scalb_test_data): Add errno expectations.
6740 Add more NaN tests.
6741
6742 [BZ #16349]
6743 * math/w_atan2.c: Include <errno.h>.
6744 (__atan2): Set errno for result underflowing to zero.
6745 * math/w_atan2f.c: Include <errno.h>.
6746 (__atan2f): Set errno for result underflowing to zero.
6747 * math/w_atan2l.c: Include <errno.h>.
6748 (__atan2l): Set errno for result underflowing to zero.
6749 * math/auto-libm-test-in: Don't allow missing errno for some atan2
6750 tests.
6751 * math/auto-libm-test-out: Regenerated.
6752
6753 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6754
6755 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6756 Encode instruction correctly in little endian.
6757 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6758 Likewise.
6759 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6760 Likewise.
6761 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6762 Likewise.
6763 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6764 Likewise.
6765
6766 2014-03-31 Joseph Myers <joseph@codesourcery.com>
6767
6768 [BZ #9894]
6769 * sysdeps/unix/sysv/linux/kernel-features.h
6770 [__sparc__ && !__arch64__ && !__sparc_v9__]
6771 (__ASSUME_SET_ROBUST_LIST): Do not define.
6772 [__sparc__ && !__arch64__ && !__sparc_v9__]
6773 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6774 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
6775 Likewise.
6776 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6777 (__ASSUME_FUTEX_LOCK_PI): Undefine.
6778 (__ASSUME_REQUEUE_PI): Likewise.
6779 (__ASSUME_SET_ROBUST_LIST): Likewise.
6780 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6781 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
6782 Undefine.
6783 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6784 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
6785 Likewise.
6786 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
6787 Likewise.
6788 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
6789 Likewise.
6790 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6791 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
6792 Undefine.
6793 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
6794 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
6795 Likewise.
6796
6797 [BZ #16648]
6798 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6799 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
6800 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
6801
6802 2014-03-31 Will Newton <will.newton@linaro.org>
6803
6804 * benchtests/Makefile (bench): Add ffs and ffsll to list
6805 of tests.
6806 * benchtests/ffs-inputs: New file.
6807 * benchtests/ffsll-inputs: Likewise.
6808
6809 2014-03-29 Joseph Myers <joseph@codesourcery.com>
6810
6811 [BZ #16770]
6812 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
6813 too large before casting to int.
6814 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
6815 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
6816 * math/libm-test.inc (scalb_test_data): Add more tests.
6817
6818 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6819
6820 * benchtests/Makefile (DETAILED_OPT): New make option.
6821 (bench-func): Run benchmark program with -d if DETAILED_OPT is
6822 set.
6823 * benchtests/bench-skeleton.c: Include stdbool.h.
6824 (main): Store and print timings per input.
6825 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
6826 member to each argument value.
6827 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
6828 (_print_arg_data): Initialize per-input timing to 0.
6829
6830 * benchtests/Makefile (timing-type): New binary.
6831 (bench-clean): Also remove bench-timing-type.
6832 (bench): New target for timing-type.
6833 (bench-func): Print output in JSON format.
6834 * benchtests/bench-skeleton.c (main): Print output in JSON
6835 format.
6836 * benchtests/bench-timing-type.c: New file.
6837 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
6838 (TIMING_PRINT_STATS): Remove.
6839 * benchtests/scripts/bench.py (_print_arg_data): Store variant
6840 name separately.
6841
6842 * benchtests/bench-modf.c: Remove.
6843 * benchtests/modf-inputs: New inputs file.
6844
6845 2014-03-28 Joseph Myers <joseph@codesourcery.com>
6846
6847 [BZ #16362]
6848 * math/s_clog10.c (M_PI_LOG10E): New macro.
6849 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
6850 imaginary parts are 0.
6851 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
6852 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
6853 imaginary parts are 0.
6854 * math/s_clog10l.c (M_PI_LOG10El): New macro.
6855 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
6856 imaginary parts are 0.
6857 * math/libm-test.inc (clog10_test_data): Update expected results
6858 for when real and imaginary parts are 0.
6859
6860 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
6861
6862 * elf/dl-load.c: Finish conversion of __builtin_expect into
6863 __glibc_{un}likely.
6864
6865 2014-03-27 Joseph Myers <joseph@codesourcery.com>
6866
6867 [BZ #16348]
6868 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
6869 1+x for argument with exponent below -67.
6870 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
6871 Likewise.
6872 * math/auto-libm-test-in: Add more tests of exp.
6873 * math/auto-libm-test-out: Regenerated.
6874
6875 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6876
6877 [BZ #16759]
6878 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6879 (nscd_getnetgrent): Use it.
6880
6881 [BZ #16760]
6882 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6883 of stpcpy.
6884
6885 2014-03-27 Andi Kleen <ak@linux.intel.com>
6886
6887 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6888 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6889 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6890 (lll_robust_unlock): Remove out of line section. Use cfi
6891 intrinsics.
6892 (LLL_STUB_UNWIND_INFO*): Remove.
6893 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6894 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6895 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6896 (lll_robust_unlock): Remove out of line section. Use cfi
6897 intrinsics.
6898 (LLL_STUB_UNWIND_INFO*): Remove.
6899
6900 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6901
6902 [BZ #16758]
6903 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6904 blank values.
6905
6906 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6907
6908 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6909
6910 2014-03-26 Joseph Myers <joseph@codesourcery.com>
6911
6912 [BZ #16198]
6913 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6914 fnstenv.
6915 * math/test-fenv-preserve.c: New file.
6916 * math/Makefile (tests): Add test-fenv-preserve.
6917
6918 2014-03-26 Will Newton <will.newton@linaro.org>
6919
6920 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6921
6922 2014-03-25 Roland McGrath <roland@hack.frob.com>
6923
6924 * scripts/versionlist.awk: Partition the version sets and emit all
6925 GLIBC_* (sorted) before all others (sorted).
6926
6927 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6928
6929 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6930 GLIBC_2.2.5 version.
6931
6932 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6933
6934 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6935 calls.
6936
6937 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6938 previous change.
6939
6940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6941
6942 2014-03-25 Andreas Schwab <schwab@suse.de>
6943
6944 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6945 label to be used after in6ailist is initialized.
6946
6947 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6948
6949 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6950 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6951
6952 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6953
6954 [BZ #16357]
6955 [BZ #16599]
6956 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6957 min_plus_half.
6958 (fp_formats): Update initializers.
6959 (init_fp_formats): Initialize new field.
6960 (output_for_one_input_case): Allow underflow for results up to
6961 min_plus_half.
6962 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6963 * math/auto-libm-test-in: Don't mark some underflows from asin and
6964 atanh as spurious.
6965 * math/auto-libm-test-out: Regenerated.
6966 * sysdeps/i386/fpu/libm-test-ulps: Update.
6967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6968
6969 2014-03-25 Andreas Schwab <schwab@suse.de>
6970
6971 * libio/Makefile (tst-ftell-partial-wide-ENV)
6972 (tst-ftell-active-handler-ENV): Define.
6973
6974 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6975
6976 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6977
6978 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6979
6980 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6981
6982 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6983
6984 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6985 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6986 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6987
6988 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6989
6990 [BZ #16634]
6991 * elf/dl-load.c (open_verify): Add mode parameter.
6992 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6993 (open_path): Change from boolean 'secure' to complete flag 'mode'
6994 (_dl_map_object): Adjust.
6995 * elf/Makefile (tests): Add tst-dlopen-aout.
6996 * elf/tst-dlopen-aout.c: New test.
6997
6998 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6999
7000 [BZ #16714]
7001 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7002 (struct stat): Rename member pad0 to __glibc_reserved0.
7003
7004 [BZ #16712]
7005 * sysdeps/s390/s390-32/bits/wordsize.h
7006 (__WORDSIZE32_SIZE_ULONG): New define.
7007 * sysdeps/s390/s390-64/bits/wordsize.h
7008 (__WORDSIZE32_SIZE_ULONG): Likewise.
7009 * sysdeps/generic/stdint.h (SIZE_MAX):
7010 Define as UL if __WORDSIZE32_SIZE_ULONG.
7011
7012 [BZ #16713]
7013 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7014 (__glibc_reserved0): New variable.
7015 (sa_flags): Change type to int.
7016
7017 * posix/Makefile (before-compile): Use += before-compile instead
7018 of a :=.
7019
7020 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7021 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7022
7023 2014-03-20 Andreas Schwab <schwab@suse.de>
7024
7025 [BZ #16743]
7026 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7027 non-matching result from nscd.
7028
7029 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7030
7031 * scripts/bench.py: Moved to ...
7032 * benchtests/scripts/bench.py: ... here.
7033 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7034
7035 2014-03-24 Andreas Schwab <schwab@suse.de>
7036
7037 [BZ #16002]
7038 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7039 alloca_account and account alloca use for struct in6ailist.
7040
7041 2014-03-24 Joseph Myers <joseph@codesourcery.com>
7042
7043 [BZ #16284]
7044 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7045 rounding mode to recompute results that overflow to infinity or
7046 underflow to zero.
7047 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7048 bug 16284.
7049 * math/auto-libm-test-out: Regenerated.
7050 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7051 (ccosh_test): Likewise.
7052 (csin_test_data): Use plus_oflow.
7053 (csin_test): Use ALL_RM_TEST.
7054 (csinh_test_data): Use plus_oflow.
7055 (csinh_test): Use ALL_RM_TEST.
7056 * sysdeps/i386/fpu/libm-test-ulps: Update.
7057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7058
7059 2014-03-21 Joseph Myers <joseph@codesourcery.com>
7060
7061 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7062 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7063 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7064
7065 [BZ #16731]
7066 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7067 when x - 1 is zero.
7068 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7069 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7070 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7071 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7072 argument is 1.
7073 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7074 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7075 zero.
7076 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7077 * sysdeps/i386/fpu/libm-test-ulps: Update.
7078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7079
7080 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7081
7082 * scripts/bench.pl: Remove file.
7083 * scripts/bench.py: New benchmark script.
7084 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7085 * benchtests/README: Mention python dependency.
7086 * scripts/pylintrc: New file.
7087 * scripts/pylint: New file.
7088
7089 * bits/mathdef.h: Use #ifdef instead of #if.
7090 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7091 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7092 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7093 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7094 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7095 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7096
7097 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7098 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7099
7100 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7101 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7102 and strpbrk-ppc64 objects.
7103 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7104 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7105 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7106 multiarch strpbrk for POWER7.
7107 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7108 multiarch strpbrk for PPC64.
7109 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7110 ifunc selector.
7111 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7112 strpbrk for POWER7.
7113
7114 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7115
7116 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7117 (atan_test): Likewise.
7118 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7119 (atanh_test): Use ALL_RM_TEST.
7120 (atan2_test_data): Likewise.
7121 (cabs_test): Likewise.
7122 (cacosh_test): Likewise.
7123 (carg_test): Likewise.
7124 (casin_test): Likewise.
7125 (casinh_test): Likewise.
7126 (cbrt_test): Likewise.
7127 (csqrt_test): Likewise.
7128 (erf_test): Likewise.
7129 (erfc_test): Likewise.
7130 (pow10_test): Likewise.
7131 (exp2_test): Likewise.
7132 (hypot_test): Likewise.
7133 (j0_test): Likewise.
7134 (j1_test): Likewise.
7135 (lgamma_test): Likewise.
7136 (gamma_test): Likewise.
7137 (sincos_test): Likewise.
7138 (tanh_test): Likewise.
7139 (y0_test): Likewise.
7140 (y1_test): Likewise.
7141 * sysdeps/i386/fpu/libm-test-ulps: Update.
7142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7143
7144 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7145
7146 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7148 and strcspn-ppc64 objects.
7149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7150 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7151 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7152 multiarch strcspn for POWER7.
7153 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7154 multiarch strcspn for PPC64.
7155 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7156 ifunc selector.
7157 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7158 strcspn for POWER7.
7159
7160 2014-03-20 Joseph Myers <joseph@codesourcery.com>
7161
7162 * math/gen-libm-test.pl (generate_testfile): Expect only function
7163 name as argument to AUTO_TESTS_* and pass results for all rounding
7164 modes to parse_args.
7165 (parse_auto_input): Separate inputs of automatic tests from
7166 outputs before storing in %auto_tests.
7167 * math/libm-test.inc (acos_test_data): Update call to
7168 AUTO_TESTS_f_f.
7169 (acos_test): Use ALL_RM_TEST.
7170 (acos_tonearest_test_data): Remove.
7171 (acos_test_tonearest): Likewise.
7172 (acos_towardzero_test_data): Likewise.
7173 (acos_test_towardzero): Likewise.
7174 (acos_downward_test_data): Likewise.
7175 (acos_test_downward): Likewise.
7176 (acos_upward_test_data): Likewise.
7177 (acos_test_upward): Likewise.
7178 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7179 (asin_test_data): Likewise.
7180 (asin_test): Use ALL_RM_TEST.
7181 (asin_tonearest_test_data): Remove.
7182 (asin_test_tonearest): Likewise.
7183 (asin_towardzero_test_data): Likewise.
7184 (asin_test_towardzero): Likewise.
7185 (asin_downward_test_data): Likewise.
7186 (asin_test_downward): Likewise.
7187 (asin_upward_test_data): Likewise.
7188 (asin_test_upward): Likewise.
7189 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7190 (atan_test_data): Likewise.
7191 (atanh_test_data): Likewise.
7192 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7193 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7194 (carg_test_data): Likewise.
7195 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7196 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7197 (ccosh_test_data): Likewise.
7198 (cexp_test_data): Likewise.
7199 (clog_test_data): Likewise.
7200 (clog10_test_data): Likewise.
7201 (cos_test_data): Update call to AUTO_TESTS_f_f.
7202 (cos_test): Use ALL_RM_TEST.
7203 (cos_tonearest_test_data): Remove.
7204 (cos_test_tonearest): Likewise.
7205 (cos_towardzero_test_data): Likewise.
7206 (cos_test_towardzero): Likewise.
7207 (cos_downward_test_data): Likewise.
7208 (cos_test_downward): Likewise.
7209 (cos_upward_test_data): Likewise.
7210 (cos_test_upward): Likewise.
7211 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7212 (cosh_test): Use ALL_RM_TEST.
7213 (cosh_tonearest_test_data): Remove.
7214 (cosh_test_tonearest): Likewise.
7215 (cosh_towardzero_test_data): Likewise.
7216 (cosh_test_towardzero): Likewise.
7217 (cosh_downward_test_data): Likewise.
7218 (cosh_test_downward): Likewise.
7219 (cosh_upward_test_data): Likewise.
7220 (cosh_test_upward): Likewise.
7221 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7222 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7223 (ctan_test_data): Likewise.
7224 (ctan_test): Use ALL_RM_TEST.
7225 (ctan_tonearest_test_data): Remove.
7226 (ctan_test_tonearest): Likewise.
7227 (ctan_towardzero_test_data): Likewise.
7228 (ctan_test_towardzero): Likewise.
7229 (ctan_downward_test_data): Likewise.
7230 (ctan_test_downward): Likewise.
7231 (ctan_upward_test_data): Likewise.
7232 (ctan_test_upward): Likewise.
7233 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7234 (ctanh_test): Use ALL_RM_TEST.
7235 (ctanh_tonearest_test_data): Remove.
7236 (ctanh_test_tonearest): Likewise.
7237 (ctanh_towardzero_test_data): Likewise.
7238 (ctanh_test_towardzero): Likewise.
7239 (ctanh_downward_test_data): Likewise.
7240 (ctanh_test_downward): Likewise.
7241 (ctanh_upward_test_data): Likewise.
7242 (ctanh_test_upward): Likewise.
7243 (erf_test_data): Update call to AUTO_TESTS_f_f.
7244 (erfc_test_data): Likewise.
7245 (exp_test_data): Likewise.
7246 (exp_test): Use ALL_RM_TEST.
7247 (exp_tonearest_test_data): Remove.
7248 (exp_test_tonearest): Likewise.
7249 (exp_towardzero_test_data): Likewise.
7250 (exp_test_towardzero): Likewise.
7251 (exp_downward_test_data): Likewise.
7252 (exp_test_downward): Likewise.
7253 (exp_upward_test_data): Likewise.
7254 (exp_test_upward): Likewise.
7255 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7256 (exp10_test): Use ALL_RM_TEST.
7257 (exp10_tonearest_test_data): Remove.
7258 (exp10_test_tonearest): Likewise.
7259 (exp10_towardzero_test_data): Likewise.
7260 (exp10_test_towardzero): Likewise.
7261 (exp10_downward_test_data): Likewise.
7262 (exp10_test_downward): Likewise.
7263 (exp10_upward_test_data): Likewise.
7264 (exp10_test_upward): Likewise.
7265 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7266 (expm1_test_data): Likewise.
7267 (expm1_test): Use ALL_RM_TEST.
7268 (expm1_tonearest_test_data): Remove.
7269 (expm1_test_tonearest): Likewise.
7270 (expm1_towardzero_test_data): Likewise.
7271 (expm1_test_towardzero): Likewise.
7272 (expm1_downward_test_data): Likewise.
7273 (expm1_test_downward): Likewise.
7274 (expm1_upward_test_data): Likewise.
7275 (expm1_test_upward): Likewise.
7276 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7277 (fma_test): Use ALL_RM_TEST.
7278 (fma_towardzero_test_data): Remove.
7279 (fma_test_towardzero): Likewise.
7280 (fma_downward_test_data): Likewise.
7281 (fma_test_downward): Likewise.
7282 (fma_upward_test_data): Likewise.
7283 (fma_test_upward): Likewise.
7284 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7285 (j0_test_data): Update call to AUTO_TESTS_f_f.
7286 (j1_test_data): Likewise.
7287 (jn_test_data): Update call to AUTO_TESTS_if_f.
7288 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7289 (log_test_data): Update call to AUTO_TESTS_f_f.
7290 (log10_test_data): Likewise.
7291 (log1p_test_data): Likewise.
7292 (log2_test_data): Likewise.
7293 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7294 (pow_tonearest_test_data): Likewise.
7295 (sin_test_data): Update call to AUTO_TESTS_f_f.
7296 (sin_test): Use ALL_RM_TEST.
7297 (sin_tonearest_test_data): Remove.
7298 (sin_test_tonearest): Likewise.
7299 (sin_towardzero_test_data): Likewise.
7300 (sin_test_towardzero): Likewise.
7301 (sin_downward_test_data): Likewise.
7302 (sin_test_downward): Likewise.
7303 (sin_upward_test_data): Likewise.
7304 (sin_test_upward): Likewise.
7305 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7306 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7307 (sinh_test): Use ALL_RM_TEST.
7308 (sinh_tonearest_test_data): Remove.
7309 (sinh_test_tonearest): Likewise.
7310 (sinh_towardzero_test_data): Likewise.
7311 (sinh_test_towardzero): Likewise.
7312 (sinh_downward_test_data): Likewise.
7313 (sinh_test_downward): Likewise.
7314 (sinh_upward_test_data): Likewise.
7315 (sinh_test_upward): Likewise.
7316 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7317 (sqrt_test): Use ALL_RM_TEST.
7318 (sqrt_tonearest_test_data): Remove.
7319 (sqrt_test_tonearest): Likewise.
7320 (sqrt_towardzero_test_data): Likewise.
7321 (sqrt_test_towardzero): Likewise.
7322 (sqrt_downward_test_data): Likewise.
7323 (sqrt_test_downward): Likewise.
7324 (sqrt_upward_test_data): Likewise.
7325 (sqrt_test_upward): Likewise.
7326 (tan_test_data): Update call to AUTO_TESTS_f_f.
7327 (tan_test): Use ALL_RM_TEST.
7328 (tan_tonearest_test_data): Remove.
7329 (tan_test_tonearest): Likewise.
7330 (tan_towardzero_test_data): Likewise.
7331 (tan_test_towardzero): Likewise.
7332 (tan_downward_test_data): Likewise.
7333 (tan_test_downward): Likewise.
7334 (tan_upward_test_data): Likewise.
7335 (tan_test_upward): Likewise.
7336 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7337 (tgamma_test_data): Likewise.
7338 (y0_test_data): Likewise.
7339 (y1_test_data): Likewise.
7340 (yn_test_data): Update call to AUTO_TESTS_if_f.
7341 (main): Do not call removed functions.
7342
7343 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7344
7345 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7346 (ldexp_test_data): Remove.
7347 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7348 scalbn_test_data.
7349 (scalb_test): Use ALL_RM_TEST.
7350
7351 2014-03-19 Andreas Schwab <schwab@suse.de>
7352
7353 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7354
7355 2014-03-19 Joseph Myers <joseph@codesourcery.com>
7356
7357 [BZ #16649]
7358 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7359 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7360 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7361 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7362 (__ASSUME_PREADV): Undefine.
7363 (__ASSUME_PWRITEV): Likewise.
7364
7365 2014-03-18 Roland McGrath <roland@hack.frob.com>
7366
7367 * bits/mman-linux.h: Add comment about non-Linux use.
7368 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7369 bits/mman-linux.h resting place.
7370
7371 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7372 * bits/mman-linux.h: ... here.
7373
7374 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7375
7376 * conform/conformtest.pl: Add standard definition when calling C
7377 preprocessor on data files.
7378 (checknamespace): Remove unused variable.
7379
7380 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7381
7382 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7383 minus_oflow, plus_uflow and minus_uflow in expected results.
7384 * math/libm-test.inc (scalbn_test_data): Add more tests of
7385 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7386 minus_uflow.
7387 (scalbn_test): Use ALL_RM_TEST.
7388 (scalbln_test_data): Add more tests of negative arguments. Use
7389 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7390 (scalbln_test): Use ALL_RM_TEST.
7391
7392 2014-03-18 Roland McGrath <roland@hack.frob.com>
7393
7394 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7395
7396 2014-03-18 Will Newton <will.newton@linaro.org>
7397
7398 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7399 inaccurate comment.
7400
7401 2014-03-18 Joseph Myers <joseph@codesourcery.com>
7402
7403 * Makerules [!subdir] (check-abi): Exit with error status if a
7404 test failed.
7405
7406 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7407
7408 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7409 for rint. Include results for all rounding modes.
7410 (nearbyint_test): Use ALL_RM_TEST.
7411 (rint_test_data): Include all tests used for nearbyint.
7412
7413 2014-03-17 Will Newton <will.newton@linaro.org>
7414
7415 * nptl/sysdeps/pthread/pthread.h: Revert previous
7416 change.
7417
7418 * sysdeps/generic/ldsodefs.h: Revert previous
7419 change.
7420
7421 * libio/genops.c: Revert previous change.
7422 * libio/libioP.h: Likewise.
7423 * stdio-common/vfprintf.c: Likewise.
7424
7425 * sysdeps/generic/math_private.h: Revert previous
7426 change.
7427
7428 * sysdeps/generic/math_private.h: Check whether
7429 HAVE_RM_CTX is defined with #ifdef rather
7430 than #if.
7431
7432 * argp/argp-fmtstream.h: Check whether
7433 __STRICT_ANSI__ is defined with #ifdef rather
7434 than #if.
7435 * argp/argp.h: Likewise.
7436
7437 * libio/genops.c: Check whether
7438 _IO_JUMPS_OFFSET is defined with #ifdef rather
7439 than #if.
7440 * libio/libioP.h: Likewise.
7441 * stdio-common/vfprintf.c: Likewise.
7442
7443 * sysdeps/generic/ldsodefs.h: Check whether
7444 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7445 than #if.
7446
7447 * nptl/sysdeps/pthread/pthread.h: Check
7448 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7449 its value.
7450
7451 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7452
7453 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7454 setting O_APPEND.
7455 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7456 test case.
7457
7458 [BZ #16680]
7459 * libio/fileops.c (_IO_file_open): Seek to end of file but
7460 don't cache the offset.
7461 (get_file_offset): Remove function.
7462 (do_ftell): Use cached offset when available.
7463 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7464 don't cache the offset.
7465 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7466 case.
7467 (do_one_test): Call it.
7468 (do_ftell_test): Fix up expected old offset for a+ mode.
7469 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7470 available.
7471
7472 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7473 up test status with function return status.
7474 (do_write_test): Likewise.
7475 (do_append_test): Likewise.
7476
7477 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7478 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7479 Remove.
7480
7481 2014-03-17 Joseph Myers <joseph@codesourcery.com>
7482
7483 * math/gen-libm-test.pl (parse_args): Handle results specified for
7484 each rounding mode separately.
7485 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7486 tests and results from lrint_tonearest_test_data,
7487 lrint_towardzero_test_data, lrint_downward_test_data and
7488 lrint_upward_test_data.
7489 (lrint_test): Use ALL_RM_TEST.
7490 (lrint_tonearest_test_data): Remove.
7491 (lrint_test_tonearest): Likewise.
7492 (lrint_towardzero_test_data): Likewise.
7493 (lrint_test_towardzero): Likewise.
7494 (lrint_downward_test_data): Likewise.
7495 (lrint_test_downward): Likewise.
7496 (lrint_upward_test_data): Likewise.
7497 (lrint_test_upward): Likewise.
7498 (llrint_test_data): Merge in per-rounding-mode tests and results
7499 from llrint_tonearest_test_data, llrint_towardzero_test_data,
7500 llrint_downward_test_data and llrint_upward_test_data.
7501 (llrint_test): Use ALL_RM_TEST.
7502 (llrint_tonearest_test_data): Remove.
7503 (llrint_test_tonearest): Likewise.
7504 (llrint_towardzero_test_data): Likewise.
7505 (llrint_test_towardzero): Likewise.
7506 (llrint_downward_test_data): Likewise.
7507 (llrint_test_downward): Likewise.
7508 (llrint_upward_test_data): Likewise.
7509 (llrint_test_upward): Likewise.
7510 (rint_test_data): Merge in per-rounding-mode tests and results
7511 from rint_tonearest_test_data, rint_towardzero_test_data,
7512 rint_downward_test_data and rint_upward_test_data. Add
7513 per-rounding-mode results for tests not in those arrays.
7514 (rint_test): Use ALL_RM_TEST.
7515 (rint_tonearest_test_data): Remove.
7516 (rint_test_tonearest): Likewise.
7517 (rint_towardzero_test_data): Likewise.
7518 (rint_test_towardzero): Likewise.
7519 (rint_downward_test_data): Likewise.
7520 (rint_test_downward): Likewise.
7521 (rint_upward_test_data): Likewise.
7522 (rint_test_upward): Likewise.
7523 (main): Don't call removed functions.
7524
7525 2014-03-14 Roland McGrath <roland@hack.frob.com>
7526
7527 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7528 "Compiled on ..." crapola. It is anti-useful.
7529
7530 2014-03-14 Joseph Myers <joseph@codesourcery.com>
7531
7532 * scripts/evaluate-test.sh: Handle fourth argument to determine
7533 whether test run should stop on failure.
7534 * Makeconfig (stop-on-test-failure): New variable.
7535 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7536 $(stop-on-test-failure).
7537 * Makefile (tests): Give a summary of results from testing and
7538 exit with failure status if they include an ERROR or FAIL.
7539 (xtests): Likewise.
7540 * manual/install.texi (Configuring and compiling): Mention
7541 stop-on-test-failure=y.
7542 * INSTALL: Regenerated.
7543
7544 2014-03-14 Roland McGrath <roland@hack.frob.com>
7545
7546 * scripts/versionlist.awk: New file.
7547 * Makerules [$(build-shared) = yes]
7548 (postclean-generated): Add Versions.def, not Versions.def.v and
7549 Versions.def.v.i.
7550 ($(common-objpfx)Versions.def.v.i): Target removed.
7551 ($(common-objpfx)Versions.def): New target.
7552 ($(common-objpfx)Versions.all): Depend on that rather that
7553 $(common-objpfx)Versions.def.v.
7554 * Versions.def: File removed.
7555
7556 * Makeconfig (+gccwarn): Add -Wundef.
7557 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7558 a dl-sysdep.h breaking its contract.
7559 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7560 * include/stackinfo.h: New file.
7561 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7562 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7563 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7564 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7565 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7566 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7567 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7568 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7569 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7570 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7571 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7572 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7573 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7574 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7575 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7576
7577 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7578
7579 [BZ #16707]
7580 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7581 implementation.
7582 * math/libm-test.inc (round_test_data): Add more tests.
7583
7584 [BZ #16706]
7585 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7586 implementation.
7587 * math/libm-test.inc (nearbyint_test_data): Add more tests.
7588
7589 [BZ #16701]
7590 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7591 implementation.
7592 * math/libm-test.inc (ceil_test_data): Add more tests.
7593
7594 * math/libm-test.inc (trunc_test_data): Add more tests related to
7595 BZ#16414.
7596
7597 2014-03-14 Roland McGrath <roland@hack.frob.com>
7598
7599 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7600 with #if rather than #ifdef.
7601 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7602
7603 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
7604
7605 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7606 first. Disable AVX-512 GCC support if assembler doesn't support
7607 it.
7608 * sysdeps/x86_64/configure: Regenerated.
7609
7610 2014-03-13 Carlos O'Donell <carlos@redhat.com>
7611
7612 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7613 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7614 (__old_pthread_attr_setstack): Likewise.
7615 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7616 [!_STACK_GROWS_DOWN]: Likewise.
7617
7618 2014-03-13 Mike Frysinger <vapier@gentoo.org>
7619
7620 * config.make.in (have-bash2): Delete.
7621 * configure.ac (libc_cv_have_bash2): Delete.
7622 * configure: Regenerate.
7623 * elf/Makefile (common-ldd-rewrite): Rename to ...
7624 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
7625 (sh-ldd-rewrite): Delete.
7626 (bash-ldd-rewrite): Delete.
7627 (have-bash2): Delete checks.
7628 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7629 ldd-rewrite.
7630
7631 * config.make.in (have-ksh): Delete.
7632 (KSH): Delete.
7633 * configure.ac (libc_cv_have_ksh): Delete.
7634 * configure: Regenerate.
7635
7636 * elf/Makefile: Delete $(have-ksh) check.
7637 ($(objpfx)sotruss): Change KSH to BASH.
7638 * elf/sotruss.ksh: Rename to ...
7639 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
7640 function style to match POSIX. Drop ksh vim mode setting.
7641
7642 * manual/time.texi (Specifying the Time Zone with TZ): Change
7643 Tuesday to Thursday.
7644
7645 * debug/tst-longjmp_chk2.c: Update header comment.
7646 (stackoverflow_handler): Add comment. Call assert on pass value.
7647
7648 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
7649
7650 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
7651 (HAVE_AVX512_ASM_SUPPORT): Likewise.
7652 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
7653 (La_x86_64_vector): Add zmm.
7654 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
7655 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
7656 ($(objpfx)tst-audit10): New target.
7657 ($(objpfx)tst-audit10.out): Likewise.
7658 (tst-audit10-ENV): New.
7659 (AVX512-CFLAGS): Likewise.
7660 (CFLAGS-tst-audit10.c): Likewise.
7661 (CFLAGS-tst-auditmod10a.c): Likewise.
7662 (CFLAGS-tst-auditmod10b.c): Likewise.
7663 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
7664 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
7665 * sysdeps/x86_64/configure: Regenerated.
7666 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
7667 AVX-512 zmm register support.
7668 (_dl_x86_64_save_sse): Likewise.
7669 (_dl_x86_64_restore_sse): Likewise.
7670 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
7671 size vector registers.
7672 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
7673 (ZMM_SIZE): Likewise.
7674 * sysdeps/x86_64/tst-audit10.c: New file.
7675 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
7676 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
7677
7678 2014-03-13 Roland McGrath <roland@hack.frob.com>
7679
7680 * configure.ac (HAVE_EHDR_START): New check.
7681 * configure: Regenerated.
7682 * config.h.in (HAVE_EHDR_START): New #undef.
7683 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
7684 assuming the lowest-addressed segment maps the start of the file.
7685
7686 2014-03-13 Joseph Myers <joseph@codesourcery.com>
7687
7688 * INSTALL: Regenerated.
7689
7690 2014-03-13 Will Newton <will.newton@linaro.org>
7691
7692 * manual/setjmp.texi (System V contexts): Improve
7693 clarity and grammar of documentation.
7694
7695 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
7696
7697 [BZ #16381]
7698 * elf/Makefile (tests): Add tst-pie2.
7699 (tests-pie): Add tst-pie2.
7700 * elf/tst-pie2.c: New file.
7701 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
7702 for ET_EXEC.
7703 * elf/rtld.c (map_doit): Load executable as lt_executable.
7704 (dl_main): Likewise.
7705
7706 2014-03-12 Joseph Myers <joseph@codesourcery.com>
7707
7708 [BZ #16642]
7709 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7710 (__ASSUME_PSELECT): Undefine.
7711
7712 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7713
7714 [BZ #16689]
7715 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
7716 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
7717 static build.
7718 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
7719 selector for static builds.
7720
7721 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7722
7723 [BZ #16695]
7724 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
7725 key in the buffer.
7726
7727 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7728
7729 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
7730 IFUNC selector for static builds.
7731
7732 2014-03-11 Joseph Myers <joseph@codesourcery.com>
7733
7734 * sysdeps/mips/math_private.h [__mips_hard_float]
7735 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
7736 libc_feresetround_mips_ctx.
7737 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
7738 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
7739 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
7740
7741 [BZ #16677]
7742 * math/s_nextafter.c (__nextafter): Do not return value from
7743 overflowing computation.
7744 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
7745 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
7746 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
7747 Likewise.
7748 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7749 Likewise.
7750 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
7751 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
7752
7753 2014-03-11 Roland McGrath <roland@hack.frob.com>
7754
7755 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
7756 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
7757 Move sfi_sp use from the load-multiple (that no longer sets sp) to
7758 the new mov targetting sp.
7759
7760 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7761
7762 [BZ #16683]
7763 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
7764 Define it for static builds as well.
7765 (NO_BZERO_IMPL): Likewise.
7766
7767 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7768
7769 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
7770 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
7771 multiarch strspn for PPC64.
7772 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
7773 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
7774 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7775 (__libc_ifunc_impl_list): Likewise.
7776 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
7777 multiarch optimizations
7778 * string/strspn.c (strspn): Using macro to redefine symbol name.
7779
7780 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7781 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7782
7783 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
7784 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
7785 multiarch strncat for PPC64.
7786 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
7787 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
7788 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7789 (__libc_ifunc_impl_list): Likewise.
7790 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
7791 multiarch optimizations
7792
7793 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7794
7795 [BZ #16639]
7796 * nscd/nscd.service: Make service type forking.
7797
7798 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7799
7800 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
7801 sign in non default rounding modes.
7802 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
7803
7804 2014-03-08 Joseph Myers <joseph@codesourcery.com>
7805
7806 * math/libm-test.inc (ALL_RM_TEST): New macro.
7807 (ceil_test): Use ALL_RM_TEST.
7808 (cimag_test): Likewise.
7809 (conj_test): Likewise.
7810 (copysign_test): Likewise.
7811 (cproj_test): Likewise.
7812 (creal_test): Likewise.
7813 (fabs_test): Likewise.
7814 (floor_test): Likewise.
7815 (fmax_test): Likewise.
7816 (fmin_test): Likewise.
7817 (fmod_test): Likewise.
7818 (fpclassify_test): Likewise.
7819 (frexp_test): Likewise.
7820 (ilogb_test): Likewise.
7821 (isfinite_test): Likewise.
7822 (finite_test): Likewise.
7823 (isgreater_test): Likewise.
7824 (isgreaterequal_test): Likewise.
7825 (isinf_test): Likewise.
7826 (isless_test): Likewise.
7827 (islessequal_test): Likewise.
7828 (islessgreater_test): Likewise.
7829 (isnan_test): Likewise.
7830 (isnormal_test): Likewise.
7831 (issignaling_test): Likewise.
7832 (isunordered_test): Likewise.
7833 (logb_test): Likewise.
7834 (logb_downward_test_data): Remove.
7835 (logb_test_downward): Likewise.
7836 (lround_test): Use ALL_RM_TEST.
7837 (llround_test): Likewise.
7838 (modf_test): Likewise.
7839 (nexttoward_test): Likewise.
7840 (remainder_test): Likewise.
7841 (drem_test): Likewise.
7842 (remainder_tonearest_test_data): Likewise.
7843 (remainder_test_tonearest): Likewise.
7844 (drem_test_tonearest): Likewise.
7845 (remainder_towardzero_test_data): Likewise.
7846 (remainder_test_towardzero): Likewise.
7847 (drem_test_towardzero): Likewise.
7848 (remainder_downward_test_data): Likewise.
7849 (remainder_test_downward): Likewise.
7850 (drem_test_downward): Likewise.
7851 (remainder_upward_test_data): Likewise.
7852 (remainder_test_upward): Likewise.
7853 (drem_test_upward): Likewise.
7854 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
7855 (round_test): Use ALL_RM_TEST.
7856 (signbit_test): Likewise.
7857 (trunc_test): Likewise.
7858 (significand_test): Likewise.
7859 (main): Don't call removed functions.
7860
7861 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7862
7863 [BZ #16674]
7864 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
7865 || __USE_XOPEN2K8].
7866 (ILL_ILLOPN): Likewise.
7867 (ILL_ILLADR): Likewise.
7868 (ILL_ILLTRP): Likewise.
7869 (ILL_PRVOPC): Likewise.
7870 (ILL_PRVREG): Likewise.
7871 (ILL_COPROC): Likewise.
7872 (ILL_BADSTK): Likewise.
7873 (FPE_INTDIV): Likewise.
7874 (FPE_INTOVF): Likewise.
7875 (FPE_FLTDIV): Likewise.
7876 (FPE_FLTOVF): Likewise.
7877 (FPE_FLTUND): Likewise.
7878 (FPE_FLTRES): Likewise.
7879 (FPE_FLTINV): Likewise.
7880 (FPE_FLTSUB): Likewise.
7881 (SEGV_MAPERR): Likewise.
7882 (SEGV_ACCERR): Likewise.
7883 (BUS_ADRALN): Likewise.
7884 (BUS_ADRERR): Likewise.
7885 (BUS_OBJERR): Likewise.
7886 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7887 (TRAP_TRACE): Likewise.
7888 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7889 __USE_XOPEN2K8].
7890 (CLD_KILLED): Likewise.
7891 (CLD_DUMPED): Likewise.
7892 (CLD_TRAPPED): Likewise.
7893 (CLD_STOPPED): Likewise.
7894 (CLD_CONTINUED): Likewise.
7895 (POLL_IN): Likewise.
7896 (POLL_OUT): Likewise.
7897 (POLL_MSG): Likewise.
7898 (POLL_ERR): Likewise.
7899 (POLL_PRI): Likewise.
7900 (POLL_HUP): Likewise.
7901 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7902 Likewise.
7903 (ILL_ILLOPN): Likewise.
7904 (ILL_ILLADR): Likewise.
7905 (ILL_ILLTRP): Likewise.
7906 (ILL_PRVOPC): Likewise.
7907 (ILL_PRVREG): Likewise.
7908 (ILL_COPROC): Likewise.
7909 (ILL_BADSTK): Likewise.
7910 (FPE_INTDIV): Likewise.
7911 (FPE_INTOVF): Likewise.
7912 (FPE_FLTDIV): Likewise.
7913 (FPE_FLTOVF): Likewise.
7914 (FPE_FLTUND): Likewise.
7915 (FPE_FLTRES): Likewise.
7916 (FPE_FLTINV): Likewise.
7917 (FPE_FLTSUB): Likewise.
7918 (SEGV_MAPERR): Likewise.
7919 (SEGV_ACCERR): Likewise.
7920 (BUS_ADRALN): Likewise.
7921 (BUS_ADRERR): Likewise.
7922 (BUS_OBJERR): Likewise.
7923 (BUS_MCEERR_AR): Likewise.
7924 (BUS_MCEERR_AO): Likewise.
7925 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7926 (TRAP_TRACE): Likewise.
7927 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7928 __USE_XOPEN2K8].
7929 (CLD_KILLED): Likewise.
7930 (CLD_DUMPED): Likewise.
7931 (CLD_TRAPPED): Likewise.
7932 (CLD_STOPPED): Likewise.
7933 (CLD_CONTINUED): Likewise.
7934 (POLL_IN): Likewise.
7935 (POLL_OUT): Likewise.
7936 (POLL_MSG): Likewise.
7937 (POLL_ERR): Likewise.
7938 (POLL_PRI): Likewise.
7939 (POLL_HUP): Likewise.
7940 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7941 (ILL_ILLOPN): Likewise.
7942 (ILL_ILLADR): Likewise.
7943 (ILL_ILLTRP): Likewise.
7944 (ILL_PRVOPC): Likewise.
7945 (ILL_PRVREG): Likewise.
7946 (ILL_COPROC): Likewise.
7947 (ILL_BADSTK): Likewise.
7948 (FPE_INTDIV): Likewise.
7949 (FPE_INTOVF): Likewise.
7950 (FPE_FLTDIV): Likewise.
7951 (FPE_FLTOVF): Likewise.
7952 (FPE_FLTUND): Likewise.
7953 (FPE_FLTRES): Likewise.
7954 (FPE_FLTINV): Likewise.
7955 (FPE_FLTSUB): Likewise.
7956 (SEGV_MAPERR): Likewise.
7957 (SEGV_ACCERR): Likewise.
7958 (BUS_ADRALN): Likewise.
7959 (BUS_ADRERR): Likewise.
7960 (BUS_OBJERR): Likewise.
7961 (BUS_MCEERR_AR): Likewise.
7962 (BUS_MCEERR_AO): Likewise.
7963 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7964 (TRAP_TRACE): Likewise.
7965 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7966 __USE_XOPEN2K8].
7967 (CLD_KILLED): Likewise.
7968 (CLD_DUMPED): Likewise.
7969 (CLD_TRAPPED): Likewise.
7970 (CLD_STOPPED): Likewise.
7971 (CLD_CONTINUED): Likewise.
7972 (POLL_IN): Likewise.
7973 (POLL_OUT): Likewise.
7974 (POLL_MSG): Likewise.
7975 (POLL_ERR): Likewise.
7976 (POLL_PRI): Likewise.
7977 (POLL_HUP): Likewise.
7978 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7979 Likewise.
7980 (ILL_ILLOPN): Likewise.
7981 (ILL_ILLADR): Likewise.
7982 (ILL_ILLTRP): Likewise.
7983 (ILL_PRVOPC): Likewise.
7984 (ILL_PRVREG): Likewise.
7985 (ILL_COPROC): Likewise.
7986 (ILL_BADSTK): Likewise.
7987 (ILL_BADIADDR): Likewise.
7988 (ILL_BREAK): Likewise.
7989 (FPE_INTDIV): Likewise.
7990 (FPE_INTOVF): Likewise.
7991 (FPE_FLTDIV): Likewise.
7992 (FPE_FLTOVF): Likewise.
7993 (FPE_FLTUND): Likewise.
7994 (FPE_FLTRES): Likewise.
7995 (FPE_FLTINV): Likewise.
7996 (FPE_FLTSUB): Likewise.
7997 (FPE_DECOVF): Likewise.
7998 (FPE_DECDIV): Likewise.
7999 (FPE_DECERR): Likewise.
8000 (FPE_INVASC): Likewise.
8001 (FPE_INVDEC): Likewise.
8002 (SEGV_MAPERR): Likewise.
8003 (SEGV_ACCERR): Likewise.
8004 (SEGV_PSTKOVF): Likewise.
8005 (BUS_ADRALN): Likewise.
8006 (BUS_ADRERR): Likewise.
8007 (BUS_OBJERR): Likewise.
8008 (BUS_MCEERR_AR): Likewise.
8009 (BUS_MCEERR_AO): Likewise.
8010 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8011 (TRAP_TRACE): Likewise.
8012 (TRAP_BRANCH): Likewise.
8013 (TRAP_HWBKPT): Likewise.
8014 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8015 __USE_XOPEN2K8].
8016 (CLD_KILLED): Likewise.
8017 (CLD_DUMPED): Likewise.
8018 (CLD_TRAPPED): Likewise.
8019 (CLD_STOPPED): Likewise.
8020 (CLD_CONTINUED): Likewise.
8021 (POLL_IN): Likewise.
8022 (POLL_OUT): Likewise.
8023 (POLL_MSG): Likewise.
8024 (POLL_ERR): Likewise.
8025 (POLL_PRI): Likewise.
8026 (POLL_HUP): Likewise.
8027 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8028 (ILL_ILLOPN): Likewise.
8029 (ILL_ILLADR): Likewise.
8030 (ILL_ILLTRP): Likewise.
8031 (ILL_PRVOPC): Likewise.
8032 (ILL_PRVREG): Likewise.
8033 (ILL_COPROC): Likewise.
8034 (ILL_BADSTK): Likewise.
8035 (FPE_INTDIV): Likewise.
8036 (FPE_INTOVF): Likewise.
8037 (FPE_FLTDIV): Likewise.
8038 (FPE_FLTOVF): Likewise.
8039 (FPE_FLTUND): Likewise.
8040 (FPE_FLTRES): Likewise.
8041 (FPE_FLTINV): Likewise.
8042 (FPE_FLTSUB): Likewise.
8043 (SEGV_MAPERR): Likewise.
8044 (SEGV_ACCERR): Likewise.
8045 (BUS_ADRALN): Likewise.
8046 (BUS_ADRERR): Likewise.
8047 (BUS_OBJERR): Likewise.
8048 (BUS_MCEERR_AR): Likewise.
8049 (BUS_MCEERR_AO): Likewise.
8050 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8051 (TRAP_TRACE): Likewise.
8052 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8053 __USE_XOPEN2K8].
8054 (CLD_KILLED): Likewise.
8055 (CLD_DUMPED): Likewise.
8056 (CLD_TRAPPED): Likewise.
8057 (CLD_STOPPED): Likewise.
8058 (CLD_CONTINUED): Likewise.
8059 (POLL_IN): Likewise.
8060 (POLL_OUT): Likewise.
8061 (POLL_MSG): Likewise.
8062 (POLL_ERR): Likewise.
8063 (POLL_PRI): Likewise.
8064 (POLL_HUP): Likewise.
8065 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8066 (ILL_ILLOPN): Likewise.
8067 (ILL_ILLADR): Likewise.
8068 (ILL_ILLTRP): Likewise.
8069 (ILL_PRVOPC): Likewise.
8070 (ILL_PRVREG): Likewise.
8071 (ILL_COPROC): Likewise.
8072 (ILL_BADSTK): Likewise.
8073 (FPE_INTDIV): Likewise.
8074 (FPE_INTOVF): Likewise.
8075 (FPE_FLTDIV): Likewise.
8076 (FPE_FLTOVF): Likewise.
8077 (FPE_FLTUND): Likewise.
8078 (FPE_FLTRES): Likewise.
8079 (FPE_FLTINV): Likewise.
8080 (FPE_FLTSUB): Likewise.
8081 (SEGV_MAPERR): Likewise.
8082 (SEGV_ACCERR): Likewise.
8083 (BUS_ADRALN): Likewise.
8084 (BUS_ADRERR): Likewise.
8085 (BUS_OBJERR): Likewise.
8086 (BUS_MCEERR_AR): Likewise.
8087 (BUS_MCEERR_AO): Likewise.
8088 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8089 (TRAP_TRACE): Likewise.
8090 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8091 __USE_XOPEN2K8].
8092 (CLD_KILLED): Likewise.
8093 (CLD_DUMPED): Likewise.
8094 (CLD_TRAPPED): Likewise.
8095 (CLD_STOPPED): Likewise.
8096 (CLD_CONTINUED): Likewise.
8097 (POLL_IN): Likewise.
8098 (POLL_OUT): Likewise.
8099 (POLL_MSG): Likewise.
8100 (POLL_ERR): Likewise.
8101 (POLL_PRI): Likewise.
8102 (POLL_HUP): Likewise.
8103 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8104 (ILL_ILLOPN): Likewise.
8105 (ILL_ILLADR): Likewise.
8106 (ILL_ILLTRP): Likewise.
8107 (ILL_PRVOPC): Likewise.
8108 (ILL_PRVREG): Likewise.
8109 (ILL_COPROC): Likewise.
8110 (ILL_BADSTK): Likewise.
8111 (FPE_INTDIV): Likewise.
8112 (FPE_INTOVF): Likewise.
8113 (FPE_FLTDIV): Likewise.
8114 (FPE_FLTOVF): Likewise.
8115 (FPE_FLTUND): Likewise.
8116 (FPE_FLTRES): Likewise.
8117 (FPE_FLTINV): Likewise.
8118 (FPE_FLTSUB): Likewise.
8119 (SEGV_MAPERR): Likewise.
8120 (SEGV_ACCERR): Likewise.
8121 (BUS_ADRALN): Likewise.
8122 (BUS_ADRERR): Likewise.
8123 (BUS_OBJERR): Likewise.
8124 (BUS_MCEERR_AR): Likewise.
8125 (BUS_MCEERR_AO): Likewise.
8126 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8127 (TRAP_TRACE): Likewise.
8128 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8129 __USE_XOPEN2K8].
8130 (CLD_KILLED): Likewise.
8131 (CLD_DUMPED): Likewise.
8132 (CLD_TRAPPED): Likewise.
8133 (CLD_STOPPED): Likewise.
8134 (CLD_CONTINUED): Likewise.
8135 (POLL_IN): Likewise.
8136 (POLL_OUT): Likewise.
8137 (POLL_MSG): Likewise.
8138 (POLL_ERR): Likewise.
8139 (POLL_PRI): Likewise.
8140 (POLL_HUP): Likewise.
8141 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8142 (ILL_ILLOPN): Likewise.
8143 (ILL_ILLADR): Likewise.
8144 (ILL_ILLTRP): Likewise.
8145 (ILL_PRVOPC): Likewise.
8146 (ILL_PRVREG): Likewise.
8147 (ILL_COPROC): Likewise.
8148 (ILL_BADSTK): Likewise.
8149 (ILL_DBLFLT): Likewise.
8150 (ILL_HARDWALL): Likewise.
8151 (FPE_INTDIV): Likewise.
8152 (FPE_INTOVF): Likewise.
8153 (FPE_FLTDIV): Likewise.
8154 (FPE_FLTOVF): Likewise.
8155 (FPE_FLTUND): Likewise.
8156 (FPE_FLTRES): Likewise.
8157 (FPE_FLTINV): Likewise.
8158 (FPE_FLTSUB): Likewise.
8159 (SEGV_MAPERR): Likewise.
8160 (SEGV_ACCERR): Likewise.
8161 (BUS_ADRALN): Likewise.
8162 (BUS_ADRERR): Likewise.
8163 (BUS_OBJERR): Likewise.
8164 (BUS_MCEERR_AR): Likewise.
8165 (BUS_MCEERR_AO): Likewise.
8166 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8167 (TRAP_TRACE): Likewise.
8168 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8169 __USE_XOPEN2K8].
8170 (CLD_KILLED): Likewise.
8171 (CLD_DUMPED): Likewise.
8172 (CLD_TRAPPED): Likewise.
8173 (CLD_STOPPED): Likewise.
8174 (CLD_CONTINUED): Likewise.
8175 (POLL_IN): Likewise.
8176 (POLL_OUT): Likewise.
8177 (POLL_MSG): Likewise.
8178 (POLL_ERR): Likewise.
8179 (POLL_PRI): Likewise.
8180 (POLL_HUP): Likewise.
8181 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8182 (ILL_ILLOPN): Likewise.
8183 (ILL_ILLADR): Likewise.
8184 (ILL_ILLTRP): Likewise.
8185 (ILL_PRVOPC): Likewise.
8186 (ILL_PRVREG): Likewise.
8187 (ILL_COPROC): Likewise.
8188 (ILL_BADSTK): Likewise.
8189 (FPE_INTDIV): Likewise.
8190 (FPE_INTOVF): Likewise.
8191 (FPE_FLTDIV): Likewise.
8192 (FPE_FLTOVF): Likewise.
8193 (FPE_FLTUND): Likewise.
8194 (FPE_FLTRES): Likewise.
8195 (FPE_FLTINV): Likewise.
8196 (FPE_FLTSUB): Likewise.
8197 (SEGV_MAPERR): Likewise.
8198 (SEGV_ACCERR): Likewise.
8199 (BUS_ADRALN): Likewise.
8200 (BUS_ADRERR): Likewise.
8201 (BUS_OBJERR): Likewise.
8202 (BUS_MCEERR_AR): Likewise.
8203 (BUS_MCEERR_AO): Likewise.
8204 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8205 (TRAP_TRACE): Likewise.
8206 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8207 __USE_XOPEN2K8].
8208 (CLD_KILLED): Likewise.
8209 (CLD_DUMPED): Likewise.
8210 (CLD_TRAPPED): Likewise.
8211 (CLD_STOPPED): Likewise.
8212 (CLD_CONTINUED): Likewise.
8213 (POLL_IN): Likewise.
8214 (POLL_OUT): Likewise.
8215 (POLL_MSG): Likewise.
8216 (POLL_ERR): Likewise.
8217 (POLL_PRI): Likewise.
8218 (POLL_HUP): Likewise.
8219 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8220 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8221
8222 [BZ #16670]
8223 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8224 before #include of <time.h>.
8225 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8226 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8227 (test-xfail-UNIX98/sched.h/conform): Likewise.
8228
8229 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8230
8231 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8232 error absence of trapping exception support.
8233 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8234
8235 2014-03-07 Joseph Myers <joseph@codesourcery.com>
8236
8237 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8238 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8239 * timezone/Makefile (testdata): Move definition above include of
8240 Rules.
8241 (test-zones): New variable.
8242 (tests-special): Add zone files.
8243 (build-testdata): Use $(evaluate-test).
8244
8245 * elf/Makefile (tests-special): Rename tests to end with .out.
8246 ($(objpfx)noload-mem): Likewise.
8247 ($(objpfx)tst-leaks1-mem): Likewise.
8248 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8249 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8250 $(objpfx)test-iconvconfig.out.
8251 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8252 set -e inside subshell and redirect output to file.
8253 * iconvdata/Makefile (generated): Rename tests to end with .out.
8254 Correct type.
8255 (tests-special): Rename tests to end with .out.
8256 ($(objpfx)mtrace-tst-loading): Likewise.
8257 * intl/Makefile (generated): Likewise.
8258 (tests-special): Likewise.
8259 ($(objpfx)mtrace-tst-gettext): Likewise.
8260 * misc/Makefile (generated): Likewise.
8261 (tests-special): Likewise.
8262 ($(objpfx)tst-error1-mem): Likewise.
8263 * nptl/Makefile (tests-special): Likewise.
8264 ($(objpfx)tst-stack3-mem): Likewise.
8265 (generated): Likewise.
8266 * posix/Makefile (generated): Likewise.
8267 (tests-special): Likewise.
8268 (xtests-special): Likewise.
8269 ($(objpfx)tst-fnmatch-mem): Likewise.
8270 ($(objpfx)bug-regex2-mem): Likewise.
8271 ($(objpfx)bug-regex14-mem): Likewise.
8272 ($(objpfx)bug-regex21-mem): Likewise.
8273 ($(objpfx)bug-regex31-mem): Likewise.
8274 ($(objpfx)tst-vfork3-mem): Likewise.
8275 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8276 ($(objpfx)tst-pcre-mem): Likewise.
8277 ($(objpfx)tst-boost-mem): Likewise.
8278 ($(objpfx)bug-ga2-mem): Likewise.
8279 ($(objpfx)bug-glob2-mem): Likewise.
8280 * resolv/Makefile (generate): Likewise.
8281 (tests-special): Likewise.
8282 (xtests-special): Likewise.
8283 (generated): Likewise.
8284 ($(objpfx)mtrace-tst-leaks): Likewise.
8285 ($(objpfx)mtrace-tst-leaks2): Likewise.
8286
8287 * scripts/merge-test-results.sh: New file.
8288 * Makefile (tests-special-notdir): New variable.
8289 (tests): Run merge-test-results.sh.
8290 (xtests): Likewise.
8291 * Rules (tests-special-notdir): New variable.
8292 (xtests-special-notdir): Likewise.
8293 (tests): Run merge-test-results.sh
8294 (xtests): Likewise.
8295
8296 * Makeconfig (test-xfail-name): New variable.
8297 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8298 compute variable name for expected failures.
8299 * conform/Makefile (conformtest-headers-data): New variable.
8300 (conformtest-standards): Likewise.
8301 (conformtest-headers-ISO): Likewise.
8302 (conformtest-headers-ISO99): Likewise.
8303 (conformtest-headers-ISO11): Likewise.
8304 (conformtest-headers-POSIX): Likewise.
8305 (conformtest-headers-XPG3): Likewise.
8306 (conformtest-headers-XPG4): Likewise.
8307 (conformtest-headers-UNIX98): Likewise.
8308 (conformtest-headers-XOPEN2K): Likewise.
8309 (conformtest-headers-POSIX2008): Likewise.
8310 (conformtest-headers-XOPEN2K8): Likewise.
8311 (conformtest-header-list-base): Likewise.
8312 (conformtest-header-list-tests): Likewise.
8313 (conformtest-header-base): Likewise.
8314 (conformtest-header-tests): Likewise.
8315 (tests-special): Add $(conformtest-header-list-tests). If
8316 [$(fast-check) && !$(cross-compiling)], add
8317 $(conformtest-header-tests) instead of
8318 $(objpfx)run-conformtest.out.
8319 (generated): Add $(conformtest-header-list-base). If
8320 [$(fast-check) && !$(cross-compiling)], add
8321 $(conformtest-header-base). Remove previous setting.
8322 ($(conformtest-header-list-tests)): New target.
8323 (test-xfail-run-conformtest): Remove variable.
8324 ($(objpfx)run-conformtest.out): Remove target.
8325 (test-xfail-ISO11/complex.h/conform): New variable.
8326 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8327 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8328 (test-xfail-XPG3/varargs.h/conform): Likewise.
8329 (test-xfail-XPG4/varargs.h/conform): Likewise.
8330 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8331 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8332 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8333 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8334 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8335 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8336 (test-xfail-XPG3/ftw.h/conform): Likewise.
8337 (test-xfail-XPG3/grp.h/conform): Likewise.
8338 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8339 (test-xfail-XPG3/limits.h/conform): Likewise.
8340 (test-xfail-XPG3/pwd.h/conform): Likewise.
8341 (test-xfail-XPG3/search.h/conform): Likewise.
8342 (test-xfail-XPG3/signal.h/conform): Likewise.
8343 (test-xfail-XPG3/stdio.h/conform): Likewise.
8344 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8345 (test-xfail-XPG3/string.h/conform): Likewise.
8346 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8347 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8348 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8349 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8350 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8351 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8352 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8353 (test-xfail-XPG3/termios.h/conform): Likewise.
8354 (test-xfail-XPG3/time.h/conform): Likewise.
8355 (test-xfail-XPG3/unistd.h/conform): Likewise.
8356 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8357 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8358 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8359 (test-xfail-XPG4/netdb.h/conform): Likewise.
8360 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8361 (test-xfail-XPG4/signal.h/conform): Likewise.
8362 (test-xfail-XPG4/stdio.h/conform): Likewise.
8363 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8364 (test-xfail-XPG4/stropts.h/conform): Likewise.
8365 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8366 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8367 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8368 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8369 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8370 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8371 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8372 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8373 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8374 (test-xfail-XPG4/termios.h/conform): Likewise.
8375 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8376 (test-xfail-XPG4/unistd.h/conform): Likewise.
8377 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8378 (test-xfail-POSIX/sched.h/conform): Likewise.
8379 (test-xfail-POSIX/signal.h/conform): Likewise.
8380 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8381 (test-xfail-POSIX/tar.h/conform): Likewise.
8382 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8383 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8384 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8385 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8386 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8387 (test-xfail-UNIX98/sched.h/conform): Likewise.
8388 (test-xfail-UNIX98/signal.h/conform): Likewise.
8389 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8390 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8391 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8392 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8393 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8394 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8395 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8396 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8397 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8398 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8399 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8400 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8401 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8402 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8403 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8404 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8405 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8406 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8407 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8408 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8409 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8410 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8411 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8412 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8413 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8414 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8415 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8416 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8417 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8418 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8419 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8420 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8421 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8422 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8423 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8424 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8425 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8426 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8427 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8428 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8429 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8430 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8431 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8432 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8433 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8434 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8435 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8436 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8437 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8438 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8439 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8440 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8441 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8442 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8443 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8444 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8445 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8446 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8447 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8448 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8449 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8450 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8451 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8452 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8453 (conformtest-cc-flags): Likewise.
8454 ($(conformtest-header-tests): New target.
8455 * conform/check-header-lists.sh: New file.
8456 * conform/run-conformtest.sh: Remove.
8457
8458 * conform/conformtest.pl: Allow ' and \ in values given for
8459 constants.
8460 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8461 inclusion.
8462 [POSIX] (sys/types.h): Likewise.
8463 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8464 inclusion.
8465 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8466 inclusion.
8467 * conform/data/signal.h-data (SIGIO): Remove expectation.
8468 [XPG3] (SIGBUS): Do not expect.
8469 [POSIX || XPG3] (SIGPOLL): Likewise.
8470 [POSIX || XPG3] (SIGPROF): Likewise.
8471 [POSIX || XPG3] (SIGSYS): Likewise.
8472 [XPG3] (SIGTRAP): Likewise.
8473 [POSIX || XPG3] (SIGURG): Likewise.
8474 [POSIX || XPG3] (SIGVTALRM): Likewise.
8475 [POSIX || XPG3] (SIGXCPU): Likewise.
8476 [POSIX || XPG3] (SIGXFSZ): Likewise.
8477 [POSIX] (SA_SIGINFO): Expect.
8478 [XPG3] (siginfo_t): Do not expect type or contents.
8479 [POSIX] (si_pid): Do not expect element.
8480 [POSIX] (si_uid): Likewise.
8481 [POSIX] (si_addr): Likewise.
8482 [POSIX] (si_status): Likewise.
8483 [POSIX] (si_band): Likewise.
8484 [XPG4] (si_value): Likewise.
8485 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8486 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8487 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8488 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8489 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8490 [POSIX || XPG3] (ILL_PRVREG): Likewise.
8491 [POSIX || XPG3] (ILL_COPROC): Likewise.
8492 [POSIX || XPG3] (ILL_BADSTK): Likewise.
8493 [POSIX || XPG3] (FPE_INTDIV): Likewise.
8494 [POSIX || XPG3] (FPE_INTOVF): Likewise.
8495 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8496 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8497 [POSIX || XPG3] (FPE_FLTUND): Likewise.
8498 [POSIX || XPG3] (FPE_FLTRES): Likewise.
8499 [POSIX || XPG3] (FPE_FLTINV): Likewise.
8500 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8501 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8502 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8503 [POSIX || XPG3] (BUS_ADRALN): Likewise.
8504 [POSIX || XPG3] (BUS_ADRERR): Likewise.
8505 [POSIX || XPG3] (BUS_OBJERR): Likewise.
8506 [POSIX || XPG3] (CLD_EXITED): Likewise.
8507 [POSIX || XPG3] (CLD_KILLED): Likewise.
8508 [POSIX || XPG3] (CLD_DUMPED): Likewise.
8509 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8510 [POSIX || XPG3] (CLD_STOPPED): Likewise.
8511 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8512 [POSIX || XPG3] (POLL_IN): Likewise.
8513 [POSIX || XPG3] (POLL_OUT): Likewise.
8514 [POSIX || XPG3] (POLL_MSG): Likewise.
8515 [POSIX || XPG3] (POLL_ERR): Likewise.
8516 [POSIX || XPG3] (POLL_PRI): Likewise.
8517 [POSIX || XPG3] (POLL_HUP): Likewise.
8518 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8519 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8520 (SIG*): Do not allow.
8521 [XPG3] (si_*): Likewise.
8522 [XPG3] (SI_*): Likewise.
8523 [XPG3 || XPG4] (sigev_*): Likewise.
8524 [XPG3 || XPG4] (SIGEV_*): Likewise.
8525 [XPG3 || XPG4] (sival_*): Likewise.
8526 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8527 [POSIX || XPG3] (BUS_*): Likewise.
8528 [POSIX || XPG3] (CLD_*): Likewise.
8529 [POSIX || XPG3] (FPE_*): Likewise.
8530 [POSIX || XPG3] (ILL_*): Likewise.
8531 [POSIX || XPG3] (POLL_*): Likewise.
8532 [POSIX || XPG3] (SEGV_*): Likewise.
8533 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8534 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8535 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8536 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8537 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8538 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8539 Specify type and value.
8540 (TVERSLEN): Likewise.
8541 (REGTYPE): Likewise.
8542 (AREGTYPE): Likewise.
8543 (LNKTYPE): Likewise.
8544 (SYMTYPE): Likewise.
8545 (CHRTYPE): Likewise.
8546 (BLKTYPE): Likewise.
8547 (DIRTYPE): Likewise.
8548 (FIFOTYPE): Likewise.
8549 (CONTTYPE): Likewise.
8550 (TSUID): Likewise.
8551 (TSGID): Likewise.
8552 (TSVTX): Likewise.
8553 (TUREAD): Likewise.
8554 (TUWRITE): Likewise.
8555 (TUEXEC): Likewise.
8556 (TGREAD): Likewise.
8557 (TGWRITE): Likewise.
8558 (TGEXEC): Likewise.
8559 (TOREAD): Likewise.
8560 (TOWRITE): Likewise.
8561 (TOEXEC): Likewise.
8562 [POSIX] (TSVTX): Expect constant.
8563
8564 2014-03-06 Joseph Myers <joseph@codesourcery.com>
8565
8566 * Makefile (tests): Change dependencies to ....
8567 (tests-special): ... additions to this variable.
8568 (tests): Depend on $(tests-special).
8569 * Makerules (check-abi-list): New variable.
8570 (check-abi): Depend on $(check-abi-list).
8571 [$(subdir) = elf] (tests-special): Add
8572 $(objpfx)check-abi-libc.out.
8573 [$(build-shared) = yes && subdir] (tests-special): Add
8574 $(check-abi-list).
8575 [$(build-shared) = yes && subdir] (tests): Do not depend on
8576 check-abi.
8577 * Rules (tests): Depend on $(tests-special).
8578 (xtests): Depend on $(xtests-special).
8579 * catgets/Makefile (tests): Change dependencies to ....
8580 (tests-special): ... additions to this variable.
8581 * conform/Makefile (tests): Change dependencies to ....
8582 (tests-special): ... additions to this variable.
8583 * elf/Makefile (tests): Change dependencies to ....
8584 (tests-special): ... additions to this variable.
8585 * grp/Makefile (tests): Change dependencies to ....
8586 (tests-special): ... additions to this variable.
8587 * iconv/Makefile (xtests): Change dependencies to ....
8588 (xtests-special): ... additions to this variable.
8589 * iconvdata/Makefile (tests): Change dependencies to ....
8590 (tests-special): ... additions to this variable.
8591 * intl/Makefile (tests): Change dependencies to ....
8592 (tests-special): ... additions to this variable. Also add
8593 $(objpfx)tst-gettext.out.
8594 * io/Makefile (tests): Change dependencies to ....
8595 (tests-special): ... additions to this variable.
8596 * libio/Makefile (tests): Change dependencies to ....
8597 (tests-special): ... additions to this variable.
8598 * malloc/Makefile (tests): Change dependencies to ....
8599 (tests-special): ... additions to this variable.
8600 * misc/Makefile (tests): Change dependencies to ....
8601 (tests-special): ... additions to this variable.
8602 * nptl/Makefile (tests): Change dependencies to ....
8603 (tests-special): ... additions to this variable.
8604 * nptl_db/Makefile (tests): Change dependencies to ....
8605 (tests-special): ... additions to this variable.
8606 * posix/Makefile (tests): Change dependencies to ....
8607 (tests-special): ... additions to this variable.
8608 (xtests): Change dependencies to ....
8609 (xtests-special): ... additions to this variable.
8610 * resolv/Makefile (tests): Change dependencies to ....
8611 (tests-special): ... additions to this variable.
8612 (xtests): Change dependencies to ....
8613 (xtests-special): ... additions to this variable.
8614 * stdio-common/Makefile (tests): Change dependencies to ....
8615 (tests-special): ... additions to this variable.
8616 (do-tst-unbputc): Remove target.
8617 (do-tst-printf): Likewise.
8618 * stdlib/Makefile (tests): Change dependencies to ....
8619 (tests-special): ... additions to this variable.
8620 * string/Makefile (tests): Change dependencies to ....
8621 (tests-special): ... additions to this variable.
8622 * sysdeps/x86/Makefile (tests): Change dependencies to ....
8623 (tests-special): ... additions to this variable.
8624
8625 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8626 whole file.
8627 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8628 whole file.
8629 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8630 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8631
8632 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8633 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8634 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8635 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8636 * conform/data/libgen.h-data [XPG3]: Likewise.
8637 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8638 * conform/data/ndbm.h-data [XPG3]: Likewise.
8639 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8640 * conform/data/netdb.h-data [XPG3]: Likewise.
8641 * conform/data/netinet/in.h-data [XPG3]: Likewise.
8642 * conform/data/poll.h-data [XPG3]: Likewise.
8643 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8644 * conform/data/strings.h-data [XPG3]: Likewise.
8645 * conform/data/stropts.h-data [XPG3]: Likewise.
8646 * conform/data/sys/mman.h-data [XPG3]: Likewise.
8647 * conform/data/sys/resource.h-data [XPG3]: Likewise.
8648 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
8649 Likewise.
8650 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
8651 * conform/data/sys/time.h-data [XPG3]: Likewise.
8652 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
8653 * conform/data/sys/uio.h-data [XPG3]: Likewise.
8654 * conform/data/sys/un.h-data [XPG3]: Likewise.
8655 * conform/data/syslog.h-data [XPG3]: Likewise.
8656 * conform/data/ucontext.h-data [XPG3]: Likewise.
8657 * conform/data/utmpx.h-data [XPG3]: Likewise.
8658 * conform/data/varargs.h-data [UNIX98]: Enable file.
8659
8660 * manual/Makefile (INSTALL_INFO): Remove variable setting.
8661
8662 * math/libm-test.inc (struct test_f_f_data): Move expected results
8663 into structure for each rounding mode.
8664 (struct test_ff_f_data): Likewise.
8665 (struct test_ff_f_data_nexttoward): Likewise.
8666 (struct test_fi_f_data): Likewise.
8667 (struct test_fl_f_data): Likewise.
8668 (struct test_if_f_data): Likewise.
8669 (struct test_fff_f_data): Likewise.
8670 (struct test_c_f_data): Likewise.
8671 (struct test_f_f1_data): Likewise.
8672 (struct test_fF_f1_data): Likewise.
8673 (struct test_ffI_f1_data): Likewise.
8674 (struct test_c_c_data): Likewise.
8675 (struct test_cc_c_data): Likewise.
8676 (struct test_f_i_data): Likewise.
8677 (struct test_ff_i_data): Likewise.
8678 (struct test_f_l_data): Likewise.
8679 (struct test_f_L_data): Likewise.
8680 (struct test_fFF_11_data): Likewise.
8681 (RM_): New macro.
8682 (RM_FE_DOWNWARD): Likewise.
8683 (RM_FE_TONEAREST): Likewise.
8684 (RM_FE_TOWARDZERO): Likewise.
8685 (RM_FE_UPWARD): Likewise.
8686 (RUN_TEST_LOOP_f_f): Update references to expected results.
8687 (RUN_TEST_LOOP_2_f): Likewise.
8688 (RUN_TEST_LOOP_fff_f): Likewise.
8689 (RUN_TEST_LOOP_c_f): Likewise.
8690 (RUN_TEST_LOOP_f_f1): Likewise.
8691 (RUN_TEST_LOOP_fF_f1): Likewise.
8692 (RUN_TEST_LOOP_fI_f1): Likewise.
8693 (RUN_TEST_LOOP_ffI_f1): Likewise.
8694 (RUN_TEST_LOOP_c_c): Likewise.
8695 (RUN_TEST_LOOP_cc_c): Likewise.
8696 (RUN_TEST_LOOP_f_i): Likewise.
8697 (RUN_TEST_LOOP_f_i_tg): Likewise.
8698 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8699 (RUN_TEST_LOOP_f_b): Likewise.
8700 (RUN_TEST_LOOP_f_b_tg): Likewise.
8701 (RUN_TEST_LOOP_f_l): Likewise.
8702 (RUN_TEST_LOOP_f_L): Likewise.
8703 (RUN_TEST_LOOP_fFF_11): Likewise.
8704 * math/gen-libm-test.pl (parse_args): Output four copies of
8705 expected results for each test.
8706
8707 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8708 (__ASSUME_UTIMES): Remove.
8709 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8710 (__ASSUME_UTIMES): Likewise.
8711
8712 * math/gen-auto-libm-tests.c: Update comment on output format.
8713 (output_for_one_input_case): Generate before-rounding and
8714 after-rounding information as conditions on output flags not
8715 floating-point format.
8716 * math/auto-libm-test-out: Regenerated.
8717 * math/gen-libm-test.pl (cond_value): New function.
8718 (or_cond_value): Use cond_value.
8719 (generate_testfile): Handle conditional exceptions.
8720
8721 2014-03-05 Joseph Myers <joseph@codesourcery.com>
8722
8723 * math/libm-test.inc (max_valid_error): New variable.
8724 (init_max_error): Take new argument specifying whether function
8725 results are exactly determined. Set max_valid_error and bound
8726 other variables for errors based on this argument.
8727 (set_max_error): Do not record results above max_valid_error.
8728 (check_float_internal): Only accept errors of up to 0.5ulps if
8729 also at most max_valid_error.
8730 (START): Take new argument EXACT and pass it to init_max_error.
8731 (acos_test): Update call to START.
8732 (acos_test_tonearest): Likewise.
8733 (acos_test_towardzero): Likewise.
8734 (acos_test_downward): Likewise.
8735 (acos_test_upward): Likewise.
8736 (acosh_test): Likewise.
8737 (asin_test): Likewise.
8738 (asin_test_tonearest): Likewise.
8739 (asin_test_towardzero): Likewise.
8740 (asin_test_downward): Likewise.
8741 (asin_test_upward): Likewise.
8742 (asinh_test): Likewise.
8743 (atan_test): Likewise.
8744 (atanh_test): Likewise.
8745 (atan2_test): Likewise.
8746 (cabs_test): Likewise.
8747 (cacos_test): Likewise.
8748 (cacosh_test): Likewise.
8749 (carg_test): Likewise.
8750 (casin_test): Likewise.
8751 (casinh_test): Likewise.
8752 (catan_test): Likewise.
8753 (catanh_test): Likewise.
8754 (cbrt_test): Likewise.
8755 (ccos_test): Likewise.
8756 (ccosh_test): Likewise.
8757 (ceil_test): Likewise.
8758 (cexp_test): Likewise.
8759 (cimag_test): Likewise.
8760 (clog_test): Likewise.
8761 (clog10_test): Likewise.
8762 (conj_test): Likewise.
8763 (copysign_test): Likewise.
8764 (cos_test): Likewise.
8765 (cos_test_tonearest): Likewise.
8766 (cos_test_towardzero): Likewise.
8767 (cos_test_downward): Likewise.
8768 (cos_test_upward): Likewise.
8769 (cosh_test): Likewise.
8770 (cosh_test_tonearest): Likewise.
8771 (cosh_test_towardzero): Likewise.
8772 (cosh_test_downward): Likewise.
8773 (cosh_test_upward): Likewise.
8774 (cpow_test): Likewise.
8775 (cproj_test): Likewise.
8776 (creal_test): Likewise.
8777 (csin_test): Likewise.
8778 (csinh_test): Likewise.
8779 (csqrt_test): Likewise.
8780 (ctan_test): Likewise.
8781 (ctan_test_tonearest): Likewise.
8782 (ctan_test_towardzero): Likewise.
8783 (ctan_test_downward): Likewise.
8784 (ctan_test_upward): Likewise.
8785 (ctanh_test): Likewise.
8786 (ctanh_test_tonearest): Likewise.
8787 (ctanh_test_towardzero): Likewise.
8788 (ctanh_test_downward): Likewise.
8789 (ctanh_test_upward): Likewise.
8790 (erf_test): Likewise.
8791 (erfc_test): Likewise.
8792 (exp_test): Likewise.
8793 (exp_test_tonearest): Likewise.
8794 (exp_test_towardzero): Likewise.
8795 (exp_test_downward): Likewise.
8796 (exp_test_upward): Likewise.
8797 (exp10_test): Likewise.
8798 (exp10_test_tonearest): Likewise.
8799 (exp10_test_towardzero): Likewise.
8800 (exp10_test_downward): Likewise.
8801 (exp10_test_upward): Likewise.
8802 (pow10_test): Likewise.
8803 (exp2_test): Likewise.
8804 (expm1_test): Likewise.
8805 (expm1_test_tonearest): Likewise.
8806 (expm1_test_towardzero): Likewise.
8807 (expm1_test_downward): Likewise.
8808 (expm1_test_upward): Likewise.
8809 (fabs_test): Likewise.
8810 (fdim_test): Likewise.
8811 (floor_test): Likewise.
8812 (fma_test): Likewise.
8813 (fma_test_towardzero): Likewise.
8814 (fma_test_downward): Likewise.
8815 (fma_test_upward): Likewise.
8816 (fmax_test): Likewise.
8817 (fmin_test): Likewise.
8818 (fmod_test): Likewise.
8819 (fpclassify_test): Likewise.
8820 (frexp_test): Likewise.
8821 (hypot_test): Likewise.
8822 (ilogb_test): Likewise.
8823 (isfinite_test): Likewise.
8824 (finite_test): Likewise.
8825 (isgreater_test): Likewise.
8826 (isgreaterequal_test): Likewise.
8827 (isinf_test): Likewise.
8828 (isless_test): Likewise.
8829 (islessequal_test): Likewise.
8830 (islessgreater_test): Likewise.
8831 (isnan_test): Likewise.
8832 (isnormal_test): Likewise.
8833 (issignaling_test): Likewise.
8834 (isunordered_test): Likewise.
8835 (j0_test): Likewise.
8836 (j1_test): Likewise.
8837 (jn_test): Likewise.
8838 (ldexp_test): Likewise.
8839 (lgamma_test): Likewise.
8840 (gamma_test): Likewise.
8841 (lrint_test): Likewise.
8842 (lrint_test_tonearest): Likewise.
8843 (lrint_test_towardzero): Likewise.
8844 (lrint_test_downward): Likewise.
8845 (lrint_test_upward): Likewise.
8846 (llrint_test): Likewise.
8847 (llrint_test_tonearest): Likewise.
8848 (llrint_test_towardzero): Likewise.
8849 (llrint_test_downward): Likewise.
8850 (llrint_test_upward): Likewise.
8851 (log_test): Likewise.
8852 (log10_test): Likewise.
8853 (log1p_test): Likewise.
8854 (log2_test): Likewise.
8855 (logb_test): Likewise.
8856 (logb_test_downward): Likewise.
8857 (lround_test): Likewise.
8858 (llround_test): Likewise.
8859 (modf_test): Likewise.
8860 (nearbyint_test): Likewise.
8861 (nextafter_test): Likewise.
8862 (nexttoward_test): Likewise.
8863 (pow_test): Likewise.
8864 (pow_test_tonearest): Likewise.
8865 (pow_test_towardzero): Likewise.
8866 (pow_test_downward): Likewise.
8867 (pow_test_upward): Likewise.
8868 (remainder_test): Likewise.
8869 (drem_test): Likewise.
8870 (remainder_test_tonearest): Likewise.
8871 (drem_test_tonearest): Likewise.
8872 (remainder_test_towardzero): Likewise.
8873 (drem_test_towardzero): Likewise.
8874 (remainder_test_downward): Likewise.
8875 (drem_test_downward): Likewise.
8876 (remainder_test_upward): Likewise.
8877 (drem_test_upward): Likewise.
8878 (remquo_test): Likewise.
8879 (rint_test): Likewise.
8880 (rint_test_tonearest): Likewise.
8881 (rint_test_towardzero): Likewise.
8882 (rint_test_downward): Likewise.
8883 (rint_test_upward): Likewise.
8884 (round_test): Likewise.
8885 (scalb_test): Likewise.
8886 (scalbn_test): Likewise.
8887 (scalbln_test): Likewise.
8888 (signbit_test): Likewise.
8889 (sin_test): Likewise.
8890 (sin_test_tonearest): Likewise.
8891 (sin_test_towardzero): Likewise.
8892 (sin_test_downward): Likewise.
8893 (sin_test_upward): Likewise.
8894 (sincos_test): Likewise.
8895 (sinh_test): Likewise.
8896 (sinh_test_tonearest): Likewise.
8897 (sinh_test_towardzero): Likewise.
8898 (sinh_test_downward): Likewise.
8899 (sinh_test_upward): Likewise.
8900 (sqrt_test): Likewise.
8901 (sqrt_test_tonearest): Likewise.
8902 (sqrt_test_towardzero): Likewise.
8903 (sqrt_test_downward): Likewise.
8904 (sqrt_test_upward): Likewise.
8905 (tan_test): Likewise.
8906 (tan_test_tonearest): Likewise.
8907 (tan_test_towardzero): Likewise.
8908 (tan_test_downward): Likewise.
8909 (tan_test_upward): Likewise.
8910 (tanh_test): Likewise.
8911 (tgamma_test): Likewise.
8912 (trunc_test): Likewise.
8913 (y0_test): Likewise.
8914 (y1_test): Likewise.
8915 (yn_test): Likewise.
8916 (significand_test): Likewise.
8917
8918 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8919 individual tests in comment.
8920 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8921 (prev_max_error): New variable.
8922 (prev_real_max_error): Likewise.
8923 (prev_imag_max_error): Likewise.
8924 (compare_ulp_data): Don't refer to test names in comment.
8925 (find_test_ulps): Remove function.
8926 (find_function_ulps): Likewise.
8927 (find_complex_function_ulps): Likewise.
8928 (init_max_error): Take function name as argument. Look up ulps
8929 for that function.
8930 (print_ulps): Remove function.
8931 (print_max_error): Use prev_max_error instead of calling
8932 find_function_ulps.
8933 (print_complex_max_error): Use prev_real_max_error and
8934 prev_imag_max_error instead of calling find_complex_function_ulps.
8935 (check_float_internal): Take max_ulp parameter instead of calling
8936 find_test_ulps. Don't call print_ulps.
8937 (check_float): Update call to check_float_internal.
8938 (check_complex): Update calls to check_float_internal.
8939 (START): Pass argument to init_max_error.
8940 * math/gen-libm-test.pl (%results): Don't include "kind"
8941 information.
8942 (parse_ulps): Don't handle ulps of individual tests.
8943 (print_ulps_file): Likewise.
8944 (output_ulps): Likewise.
8945 * math/README.libm-test: Update.
8946 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8947 individual tests.
8948 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8949 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8950 * sysdeps/arm/libm-test-ulps: Likewise.
8951 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8952 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8953 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8954 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8955 * sysdeps/microblaze/libm-test-ulps: Likewise.
8956 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8957 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8958 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8959 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8960 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8961 * sysdeps/sh/libm-test-ulps: Likewise.
8962 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8963 * sysdeps/tile/libm-test-ulps: Likewise.
8964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8965
8966 2014-03-04 Joseph Myers <joseph@codesourcery.com>
8967
8968 * math/libm-test.inc (print_complex_max_error): Check separately
8969 whether real and imaginary errors are within allowed range and
8970 pass 0 to print_complex_function_ulps instead of value within
8971 allowed range.
8972
8973 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8974
8975 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8976 formatting.
8977 (get_handles_fopen): Likewise.
8978 (do_write_test): Likewise.
8979
8980 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8981
8982 * libio/fileops.c (do_ftell): Use cached offset when
8983 available.
8984 * libio/iofwide.c (do_ftell_wide): Likewise.
8985 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8986 _IO_file_attach.
8987 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8988
8989 [BZ #16532]
8990 * libio/libioP.h (get_file_offset): New function.
8991 * libio/fileops.c (get_file_offset): Likewise.
8992 (do_ftell): Likewise.
8993 (_IO_new_file_seekoff): Split out ftell logic.
8994 * libio/wfileops.c (do_ftell_wide): Likewise.
8995 (_IO_wfile_seekoff): Split out ftell logic.
8996 * libio/tst-ftell-active-handler.c: New test case.
8997 * libio/Makefile (tests): Add it.
8998
8999 2014-03-03 Roland McGrath <roland@hack.frob.com>
9000
9001 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9002 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9003
9004 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9005
9006 [BZ #16639]
9007 * nscd/connections.c (nscd_init): Call do_exit.
9008 (start_threads): Call do_exit and notify_parent.
9009 (begin_drop_privileges): Call do_exit.
9010 (finish_drop_privileges): Likewise.
9011 * nscd/selinux.c (preserve_capabilities): Likewise.
9012 (install_real_capabilities): Likewise.
9013 (nscd_selinux_enabled): Likewise.
9014 (avc_create_thread): Likewise.
9015 (avc_alloc_lock): Likewise.
9016 (nscd_avc_init): Likewise.
9017 * nscd/nscd.c (parent_fd): New static variable.
9018 (main): Create a pipe between parent and child processes.
9019 Skip closing parent_fd.
9020 (monitor_child): New function.
9021 (do_exit): Likewise.
9022 (notify_parent): Likewise.
9023 * nscd/nscd.h (notify_parent): Likewise.
9024 (do_exit): Likewise.
9025
9026 2014-03-03 Carlos O'Donell <carlos@redhat.com>
9027
9028 * malloc/malloc.c (__libc_calloc): Revert last change.
9029
9030 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9031
9032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9033
9034 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9035
9036 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9037 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9038 implementation.
9039 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9040 (__libc_ifunc_impl_list): Likewise.
9041 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9042 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9043 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9044 * string/strrchr.c: Define STRRCHR.
9045
9046 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
9047
9048 * benchtest/bench-strtok.c (simple_strtok): Delete.
9049 (strtok_string): Use as benchmark.
9050 * string/strtok (STRTOK): New macro.
9051
9052 2014-02-28 Carlos O'Donell <carlos@redhat.com>
9053
9054 * manual/threads.texi: Add header and standard comments to all
9055 functions.
9056
9057 * elf/dl-lookup.c (check_match): New function.
9058 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9059 (do_lookup_x): Remove nested function check_match. Use non-nested
9060 function check_match.
9061
9062 2014-02-28 Roland McGrath <roland@hack.frob.com>
9063
9064 * csu/Makefile (generated, before-compile): Use += rather than =.
9065 * catgets/Makefile (generated, generated-dirs): Likewise.
9066 * debug/Makefile (generated): Likewise.
9067 * dlfcn/Makefile (generated): Likewise.
9068 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9069 * iconvdata/Makefile (before-compile, generated): Likewise.
9070 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9071 * libio/Makefile (generated): Likewise.
9072 * malloc/Makefile (generated): Likewise.
9073 * manual/Makefile (generated, generated-dirs): Likewise.
9074 * misc/Makefile (generated): Likewise.
9075 * posix/Makefile (generated): Likewise.
9076 * resolv/Makefile (generated): Likewise.
9077 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9078 * timezone/Makefile (generated, generated-dirs): Likewise.
9079
9080 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9081
9082 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9083
9084 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9085 power8 implementation.
9086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9087 file: POWER8 llround ifunc implementation.
9088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9089 (__lllround): Add POWER8 implementation.
9090 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9091 POWER8 llround implementation.
9092
9093 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9094 power8 implementation.
9095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9096 file: POWER8 llrint ifunc implementation.
9097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9098 Add POWER8 implementation.
9099 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9100 POWER8 llrint implementation.
9101
9102 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9103 power8 implementation.
9104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9105 file: POWER8 finite ifunc implementation.
9106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9107 Add POWER8 implementation.
9108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9109 Likewise.
9110 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9111 POWER8 finite implementation.
9112 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9113
9114 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9115 power8 implementation.
9116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9117 file: POWER8 isinf ifunc implementation.
9118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9119 POWER8 implementation.
9120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9121 Likewise.
9122 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9123 isinf implementation.
9124 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9125
9126 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9127 (INIT_ARCH): Add hwcap2 initialization.
9128 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9129 power8 implementation.
9130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9131 file: POWER8 isnan ifunc implementation.
9132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9133 POWER8 implementation.
9134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9135 Likewise.
9136 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9137 isnan implementation.
9138 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9139
9140 2014-02-27 Joey Ye <joey.ye@arm.com>
9141
9142 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9143 (_FP_NANFRAC_Q): Set to zero.
9144
9145 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9146
9147 [BZ #16623]
9148 * math/auto-libm-test-in: New test inputs.
9149 * math/auto-libm-test-out: Regenerate.
9150 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9151 and DA.
9152 (__cos): Likewise.
9153 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9154
9155 2014-02-27 Joseph Myers <joseph@codesourcery.com>
9156
9157 * scripts/evaluate-test.sh: Take new argument indicating whether
9158 failure is expected.
9159 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9160 indicating whether failure is expected.
9161 * conform/Makefile (test-xfail-run-conformtest): New variable.
9162 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9163 level.
9164 * posix/Makefile (test-xfail-annexc): New variable.
9165 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9166
9167 2014-02-26 Joseph Myers <joseph@codesourcery.com>
9168
9169 * argp/Makefile: Include Makeconfig immediately after defining
9170 subdir.
9171 * assert/Makefile: Likewise.
9172 * benchtests/Makefile: Likewise.
9173 * catgets/Makefile: Likewise.
9174 * conform/Makefile: Likewise.
9175 * crypt/Makefile: Likewise.
9176 * csu/Makefile: Likewise.
9177 (all): Remove target.
9178 * ctype/Makefile: Include Makeconfig immediately after defining
9179 subdir.
9180 * debug/Makefile: Likewise.
9181 * dirent/Makefile: Likewise.
9182 * dlfcn/Makefile: Likewise.
9183 * gmon/Makefile: Likewise.
9184 * gnulib/Makefile: Likewise.
9185 * grp/Makefile: Likewise.
9186 * gshadow/Makefile: Likewise.
9187 * hesiod/Makefile: Likewise.
9188 * hurd/Makefile: Likewise.
9189 (all): Remove target.
9190 * iconvdata/Makefile: Include Makeconfig immediately after
9191 defining subdir.
9192 * inet/Makefile: Likewise.
9193 * intl/Makefile: Likewise.
9194 * io/Makefile: Likewise.
9195 * libio/Makefile: Likewise.
9196 (all): Remove target.
9197 * locale/Makefile: Include Makeconfig immediately after defining
9198 subdir.
9199 * login/Makefile: Likewise.
9200 * mach/Makefile: Likewise.
9201 (all): Remove target.
9202 * malloc/Makefile: Include Makeconfig immediately after defining
9203 subdir.
9204 (all): Remove target.
9205 * manual/Makefile: Include Makeconfig immediately after defining
9206 subdir.
9207 * math/Makefile: Likewise.
9208 * misc/Makefile: Likewise.
9209 * nis/Makefile: Likewise.
9210 * nss/Makefile: Likewise.
9211 * po/Makefile: Likewise.
9212 (all): Remove target.
9213 * posix/Makefile: Include Makeconfig immediately after defining
9214 subdir.
9215 * pwd/Makefile: Likewise.
9216 * resolv/Makefile: Likewise.
9217 * resource/Makefile: Likewise.
9218 * rt/Makefile: Likewise.
9219 * setjmp/Makefile: Likewise.
9220 * shadow/Makefile: Likewise.
9221 * signal/Makefile: Likewise.
9222 * socket/Makefile: Likewise.
9223 * soft-fp/Makefile: Likewise.
9224 * stdio-common/Makefile: Likewise.
9225 * stdlib/Makefile: Likewise.
9226 * streams/Makefile: Likewise.
9227 * string/Makefile: Likewise.
9228 * sunrpc/Makefile: Likewise.
9229 (all): Remove target.
9230 * sysvipc/Makefile: Include Makeconfig immediately after defining
9231 subdir.
9232 * termios/Makefile: Likewise.
9233 * time/Makefile: Likewise.
9234 * timezone/Makefile: Likewise.
9235 (all): Remove target.
9236 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9237 subdir.
9238 * wctype/Makefile: Likewise.
9239
9240 2014-02-26 Steve Ellcey <sellcey@mips.com>
9241
9242 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9243 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9244 (libc_feholdexcept_setround_mips): Ditto.
9245 (libc_feholdsetround): New.
9246 (libc_feholdsetroundf): New.
9247 (libc_feholdsetroundl): New.
9248 (libc_feupdateenv_test_mips): New.
9249 (libc_feupdateenv_test): New.
9250 (libc_feupdateenv_testf): New.
9251 (libc_feupdateenv_testl): New.
9252 (libc_feresetround): New.
9253 (libc_feresetroundf): New.
9254 (libc_feresetroundl): New.
9255 (libc_fetestexcept_mips): New.
9256 (libc_fetestexcept): New.
9257 (libc_fetestexceptf): New.
9258 (libc_fetestexceptl): New.
9259 (HAVE_RM_CTX): New.
9260 (libc_feholdexcept_setround_mips_ctx): New.
9261 (libc_feholdexcept_setround_ctx): New.
9262 (libc_feholdexcept_setroundf_ctx): New.
9263 (libc_feholdexcept_setroundl_ctx): New.
9264 (libc_fesetenv_mips_ctx): New.
9265 (libc_fesetenv_ctx): New.
9266 (libc_fesetenv_ctxf): New.
9267 (libc_fesetenv_ctxl): New.
9268 (libc_feupdateenv_mips_ctx): New.
9269 (libc_feupdateenv_ctx): New.
9270 (libc_feupdateenvf_ctx): New.
9271 (libc_feupdateenvl_ctx): New.
9272 (libc_feholdsetround_mips_ctx): New.
9273 (libc_feholdsetround_ctx): New.
9274 (libc_feholdsetroundf_ctx): New.
9275 (libc_feholdsetroundl_ctx): New.
9276 (libc_feresetround_mips_ctx): New.
9277 (libc_feresetround_ctx): New.
9278 (libc_feresetroundf_ctx): New.
9279 (libc_feresetroundl_ctx): New.
9280
9281 2014-02-26 Carlos O'Donell <carlos@redhat.com>
9282
9283 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9284
9285 * manual/ipc.texi: New file.
9286 * manual/Makefile (chapters): Add ipc.
9287 * manual/job.texi: Add "Inter-Process Communication" to next.
9288 * manual/process.texi: Add "Inter-Process Communication" to prev.
9289
9290 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9291
9292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9293
9294 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
9295
9296 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9297
9298 * manual/arith.texi: Fix spaces after sentences.
9299 * manual/charset.texi: Likewise.
9300 * manual/errno.texi: Likewise.
9301 * manual/install.texi: Likewise.
9302 * manual/llio.texi: Likewise.
9303 * manual/locale.texi: Likewise.
9304 * manual/maint.texi: Likewise.
9305 * manual/math.texi: Likewise.
9306 * manual/memory.texi: Likewise.
9307 * manual/message.texi: Likewise.
9308 * manual/probes.texi: Likewise.
9309 * manual/resource.texi: Likewise.
9310 * manual/signal.texi: Likewise.
9311 * manual/socket.texi: Likewise.
9312 * manual/stdio.texi: Likewise.
9313 * manual/string.texi: Likewise.
9314 * manual/time.texi: Likewise.
9315 * manual/users.texi: Likewise.
9316
9317 2014-02-25 Carlos O'Donell <carlos@redhat.com>
9318
9319 [BZ #16632]
9320 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9321 _DEFAULT_SOURCE is defined.
9322
9323 2014-02-25 Ulrich Drepper <drepper@gmail.com>
9324 Carlos O'Donell <carlos@redhat.com>
9325
9326 [BZ #16613]
9327 * elf/dl-tls.c (_dl_count_modids): New function.
9328 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9329 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9330 audit library and increment generation counter.
9331 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9332 * elf/tst-audit9.c: New file.
9333 * elf/tst-auditmod9a.c: New file.
9334 * elf/tst-auditmod9b.c: New file.
9335 * elf/Makefile: Add rules to build and run tst-audit9.
9336
9337 2014-02-25 Florian Weimer <fweimer@redhat.com>
9338
9339 [BZ #15347]
9340 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9341
9342 2014-02-25 Will Newton <will.newton@linaro.org>
9343
9344 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9345 (__longjmp): Restore sp and lr before restoring callee
9346 saved registers. Add longjmp and longjmp_target
9347 SystemTap probe point.
9348 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9349 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9350 Define to zero to match jmpbuf layout.
9351 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9352 (__sigsetjmp): Save sp and lr before saving callee
9353 saved registers. Add setjmp SystemTap probe point.
9354
9355 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9356
9357 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9358
9359 2014-02-24 Andreas Schwab <schwab@suse.de>
9360
9361 [BZ #15804]
9362 * elf/pldd.c (wait_for_ptrace_stop): New function.
9363 (main): Call it after attaching.
9364
9365 2014-02-22 Roland McGrath <roland@hack.frob.com>
9366
9367 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9368 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9369 Versions files is now verboten.
9370 * hurd/Versions (libc: GLIBC_2.0):
9371 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9372 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9373 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9374 * mach/Versions: Likewise.
9375
9376 * csu/Versions: Remove unused %include.
9377 * resolv/Versions: Likewise.
9378
9379 2014-02-21 Joseph Myers <joseph@codesourcery.com>
9380
9381 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9382 ($(objpfx)check-local-headers.out): Likewise.
9383 ($(objpfx)begin-end-check.out): Likewise.
9384 * Makerules (check-abi-%.out): Likewise.
9385 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9386 ($(objpfx)test2.cat): Likewise.
9387 ($(objpfx)de/libc.cat): Likewise.
9388 ($(objpfx)test-gencat.out): Likewise.
9389 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9390 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9391 ($(objpfx)noload-mem): Likewise.
9392 ($(objpfx)tst-pathopt.out): Likewise.
9393 ($(objpfx)tst-rtld-load-self.out): Likewise.
9394 ($(objpfx)tst-array1-cmp.out): Likewise.
9395 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9396 ($(objpfx)tst-array2-cmp.out): Likewise.
9397 ($(objpfx)tst-array3-cmp.out): Likewise.
9398 ($(objpfx)tst-array4-cmp.out): Likewise.
9399 ($(objpfx)tst-array5-cmp.out): Likewise.
9400 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9401 ($(objpfx)check-textrel.out): Likewise.
9402 ($(objpfx)check-execstack.out): Likewise.
9403 ($(objpfx)check-localplt.out): Likewise.
9404 ($(objpfx)order2-cmp.out): Likewise.
9405 ($(objpfx)tst-leaks1-mem): Likewise.
9406 ($(objpfx)tst-leaks1-static-mem): Likewise.
9407 ($(objpfx)tst-initorder-cmp.out): Likewise.
9408 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9409 ($(objpfx)tst-unused-dep.out): Likewise.
9410 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9411 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9412 * iconv/Makefile (test-iconvconfig): Likewise.
9413 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9414 ($(objpfx)iconv-test.out): Likewise.
9415 ($(objpfx)tst-tables.out): Likewise.
9416 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9417 ($(objpfx)tst-gettext.out): Likewise.
9418 ($(objpfx)tst-translit.out): Likewise.
9419 ($(objpfx)tst-gettext2.out): Likewise.
9420 ($(objpfx)tst-gettext4.out): Likewise.
9421 ($(objpfx)tst-gettext6.out): Likewise.
9422 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9423 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9424 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9425 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9426 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9427 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9428 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9429 ($(objpfx)wordexp-tst.out): Likewise.
9430 ($(objpfx)annexc.out): Likewise.
9431 ($(objpfx)tst-fnmatch-mem): Likewise.
9432 ($(objpfx)bug-regex2-mem): Likewise.
9433 ($(objpfx)bug-regex14-mem): Likewise.
9434 ($(objpfx)bug-regex21-mem): Likewise.
9435 ($(objpfx)bug-regex31-mem): Likewise.
9436 ($(objpfx)tst-vfork3-mem): Likewise.
9437 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9438 ($(objpfx)tst-pcre-mem): Likewise.
9439 ($(objpfx)tst-boost-mem): Likewise.
9440 ($(objpfx)tst-getconf.out): Likewise.
9441 ($(objpfx)bug-ga2-mem): Likewise.
9442 ($(objpfx)bug-glob2-mem): Likewise.
9443 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9444 ($(objpfx)mtrace-tst-leaks2): Likewise.
9445 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9446 ($(objpfx)tst-printf.out): Likewise.
9447 ($(objpfx)tst-setvbuf1.out): Likewise.
9448 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9449 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9450 ($(objpfx)tst-fmtmsg.out): Likewise.
9451 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9452 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9453
9454 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9455 * bits/sigaction.h [__USE_MISC]: Likewise.
9456 * bits/waitstatus.h: Update #endif comments.
9457 * ctype/ctype.h: Likewise.
9458 * dirent/dirent.h: Likewise.
9459 [__USE_MISC]: Remove redundant conditionals.
9460 * grp/grp.h: Update #endif comments.
9461 [__USE_GNU]: Remove redundant conditionals.
9462 [__USE_MISC]: Likewise.
9463 * inet/netinet/in.h [__USE_GNU]: Likewise.
9464 * io/sys/stat.h [__USE_MISC]: Likewise.
9465 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9466 * libio/bits/stdio.h: Update #endif comments.
9467 [__USE_MISC]: Remove redundant conditionals.
9468 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9469 * libio/stdio.h: Update #endif comments.
9470 [__USE_MISC]: Remove redundant conditionals.
9471 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9472 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9473 * math/math.h: Update #else and #endif comments.
9474 [__USE_MISC]: Remove redundant conditionals.
9475 * misc/sys/uio.h: Update #endif comments.
9476 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9477 * posix/glob.h [__USE_MISC]: Likewise.
9478 * posix/sys/types.h: Update #endif comments.
9479 [__USE_MISC]: Remove redundant conditionals.
9480 * posix/sys/wait.h: Update #endif comments.
9481 [__USE_MISC]: Remove redundant conditionals.
9482 * posix/unistd.h: Update #endif comments.
9483 [__USE_MISC]: Remove redundant conditionals.
9484 * pwd/pwd.h [__USE_GNU]: Likewise.
9485 [__USE_MISC]: Likewise.
9486 * resolv/netdb.h [__USE_GNU]: Likewise.
9487 * signal/signal.h: Update #endif comments.
9488 [__USE_MISC]: Remove redundant conditionals.
9489 * stdlib/stdlib.h: Update #else and #endif comments.
9490 [__USE_MISC]: Remove redundant conditionals.
9491 [__USE_GNU]: Likewise.
9492 * string/bits/string2.h [__USE_MISC]: Likewise.
9493 * string/string.h: Update #endif comments.
9494 [__USE_MISC]: Remove redundant conditionals.
9495 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9496 Likewise.
9497 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9498 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9499 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9500 Likewise.
9501 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9502 Likewise.
9503 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9504 comments.
9505 [__USE_MISC]: Remove redundant conditionals.
9506 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9507 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9508 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9509 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9510 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9511 Likewise.
9512 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9513 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9514 Likewise.
9515 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9516 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9517 Likewise.
9518 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9519 Likewise.
9520 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9521 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9522 Likewise.
9523 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9524 Likewise.
9525 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9526 * sysdeps/x86/bits/string.h: Update #endif comments.
9527 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9528 conditionals.
9529 * time/sys/time.h: Update #endif comments.
9530 * time/time.h: Likewise.
9531 [__USE_MISC]: Remove redundant conditionals.
9532
9533 2014-02-21 Yury Gribov <y.gribov@samsung.com>
9534
9535 [BZ #16600]
9536 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9537
9538 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
9539
9540 * Versions.def (librt): Add GLIBC_2.17.
9541
9542 2014-02-21 Adam Conrad <adconrad@0c3.net>
9543
9544 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9545 synonym for _SYS_AUXV_H to allow direct inclusion.
9546 * sysdeps/sparc/bits/hwcap.h: Likewise.
9547 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9548 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9549 * sysdeps/sparc/sysdep.h: Likewise.
9550
9551 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9552
9553 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9554
9555 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9556
9557 * benchtests/bench-strrchr.c: Print length instead of position.
9558
9559 2014-02-20 Joseph Myers <joseph@codesourcery.com>
9560
9561 [BZ #16611]
9562 * sysdeps/unix/sysv/linux/kernel-features.h
9563 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9564 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9565 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9566 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9567 Likewise.
9568 [__i386__ || __powerpc__ || __sh__ || __sparc__]
9569 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9570 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9571 (__ASSUME_SENDMMSG): Define instead of using previous
9572 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9573 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9574 (__ASSUME_SENDMMSG_SYSCALL): Define.
9575 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9576 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9577 Likewise.
9578 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9579 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9580 Likewise.
9581 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9582 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9583 Likewise.
9584 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9585 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9586 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9587 [__ASSUME_SENDMMSG]: Change conditionals to
9588 [__ASSUME_SENDMMSG_SOCKETCALL].
9589 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9590 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9591 Define.
9592 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9593 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9594 Likewise.
9595 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9596 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9597 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9598 [!__ASSUME_SENDMMSG]: Change conditional to
9599 [!__ASSUME_SENDMMSG_SOCKETCALL].
9600 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9601 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9602 Define.
9603
9604 [BZ #16610]
9605 * sysdeps/unix/sysv/linux/kernel-features.h
9606 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9607 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9608 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9609 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9610 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9611 [__i386__ || __sparc__]
9612 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9613 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9614 (__ASSUME_RECVMMSG): Define instead of using previous
9615 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9616 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9617 (__ASSUME_RECVMMSG_SYSCALL): Define.
9618 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9619 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9620 Likewise.
9621 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9622 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9623 Likewise.
9624 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9625 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9626 Likewise.
9627 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9628 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9629 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9630 [__ASSUME_RECVMMSG]: Change condition to
9631 [__ASSUME_RECVMMSG_SOCKETCALL].
9632 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9633 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9634 Define.
9635 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9636 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9637 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9638 Likewise.
9639 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9640 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9641 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9642 [!__ASSUME_RECVMMSG]: Change condition to
9643 [!__ASSUME_RECVMMSG_SOCKETCALL].
9644 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9645 (__ASSUME_RECVMMSG_SYSCALL): Define.
9646
9647 [BZ #16609]
9648 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
9649 __powerpc__ || __s390__ || __sh__ || __sparc__]
9650 (__ASSUME_SOCKETCALL): Define.
9651 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
9652 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
9653 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
9654 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
9655 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9656 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9657 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
9658 (__ASSUME_ACCEPT4): Define instead of using previous
9659 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
9660 __powerpc__ || __sparc__ || __s390__)] condition.
9661 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9662 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9663 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
9664 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9665 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9666 [!__ASSUME_ACCEPT4]: Change condition to
9667 [!__ASSUME_ACCEPT4_SOCKETCALL].
9668 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9669 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
9670 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
9671 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9672 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
9673 __ASSUME_ACCEPT4_SYSCALL.
9674 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
9675 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
9676 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9677 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
9678 __ASSUME_ACCEPT4_SYSCALL.
9679 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
9680 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
9681 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
9682 [__ASSUME_ACCEPT4]: Change condition to
9683 [__ASSUME_ACCEPT4_SOCKETCALL].
9684 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9685 (__ASSUME_SOCKETCALL): Define.
9686 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
9687 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9688 (__ASSUME_SOCKETCALL): Define.
9689 (__ASSUME_ACCEPT4): Remove.
9690 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
9691 Define.
9692 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9693 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
9694 Likewise.
9695 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9696 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
9697
9698 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
9699 macro.
9700 (HWCAP_ARM_LPAE): Likewise.
9701 (HWCAP_ARM_EVTSTRM): Likewise.
9702 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
9703 Add vpfd32, lpae and evtstrm.
9704 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
9705 Increase to 22.
9706
9707 2014-02-19 Joseph Myers <joseph@codesourcery.com>
9708
9709 * math/auto-libm-test-in: Add tests of clog10.
9710 * math/auto-libm-test-out: Regenerated.
9711 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
9712 * sysdeps/i386/fpu/libm-test-ulps: Update.
9713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9714
9715 2014-02-18 Andreas Schwab <schwab@suse.de>
9716
9717 [BZ #16574]
9718 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
9719 Store non-zero if the second buffer was newly allocated.
9720 (send_dg): Likewise.
9721 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
9722 to send_vc and send_dg.
9723 (res_nsend): Pass NULL for ansp2_malloced.
9724 * resolv/res_query.c (__libc_res_nquery): Add parameter
9725 answerp2_malloced and pass it down to __libc_res_nsend.
9726 (res_nquery): Pass additional NULL to __libc_res_nquery.
9727 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
9728 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
9729 second answer buffer if answerp2_malloced was set.
9730 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
9731 (__libc_res_nquerydomain): Add parameter
9732 answerp2_malloced and pass it down to __libc_res_nquery.
9733 (res_nquerydomain): Pass additional NULL to
9734 __libc_res_nquerydomain.
9735 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
9736 additional NULL to __libc_res_nsend and __libc_res_nquery.
9737 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
9738 additional NULL to __libc_res_nsearch.
9739 (_nss_dns_gethostbyname4_r): Revert last change. Use new
9740 parameter of __libc_res_nsearch to check for separately allocated
9741 second buffer.
9742 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
9743 __libc_res_nquery.
9744 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
9745 additional NULL to __libc_res_nquery.
9746 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
9747 __libc_res_nsearch.
9748 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
9749 * include/resolv.h: Update prototypes of __libc_res_nquery,
9750 __libc_res_nsearch, __libc_res_nsend.
9751
9752 2014-02-18 Joseph Myers <joseph@codesourcery.com>
9753
9754 * math/auto-libm-test-in: Add tests of fma.
9755 * math/auto-libm-test-out: Regenerated.
9756 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
9757 (fma_towardzero_test_data): Likewise.
9758 (fma_downward_test_data): Likewise.
9759 (fma_upward_test_data): Likewise.
9760 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
9761 mpc_mode.
9762 (rounding_modes): Add values for new field.
9763 (func_calc_method): Add value mpfr_fff_f.
9764 (func_calc_desc): Add mpfr_fff_f union field.
9765 (test_function): Add field exact_args.
9766 (FUNC): Add macro argument EXACT_ARGS.
9767 (FUNC_mpfr_f_f): Update call to FUNC.
9768 (FUNC_mpfr_f_f): Likewise.
9769 (FUNC_mpfr_ff_f): Likewise.
9770 (FUNC_mpfr_if_f): Likewise.
9771 (FUNC_mpc_c_f): Likewise.
9772 (FUNC_mpc_c_c): Likewise.
9773 (test_functions): Add fma. Update calls to FUNC.
9774 (handle_input_arg): Add argument exact_args.
9775 (add_test): Update call to handle_input_arg.
9776 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
9777 (output_for_one_input_case): Update call to calc_generic_results.
9778 Recalculate exact zero results in each rounding mode.
9779
9780 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
9781 non-negative before setting low bit.
9782 * math/auto-libm-test-in: Mark one asin test possibly having
9783 spurious underflow.
9784 * math/auto-libm-test-out: Regenerated.
9785 * sysdeps/i386/fpu/libm-test-ulps: Update.
9786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9787
9788 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
9789
9790 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
9791 * sysdeps/unix/sysv/linux/microblaze: Move directory from
9792 ports/sysdeps/unix/sysv/linux/microblaze.
9793 * README: Add missing listing for microblaze*-*-linux-gnu.
9794
9795 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
9796
9797 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
9798 duplicate code
9799
9800 2014-02-16 Mike Frysinger <vapier@gentoo.org>
9801
9802 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
9803 * sysdeps/unix/sysv/linux/ia64: Move directory from
9804 ports/sysdeps/unix/sysv/linux/ia64.
9805 * README: Update listing for ia64-*-linux-gnu.
9806
9807 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
9808 Joseph Myers <joseph@codesourcery.com>
9809
9810 * Makeconfig (test-name): New variable.
9811 (evaluate-test): Likewise.
9812 * Makerules (do-test-clean): Remove .test-result files.
9813 (common-mostlyclean): Likewise.
9814 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
9815 * scripts/evaluate-test.sh: New file.
9816
9817 2014-02-14 Joseph Myers <joseph@codesourcery.com>
9818
9819 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
9820 separate $(objpfx)tst-fopenloc-cmp.out and
9821 $(objpfx)tst-fopenloc-mem.out targets.
9822 (tests): Update dependencies.
9823 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
9824 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
9825 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
9826 (tst-rxspencer-no-utf8-ARGS): New variable.
9827 (tst-rxspencer-no-utf8-ENV): Likewise.
9828 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
9829 instead of $(objpfx)tst-rxspencer-mem.
9830 ($(objpfx)tst-rxspencer-mem): Change target to
9831 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
9832 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
9833 * posix/tst-rxspencer-no-utf8.c: New file.
9834
9835 * elf/Makefile ($(objpfx)order.out): Remove rule.
9836 [$(run-built-tests) = yes] (tests): Depend on
9837 $(objpfx)order-cmp.out.
9838 ($(objpfx)order-cmp.out): New rule.
9839 [$(run-built-tests) = yes] (tests): Depend on
9840 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
9841 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
9842 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
9843 $(objpfx)tst-array5-static-cmp.out.
9844 ($(objpfx)tst-array1.out): Remove rule.
9845 ($(objpfx)tst-array1-cmp.out): New rule.
9846 ($(objpfx)tst-array1-static.out): Remove rule.
9847 ($(objpfx)tst-array1-static-cmp.out): New rule.
9848 ($(objpfx)tst-array2.out): Remove rule.
9849 ($(objpfx)tst-array2-cmp.out): New rule.
9850 ($(objpfx)tst-array3.out): Remove rule.
9851 ($(objpfx)tst-array3-cmp.out): New rule.
9852 ($(objpfx)tst-array4.out): Remove rule.
9853 ($(objpfx)tst-array4-cmp.out): New rule.
9854 ($(objpfx)tst-array5.out): Remove rule.
9855 ($(objpfx)tst-array5-cmp.out): New rule.
9856 ($(objpfx)tst-array5-static.out): Remove rule.
9857 ($(objpfx)tst-array5-static-cmp.out): New rule.
9858 [$(run-built-tests) = yes] (tests): Depend on
9859 $(objpfx)order2-cmp.out.
9860 ($(objpfx)order2.out): Remove rule.
9861 ($(objpfx)order2-cmp.out): New rule.
9862 ($(objpfx)tst-initorder.out): Remove rule.
9863 [$(run-built-tests) = yes] (tests): Depend on
9864 $(objpfx)tst-initorder-cmp.out.
9865 ($(objpfx)tst-initorder-cmp.out): New rule.
9866 ($(objpfx)tst-initorder2.out): Remove rule.
9867 [$(run-built-tests) = yes] (tests): Depend on
9868 $(objpfx)tst-initorder2-cmp.out.
9869 ($(objpfx)tst-initorder2-cmp.out): New rule.
9870 [$(run-built-tests) = yes] (tests): Depend on
9871 $(objpfx)tst-unused-dep-cmp.out.
9872 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
9873 ($(objpfx)tst-unused-dep-cmp.out): New rule.
9874 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
9875 on $(objpfx)tst-setvbuf1-cmp.out.
9876 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
9877 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
9878 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
9879 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
9880 ($(objpfx)tst-svc.out): Remove rule.
9881 ($(objpfx)tst-svc-cmp.out): New rule.
9882
9883 2014-02-13 Joseph Myers <joseph@codesourcery.com>
9884
9885 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9886 * ctype/ctype.h [__USE_MISC]: Likewise.
9887 * dirent/dirent.h [__USE_MISC]: Likewise.
9888 * grp/grp.h [__USE_MISC]: Likewise.
9889 * io/fcntl.h [__USE_MISC]: Likewise.
9890 * io/sys/stat.h [__USE_MISC]: Likewise.
9891 * libio/stdio.h [__USE_MISC]: Likewise.
9892 * posix/unistd.h [__USE_MISC]: Likewise.
9893 * pwd/pwd.h [__USE_MISC]: Likewise.
9894 * stdlib.h [__USE_MISC]: Likewise.
9895 * string/bits/string2.h [__USE_MISC]: Likewise.
9896 * string/string.h [__USE_MISC]: Likewise.
9897 * time/time.h [__USE_MISC]: Likewise.
9898
9899 2014-02-13 Andreas Schwab <schwab@suse.de>
9900
9901 [BZ #16574]
9902 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9903 second answer buffer if it was separately allocated.
9904
9905 2014-02-12 Joseph Myers <joseph@codesourcery.com>
9906
9907 * sysdeps/mips/math-tests.h: Include <features.h>.
9908 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9909 (ROUNDING_TESTS_long_double): Do not define.
9910 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9911 (EXCEPTION_TESTS_long_double): Likewise.
9912 * sysdeps/mips/mips64/libm-test-ulps: Update.
9913
9914 * include/features.h (__USE_BSD): Remove macro definitions.
9915 (__USE_SVID): Likewise.
9916 (_BSD_SOURCE): Likewise.
9917 (_SVID_SOURCE): Likewise.
9918 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9919 from definition of _DEFAULT_SOURCE.
9920 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9921 [_DEFAULT_SOURCE].
9922 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9923 * bits/mman.h [__USE_BSD]: Likewise.
9924 * bits/termios.h [__USE_BSD]: Likewise.
9925 * bits/waitstatus.h [__USE_BSD]: Likewise.
9926 * ctype/ctype.h [__USE_SVID]: Likewise.
9927 * dirent/dirent.h [__USE_BSD]: Likewise.
9928 * grp/grp.h [__USE_SVID]: Likewise.
9929 [__USE_BSD]: Likewise.
9930 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9931 * io/fcntl.h [__USE_BSD]: Likewise.
9932 * io/ftw.h [__USE_BSD]: Likewise.
9933 * io/sys/stat.h [__USE_BSD]: Likewise.
9934 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9935 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9936 * libio/stdio.h [__USE_SVID]: Likewise.
9937 [__USE_BSD]: Likewise.
9938 * math/math.h [__USE_SVID]: Likewise.
9939 [__USE_BSD]: Likewise.
9940 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9941 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9942 * misc/search.h [__USE_SVID]: Likewise.
9943 * misc/sys/mman.h [__USE_BSD]: Likewise.
9944 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9945 * misc/sys/uio.h [__USE_BSD]: Likewise.
9946 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9947 * posix/glob.h [__USE_BSD]: Likewise.
9948 * posix/regex.h [__USE_BSD]: Likewise.
9949 * posix/sys/types.h [__USE_BSD]: Likewise.
9950 [__USE_SVID]: Likewise.
9951 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9952 * posix/sys/wait.h [__USE_BSD]: Likewise.
9953 [__USE_SVID]: Likewise.
9954 * posix/unistd.h [__USE_BSD]: Likewise.
9955 [__USE_SVID]: Likewise.
9956 * pwd/pwd.h [__USE_SVID]: Likewise.
9957 * resolv/netdb.h [__USE_BSD]: Likewise.
9958 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9959 * signal/signal.h [__USE_BSD]: Likewise.
9960 [__USE_SVID]: Likewise.
9961 * socket/sys/socket.h [__USE_BSD]: Likewise.
9962 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9963 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9964 [__USE_SVID]: Likewise.
9965 * string/bits/string2.h [__USE_BSD]: Likewise.
9966 [__USE_SVID]: Likewise.
9967 * string/bits/string3.h [__USE_BSD]: Likewise.
9968 * string/endian.h [__USE_BSD]: Likewise.
9969 * string/string.h [__USE_SVID]: Likewise.
9970 [__USE_BSD]: Likewise.
9971 * string/strings.h [__USE_BSD]: Likewise.
9972 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9973 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9974 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9975 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9976 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9977 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9978 Likewise.
9979 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9980 Likewise.
9981 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9982 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9983 Likewise.
9984 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9985 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9986 Likewise.
9987 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9988 Likewise.
9989 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9990 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9991 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9992 Likewise.
9993 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9994 Likewise.
9995 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9996 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9997 * termios/termios.h [__USE_BSD]: Likewise.
9998 * time/sys/time.h [__USE_BSD]: Likewise.
9999 * time/time.h [__USE_BSD]: Likewise.
10000 [__USE_SVID]: Likewise.
10001
10002 * Makefile (subdir_targets): Remove subdir_lint.out.
10003
10004 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10005 (do-tst-printf): Likewise.
10006 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10007 $(objpfx)tst-printf.out.
10008
10009 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10010
10011 * Makerules (check-abi-%): Change target to
10012 $(objpfx)check-abi-%.out.
10013 (check-abi target): Update dependencies.
10014 (check-abi-pattern variable): Redirect output of diff to $@.
10015 (check-abi variable): Likewise.
10016 * elf/Makefile (check-abi): Update dependencies.
10017
10018 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10019 unused.
10020 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10021 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10022 subnormal range.
10023 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10024 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10025 value has largest subnormal exponent.
10026 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10027 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10028 * sysdeps/aarch64/soft-fp/sfp-machine.h
10029 (_FP_TININESS_AFTER_ROUNDING): New macro.
10030 * sysdeps/alpha/soft-fp/sfp-machine.h
10031 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10032 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10033 Likewise.
10034 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10035 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10036 * sysdeps/mips/soft-fp/sfp-machine.h
10037 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10038 * sysdeps/powerpc/soft-fp/sfp-machine.h
10039 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10040 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10041 Likewise.
10042 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10043 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10044 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10045 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10046 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10047 Likewise.
10048
10049 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
10050
10051 [BZ #16545]
10052 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10053 model 1.
10054
10055 2014-02-12 Richard Henderson <rth@redhat.com>
10056
10057 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10058 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10059 * sysdeps/unix/sysv/linux/alpha: Move directory from
10060 ports/sysdeps/unix/sysv/linux/alpha.
10061 * README: Update listing for alpha-*-linux-gnu.
10062
10063 2014-02-11 Joseph Myers <joseph@codesourcery.com>
10064
10065 * include/features.h: Update comment documenting feature test
10066 macros.
10067 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10068 _DEFAULT_SOURCE.
10069 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10070 (_SVID_SOURCE): Likewise.
10071 (_DEFAULT_SOURCE): Update description of default features.
10072 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10073 with _GNU_SOURCE.
10074 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10075 (S_ISVTX): Likewise.
10076 * manual/math.texi (Mathematical Constants): Likewise.
10077 * manual/signal.texi (Interrupted Primitives): Likewise.
10078 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10079 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10080 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10081 Don't refer to _SVID_SOURCE in warning text.
10082
10083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10084
10085 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10086 already defined.
10087 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10088 * sysdeps/mips/dl-lookup.c: Remove.
10089 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10090
10091 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10092
10093 [BZ #16447]
10094 * math/auto-libm-test-in: Add testcase for expl.
10095 * math/auto-libm-test-out: Regenerate.
10096 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10097 calculation of unsafe.
10098 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10099
10100 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10101
10102 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10103 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10104 ports/sysdeps/unix/sysv/linux/aarch64.
10105 * README: Update listing for aarch64*-*-linux-gnu.
10106
10107 2014-02-11 Will Newton <will.newton@linaro.org>
10108
10109 * manual/probes.texi (Mathematical Function Probes): Use
10110 "triggered" instead of "hit".
10111
10112 * manual/probes.texi (Internal Probes): Add documentation
10113 of setjmp, longjmp and longjmp_target probes.
10114
10115 * include/stap-probe.h: Add comment about probe argument
10116 format.
10117
10118 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10119 definition. (tr_where, tr_freehook, tr_mallochook,
10120 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10121
10122 2014-02-11 David S. Miller <davem@davemloft.net>
10123
10124 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10125 processing int_tests.
10126
10127 2014-02-10 Joseph Myers <joseph@codesourcery.com>
10128
10129 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10130 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10131 * sysdeps/unix/sysv/linux/mips: Move directory from
10132 ports/sysdeps/unix/sysv/linux/mips.
10133 * README: Update listing for mips-*-linux-gnu and
10134 mips64-*-linux-gnu.
10135
10136 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10137
10138 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10139 * sysdeps/unix/sysv/linux/m68k: Move directory from
10140 ports/sysdeps/unix/sysv/linux/m68k.
10141 * README: Update listing for m68k-*-linux-gnu.
10142
10143 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10144
10145 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10146 * sysdeps/unix/sysv/linux/generic: Move directory from
10147 ports/sysdeps/unix/sysv/linux/generic.
10148 * sysdeps/unix/sysv/linux/tile: Move directory from
10149 ports/sysdeps/unix/sysv/linux/tile.
10150 * README: Update listing for tile*-*-linux-gnu.
10151
10152 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
10153
10154 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10155 __builtin_expect.
10156 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10157 * catgets/open_catalog.c (__open_catalog): Likewise.
10158 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10159 * debug/confstr_chk.c: Likewise.
10160 * debug/fread_chk.c (__fread_chk): Likewise.
10161 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10162 * debug/getgroups_chk.c: Likewise.
10163 * debug/mbsnrtowcs_chk.c: Likewise.
10164 * debug/mbsrtowcs_chk.c: Likewise.
10165 * debug/mbstowcs_chk.c: Likewise.
10166 * debug/memcpy_chk.c: Likewise.
10167 * debug/memmove_chk.c: Likewise.
10168 * debug/mempcpy_chk.c: Likewise.
10169 * debug/memset_chk.c: Likewise.
10170 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10171 * debug/strcat_chk.c (__strcat_chk): Likewise.
10172 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10173 * debug/strncat_chk.c (__strncat_chk): Likewise.
10174 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10175 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10176 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10177 * debug/wcpncpy_chk.c: Likewise.
10178 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10179 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10180 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10181 * debug/wcsncpy_chk.c: Likewise.
10182 * debug/wcsnrtombs_chk.c: Likewise.
10183 * debug/wcsrtombs_chk.c: Likewise.
10184 * debug/wcstombs_chk.c: Likewise.
10185 * debug/wmemcpy_chk.c: Likewise.
10186 * debug/wmemmove_chk.c: Likewise.
10187 * debug/wmempcpy_chk.c: Likewise.
10188 * debug/wmemset_chk.c: Likewise.
10189 * dirent/scandirat.c (SCANDIRAT): Likewise.
10190 * dlfcn/dladdr1.c (dladdr1): Likewise.
10191 * dlfcn/dladdr.c (dladdr): Likewise.
10192 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10193 * dlfcn/dlerror.c (__dlerror): Likewise.
10194 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10195 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10196 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10197 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10198 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10199 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10200 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10201 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10202 Likewise.
10203 * elf/dl-conflict.c: Likewise.
10204 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10205 * elf/dl-dst.h: Likewise.
10206 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10207 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10208 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10209 * elf/dl-init.c (call_init, _dl_init): Likewise.
10210 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10211 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10212 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10213 Likewise.
10214 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10215 Likewise.
10216 * elf/dl-minimal.c (__libc_memalign): Likewise.
10217 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10218 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10219 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10220 * elf/dl-sym.c (do_sym): Likewise.
10221 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10222 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10223 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10224 * elf/dl-writev.h (_dl_writev): Likewise.
10225 * elf/ldconfig.c (search_dir): Likewise.
10226 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10227 (dl_main): Likewise.
10228 * elf/setup-vdso.h (setup_vdso): Likewise.
10229 * grp/compat-initgroups.c (compat_call): Likewise.
10230 * grp/fgetgrent.c (fgetgrent): Likewise.
10231 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10232 * grp/putgrent.c (putgrent): Likewise.
10233 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10234 Likewise.
10235 * hurd/hurdinit.c: Likewise.
10236 * iconvdata/8bit-gap.c (struct): Likewise.
10237 * iconvdata/ansi_x3.110.c : Likewise.
10238 * iconvdata/big5.c : Likewise.
10239 * iconvdata/big5hkscs.c : Likewise.
10240 * iconvdata/cp1255.c: Likewise.
10241 * iconvdata/cp1258.c : Likewise.
10242 * iconvdata/cp932.c : Likewise.
10243 * iconvdata/euc-cn.c: Likewise.
10244 * iconvdata/euc-jisx0213.c : Likewise.
10245 * iconvdata/euc-jp.c: Likewise.
10246 * iconvdata/euc-jp-ms.c : Likewise.
10247 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10248 * iconvdata/gb18030.c : Likewise.
10249 * iconvdata/gbbig5.c (const): Likewise.
10250 * iconvdata/gbgbk.c: Likewise.
10251 * iconvdata/gbk.c : Likewise.
10252 * iconvdata/ibm1364.c : Likewise.
10253 * iconvdata/ibm930.c : Likewise.
10254 * iconvdata/ibm932.c: Likewise.
10255 * iconvdata/ibm933.c : Likewise.
10256 * iconvdata/ibm935.c : Likewise.
10257 * iconvdata/ibm937.c : Likewise.
10258 * iconvdata/ibm939.c : Likewise.
10259 * iconvdata/ibm943.c: Likewise.
10260 * iconvdata/iso_11548-1.c: Likewise.
10261 * iconvdata/iso-2022-cn.c : Likewise.
10262 * iconvdata/iso-2022-cn-ext.c : Likewise.
10263 * iconvdata/iso-2022-jp-3.c: Likewise.
10264 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10265 * iconvdata/iso-2022-kr.c : Likewise.
10266 * iconvdata/iso646.c (gconv_end): Likewise.
10267 * iconvdata/iso_6937-2.c : Likewise.
10268 * iconvdata/iso_6937.c : Likewise.
10269 * iconvdata/iso8859-1.c: Likewise.
10270 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10271 * iconvdata/shift_jisx0213.c : Likewise.
10272 * iconvdata/sjis.c : Likewise.
10273 * iconvdata/t.61.c : Likewise.
10274 * iconvdata/tcvn5712-1.c : Likewise.
10275 * iconvdata/tscii.c: Likewise.
10276 * iconvdata/uhc.c : Likewise.
10277 * iconvdata/unicode.c (gconv_end): Likewise.
10278 * iconvdata/utf-16.c (gconv_end): Likewise.
10279 * iconvdata/utf-32.c (gconv_end): Likewise.
10280 * iconvdata/utf-7.c (base64): Likewise.
10281 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10282 * iconv/gconv_close.c (__gconv_close): Likewise.
10283 * iconv/gconv_open.c (__gconv_open): Likewise.
10284 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10285 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10286 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10287 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10288 (ucs4le_internal_loop_single): Likewise.
10289 * iconv/iconv.c (iconv): Likewise.
10290 * iconv/iconv_close.c: Likewise.
10291 * iconv/loop.c (SINGLE): Likewise.
10292 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10293 * include/atomic.h: Likewise.
10294 * inet/inet6_option.c (option_alloc): Likewise.
10295 * intl/bindtextdom.c (set_binding_values): Likewise.
10296 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10297 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10298 * intl/localealias.c (read_alias_file): Likewise.
10299 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10300 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10301 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10302 * libio/fmemopen.c (fmemopen): Likewise.
10303 * libio/iofgets.c (_IO_fgets): Likewise.
10304 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10305 * libio/iofgetws.c (fgetws): Likewise.
10306 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10307 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10308 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10309 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10310 * locale/findlocale.c (_nl_find_locale): Likewise.
10311 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10312 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10313 Likewise.
10314 * locale/setlocale.c (setlocale): Likewise.
10315 * login/programs/pt_chown.c (main): Likewise.
10316 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10317 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10318 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10319 (mmap, mmap64, mremap, munmap): Likewise.
10320 * math/e_exp2l.c: Likewise.
10321 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10322 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10323 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10324 * math/s_catan.c (__catan): Likewise.
10325 * math/s_catanf.c (__catanf): Likewise.
10326 * math/s_catanh.c (__catanh): Likewise.
10327 * math/s_catanhf.c (__catanhf): Likewise.
10328 * math/s_catanhl.c (__catanhl): Likewise.
10329 * math/s_catanl.c (__catanl): Likewise.
10330 * math/s_ccosh.c (__ccosh): Likewise.
10331 * math/s_ccoshf.c (__ccoshf): Likewise.
10332 * math/s_ccoshl.c (__ccoshl): Likewise.
10333 * math/s_cexp.c (__cexp): Likewise.
10334 * math/s_cexpf.c (__cexpf): Likewise.
10335 * math/s_cexpl.c (__cexpl): Likewise.
10336 * math/s_clog10.c (__clog10): Likewise.
10337 * math/s_clog10f.c (__clog10f): Likewise.
10338 * math/s_clog10l.c (__clog10l): Likewise.
10339 * math/s_clog.c (__clog): Likewise.
10340 * math/s_clogf.c (__clogf): Likewise.
10341 * math/s_clogl.c (__clogl): Likewise.
10342 * math/s_csin.c (__csin): Likewise.
10343 * math/s_csinf.c (__csinf): Likewise.
10344 * math/s_csinh.c (__csinh): Likewise.
10345 * math/s_csinhf.c (__csinhf): Likewise.
10346 * math/s_csinhl.c (__csinhl): Likewise.
10347 * math/s_csinl.c (__csinl): Likewise.
10348 * math/s_csqrt.c (__csqrt): Likewise.
10349 * math/s_csqrtf.c (__csqrtf): Likewise.
10350 * math/s_csqrtl.c (__csqrtl): Likewise.
10351 * math/s_ctan.c (__ctan): Likewise.
10352 * math/s_ctanf.c (__ctanf): Likewise.
10353 * math/s_ctanh.c (__ctanh): Likewise.
10354 * math/s_ctanhf.c (__ctanhf): Likewise.
10355 * math/s_ctanhl.c (__ctanhl): Likewise.
10356 * math/s_ctanl.c (__ctanl): Likewise.
10357 * math/w_pow.c: Likewise.
10358 * math/w_powf.c: Likewise.
10359 * math/w_powl.c: Likewise.
10360 * math/w_scalb.c (sysv_scalb): Likewise.
10361 * math/w_scalbf.c (sysv_scalbf): Likewise.
10362 * math/w_scalbl.c (sysv_scalbl): Likewise.
10363 * misc/error.c (error_tail): Likewise.
10364 * misc/pselect.c (__pselect): Likewise.
10365 * nis/nis_callback.c (__nis_create_callback): Likewise.
10366 * nis/nis_call.c (__nisfind_server): Likewise.
10367 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10368 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10369 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10370 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10371 * nis/nis_lookup.c (nis_lookup): Likewise.
10372 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10373 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10374 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10375 * nis/nis_xdr.c (xdr_endpoint): Likewise.
10376 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10377 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10378 * nis/nss_compat/compat-initgroups.c (add_group)
10379 (internal_getgrent_r): Likewise.
10380 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10381 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10382 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10383 (internal_getspnam_r): Likewise.
10384 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10385 (_nss_nis_getaliasbyname_r): Likewise.
10386 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10387 (_nss_nis_getntohost_r): Likewise.
10388 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10389 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10390 (_nss_nis_getgrgid_r): Likewise.
10391 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10392 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10393 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10394 (_nss_nis_gethostbyname4_r): Likewise.
10395 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10396 (initgroups_netid): Likewise.
10397 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10398 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10399 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10400 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10401 (_nss_nis_getprotobynumber_r): Likewise.
10402 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10403 (_nss_nis_getsecretkey): Likewise.
10404 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10405 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10406 (_nss_nis_getpwuid_r): Likewise.
10407 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10408 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10409 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10410 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10411 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10412 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10413 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10414 Likewise.
10415 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10416 (_nss_nisplus_getntohost_r): Likewise.
10417 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10418 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10419 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10420 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10421 Likewise.
10422 * nis/nss_nisplus/nisplus-initgroups.c
10423 (_nss_nisplus_initgroups_dyn): Likewise.
10424 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10425 (_nss_nisplus_getnetbyaddr_r): Likewise.
10426 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10427 (_nss_nisplus_getprotobynumber_r): Likewise.
10428 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10429 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10430 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10431 Likewise.
10432 * nis/nss_nisplus/nisplus-service.c
10433 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10434 (_nss_nisplus_getservbyport_r): Likewise.
10435 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10436 (_nss_nisplus_getspnam_r): Likewise.
10437 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10438 Likewise.
10439 * nscd/aicache.c (addhstaiX): Likewise.
10440 * nscd/cache.c (cache_search, prune_cache): Likewise.
10441 * nscd/connections.c (register_traced_file, send_ro_fd)
10442 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10443 (main_loop_epoll): Likewise.
10444 * nscd/grpcache.c (addgrbyX): Likewise.
10445 * nscd/hstcache.c (addhstbyX): Likewise.
10446 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10447 * nscd/mem.c (gc, mempool_alloc): Likewise.
10448 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10449 (addinnetgrX): Likewise.
10450 * nscd/nscd-client.h (__nscd_acquire_maplock)
10451 (__nscd_drop_map_ref): Likewise.
10452 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10453 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10454 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10455 Likewise.
10456 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10457 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10458 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10459 (__nscd_get_map_ref): Likewise.
10460 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10461 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10462 Likewise.
10463 * nscd/pwdcache.c (addpwbyX): Likewise.
10464 * nscd/selinux.c (preserve_capabilities): Likewise.
10465 * nscd/servicescache.c (addservbyX): Likewise.
10466 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10467 * posix/fnmatch.c (fnmatch): Likewise.
10468 * posix/getopt.c (_getopt_internal_r): Likewise.
10469 * posix/glob.c (glob, glob_in_dir): Likewise.
10470 * posix/wordexp.c (exec_comm_child): Likewise.
10471 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10472 (getanswer_r, gaih_getanswer_slice): Likewise.
10473 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10474 * resolv/res_init.c: Likewise.
10475 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10476 * resolv/res_query.c (__libc_res_nquery): Likewise.
10477 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10478 Likewise.
10479 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10480 * stdio-common/perror.c (perror): Likewise.
10481 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10482 * stdio-common/tmpnam.c (tmpnam): Likewise.
10483 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10484 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10485 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10486 Likewise.
10487 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10488 * stdlib/putenv.c (putenv): Likewise.
10489 * stdlib/setenv.c (__add_to_environ): Likewise.
10490 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10491 * stdlib/strtol_l.c (INTERNAL): Likewise.
10492 * string/memmem.c (memmem): Likewise.
10493 * string/strerror.c (strerror): Likewise.
10494 * string/strnlen.c (__strnlen): Likewise.
10495 * string/test-memmem.c (simple_memmem): Likewise.
10496 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10497 * sunrpc/pm_getport.c (__get_socket): Likewise.
10498 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10499 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10500 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10501 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10502 Likewise.
10503 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10504 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10505 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10506 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10507 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10508 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10509 Likewise.
10510 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10511 Likewise.
10512 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10513 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10514 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10515 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10516 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10517 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10518 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10519 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10520 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10521 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10522 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10523 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10524 Likewise.
10525 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10526 Likewise.
10527 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10528 Likewise.
10529 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10530 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10531 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10532 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10533 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10534 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10535 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10536 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10537 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10538 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10539 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10540 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10541 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10542 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10543 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10544 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10545 Likewise.
10546 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10547 Likewise.
10548 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10549 Likewise.
10550 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10551 Likewise.
10552 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10553 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10554 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10555 Likewise.
10556 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10557 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10558 * sysdeps/posix/opendir.c (__opendirat): Likewise.
10559 * sysdeps/posix/sleep.c: Likewise.
10560 * sysdeps/posix/tempname.c: Likewise.
10561 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10562 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10563 Likewise.
10564 * sysdeps/powerpc/powerpc32/dl-machine.h
10565 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10566 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10567 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10568 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10569 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10570 Likewise.
10571 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10572 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10573 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10574 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10575 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10576 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10577 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10578 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10579 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10580 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10581 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10582 (elf_machine_lazy_rel): Likewise.
10583 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10584 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10585 (elf_machine_lazy_rel): Likewise.
10586 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10587 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10588 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10589 * sysdeps/unix/grantpt.c (grantpt): Likewise.
10590 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10591 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10592 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10593 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10594 Likewise.
10595 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10596 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10597 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10598 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10599 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10600 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10601 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10602 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10603 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10604 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10605 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10606 Likewise.
10607 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10608 (__posix_fallocate64_l64): Likewise.
10609 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10610 (posix_fallocate): Likewise.
10611 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10612 Likewise.
10613 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10614 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10615 (getifaddrs_internal): Likewise.
10616 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10617 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10618 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10619 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10620 * sysdeps/unix/sysv/linux/posix_fallocate64.c
10621 (__posix_fallocate64_l64): Likewise.
10622 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10623 Likewise.
10624 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10625 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10626 (__get_clockfreq): Likewise.
10627 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10628 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10629 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10630 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10631 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10632 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10633 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10634 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10635 Likewise.
10636 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10637 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10638 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10639 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10640 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10641 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10642 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10643 Likewise.
10644 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10645 (posix_fallocate): Likewise.
10646 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10647 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
10648 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
10649 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
10650 (elf_machine_rela, elf_machine_rela_relative)
10651 (elf_machine_lazy_rel): Likewise.
10652 * time/asctime.c (asctime_internal): Likewise.
10653 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
10654 * time/tzset.c (__tzset_parse_tz): Likewise.
10655 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10656 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10657 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
10658 * wcsmbs/wcsmbsload.h: Likewise.
10659
10660 [BZ #15894]
10661 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
10662
10663 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
10664 (arena_get2): Remove THREAD_STATS conditionals.
10665 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
10666 (__malloc_stats, int): Likewise.
10667
10668 2014-02-08 Mike Frysinger <vapier@gentoo.org>
10669
10670 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
10671 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
10672
10673 * manual/setjmp.texi: Fix typos/grammar errors.
10674
10675 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
10676 Only return early when n is <= 0. Delete unused return statement.
10677
10678 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
10679 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
10680 * debug/tst-longjmp_chk3.c: New file.
10681
10682 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
10683 (test_main): Replace code with set_fortify_handler call.
10684 * debug/test-strcpy_chk.c: Likewise.
10685 * debug/tst-chk1.c: Likewise.
10686 * debug/tst-longjmp_chk.c: Likewise.
10687 * test-skeleton.c: Include fcntl.h & paths.h
10688 (set_fortify_handler): Define.
10689
10690 * debug/tst-longjmp_chk.c: Add header comment and include
10691 ../test-skeleton.c.
10692 (do_test): Mark static.
10693 (TEST_FUNCTION): Define.
10694
10695 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
10696 (IP_PMTUDISC_INTERFACE): Likewise.
10697 (IP_MULTICAST_IF): Likewise.
10698 (IP_MULTICAST_TTL): Likewise.
10699 (IP_MULTICAST_LOOP): Likewise.
10700 (IP_ADD_MEMBERSHIP): Likewise.
10701 (IP_DROP_MEMBERSHIP): Likewise.
10702 (IP_UNBLOCK_SOURCE): Likewise.
10703 (IP_BLOCK_SOURCE): Likewise.
10704 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
10705 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
10706 (IP_MSFILTER): Likewise.
10707 (MCAST_JOIN_GROUP): Likewise.
10708 (MCAST_BLOCK_SOURCE): Likewise.
10709 (MCAST_UNBLOCK_SOURCE): Likewise.
10710 (MCAST_LEAVE_GROUP): Likewise.
10711 (MCAST_JOIN_SOURCE_GROUP): Likewise.
10712 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10713 (MCAST_MSFILTER): Likewise.
10714 (IP_MULTICAST_ALL): Likewise.
10715 (IP_UNICAST_IF): Likewise.
10716
10717 * timezone/Makefile: Delete $(have-ksh) check.
10718 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
10719 * timezone/tzselect.ksh: Add +x mode bits.
10720
10721 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
10722 (ANON_INODE_FS_MAGIC): Likewise.
10723 (BDEVFS_MAGIC): Likewise.
10724 (BINFMTFS_MAGIC): Likewise.
10725 (BTRFS_TEST_MAGIC): Likewise.
10726 (CRAMFS_MAGIC_WEND): Likewise.
10727 (DEBUGFS_MAGIC): Likewise.
10728 (ECRYPTFS_SUPER_MAGIC): Likewise.
10729 (EXT3_SUPER_MAGIC): Likewise.
10730 (EXT4_SUPER_MAGIC): Likewise.
10731 (FUTEXFS_SUPER_MAGIC): Likewise.
10732 (HOSTFS_SUPER_MAGIC): Likewise.
10733 (HUGETLBFS_MAGIC): Likewise.
10734 (MINIX3_SUPER_MAGIC): Likewise.
10735 (MTD_INODE_FS_MAGIC): Likewise.
10736 (NILFS_SUPER_MAGIC): Likewise.
10737 (OPENPROM_SUPER_MAGIC): Likewise.
10738 (PIPEFS_MAGIC): Likewise.
10739 (PSTOREFS_MAGIC): Likewise.
10740 (QNX6_SUPER_MAGIC): Likewise.
10741 (RAMFS_MAGIC): Likewise.
10742 (REISERFS_SUPER_MAGIC_STRING): Likewise.
10743 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
10744 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
10745 (SECURITYFS_MAGIC): Likewise.
10746 (SELINUX_MAGIC): Likewise.
10747 (SMACK_MAGIC): Likewise.
10748 (SOCKFS_MAGIC): Likewise.
10749 (SQUASHFS_MAGIC): Likewise.
10750 (STACK_END_MAGIC): Likewise.
10751 (TMPFS_MAGIC): Likewise.
10752 (USBDEVICE_SUPER_MAGIC): Likewise.
10753 (V9FS_MAGIC): Likewise.
10754 (XENFS_SUPER_MAGIC): Likewise.
10755 (CRAMFS_MAGIC): Fix typo in comment.
10756 (EXT2_SUPER_MAGIC): Update comment.
10757 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
10758
10759 2014-02-08 Joseph Myers <joseph@codesourcery.com>
10760
10761 * sysdeps/arm: Move directory from ports/sysdeps/arm.
10762 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
10763 * sysdeps/unix/sysv/linux/arm: Move directory from
10764 ports/sysdeps/unix/sysv/linux/arm.
10765 * README: Update listing for arm-*-linux-gnueabi.
10766
10767 * README: Remove mention of am33.
10768
10769 2014-02-07 Roland McGrath <roland@hack.frob.com>
10770
10771 * bits/sigset.h (__sigemptyset): Use a statement expression rather
10772 than the comma operator, to avoid "rhs of comma has no effect"
10773 compiler warnings.
10774 (__sigfillset, __sigandset, __sigorset): Likewise.
10775 * include/signal.h (__sigemptyset): Likewise.
10776 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
10777
10778 2014-02-07 Allan McRae <allan@archlinux.org>
10779
10780 * version.h (RELEASE): Set to "development".
10781 (VERSION): Set to "2.19.90"
10782 * NEWS: Add 2.20 section.
10783
10784 2014-02-06 Carlos O'Donell <carlos@redhat.com>
10785
10786 [BZ #16529]
10787 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
10788
10789 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10790
10791 * manual/contrib.texi: Update entry for Carlos O'Donell,
10792 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
10793
10794 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
10795
10796 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
10797
10798 * sysdeps/unix/sysv/linux/kernel-features.h
10799 [__LINUX_KERNEL_VERSION >= 0x020621]
10800 (__ASSUME_PROC_PID_TASK_COMM): Define.
10801
10802 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10803
10804 [BZ #16398]
10805 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
10806 conversion when destination buffer does not have enough space.
10807 * libio/tst-ftell-partial-wide.c: New test case.
10808 * libio/Makefile (tests): Add tst-ftell-partial-wide.
10809
10810 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
10811 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
10812 Leonard and Allan McRae.
10813
10814 2014-02-04 David S. Miller <davem@davemloft.net>
10815
10816 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
10817 32-bit.
10818
10819 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10820
10821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10822 New file
10823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10824 New file
10825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10826 New file.
10827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10828 New file.
10829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10830 New file.
10831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10832 New file.
10833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10834 New file.
10835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10836 New file.
10837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10838 New file.
10839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10840 New file.
10841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10842 New file.
10843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10844 New file.
10845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10846 New file.
10847
10848 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10849
10850 * nptl/shlib-versions: Change powerpc*le start to 2.17.
10851 * shlib-versions: Likewise.
10852
10853 2014-02-04 Roland McGrath <roland@hack.frob.com>
10854 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10855
10856 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
10857 (abilist-pattern): New variable, set to %-le.abilist.
10858
10859 * Makerules (abilist-pattern): New variable.
10860 (vpath): Use $(abilist-pattern) in place of %.abilist.
10861 (check-abi-% pattern rule): Likewise.
10862 (check-abi, update-abi): Likewise.
10863
10864 2014-02-04 Eric Wong <normalperson@yhbt.net>
10865
10866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10867
10868 2014-02-03 Carlos O'Donell <carlos@redhat.com>
10869
10870 * manual/startup.texi: Add next, previous, and top entries for
10871 the `Program Arguments' and `Environment Variables' nodes.
10872
10873 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
10874
10875 * manual/macros.texi: Add comments before MTASC-safety macros.
10876
10877 * manual/users.texi: Document MTASC-safety properties.
10878
10879 * manual/threads.texi (pthread_key_create, pthread_key_delete)
10880 (pthread_getspecific, pthread_setspecific): Format with
10881 @deftypefun, and add @safety note.
10882 * manual/signal.texi: Move comments that analyze the above
10883 functions to their home place.
10884
10885 2014-02-03 Allan McRae <allan@archlinux.org>
10886
10887 * po/sl.po: Update Slovenian translation from translation project.
10888
10889 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
10890
10891 * manual/time.texi (timegm): Add missing blank after @c.
10892 Reported by Joseph Myers <joseph@codesourcery.com>.
10893
10894 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
10895
10896 * manual/check-safety.sh: New.
10897 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10898
10899 * manual/terminal.texi: Document MTASC-safety properties.
10900
10901 * manual/filesys.texi: Document MTASC-safety properties.
10902
10903 * manual/errno.texi: Document MTASC-safety properties.
10904
10905 * manual/intro.texi: Document safety identifiers and
10906 conditionals.
10907
10908 * manual/string.texi (wcstok): Fix prototype.
10909 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10910
10911 * manual/time.texi: Document MTASC-safety properties.
10912
10913 * manual/string.texi: Document MTASC-safety properties.
10914
10915 * manual/threads.texi: Document MTASC-safety properties.
10916
10917 * manual/stdio.texi: Document MTASC-safety properties.
10918
10919 * manual/syslog.texi: Document MTASC-safety properties.
10920
10921 * manual/sysinfo.texi: Document MTASC-safety properties.
10922
10923 * manual/startup.texi: Document MTASC-safety properties.
10924
10925 * manual/socket.texi: Document MTASC-safety properties.
10926
10927 * manual/signal.texi: Document MTASC-safety properties.
10928
10929 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
10930
10931 * manual/setjmp.texi: Document MTASC-safety properties.
10932
10933 * manual/search.texi: Document MTASC-safety properties.
10934
10935 * manual/resource.texi: Document MTASC-safety properties.
10936
10937 * manual/process.texi: Document MTASC-safety properties.
10938
10939 * manual/platform.texi: Document MTASC-safety properties.
10940
10941 * manual/pipe.texi: Document MTASC-safety properties.
10942
10943 * manual/pattern.texi: Document MTASC-safety properties.
10944
10945 * manual/message.texi: Document MTASC-safety properties.
10946
10947 [BZ #12751]
10948 * manual/memory.texi: Document MTASC-safety properties.
10949
10950 * manual/math.texi: Document MTASC-safety properties.
10951
10952 * manual/locale.texi: Document MTASC-safety properties.
10953
10954 * manual/llio.texi: Document MTASC-safety properties.
10955
10956 * manual/libdl.texi: New.
10957
10958 * manual/lang.texi: Document MTASC-safety properties.
10959
10960 * manual/job.texi: Document MTASC-safety properties.
10961
10962 * manual/getopt.texi: Document MTASC-safety properties.
10963
10964 * manual/ctype.texi: Document MTASC-safety properties.
10965
10966 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10967
10968 [BZ #16046]
10969 * csu/libc-tls.c (static_map): Remove variable.
10970 (__libc_setup_tls): Use main executable's link map for TLS data.
10971 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10972 casing for LM_ID_BASE and GL(dl_nns).
10973 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10974 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10975 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10976 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10977 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10978 member.
10979 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10980 l_phnum members.
10981
10982 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
10983
10984 * manual/debug.texi: Document MTASC-safety properties.
10985
10986 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10987
10988 [BZ #16510]
10989 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10990 of __x86_64__ when disabling x87 inline functions.
10991
10992 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
10993
10994 * manual/charset.texi: Document MTASC-safety properties.
10995
10996 * manual/crypt.texi: Document MTASC-safety properties.
10997
10998 * manual/conf.texi: Document MTASC-safety properties.
10999
11000 * manual/arith.texi: Document MTASC-safety properties.
11001
11002 * manual/argp.texi: Document MTASC-safety properties.
11003
11004 * manual/macros.texi: Introduce macros to document multi
11005 thread, asynchronous signal and asynchronous cancellation
11006 safety properties.
11007 * manual/intro.texi: Introduce the properties themselves.
11008
11009 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11010
11011 * sysdeps/sh/sh4/Makefile: New file.
11012
11013 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11014
11015 * math/gen-libm-test.pl ($srcdir): New variable.
11016 ($auto_input): Use it.
11017
11018 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11019
11020 [BZ #16506]
11021 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11022 access beyond array bounds when parsing netgroups file.
11023
11024 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11025 the old buffer before realloc.
11026
11027 2014-01-27 Allan McRae <allan@archlinux.org>
11028
11029 * po/fr.po: Update French translation from translation project.
11030
11031 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11032
11033 * sysdeps/sh/libm-test-ulps: Regenerate.
11034
11035 2014-01-24 David S. Miller <davem@davemloft.net>
11036
11037 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11038
11039 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11040
11041 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11042 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11043
11044 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11045
11046 [BZ #16474]
11047 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11048 string pointers after reallocation.
11049
11050 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11051
11052 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11053 __SH4A__ instead of __SH_FPU_ANY__.
11054
11055 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11056
11057 * sysdeps/sh/fpu_control.h: New file.
11058 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11059 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11060 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11061 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11062 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11063 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11064 * sysdeps/sh/sys/ucontext.h: Remove.
11065 * sysdeps/sh/sys: Remove directory.
11066
11067 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11068
11069 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11070 s390/sys/ucontext.h.
11071 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11072 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11073
11074 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11075
11076 [BZ #15605]
11077 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11078
11079 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11080
11081 [BZ#16431]
11082 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11083 Adjust the vDSO correctly for internal calls.
11084 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11085
11086 2014-01-20 Allan McRae <allan@archlinux.org>
11087
11088 * po/ca.po: Update Catalan translation from translation project.
11089
11090 2014-01-16 Mike Frysinger <vapier@gentoo.org>
11091
11092 * sysdeps/s390/sotruss-lib.c: New file.
11093
11094 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11095
11096 [BZ#16430]
11097 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11098 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11099 local calls issues by not having a PLT stub required for IFUNC calls.
11100 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11101
11102 2014-01-16 Joseph Myers <joseph@codesourcery.com>
11103
11104 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11105 * math/test-fpucw-static.c: Likewise.
11106
11107 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11108
11109 [BZ #16453]
11110 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11111
11112 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11113
11114 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11115 implementation for powerpc.
11116
11117 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
11118
11119 [BZ #14782]
11120 * sysdeps/posix/system.c (__libc_system): Do not enable
11121 asynchronous cancellation.
11122
11123 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11124
11125 [BZ #16427]
11126 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11127 handling only for numbers special also in the IEEE case.
11128
11129 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11130
11131 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11132
11133 2014-01-11 Allan McRae <allan@archlinux.org>
11134
11135 * po/bg.po: Update Bulgarian translation from translation project.
11136
11137 * po/de.po: Update German translation from translation project.
11138
11139 2014-01-10 Roland McGrath <roland@hack.frob.com>
11140
11141 * sysdeps/generic/gcc-compat.h: New file.
11142
11143 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11144
11145 * benchtests/asin-inputs: Correct slow inputs.
11146 * benchtests/acos-inputs: Likewise.
11147
11148 2014-01-10 Allan McRae <allan@archlinux.org>
11149
11150 * po:sv.po: Update Swedish translation from translation project.
11151
11152 * po/vi.po: Update Vietnamese translation from translation project.
11153
11154 * po/eo.po: Update Esperanto translation from translation project.
11155
11156 * po/cs.po: Update Czech translation from translation project.
11157
11158 * po/nl.po: Update Dutch translation from translation project.
11159
11160 * po/pl.po: Update Polish translation from translation project.
11161
11162 * po/ru.po: Update Russian translation from translation project.
11163
11164 * po/uk.po: Update Ukrainian translation from translation project.
11165
11166 2014-01-08 Brooks Moses <bmoses@google.com>
11167
11168 * elf/dl-load.c: Fix comment typo.
11169
11170 2014-01-08 Carlos O'Donell <carlos@redhat.com>
11171
11172 * po/header.pot: Rename to...
11173 * po/pot.header: ... this.
11174 * po/Makefile: Use pot.header.
11175
11176 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11177 Maxim Kuvyrkov <maxim@kugelworks.com>
11178
11179 [BZ #16394]
11180 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11181 SRC and DEST against LEN.
11182
11183 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11184
11185 [BZ #16414]
11186 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11187 implementation.
11188 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11189
11190 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11191
11192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11193
11194 2014-01-08 Joseph Myers <joseph@codesourcery.com>
11195
11196 [BZ #16408]
11197 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11198 for large positive arguments.
11199
11200 2014-01-07 Joseph Myers <joseph@codesourcery.com>
11201
11202 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11203
11204 * math/auto-libm-test-in: Mark various tests with
11205 xfail-rounding:ldbl-128ibm.
11206 * math/auto-libm-test-out: Regenerated.
11207
11208 [BZ #16407]
11209 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11210 Increase overflow threshold.
11211
11212 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
11213
11214 [BZ #14286]
11215 * stdio-common/vfprintf.c: Check for integer overflow.
11216
11217 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11218
11219 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11220 the first argument and return value of __tls_get_addr_internal.
11221
11222 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11223
11224 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11225 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11226
11227 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11228
11229 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11230 * sysdeps/s390/rtld-global-offsets.sym: New file.
11231 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11232 GLIBC_2.19 symbol.
11233 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11234 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11235 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11236 ... this.
11237 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11238 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11239 ... this.
11240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11241 Regenerate.
11242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11243 Regenerate.
11244 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11245 halfs of GPRs for high_gprs contexts.
11246 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11247 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11248 field.
11249 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11250 uc_flags field.
11251 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11252 64 bit versions:
11253 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11254 for high GPRs (uc_high_gprs) and for future extensions
11255 (__reserved).
11256 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11257 for future extensions (__reserved).
11258 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11259 64 bit versions:
11260 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11261 SC_HIGHGPRS offset definition.
11262 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11263 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11264
11265 * Versions.def: Add GLIBC_2.19 for libpthread.
11266 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11267 siglongjmp for libpthread with GLIBC_2.19 symver.
11268 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11269 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11270 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11271 * sysdeps/s390/__longjmp.c: New file.
11272 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11273 * sysdeps/s390/longjmp.c: New file.
11274 * sysdeps/s390/setjmp.S: New file.
11275 * sysdeps/s390/sigjmp.S: New file.
11276 * sysdeps/s390/v1-longjmp.c: New file.
11277 * sysdeps/s390/v1-setjmp.h: New file.
11278 * sysdeps/s390/v1-sigjmp.c: New file.
11279 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11280 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11281 GLIBC_2.19 version.
11282 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11283 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11284 versioned symbols for ____longjmp_chk.
11285 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11286 Likewise.
11287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11288 Regenerate.
11289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11290 Regenerate.
11291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11292 Regenerate.
11293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11294 Regenerate.
11295 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11296 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11297 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11298 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11299 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11300 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11301 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11302 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11303 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11304 * sysdeps/s390/rtld-__longjmp.c: New file.
11305 * sysdeps/s390/rtld-setjmp.S: New file.
11306
11307 2014-01-06 Joseph Myers <joseph@codesourcery.com>
11308
11309 [BZ #16400]
11310 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11311 Return -__logl (x) for small positive arguments without evaluating
11312 a polynomial.
11313
11314 2014-01-06 Mike Frysinger <vapier@gentoo.org>
11315
11316 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11317 Rename to ...
11318 (__ptrace_peeksiginfo_args): ... this.
11319 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11320 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11321 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11322
11323 2014-01-06 Allan McRae <allan@archlinux.org>
11324
11325 * inet/netinet/in.h: Fix typo in comment.
11326
11327 2014-01-05 Andreas Jaeger <aj@suse.de>
11328
11329 * sysdeps/i386/fpu/libm-test-ulps: Update.
11330
11331 2014-01-05 Allan McRae <allan@archlinux.org>
11332
11333 * po/libc.pot: Regenerated.
11334
11335 * malloc/memusagestat.c: Fix gettext call formatting.
11336
11337 2014-01-04 Sami Kerola <kerolasa@iki.fi>
11338
11339 * nscd/nscd.c: Improve usage() output.
11340
11341 2014-01-04 Mike Frysinger <vapier@gentoo.org>
11342
11343 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11344 * sysdeps/unix/sysv/linux/configure: Regenerated.
11345 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11346 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11347
11348 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11349
11350 [BZ #16390]
11351 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11352 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11353
11354 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11355
11356 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11357 extra tokens at end of #undef directive.
11358 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11359 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11360 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11361
11362 2014-01-03 Joseph Myers <joseph@codesourcery.com>
11363
11364 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11365
11366 * math/auto-libm-test-in: Mark various tests with
11367 xfail-rounding:ldbl-128ibm.
11368 * math/auto-libm-test-out: Regenerated.
11369
11370 2014-01-02 Joseph Myers <joseph@codesourcery.com>
11371
11372 [BZ #16386]
11373 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11374 numbers with subnormal high part when calculating exponent.
11375
11376 [BZ #16385]
11377 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11378 fabs.
11379
11380 [BZ #16384]
11381 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11382 M_LN2l.
11383 (__ieee754_acoshl): Use __log1pl not __log1p.
11384
11385 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
11386
11387 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11388 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11389 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11390 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11391 (reused_arena, arena_get2): Convert to GNU style.
11392 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11393 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11394 (memalign_check, __malloc_set_state): Likewise.
11395 * malloc/mallocbug.c (main): Likewise.
11396 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11397 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11398 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11399 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11400 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11401 (__posix_memalign, malloc_info): Likewise.
11402 * malloc/malloc.h: Likewise.
11403 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11404 (mallochook, memalignhook, reallochook, mabort): Likewise.
11405 * malloc/mcheck.h: Likewise.
11406 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11407 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11408 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11409 * malloc/morecore.c (__default_morecore): Likewise.
11410 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11411 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11412 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11413 (print_and_abort): Likewise.
11414 * malloc/obstack.h: Likewise.
11415 * malloc/set-freeres.c (__libc_freeres): Likewise.
11416 * malloc/tst-mallocstate.c (main): Likewise.
11417 * malloc/tst-mtrace.c (main): Likewise.
11418 * malloc/tst-realloc.c (do_test): Likewise.
11419
11420 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11421
11422 [BZ #16366]
11423 * nscd/netgroupcache.c (do_notfound): New function.
11424 (addgetnetgrentX): Use it.
11425
11426 [BZ # 16365]
11427 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11428 NSS_STATUS_NOTFOUND.
11429
11430 2014-01-01 Joseph Myers <joseph@codesourcery.com>
11431
11432 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11434
11435 2014-01-01 Allan McRae <allan@archlinux.org>
11436
11437 * scripts/update-copyrights: Update configure input file suffix.
11438
11439 * NEWS: Update copyright year.
11440 * catgets/gencat.c: Likewise.
11441 * csu/version.c: Likewise.
11442 * debug/catchsegv.sh: Likewise.
11443 * debug/pcprofiledump.c: Likewise.
11444 * debug/xtrace.sh: Likewise.
11445 * elf/ldconfig.c: Likewise.
11446 * elf/ldd.bash.in: Likewise.
11447 * elf/pldd.c: Likewise.
11448 * elf/sotruss.ksh: Likewise.
11449 * elf/sprof.c: Likewise.
11450 * iconv/iconv_prog.c: Likewise.
11451 * iconv/iconvconfig.c: Likewise.
11452 * locale/programs/locale.c: Likewise.
11453 * locale/programs/localedef.c: Likewise.
11454 * login/programs/pt_chown.c: Likewise.
11455 * malloc/memusage.sh: Likewise.
11456 * malloc/memusagestat.c: Likewise.
11457 * malloc/mtrace.pl: Likewise.
11458 * manual/libc.texinfo: Likewise.
11459 * nscd/nscd.c: Likewise.
11460 * nss/getent.c: Likewise.
11461 * nss/makedb.c: Likewise.
11462 * posix/getconf.c: Likewise.
11463 * scripts/test-installation.pl: Likewise.
11464
11465 * All files with FSF copyright notices: Update copyright dates
11466 using scripts/update-copyrights.
11467 * intl/plural.c: Regenerated.
11468 * locale/programs/charmap-kw.h: Likewise.
11469 * locale/programs/locfile-kw.h: Likewise.
11470
11471 2013-12-31 Mike Frysinger <vapier@gentoo.org>
11472
11473 * sysdeps/unix/sysv/linux/configure: Regenerated.
11474 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11475 the linux/fanotify.h header.
11476 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11477 HAVE_LINUX_FANOTIFY_H is defined.
11478
11479 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11480
11481 * benchtests/cos-inputs: New inputs.
11482 * benchtests/sin-inputs: Likewise.
11483
11484 * benchtests/atan-inputs: New inputs. Fix name of multiple
11485 precision fallback inputs.
11486
11487 * benchtests/atanh-inputs: New inputs.
11488 * benchtests/tanh-inputs: Likewise.
11489
11490 * benchtests/acosh-inputs: New inputs.
11491 * benchtests/asinh-inputs: Likewise.
11492
11493 * benchtests/cosh-inputs: New inputs.
11494 * benchtests/sinh-inputs: Likewise.
11495
11496 * benchtests/acos-inputs: Add more inputs.
11497 * benchtests/asin-inputs: Likewise.
11498
11499 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
11500
11501 [BZ #16375]
11502 * manual/arith.texi: Fix spelling.
11503 * manual/charset.texi: Likewise.
11504 * manual/errno.texi: Likewise.
11505 * manual/filesys.texi: Likewise.
11506 * manual/lang.texi: Likewise.
11507 * manual/llio.texi: Likewise.
11508 * manual/locale.texi: Likewise.
11509 * manual/message.texi: Likewise.
11510 * manual/resource.texi: Likewise.
11511 * manual/search.texi: Likewise.
11512 * manual/setjmp.texi: Likewise.
11513 * manual/stdio.texi: Likewise.
11514 * manual/string.texi: Likewise.
11515 * manual/sysinfo.texi: Likewise.
11516 * manual/time.texi: Likewise.
11517
11518 2013-12-27 Carlos O'Donell <carlos@redhat.com>
11519
11520 * po/sl.po: New file.
11521
11522 2013-12-27 Mike Frysinger <vapier@gentoo.org>
11523
11524 * .gitignore: Add core/.gdbinit/.gdb_history.
11525
11526 2013-12-27 Allan McRae <allan@archlinux.org>
11527
11528 [BZ #16369]
11529 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11530 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11531
11532 2013-12-24 Brooks Moses <bmoses@google.com>
11533
11534 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11535 all compilers that claim C++98 compliance, not just GCC.
11536 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11537 Likewise.
11538
11539 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11540
11541 * NEWS: Restore accidentally deleted bug-fix entries.
11542
11543 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
11544 Ondřej Bílka <neleai@seznam.cz>
11545
11546 [BZ #15073]
11547 * malloc/malloc.c (_int_free): Perform sanity check only if we
11548 have_lock.
11549
11550 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
11551
11552 [BZ #12986]
11553 * manual/stdio.texi (String Input Conversions): Clarify that character
11554 classes are not supported.
11555
11556 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11557
11558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11559
11560 2013-12-22 Joseph Myers <joseph@codesourcery.com>
11561
11562 [BZ #16337]
11563 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11564 Calculate results for small negative arguments directly rather
11565 than using reflection formula with special underflow handling.
11566
11567 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11568 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11569 sysdeps/unix/bsd/bsd4.4/syscalls.list.
11570 (fchflags): Likewise.
11571 (revoke): Likewise.
11572 (setlogin): Likewise.
11573 (sigaltstack): Likewise.
11574 (wait4): Likewise.
11575 (sigblock): Remove.
11576 (sigsetmask): Likewise.
11577 (wait3): Likewise.
11578 (waitpid): Likewise.
11579 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11580 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11581 file.
11582 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11583 * sysdeps/unix/bsd/Makefile: ... here.
11584 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11585 * sysdeps/unix/bsd/Versions: ... here.
11586 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11587 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11588 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11589 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11590 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11591 * sysdeps/unix/bsd/sigblock.c: ... here.
11592 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11593 * sysdeps/unix/bsd/sigsetmask.c: ... here.
11594 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11595 * sysdeps/unix/bsd/sigvec.c: ... here.
11596 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11597 * sysdeps/unix/bsd/tcdrain.c: ... here.
11598 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11599 * sysdeps/unix/bsd/tcgetattr.c: ... here.
11600 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11601 * sysdeps/unix/bsd/tcsetattr.c: ... here.
11602 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11603 * sysdeps/unix/bsd/wait.c: ... here.
11604 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11605 * sysdeps/unix/bsd/wait3.c: ... here.
11606 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11607 * sysdeps/unix/bsd/waitpid.c: ... here.
11608
11609 2013-12-21 Joseph Myers <joseph@codesourcery.com>
11610
11611 [BZ #16356]
11612 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11613 round-to-nearest for [!USE_AS_EXPM1L].
11614 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11615 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
11616 more tests of exp and exp10. Expect some exp10 tests to miss
11617 exceptions or fail in directed rounding modes.
11618 * math/auto-libm-test-out: Regenerated.
11619 * math/libm-test.inc (exp10_tonearest_test_data): New array.
11620 (exp10_test_tonearest): New function.
11621 (exp10_towardzero_test_data): New array.
11622 (exp10_test_towardzero): New function.
11623 (exp10_downward_test_data): New array.
11624 (exp10_test_downward): New function.
11625 (exp10_upward_test_data): New array.
11626 (exp10_test_upward): New function.
11627 (main): Call the new functions.
11628 * sysdeps/i386/fpu/libm-test-ulps: Update.
11629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11630
11631 2013-12-20 Joseph Myers <joseph@codesourcery.com>
11632
11633 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11634 asinh, atan, atan2, atanh, cbrt, cos and cosh.
11635 * math/auto-libm-test-out: Regenerated.
11636 * math/libm-test.inc (acosh_test_data): Add more tests.
11637 (atanh_test_data): Likewise.
11638 (ceil_test_data): Likewise.
11639 (copysign_test_data): Likewise.
11640 * sysdeps/i386/fpu/libm-test-ulps: Update.
11641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11642
11643 * timezone/checktab.awk: Update from tzcode 2013i.
11644 * timezone/private.h: Likewise.
11645 * timezone/scheck.c: Likewise.
11646 * timezone/tzfile.h: Likewise.
11647 * timezone/tzselect.ksh: Likewise.
11648 * timezone/zdump.c: Likewise.
11649 * timezone/zic.c: Likewise.
11650
11651 * math/auto-libm-test-in: Add tests of cpow.
11652 * math/auto-libm-test-out: Regenerated.
11653 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
11654 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11655 mpc_cc_c.
11656 (func_calc_desc): Add mpc_cc_c union field.
11657 (test_functions): Add cpow.
11658 (special_fill_2pi): New function.
11659 (special_real_inputs): Add 2pi.
11660 (calc_generic_results): Handle mpc_cc_c.
11661 * sysdeps/i386/fpu/libm-test-ulps: Update.
11662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11663
11664 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
11665 csqrt, ctan and ctanh.
11666 * math/auto-libm-test-out: Regenerated.
11667 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11668 (TEST_COND_x86): Likewise.
11669 (ccos_test_data): Use AUTO_TESTS_c_c.
11670 (ccosh_test_data): Likewise.
11671 (cexp_test_data): Likewise.
11672 (clog_test_data): Likewise.
11673 (csqrt_test_data): Likewise.
11674 (ctan_test_data): Likewise.
11675 (ctan_tonearest_test_data): Likewise.
11676 (ctan_towardzero_test_data): Likewise.
11677 (ctan_downward_test_data): Likewise.
11678 (ctan_upward_test_data): Likewise.
11679 (ctanh_test_data): Likewise.
11680 (ctanh_tonearest_test_data): Likewise.
11681 (ctanh_towardzero_test_data): Likewise.
11682 (ctanh_downward_test_data): Likewise.
11683 (ctanh_upward_test_data): Likewise.
11684 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11685 mpc_c_c.
11686 (func_calc_desc): Add mpc_c_c union field.
11687 (FUNC_mpc_c_c): New macro.
11688 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
11689 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
11690 ctanh.
11691 (special_fill_min_subnorm_p120): New function.
11692 (special_real_inputs): Add min_subnorm_p120.
11693 (calc_generic_results): Handle mpc_c_c.
11694 * sysdeps/i386/fpu/libm-test-ulps: Update.
11695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11696
11697 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11698
11699 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
11700 (do_sin_slow): New functions.
11701 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
11702 (cslow2, csloww1, csloww2): Use the new functions.
11703
11704 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
11705 Use M to change sign of result instead of X. Assume X is
11706 positive.
11707 (csloww1): Likewise.
11708 (__sin): Adjust.
11709 (__cos): Adjust.
11710
11711 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
11712 arguments A and DA.
11713 (__sin): Adjust.
11714 (__cos): Likewise.
11715
11716 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
11717 (__cos): Likewise.
11718 (sloww1): Don't adjust sign of DX.
11719 (csloww1): Likewise.
11720 (sloww2): Use X directly and don't adjust sign of DX.
11721 (csloww2): Likewise.
11722
11723 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11724
11725 * math/auto-libm-test-in: Add tests of cabs and carg.
11726 * math/auto-libm-test-out: Regenerated.
11727 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
11728 (carg_test_data): Likewise.
11729 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11730 mpc_c_f.
11731 (func_calc_desc): Add mpc_c_f union field.
11732 (test_functions): Add cabs and carg.
11733 (calc_generic_results): Handle mpc_c_f.
11734
11735 * sysdeps/powerpc/powerpc32/libgcc-compat.S
11736 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
11737 as a macro and a compat symbol.
11738 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11739 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11740 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11741 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11742 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
11743 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
11744 not use .hidden.
11745 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
11746 Likewise.
11747 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
11748 Likewise.
11749 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
11750 Likewise.
11751 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
11752 Likewise.
11753 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
11754 Likewise.
11755 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
11756 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
11757 from GLIBC_2.3.2.
11758
11759 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11760
11761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11762
11763 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11764
11765 * manual/texinfo.tex: Update to version 2013-11-26.10 with
11766 trailing whitespace removed.
11767 * scripts/config.guess: Update to version 2013-11-29.
11768 * scripts/config.sub: Update to version 2013-10-01.
11769
11770 * math/auto-libm-test-in: Add tests of sincos.
11771 * math/auto-libm-test-out: Regenerated.
11772 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
11773 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11774 mpfr_f_11.
11775 (func_calc_desc): Add mpfr_f_11 union field.
11776 (test_functions): Add sincos.
11777 (calc_generic_results): Handle mpfr_f_11.
11778 * sysdeps/i386/fpu/libm-test-ulps: Update.
11779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11780
11781 2013-12-19 Andreas Schwab <schwab@suse.de>
11782
11783 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
11784 CALL_MCOUNT.
11785 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11786 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
11787 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
11788
11789 2013-12-19 Joseph Myers <joseph@codesourcery.com>
11790
11791 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
11792 * sysdeps/i386/fpu/libm-test-ulps: Update.
11793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11794
11795 [BZ #16293]
11796 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
11797 round-to-nearest mode when using frndint.
11798 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
11799 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
11800 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11801 Likewise.
11802 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
11803 sinh test to fail.
11804 * math/auto-libm-test-out: Regenerated.
11805 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
11806 (TEST_COND_x86): Likewise.
11807 (expm1_tonearest_test_data): New array.
11808 (expm1_test_tonearest): New function.
11809 (expm1_towardzero_test_data): New array.
11810 (expm1_test_towardzero): New function.
11811 (expm1_downward_test_data): New array.
11812 (expm1_test_downward): New function.
11813 (expm1_upward_test_data): New array.
11814 (expm1_test_upward): New function.
11815 (main): Run the new test functions.
11816 * sysdeps/i386/fpu/libm-test-ulps: Update.
11817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11818
11819 * include/features.h: Update comment documenting feature test
11820 macros. Mention _DEFAULT_SOURCE in comment.
11821 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
11822 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
11823 _BSD_SOURCE and _SVID_SOURCE.
11824 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
11825 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
11826 !_SVID_SOURCE]: Likewise.
11827 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11828 (__USE_POSIX_IMPLICITLY): Define.
11829 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11830 (_POSIX_SOURCE): Undefine and redefine.
11831 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
11832 (_POSIX_C_SOURCE): Likewise.
11833 * manual/creature.texi (_DEFAULT_SOURCE): Document.
11834 (Feature Test Macros): Update documentation of default features.
11835
11836 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11837
11838 * benchtests/Makefile: Add bench-strtok.
11839 * benchtests/bench-strtok.c: New file: strtok benchtest.
11840
11841 2013-12-19 Allan McRae <allan@archlinux.org>
11842
11843 * manual/install.texi: Suppress menu for plain text output.
11844 * INSTALL: Regenerated.
11845
11846 2013-12-18 Brooks Moses <bmoses@google.com>
11847
11848 [BZ #15846]
11849 * misc/getauxval.c: Include errno.h.
11850 (__getauxval): Set errno to ENOENT if the requested type is not
11851 found.
11852 * misc/sys/auxv.h (getauxval): Document that it may set errno;
11853 don't declare with __attribute_const__.
11854 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
11855 * manual/startup.texi: Document that getauxval sets errno.
11856
11857 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11858
11859 * math/auto-libm-test-in: Add tests of jn and yn.
11860 * math/auto-libm-test-out: Regenerated.
11861 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
11862 (yn_test_data): Likewise.
11863 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11864 mpfr_if_f.
11865 (func_calc_desc): Add mpfr_if_f union field.
11866 (FUNC_mpfr_if_f): New macro.
11867 (test_functions): Add jn and yn.
11868 (calc_generic_results): Assert type of second input for
11869 mpfr_ff_f. Handle mpfr_if_f.
11870 (output_for_one_input_case): Disable all checking for arguments
11871 fitting floating-point types in case of an integer argument.
11872 * sysdeps/i386/fpu/libm-test-ulps: Update.
11873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11874
11875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11876 Don't expect fegetround reference in libm.so.
11877
11878 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11879
11880 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
11881 $(config-cflags-nofma).
11882
11883 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11884
11885 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11886 * math/auto-libm-test-out: Regenerated.
11887
11888 [BZ #16338]
11889 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11890 to determine exponent and adjust argument to have exponent of -1.
11891 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11892 log2.
11893 * math/auto-libm-test-out: Regenerated.
11894 * sysdeps/i386/fpu/libm-test-ulps: Update.
11895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11896
11897 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
11898
11899 * manual/probes.texi: Remove cases when per-thread arenas are
11900 disabled.
11901
11902 2013-12-18 Andreas Schwab <schwab@suse.de>
11903
11904 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11905 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11906 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11907 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11908 * sysdeps/i386/i686/multiarch/Makefile: Update.
11909 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11910
11911 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11912
11913 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11914 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11915
11916 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11917
11918 [BZ #15968]
11919 Support TZ transition times < 00:00:00.
11920 This is needed for version-3 tz-format files; it supports time
11921 stamps past 2037 for America/Godthab (the only entry in the tz
11922 database for which this change is relevant).
11923 * manual/time.texi (TZ Variable): Document transition times
11924 from -167:59:59 through -00:00:01.
11925 * time/tzset.c (tz_rule): Time of day is now signed.
11926 (__tzset_parse_tz): Parse negative time of day.
11927
11928 Document TZ transition times >= 25:00:00.
11929 * manual/time.texi (TZ Variable): Document transition times from
11930 25:00:00 through 167:59:59. These are already supported, and this
11931 support will help with version-3 tz-format files.
11932
11933 * manual/time.texi (TZ Variable): Modernize North America example
11934 to reflect current (i.e., 2007-and-later) daylight saving rules.
11935
11936 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11937
11938 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11939
11940 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11941 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11942 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11943 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11944 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11945 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11946 * sysdeps/unix/bsd/clock.c: Likewise.
11947 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11948 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11949 * sysdeps/unix/bsd/init-posix.c: Likewise.
11950 * sysdeps/unix/bsd/poll.c: Likewise.
11951 * sysdeps/unix/bsd/ptsname.c: Likewise.
11952 * sysdeps/unix/bsd/seekdir.c: Likewise.
11953 * sysdeps/unix/bsd/setegid.c: Likewise.
11954 * sysdeps/unix/bsd/seteuid.c: Likewise.
11955 * sysdeps/unix/bsd/setgid.c: Likewise.
11956 * sysdeps/unix/bsd/setrgid.c: Likewise.
11957 * sysdeps/unix/bsd/setruid.c: Likewise.
11958 * sysdeps/unix/bsd/setsid.c: Likewise.
11959 * sysdeps/unix/bsd/setuid.c: Likewise.
11960 * sysdeps/unix/bsd/sigaction.c: Likewise.
11961 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11962 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11963 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11964 * sysdeps/unix/bsd/telldir.c: Likewise.
11965 * sysdeps/unix/bsd/times.c: Likewise.
11966 * sysdeps/unix/bsd/usleep.c: Likewise.
11967
11968 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11969 ($(objpfx)libbsd-compat.a): Remove rule.
11970
11971 * include/features.h (__FAVOR_BSD): Do not define.
11972 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11973 features conflicting with POSIX.
11974 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11975 (_BSD_SOURCE): Remove description of not being a subset of other
11976 feature test macros.
11977 * manual/job.texi (getpgrp): Do not document BSD version.
11978 (getpgid): Do not document by reference to BSD getpgrp.
11979 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11980 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11981 * signal/signal.h [__FAVOR_BSD]: Likewise.
11982 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11983 instead of making contents conditional on [__FAVOR_BSD].
11984 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11985
11986 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11987
11988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11989
11990 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11991
11992 [BZ #16314]
11993 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11994 values below 2**-450, not 2**-500.
11995 * math/auto-libm-test-in: Don't allow spurious underflow from
11996 hypot.
11997 * math/auto-libm-test-out: Regenerated.
11998
11999 [BZ #16316]
12000 [BZ #16330]
12001 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12002 values of ha and hb and sort them after adjusting subnormal
12003 arguments.
12004 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12005 Likewise.
12006 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12007 values of ea and eb and sort them after adjusting subnormal
12008 arguments.
12009 * math/auto-libm-test-in: Do not expect some hypot tests of
12010 subnormals to fail. Add more hypot tests.
12011 * math/auto-libm-test-out: Regenerated.
12012
12013 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12014
12015 [BZ #13304]
12016 * sysdeps/sh/s_fma.c: New file.
12017 * sysdeps/sh/s_fmaf.c: New file.
12018 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12019 version.
12020 * sysdeps/sh/Implies: Add sh/soft-fp.
12021
12022 2013-12-16 Roland McGrath <roland@hack.frob.com>
12023
12024 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12025 level of indirection to members `objname', `errstring', `malloced'.
12026 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12027 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12028 it as the __longjmp argument (just pass 1 instead).
12029 (_dl_catch_error): Initialize C with argument pointers and address of
12030 volatile local ERRCODE rather than copying values out of C at return.
12031
12032 2013-12-16 Joseph Myers <joseph@codesourcery.com>
12033
12034 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12035 * math/auto-libm-test-out: Regenerated.
12036 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12037 (hypot_test_data): Likewise.
12038 (pow_test_data): Likewise.
12039 (pow_tonearest_test_data): Likewise.
12040 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12041 mpfr_ff_f.
12042 (func_calc_desc): Add mpfr_ff_f union field.
12043 (FUNC_mpfr_ff_f): New macro.
12044 (test_functions): Add atan2, hypot and pow.
12045 (special_fill_min): New function.
12046 (special_fill_minus_min): Likewise.
12047 (special_fill_min_subnorm): Likewise.
12048 (special_fill_minus_min_subnorm): Likewise.
12049 (special_real_inputs): Add min, -min, min_subnorm and
12050 -min_subnorm.
12051 (calc_generic_results): Handle mpfr_ff_f.
12052 * sysdeps/i386/fpu/libm-test-ulps: Update.
12053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12054
12055 2013-12-16 Will Newton <will.newton@linaro.org>
12056
12057 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12058 (Aligned Memory Blocks): Add documentation for aligned_alloc
12059 and suggest it as an alternative to posix_memalign.
12060 (Hooks for Malloc): Document __memalign_hook is also called
12061 for aligned_alloc. (Summary of Malloc): Add summary for
12062 aligned alloc. Document __memalign_hook is also called
12063 for aligned_alloc.
12064
12065 2013-12-16 Will Newton <will.newton@linaro.org>
12066
12067 * manual/memory.texi (Malloc Examples): Clarify default
12068 alignment documentation. Suggest posix_memalign rather
12069 than memalign or valloc.
12070 (Aligned Memory Blocks): Remove suggestion to use memalign
12071 or valloc. Remove obsolete comment about BSD.
12072 Document memalign errno values and mark the function obsolete.
12073 Document posix_memalign returned error codes. Mark valloc
12074 as obsolete. (Hooks for Malloc): __memalign_hook is also
12075 called for posix_memalign and valloc.
12076 (Summary of Malloc): Add posix_memalign to function summary.
12077 __memalign_hook is also called for posix_memalign and valloc.
12078
12079 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12080
12081 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12082 TAYLOR_SIN.
12083 (__sin): Adjust.
12084 (__cos): Likewise.
12085 (sloww): Use mynumber union. Expand ternary operator into
12086 if-else statements.
12087 (cslow): use mynumber union.
12088
12089 2013-12-16 Allan McRae <allan@archlinux.org>
12090
12091 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12092 * configure: Regenerated.
12093
12094 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12095
12096 [BZ #14120]
12097 * configure.ac: Added --enable-maintainer-mode. Check for
12098 autoconf when enabled.
12099 * configure: Regenerated.
12100
12101 * nscd/nscd.service: New file.
12102 * nscd/nscd.tmpfiles: New file.
12103
12104 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
12105
12106 [BZ #12100]
12107 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12108 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12109 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12110 (strstr): Add __strstr_sse2_unaligned ifunc.
12111 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12112 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12113 (strcasestr): Remove __strcasestr_sse42 ifunc.
12114 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12115 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12117
12118 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12119
12120 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12121 * sysdeps/sh/bits/fenv.h: ... here.
12122 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12123
12124 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12125
12126 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12127
12128 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12129 hypotf multiarch implementations.
12130 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12131 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12132 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12133 multiarch hypot for PPC64.
12134 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12135 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12136 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12137 multiarch hypotf for PPC64.
12138
12139 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12140 modff multiarch implementations.
12141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12144 multiarch modf for PPC64.
12145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12148 multiarch modff for PPC64.
12149
12150 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12151 and logl multiarch implementations.
12152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12155 multiarch logb for PPC64.
12156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12159 multiarch logb for PPC64.
12160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12163 multiarch logb for PPC64.
12164
12165 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12166 isinff multiarch implementation.
12167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12168 file.
12169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12171 multiarch isinf for PPC64.
12172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12173 file.
12174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12175 multiarch isinff for PPC64.
12176
12177 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12178 finitef multiarch implementation.
12179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12180 file.
12181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12183 multiarch finite for PPC64.
12184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12185 file.
12186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12187 multiarch finitef for PPC64.
12188
12189 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12190 lrint multiarch implementation.
12191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12192 file.
12193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12195 multiarch llrint for PPC64.
12196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12197 multiarch lrint for PPC64.
12198
12199 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12200 copysignf multiarch implementation.
12201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12202 file.
12203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12204 file.
12205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12206 multiarch copysign for PPC64.
12207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12208 multiarch copysignf for PPC64.
12209
12210 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12211 multiarch implementation.
12212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12213 file.
12214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12215 file.
12216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12217 file.
12218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12219 file.
12220 multiarch llround for PPC64.
12221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12222 multiarch trunc for PPC64.
12223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12224 multiarch truncf for PPC64.
12225
12226 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12227 multiarch implementation.
12228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12229 file.
12230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12231 file.
12232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12233 file.
12234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12235 file.
12236 multiarch llround for PPC64.
12237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12238 multiarch round for PPC64.
12239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12240 multiarch roundf for PPC64.
12241
12242 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12243 multiarch implementation.
12244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12245 file.
12246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12247 file.
12248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12249 file.
12250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12251 file.
12252 multiarch llround for PPC64.
12253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12254 multiarch floor for PPC64.
12255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12256 multiarch floorf for PPC64.
12257
12258 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12259 multiarch implementation.
12260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12261 file.
12262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12263 file.
12264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12265 file.
12266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12267 file.
12268 multiarch llround for PPC64.
12269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12270 multiarch ceil for PPC64.
12271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12272 multiarch ceilf for PPC64.
12273
12274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12275 multiarch implementation.
12276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12277 file.
12278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12279 file.
12280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12281 file.
12282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12283 multiarch llround for PPC64.
12284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12285 multiarch lround for PPC64.
12286
12287 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12288 multiarch implementation.
12289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12292 file.
12293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12296 multiarch isnan for PPC64.
12297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12298 multiarch isnanf for PPC64.
12299
12300 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12301 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12302 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12303 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12304 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12306
12307 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12308 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12309 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12310 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12311
12312 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12313 multiarch implementations.
12314 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12315 (__libc_ifunc_impl_list): Likewise.
12316 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12317 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12318 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12319 multiarch stpcpy for PPC64.
12320
12321 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12322 multiarch implementations.
12323 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12324 (__libc_ifunc_impl_list): Likewise.
12325 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12326 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12327 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12328 multiarch strcpy for PPC64.
12329
12330 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12331 redefine function name.
12332 (_wordcopy_fwd_dest_aligned): Likewise.
12333 (_wordcopy_bwd_aligned): Likewise.
12334 (_wordcopy_bwd_dest_aligned): Likewise.
12335 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12336 multiarch implementations.
12337 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12338 (__libc_ifunc_impl_list): Likewise.
12339 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12340 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12341 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12342 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12343 multiarch wcscpy for PPC64.
12344
12345 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12346 multiarch implementations.
12347 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12348 (__libc_ifunc_impl_list): Likewise.
12349 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12350 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12351 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12352 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12353 multiarch wcscpy for PPC64.
12354
12355 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12356 multiarch implementations.
12357 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12358 (__libc_ifunc_impl_list): Likewise.
12359 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12360 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12361 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12362 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12363 multiarch wcsrchr for PPC64.
12364
12365 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12366 multiarch implementations.
12367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12368 (__libc_ifunc_impl_list): Likewise.
12369 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12370 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12371 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12372 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12373 multiarch wcschr for PPC64.
12374
12375 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12376 multiarch implementations.
12377 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12378 (__libc_ifunc_impl_list): Likewise.
12379 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12380 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12381 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12382 multiarch strchrnul for PPC64.
12383
12384 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12385 implementations.
12386 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12387 (__libc_ifunc_impl_list): Likewise.
12388 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12389 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12390 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12391 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12392 strchr for PPC64.
12393
12394 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12395 implementations.
12396 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12397 (__libc_ifunc_impl_list): Likewise.
12398 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12399 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12400 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12401 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12402 strncmp for PPC64.
12403
12404 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12405 multiarch implementations.
12406 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12407 (__libc_ifunc_impl_list): Likewise.
12408 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12409 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12410 strncasecmp for PPC64.
12411 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12412 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12413 multiarch strncasecmp_l for PPC64.
12414
12415 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12416 multiarch implementations.
12417 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12418 (__libc_ifunc_impl_list): Likewise.
12419 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12420 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12421 multiarch strcasecmp for PPC64.
12422 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12423 file.
12424 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12425 multiarch strcasecmp_l for PPC64.
12426
12427 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12428 implementations.
12429 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12430 (__libc_ifunc_impl_list): Likewise.
12431 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12432 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12433 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12434 strnlen for PPC64.
12435
12436 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12437 implementations.
12438 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12439 (__libc_ifunc_impl_list): Likewise.
12440 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12441 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12442 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12443 strlen for PPC64.
12444
12445 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12446 implementations.
12447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12448 (__libc_ifunc_impl_list): Likewise.
12449 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12450 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12451 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12452 rawmemrchr for PPC64.
12453
12454 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12455 implementation.
12456 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12457 (__libc_ifunc_impl_list): Likewise.
12458 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12459 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12460 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12461 memrchr for PPC64.
12462
12463 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12464 implementation.
12465 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12466 (__libc_ifunc_impl_list): Likewise.
12467 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12468 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12469 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12470 memchr for PPC64.
12471
12472 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12473 implementation.
12474 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12475 (__libc_ifunc_impl_list): Likewise.
12476 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12477 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12478 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12479 mempcpy for PPC64.
12480
12481 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12482 avoid cretion of __bzero symbol.
12483 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12484 Likewise.
12485 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12486 Likewise.
12487 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12488 Likewise.
12489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12490 multiarch implementations.
12491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12492 (__libc_ifunc_impl_list): Likewise.
12493 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12494 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12495 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12496 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12497 bzero for PPC32.
12498 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12499 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12500 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12501 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12502 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12503 memset for PPC64.
12504 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12505
12506 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12507 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12508 implementations.
12509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12510 (__libc_ifunc_impl_list): Likewise.
12511 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12512 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12513 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12514 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12515 memcmp for PPC64.
12516
12517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12518 multiarch for POWER/PPC64.
12519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12520 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12521 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12522 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12523 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12524 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12525 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12526 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12527 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12528 memcpy for PPC64.
12529
12530 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12531 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12532 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12533 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12534 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12535 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12536 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12537 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12538 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12539 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12540 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12541 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12542 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12543 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12544 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12552
12553 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12554
12555 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12556
12557 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12558
12559 * benchtests/Makefile (bench): Add exp2 and log2.
12560 (LDLIBS-bench-exp2): Add -lm.
12561 (LDLIBS-bench-log2): Likewise.
12562 * benchtests/exp2-inputs: New inputs file.
12563 * benchtests/log2-inputs: New inputs file.
12564 * benchtests/log-inputs: Add new inputs.
12565 * benchtests/tan-inputs: Likewise.
12566
12567 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12568
12569 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12570 definition...
12571 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12572 (csloww2): ... from here.
12573
12574 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12575 instead of structures.
12576 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12577 (POLYNOMIAL): Likewise.
12578 (TAYLOR_SLOW): Likewise.
12579 (__sin): Likewise.
12580 (__cos): Likewise.
12581 (slow1): Likewise.
12582 (slow2): Likewise.
12583 (sloww): Likewise.
12584 (sloww1); Likewise.
12585 (sloww2): Likewise.
12586 (bsloww1): Likewise.
12587 (bsloww2): Likewise.
12588 (cslow2): Likewise.
12589 (csloww): Likewise.
12590 (csloww1): Likewise.
12591 (csloww2): Likewise.
12592
12593 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
12594
12595 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12596 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12597 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12598 * malloc/hooks.c (realloc_check): Likewise.
12599
12600 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12601 * malloc/arena.c: Remove PER_THREAD conditional.
12602 [!PER_THREAD]: Remove code.
12603 (ptmalloc_unlock_all2): Likewise.
12604 (ptmalloc_init): Likewise.
12605 (_int_new_arena): Likewise.
12606 (arena_get2): Likewise.
12607 * malloc/hooks.c (__malloc_get_state): Likewise.
12608 (__malloc_set_state): Likewise.
12609 * malloc/malloc.c: Likewise.
12610 (struct malloc_state): Likewise.
12611 (struct malloc_par): Likewise.
12612 (__libc_realloc): Likewise.
12613 (__libc_mallopt): Likewise.
12614
12615 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12616
12617 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12618
12619 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
12620
12621 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12622 macro to a function. Check for zero perturb_byte.
12623 (_int_malloc, _int_free): Remove zero perturb_byte checks.
12624
12625 * malloc/malloc.c: (force_reg): Remove.
12626 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12627 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12628 force_reg by atomic_forced_read.
12629 * malloc/arena.c (ptmalloc_init): Likewise.
12630 * malloc/hooks.c (top_check): Likewise.
12631
12632 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12633
12634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12635
12636 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
12637
12638 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12639
12640 2013-12-08 Joseph Myers <joseph@codesourcery.com>
12641
12642 * math/auto-libm-test-in: Add tests of lgamma.
12643 * math/auto-libm-test-out: Regenerated.
12644 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
12645 (M_LOG_2_SQRT_PIl): Likewise.
12646 (lgamma_test_data): Use AUTO_TESTS_f_f1.
12647 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12648 mpfr_f_f1.
12649 (func_calc_desc): Add mpfr_f_f1 union field.
12650 (ARGS1): New macro.
12651 (ARGS2): Likewise.
12652 (ARGS3): Likewise.
12653 (ARGS4): Likewise.
12654 (RET1): Likewise.
12655 (RET2): Likewise.
12656 (CALC): Likewise.
12657 (FUNC): Likewise.
12658 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
12659 (test_functions): Add lgamma.
12660 (calc_generic_results): Handle mpfr_f_f1.
12661 * sysdeps/i386/fpu/libm-test-ulps: Update.
12662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12663
12664 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12665
12666 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
12667 __mpn_add_n for PowerPC64/POWER7.
12668 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
12669 __mpn_sub_n for PowerPC64/POWER7.
12670
12671 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
12672 __mpn_addmul_1 for PowerPC64.
12673 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
12674 __mpn_submul_1 for PowerPC64.
12675 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
12676 for PowerPC64.
12677 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
12678 for PowerPC64.
12679
12680 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
12681
12682 [BZ #15089]
12683 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
12684
12685 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12686
12687 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
12688
12689 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
12690 add multiarch folders.
12691 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
12692 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
12693 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
12694 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
12695 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
12696 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
12697 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
12698 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
12699 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
12700 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
12701 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
12702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
12703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
12704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
12705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
12706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
12707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
12708
12709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12710 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
12711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
12712 New file.
12713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
12714 New file.
12715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
12716 multiarch __ieee754_hypot for PowerPC32.
12717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
12718 New file.
12719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
12720 New file.
12721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
12722 multiarch __ieee754_hypotf for PowerPC32.
12723
12724 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
12725 long_double_symbol only if __logbl is defined.
12726 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
12727 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
12728 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
12729 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
12730 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
12731 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
12732 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
12733 path for implementation.
12734 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
12735 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
12736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
12737 logb, and logbl multiarch implementations for PowerPC32.
12738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
12739 file.
12740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
12741 file.
12742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
12743 multiarch logb for PowerPC32.
12744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
12745 file.
12746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
12747 file.
12748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
12749 multiarch logbf for PowerPC32.
12750 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
12751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
12752 file.
12753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
12754 multiarch logbl implementation for PowerPC32.
12755
12756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
12757 and modff multiarch implementations.
12758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
12759 New file.
12760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
12761 New file.
12762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
12763 multiarch modf for PowerPC32.
12764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
12765 New file.
12766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
12767 New file.
12768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
12769 multiarch modff for PowerPC32.
12770
12771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
12772 and lrintf multiarch implementations.
12773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
12774 New file.
12775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
12776 New file.
12777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
12778 multiarch lrint for PowerPC32.
12779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
12780 file: multiarch lrintf for PowerPC32.
12781
12782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
12783 and lroundf multiarch implementations.
12784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
12785 New file.
12786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
12787 New file.
12788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
12789 New file.
12790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
12791 multiarch lround for PowerPC32.
12792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
12793 file: multiarch lroundf for PowerPC32.
12794
12795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
12796 copysign and copysignf multiarch implementations.
12797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
12798 New file.
12799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
12800 New file.
12801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
12802 file: multiarch copysign for PowerPC32.
12803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
12804 file: multiarch copysignf for PowerPC32.
12805
12806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
12807 and truncf multiarch implementations.
12808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
12809 New file.
12810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
12811 file.
12812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
12813 multiarch trunc for PowerPC32.
12814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
12815 New file.
12816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
12817 New file.
12818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
12819 multiarch truncf for PowerPC32.
12820
12821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
12822 and roundf multiarch implementations.
12823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
12824 New file.
12825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
12826 file.
12827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
12828 multiarch round for PowerPC32.
12829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
12830 New file.
12831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
12832 New file.
12833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
12834 multiarch roundf for PowerPC32.
12835
12836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
12837 and floorf multiarch implementations.
12838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
12839 New file.
12840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
12841 file.
12842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
12843 multiarch floor for PowerPC32.
12844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
12845 New file.
12846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
12847 New file.
12848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
12849 multiarch floorf for PowerPC32.
12850
12851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
12852 and ceilf multiarch implementations.
12853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
12854 New file.
12855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
12856 file.
12857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
12858 multiarch ceil for PowerPC32.
12859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
12860 New file.
12861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
12862 file.
12863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
12864 multiarch ceilf for PowerPC32.
12865
12866 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
12867 is defined.
12868 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
12869 FINITEF is defined.
12870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
12871 and finitef multiarch implementations.
12872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12873 New file.
12874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
12875 file.
12876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
12877 multiarch finite for PowerPC32.
12878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
12879 New file.
12880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
12881 file: multiarch finitef for PowerPC32.
12882
12883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12884 and isinff multiarch implementations.
12885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12886 file.
12887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12888 file.
12889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12890 multiarch isinf for PowerPC32.
12891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12892 New file.
12893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12894 multiarch isinff for PowerPC32.
12895
12896 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12897 alias when __isnan is defined.
12898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12899 and isnanf multiarch implementations.
12900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12901 file.
12902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12903 file.
12904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12905 file.
12906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12907 file.
12908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12909 multiarch isnan for PowerPC32.
12910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12911 New file.
12912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12913 New file.
12914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12915 multiarch isnanf for PowerPC32.
12916
12917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12918 and sqrtf multiarch implementations.
12919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12920 file.
12921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12922 file.
12923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12924 multiarch sqrt for PowerPC32.
12925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12926 file.
12927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12928 file.
12929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12930 multiarch sqrtf for PowerPC32.
12931
12932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12933 and llroundf multiarch implementations.
12934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12935 New file.
12936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12937 New file.
12938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12939 New file.
12940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12941 file: multiarch llround for PowerPC32.
12942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12943 file: multiarch llroundf for PowerPC32.
12944
12945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12946 multiarch PowerPC32 fpu implementations.
12947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12948 New file.
12949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12950 New file.
12951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12952 multiarch llrint for PowerPC32.
12953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12954 New file.
12955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12956 New file.
12957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12958 file.
12959
12960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12961
12962 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12963 file.
12964 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12965 file.
12966 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12967 file.
12968 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12969 multiarch wordcopy for PPC32.
12970 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12971 wordcopy objects.
12972 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12973 (__libc_ifunc_impl_list): Likewise.
12974 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12975 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12976 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12977 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12978 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12979 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12980
12981 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12982 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12983 file.
12984 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12985 file.
12986 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12987 file.
12988 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12989 multiarch wcscpy for PPC32.
12990 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12991 multiarch objects.
12992 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12993 (__libc_ifunc_impl_list): Likewise.
12994 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12995 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12996 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12997 sysdeps/powerpc/power6/wcscpy.c.
12998
12999 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13000 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13001 file.
13002 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13003 file.
13004 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13005 file.
13006 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13007 multiarch wcsrchr for PPC32.
13008 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13009 multiarch objects.
13010 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13011 (__libc_ifunc_impl_list): Likewise.
13012 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13013 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13014 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13015 sysdeps/powerpc/power6/wcsrchr.c.
13016
13017 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13018 file.
13019 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13020 file.
13021 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13022 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13023 multiarch wcschr for PPc32.
13024 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13025 multiarch objects.
13026 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13027 (__libc_ifunc_impl_list): Likewise.
13028 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13029 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13030 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13031 sysdeps/powerpc/power6/wcschr.c.
13032
13033 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13034 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13035 file.
13036 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13037 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13038 file: multiarch strchr for PPC32.
13039 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13040 multiarch objects.
13041 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13042 (__libc_ifunc_impl_list): Likewise.
13043
13044 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13045 name.
13046 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13047 file.
13048 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13049 file.
13050 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13051 multiarch strchrnul for PPC32.
13052 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13053 multiarch objects.
13054 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13055 (__libc_ifunc_impl_list): Likewise.
13056
13057 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13058 file.
13059 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13060 multiarch strncasecmp for PPC32.
13061 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13062 file.
13063 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13064 multiarch strncasecmp_l for PPC32.
13065 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13066 strncasecmp multiarch objects.
13067 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13068 (__libc_ifunc_impl_list): Likewise.
13069
13070 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13071 file.
13072 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13073 multiarch strncasecmp for PPC32.
13074 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13075 New file.
13076 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13077 multiarch strcasecmp_l for PPC32.
13078 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13079 multiarch objects.
13080 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13081 (__libc_ifunc_impl_list): Likewise.
13082
13083 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13084 file.
13085 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13086 file.
13087 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13088 multiarch strncmp for PPC32.
13089 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13090 multiarch objects.
13091 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13092 (__libc_ifunc_impl_list): Likewise.
13093
13094 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13095 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13096 file.
13097 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13098 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13099 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13100 multiarch objects.
13101 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13102 (__libc_ifunc_impl_list): Likewise.
13103
13104 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13105 file.
13106 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13107 file.
13108 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13109 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13110 multiarch objects.
13111 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13112 (__libc_ifunc_impl_list): Likewise.
13113
13114 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13115 file.
13116 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13117 file.
13118 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13119 multiarch rawmemchr for PPC32.
13120 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13121 multiarch objects.
13122 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13123 (__libc_ifunc_impl_list): Likewise.
13124
13125 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13126 file.
13127 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13128 file.
13129 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13130 file: memrchr multiarch for PPC32.
13131 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13132 multiarch objects.
13133 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13134 (__libc_ifunc_impl_list): Likewise.
13135
13136 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13137 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13138 file.
13139 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13140 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13141 multiarch memchr for PPC32.
13142 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13143 multiarch objects.
13144 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13145 (__libc_ifunc_impl_list): Likewise.
13146
13147 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13148 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13149 file.
13150 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13151 file.
13152 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13153 file: multiarch mempcpy for PPC32.
13154 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13155 multiarch objects.
13156 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13157 (__libc_ifunc_impl_list): Likewise.
13158
13159 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13160 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13161 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13162 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13163 multiarch bzero for PPC32.
13164 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13165 file.
13166 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13167 file.
13168 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13169 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13170 file: multiarch memset for PPC32.
13171 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13172 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13173 memset multiarch objects.
13174 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13175 (__libc_ifunc_impl_list): Likewise.
13176
13177 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13178 file.
13179 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13180 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13181 memcmp for PPC32.
13182 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13183 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13184 multiarch objects.
13185 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13186 (__libc_ifunc_impl_list): Likewise.
13187
13188 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13189 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13190 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13191 file.
13192 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13193 file.
13194 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13195 file.
13196 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13197 multiarch memcpy for PPC32.
13198 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13199 multiarch objects.
13200 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13201 (__libc_ifunc_impl_list): Likewise.
13202
13203 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13204 support multiarch for POWER/PPC32.
13205 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13206 Likewise.
13207 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13209 Implies file to make multiarch folder appers before the fpu and
13210 default folder for power4 configuration.
13211
13212 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13213
13214 * scripts/bench.pl: Append volatile keyword to type.
13215
13216 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13217
13218 * sysdeps/sh/sotruss-lib.c: New file.
13219 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13220
13221 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13222
13223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13224
13225 2013-12-05 Joseph Myers <joseph@codesourcery.com>
13226
13227 [BZ #6810]
13228 * math/w_tgamma.c: Include <errno.h>.
13229 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13230 * math/w_tgammaf.c: Include <errno.h>.
13231 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13232 * math/w_tgammal.c: Include <errno.h>.
13233 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13234 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13235 underflow. Add more tgamma tests.
13236 * math/auto-libm-test-out: Regenerated.
13237 * sysdeps/i386/fpu/libm-test-ulps: Update.
13238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13239
13240 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13241 sin, sinh, tan, tanh, tgamma, y0 and y1.
13242 * math/auto-libm-test-out: Regenerated.
13243 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13244 (TEST_COND_x86): Likewise.
13245 (M_E2l): Remove macro.
13246 (M_E3l): Likewise.
13247 (M_2_SQRT_PIl): Likewise.
13248 (M_SQRT_PIl): Likewise.
13249 (M_1_DIV_El): Likewise.
13250 (log_test_data): Use AUTO_TESTS_f_f.
13251 (log10_test_data): Likewise.
13252 (log1p_test_data): Likewise.
13253 (log2_test_data): Likewise.
13254 (sin_test_data): Likewise.
13255 (sin_tonearest_test_data): Likewise.
13256 (sin_towardzero_test_data): Likewise.
13257 (sin_downward_test_data): Likewise.
13258 (sin_upward_test_data): Likewise.
13259 (sinh_test_data): Likewise.
13260 (sinh_tonearest_test_data): Likewise.
13261 (sinh_towardzero_test_data): Likewise.
13262 (sinh_downward_test_data): Likewise.
13263 (sinh_upward_test_data): Likewise.
13264 (tan_test_data): Likewise.
13265 (tan_tonearest_test_data): Likewise.
13266 (tan_towardzero_test_data): Likewise.
13267 (tan_downward_test_data): Likewise.
13268 (tan_upward_test_data): Likewise.
13269 (tanh_test_data): Likewise.
13270 (tgamma_test_data): Likewise.
13271 (y0_test_data): Likewise.
13272 (y1_test_data): Likewise.
13273 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13274 (special_real_inputs): Add pi/4.
13275 * sysdeps/i386/fpu/libm-test-ulps: Update.
13276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13277
13278 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13279
13280 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13281 "longjmp_target" static probes.
13282 (__longjmp): Rename to __longjmp_symbol.
13283 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13284 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13285 on which longjmp to generate.
13286 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13287 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13288 probe.
13289 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13290 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13291 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13292 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13293 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13294 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13296 __longjmp_symbol based on which __longjmp to generate.
13297 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13298 probe.
13299 (setjmp): Rename to setjmp_symbol.
13300 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13301 (_setjmp): Rename to _setjmp_symbol.
13302 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13303 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13304 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13305 which setjmp to generate.
13306 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13307 "longjmp_target" static probes.
13308
13309 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13310
13311 * benchtests/README: Add note about output arguments.
13312 * benchtests/bench-sincos.c: Remove file.
13313 * benchtests/sincos-inputs: New file.
13314 * scripts/bench.pl: Identify output arguments and define
13315 static variables for them.
13316
13317 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13318
13319 [BZ #15941]
13320 * Makefile (INSTALL): Add install-plain.texi as the primary
13321 dependency.
13322 * manual/install-plain.texi: New file.
13323 * manual/install.texi: Include node directive only for
13324 non-plaintext output.
13325
13326 2013-12-04 Joseph Myers <joseph@codesourcery.com>
13327
13328 * stdlib/longlong.h: Update from GCC.
13329
13330 [BZ #6807]
13331 [BZ #15901]
13332 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13333 * math/w_j0f.c (y0f): Likewise.
13334 * math/w_j0l.c (__y0l): Likewise.
13335 * math/w_j1.c (y1): Likewise.
13336 * math/w_j1f.c (y1f): Likewise.
13337 * math/w_j1l.c (__y1l): Likewise
13338 * math/w_jn.c (yn): Likewise.
13339 * math/w_jnf.c (ynf): Likewise.
13340 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13341 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13342 value for Bessel function domain errors outside _SVID_ mode.
13343 Adjust sign of return value for yn (negative integer, 0).
13344 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13345 by zero in return for negative x and set sign appropriately for
13346 negative n.
13347 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13348 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13349 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13350 expectations in error cases.
13351 (y1_test_data): Likewise.
13352 (yn_test_data): Likewise.
13353 * sysdeps/i386/fpu/libm-test-ulps: Update.
13354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13355
13356 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13357
13358 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13359 "64" to "64-v1". Add "64-v2".
13360 (abi-64-options): Rename to ...
13361 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13362 (abi-64-condition): Rename to ...
13363 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13364 (abi-64-ld-soname): Rename to ...
13365 (abi-64-v1-ld-soname): ... this.
13366 (abi-64-v2-options): Define.
13367 (abi-64-v2-condition): Likewise.
13368 (abi-64-v2-ld-soname): Likewise.
13369 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13370 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13374
13375 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13376 Alan Modra <amodra@gmail.com>
13377
13378 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13379 New versions for use with the ELFv2 ABI.
13380 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13381 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13382 declaration.
13383 (struct La_ppc64v2_retval): Likewise.
13384 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13385 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13386 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13387 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13388 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13389 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13390 Do not save or restore CR.
13391 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13392 (_dl_profile_resolve): Do no save or restore CR. Support extended
13393 return values for ELFv2 ABI. Fix location of FPR return registers.
13394 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13395 updated values for _CALL_ELF == 2.
13396 (La_regs, La_retval, int_retval): Likewise.
13397
13398 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13399
13400 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13401 (FRAME_MIN_SIZE_PARM): Likewise.
13402 (FRAME_BACKCHAIN): Likewise.
13403 (FRAME_CR_SAVE): Likewise.
13404 (FRAME_LR_SAVE): Likewise.
13405 (FRAME_TOC_SAVE): Likewise.
13406 (FRAME_PARM_SAVE): Likewise.
13407 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13408 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13409 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13410 (call_mcount_parm_offset): New macro.
13411 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13412 (PROF): Use symbolic stack frame offsets.
13413 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13414 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13415 Redefine in terms of FRAME_MIN_SIZE.
13416 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13417 (_dl_profile_resolve): Likewise. Update comment.
13418 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13419 symbols stack frame offsets.
13420 (__sigsetjmp): Likewise.
13421 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13422 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13423 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13424 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13425
13426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13427 (FRAME_BACKCHAIN): Remove.
13428 (FRAME_CR_SAVE): Likewise.
13429 (FRAME_LR_SAVE): Likewise.
13430 (FRAME_COMPILER_DW): Likewise.
13431 (FRAME_LINKER_DW): Likewise.
13432 (FRAME_TOC_SAVE): Likewise.
13433 (FRAME_PARM_SAVE): Likewise.
13434 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13435 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13436 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13438 (CHECK_SP): Use symbolic stack frame offsets.
13439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13440 zone" instead of caller's parameter save area for temp storage.
13441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13442 Likewise. Also, use symbolic stack frame offsets.
13443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13444 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13445 our own stack frame instead of the caller's.
13446 (__socket): Use symbolic stack frame offsets.
13447
13448 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13449 Alan Modra <amodra@gmail.com>
13450
13451 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13452 Define.
13453 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13454 (PPC64_LOCAL_ENTRY_OFFSET): Define.
13455 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13456 New function.
13457 (elf_machine_fixup_plt): Call it.
13458 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13459 reloc arguments.
13460 (elf_machine_rela): Update call to elf_machine_plt_conflict.
13461 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13462 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13463 r2 before calling target.
13464
13465 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13466 Alan Modra <amodra@gmail.com>
13467
13468 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13469 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13470 versions of macros to support ELFv2 ABI.
13471 (LOCALENTRY): New macro.
13472 (ENTRY, EALIGN): Use it.
13473 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13474 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13475 fall through into ENTRY entry point.
13476 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13477 Only define if _CALL_ELF != 2.
13478
13479 (elf_machine_matches_host): Verify ABI version matches.
13480 (RTLD_START): Use LOCALENTRY.
13481 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13482 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13483 (PLT_ENTRY_WORDS): New macro.
13484 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13485 (elf_machine_runtime_setup): Support ELFv2 ABI.
13486 (elf_machine_fixup_plt): Likewise.
13487 (elf_machine_plt_conflict): Likewise.
13488 (resolve_ifunc): Likewise.
13489 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13490 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13491 Likewise.
13492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13493 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13495 (makecontext): Support ELFv2 ABI.
13496 * elf/elf.h (EF_PPC64_ABI): Define.
13497
13498 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13499
13500 * sysdeps/powerpc/powerpc64/sysdep.h
13501 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13502 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13503 (ENTRY) [ASSEMBLER]: ... but instead here ...
13504 (EALIGN) [ASSEMBLER]: ... and here.
13505 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13506 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13507 (ENTRY_2) [!ASSEMBLER]: Use it.
13508 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13509 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
13510 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13511 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13512 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13514 Use PPC64_LOAD_FUNCPTR.
13515
13516 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13517
13518 2013-12-04 Alan Modra <amodra@gmail.com>
13519
13520 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13521 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13522 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13523 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13524
13525 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13526 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13527 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13528 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13529 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13530 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13531
13532 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13533
13534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13535 (__makecontext): Fix incorrect CFI when backtracing out of
13536 context created via makecontext.
13537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13538 (__setcontext): Fix incorrect CFI during switch to new context.
13539 (__novec_setcontext): Likewise.
13540
13541 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13542
13543 [BZ #4772]
13544 * time/strptime_l.c (__strptime_internal): Allow modifiers
13545 in strptime.
13546 * time/tst-strptime.c (day_tests): Add testcase.
13547
13548 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13549
13550 * scripts/bench.pl: Skip over blank lines.
13551
13552 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
13553
13554 [BZ #926]
13555 * manual/time.texi (Calendar Time): Clarify what timezone functions
13556 use.
13557
13558 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13559
13560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13561
13562 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
13563
13564 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13565 implementation.
13566 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13567 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13568 * debug/memset_chk.c (__memset_chk): Likewise.
13569 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13570 * debug/strncpy_chk.c: Likewise.
13571
13572 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13573
13574 [BZ #15268]
13575 [BZ #15425]
13576 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13577 (__ieee754_exp): For possibly underflowing results, check size of
13578 result and force underflow exception if required.
13579 * math/auto-libm-test-in: Add more tests of exp.
13580 * math/auto-libm-test-out: Regenerated.
13581 * sysdeps/i386/fpu/libm-test-ulps: Update.
13582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13583
13584 [BZ #16283]
13585 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13586 * math/w_exp2f.c (__exp2f): Likewise.
13587 * math/w_exp2l.c (__exp2l): Likewise.
13588 * math/auto-libm-test-in: Do not allow missing errno on exp2
13589 underflow.
13590 * math/auto-libm-test-out: Regenerated.
13591
13592 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
13593
13594 [BZ #16274]
13595 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13596 handle filename validation.
13597 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13598 (do_open): Delete.
13599
13600 2013-12-03 Joseph Myers <joseph@codesourcery.com>
13601
13602 [BZ #6786]
13603 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13604 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13605 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13606 <float.h>.
13607 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13608 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13609 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13610 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13611 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13612 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13613 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13614 * math/auto-libm-test-in: Don't allow missing errno from erfc.
13615 Add more erfc tests.
13616 * math/auto-libm-test-out: Regenerated.
13617 * sysdeps/i386/fpu/libm-test-ulps: Update.
13618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13619
13620 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13621 exp2, expm1, j0 and j1.
13622 * math/auto-libm-test-out: Regenerated.
13623 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13624 (erfc_test_data): Likewise.
13625 (exp_test_data): Likewise.
13626 (exp_tonearest_test_data): Likewise.
13627 (exp_towardzero_test_data): Likewise.
13628 (exp_downward_test_data): Likewise.
13629 (exp_upward_test_data): Likewise.
13630 (exp10_test_data): Likewise.
13631 (exp2_test_data): Likewise.
13632 (expm1_test_data): Likewise.
13633 (j0_test_data): Likewise.
13634 (j1_test_data): Likewise.
13635 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13636 (input_flag_type): Add flag_xfail_rounding.
13637 (input_flags): Add xfail-rounding.
13638 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13639 (output_for_one_input_case): Handle flag_xfail_rounding.
13640 * sysdeps/i386/fpu/libm-test-ulps: Update.
13641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13642
13643 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
13644
13645 [BZ #16289]
13646 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
13647 division by 0.
13648
13649 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13650
13651 [BZ #16195]
13652 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
13653 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
13654 (STAP_PROBE0): New macro.
13655 (STAP_PROBE1): Likewise.
13656 (STAP_PROBE2): Likewise.
13657 (STAP_PROBE3): Likewise.
13658 (STAP_PROBE4): Likewise.
13659
13660 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
13661
13662 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
13663
13664 2013-12-02 Steve Ellcey <sellcey@mips.com>
13665
13666 * benchtests/Makefile (bench): Add sqrt.
13667 (LDLIBS-bench-sqrt): New.
13668 * benchtests/sqrt-input: New.
13669
13670 2013-12-02 Pavel Simerda <psimerda@redhat.com>
13671
13672 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
13673 (GAIH_EAI): Likewise.
13674 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
13675 (gaih_inet): Likewise.
13676 (getaddrinfo): Don't use GAIH_EAI.
13677
13678 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
13679 (struct gaih): Remove definition.
13680
13681 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13682
13683 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
13684 Use HERRNOP directly.
13685
13686 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13687
13688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13689
13690 2013-11-30 Joseph Myers <joseph@codesourcery.com>
13691
13692 * math/gen-auto-libm-tests.c (test_functions): Add more
13693 single-argument functions.
13694 (special_fill_pi_2): New function.
13695 (special_fill_minus_pi_2): Likewise.
13696 (special_fill_pi_6): Likewise.
13697 (special_fill_minus_pi_6): Likewise.
13698 (special_fill_pi_3): Likewise.
13699 (special_fill_2pi_3): Likewise.
13700 (special_fill_e): Likewise.
13701 (special_fill_1_e): Likewise.
13702 (special_fill_e_minus_1): Likewise.
13703 (special_real_inputs): Add more special inputs.
13704 (output_for_one_input_case): Do not require ERANGE on underflow to
13705 zero if round-to-nearest result does not underflow to zero, unless
13706 exact results required.
13707 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
13708 atan, atanh, cbrt, cos and cosh.
13709 * math/auto-libm-test-out: Regenerated.
13710 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
13711 (acos_tonearest_test_data): Likewise.
13712 (acos_towardzero_test_data): Likewise.
13713 (acos_downward_test_data): Likewise.
13714 (acos_upward_test_data): Likewise.
13715 (acosh_test_data): Likewise.
13716 (asin_test_data): Likewise.
13717 (asin_tonearest_test_data): Likewise.
13718 (asin_towardzero_test_data): Likewise.
13719 (asin_upward_test_data): Likewise.
13720 (asinh_test_data): Likewise.
13721 (atan_test_data): Likewise.
13722 (atanh_test_data): Likewise.
13723 (cbrt_test_data): Likewise.
13724 (cos_test_data): Likewise.
13725 (cos_tonearest_test_data): Likewise.
13726 (cos_towardzero_test_data): Likewise.
13727 (cos_downward_test_data): Likewise.
13728 (cos_upward_test_data): Likewise.
13729 (cosh_test_data): Likewise.
13730 (cosh_tonearest_test_data): Likewise.
13731 (cosh_towardzero_test_data): Likewise.
13732 (cosh_downward_test_data): Likewise.
13733 (cosh_upward_test_data): Likewise.
13734 * sysdeps/i386/fpu/libm-test-ulps: Update.
13735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13736
13737 2013-11-29 Joseph Myers <joseph@codesourcery.com>
13738
13739 [BZ #6787]
13740 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
13741 * math/w_exp10f.c (__exp10f): Likewise.
13742 * math/w_exp10l.c (__exp10l): Likewise.
13743 * math/libm-test.inc (exp10_test_data): Add more tests and expect
13744 errno settings in existing tests.
13745
13746 [BZ #14032]
13747 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
13748 precision control set to double precision.
13749 * sysdeps/i386/fpu/w_sqrt.c: New file.
13750 * math/auto-libm-test-in: Add more tests.
13751 * math/auto-libm-test-out: Update.
13752
13753 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
13754 (sqrt_test_tonearest): New function.
13755 (sqrt_towardzero_test_data): New variable.
13756 (sqrt_test_towardzero): New function.
13757 (sqrt_downward_test_data): New variable.
13758 (sqrt_test_downward): New function.
13759 (sqrt_upward_test_data): New variable.
13760 (sqrt_test_upward): New function.
13761 (main): Call the new functions.
13762
13763 * math/gen-auto-libm-tests.c: New file.
13764 * math/auto-libm-test-in: Likewise.
13765 * math/auto-libm-test-out: New generated file.
13766 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
13767 variables.
13768 (%beautify): Add generated representations of zero.
13769 (top level): Set $auto_input and call parse_auto_input.
13770 (beautify): Remove trailing "f" from hex float constants.
13771 (parse_args): Handle XFAIL_TEST.
13772 (convert_condition): New function.
13773 (or_value): Likewise.
13774 (or_cond_value): Likewise.
13775 (generate_testfile): Handle AUTO_TESTS_* lines.
13776 (parse_auto_input): New function.
13777 * math/libm-test.inc (XFAIL_TEST): New macro.
13778 (ERRNO_UNCHANGED): Update value.
13779 (ERRNO_EDOM): Likewise.
13780 (ERRNO_ERANGE): Likewise.
13781 (IGNORE_RESULT): Likewise.
13782 (TEST_COND_flt_32): New macro.
13783 (TEST_COND_dbl_64): Likewise.
13784 (TEST_COND_ldbl_96_intel): Likewise.
13785 (TEST_COND_ldbl_96_m68k): Likewise.
13786 (TEST_COND_ldbl_128): Likewise.
13787 (TEST_COND_ldbl_128ibm): Likewise.
13788 (TEST_COND_long32): Likewise.
13789 (TEST_COND_long64): Likewise.
13790 (TEST_COND_before_rounding): Likewise.
13791 (TEST_COND_after_rounding): Likewise.
13792 (enable_test): Handle XFAIL_TEST flag.
13793 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
13794 with finite results.
13795 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
13796 auto-libm-test-out.
13797
13798 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13799 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13800
13801 [BZ #16214]
13802 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
13803 __tls_get_addr_internal instead of __tls_get_offset in order to
13804 avoid GOT pointer dependency. Make rtld export
13805 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
13806 __tls_get_addr since we are a __tls_get_offset platform.
13807 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
13808 GOT pointer being set up before.
13809 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
13810
13811 2013-11-28 Joseph Myers <joseph@codesourcery.com>
13812
13813 * manual/math.texi (Errors in Math Functions): Document accuracy
13814 goals.
13815
13816 [BZ #15004]
13817 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
13818 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
13819 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13820 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13821 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13822 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13823 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13824 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
13825 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
13826 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13827 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13828 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13829 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13830 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13831 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
13832 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
13833
13834 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
13835 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
13836 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
13837 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
13838 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
13839 Likewise.
13840 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
13841 Likewise.
13842 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
13843 Likewise.
13844 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
13845 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13846 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
13847 atomic-feupdateenv and flt-rounds.
13848 * sysdeps/powerpc/nofpu/Versions (libc): Add
13849 __atomic_feholdexcept, __atomic_feclearexcept,
13850 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
13851 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
13852 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
13853 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
13854 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
13855 here.
13856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13857 Update.
13858
13859 * manual/arith.texi (FP Exceptions): Document that exceptions may
13860 not be raised when matherr is used.
13861 (Math Error Reporting): Document overflow in directed rounding
13862 modes. Document that errno may not be set when finite values are
13863 returned on overflow. Document intent to set errno on underflow
13864 only for underflow to zero.
13865
13866 [BZ #16271]
13867 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
13868 round-to-nearest then adjust result for other rounding modes.
13869 * include/fenv.h (fegetround): Use libm_hidden_proto.
13870 * math/fegetround.c (fegetround): Use libm_hidden_def.
13871 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
13872 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
13873 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13874 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13875 Likewise.
13876 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
13877 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13878 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
13879 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
13880
13881 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13882
13883 [BZ #16077]
13884 * nss/Versions (libnss_files): Add
13885 _nss_files_gethostbyname3_r.
13886 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13887 New function.
13888 (HOST_DB_LOOKUP): Remove macro.
13889 (_nss_files_gethostbyname_r): Implement function without the
13890 HOST_DB_LOOKUP macro.
13891 (_nss_files_gethostbyname2_r): Likewise.
13892
13893 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
13894
13895 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13896
13897 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
13898
13899 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13900 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13901 warning.
13902
13903 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13904
13905 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13906 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13907 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13908 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13909 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13910 __fe_nomask_env_priv and attribute_hidden.
13911 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13912 (libc_feupdateenv_test_ppc): Likewise.
13913 (libc_feresetround_ppc): Likewise.
13914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13915 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13916 compat_symbol macro.
13917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13918 (__fe_nomask_env): Likewise.
13919 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13920
13921 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13922
13923 * string/Makefile: Remove ifunc tests.
13924 * string/test-string.h: Define TEST_IFUNC.
13925 * string/test-bcopy-ifunc.c: Remove.
13926 * string/test-bzero-ifunc.c: Likewise.
13927 * string/test-memccpy-ifunc.c: Likewise.
13928 * string/test-memchr-ifunc.c: Likewise.
13929 * string/test-memcmp-ifunc.c: Likewise.
13930 * string/test-memcpy-ifunc.c: Likewise.
13931 * string/test-memmem-ifunc.c: Likewise.
13932 * string/test-memmove-ifunc.c: Likewise.
13933 * string/test-mempcpy-ifunc.c: Likewise.
13934 * string/test-memrchr-ifunc.c: Likewise.
13935 * string/test-memset-ifunc.c: Likewise.
13936 * string/test-rawmemchr-ifunc.c: Likewise.
13937 * string/test-stpcpy-ifunc.c: Likewise.
13938 * string/test-stpncpy-ifunc.c: Likewise.
13939 * string/test-strcasecmp-ifunc.c: Likewise.
13940 * string/test-strcasestr-ifunc.c: Likewise.
13941 * string/test-strcat-ifunc.c: Likewise.
13942 * string/test-strchr-ifunc.c: Likewise.
13943 * string/test-strchrnul-ifunc.c: Likewise.
13944 * string/test-strcmp-ifunc.c: Likewise.
13945 * string/test-strcpy-ifunc.c: Likewise.
13946 * string/test-strcspn-ifunc.c: Likewise.
13947 * string/test-strlen-ifunc.c: Likewise.
13948 * string/test-strncasecmp-ifunc.c: Likewise.
13949 * string/test-strncat-ifunc.c: Likewise.
13950 * string/test-strncmp-ifunc.c: Likewise.
13951 * string/test-strncpy-ifunc.c: Likewise.
13952 * string/test-strnlen-ifunc.c: Likewise.
13953 * string/test-strpbrk-ifunc.c: Likewise.
13954 * string/test-strrchr-ifunc.c: Likewise.
13955 * string/test-strspn-ifunc.c: Likewise.
13956 * string/test-strstr-ifunc.c: Likewise.
13957
13958 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13959
13960 * benchtests/Makefile: Remove ifunc tests.
13961 * benchtests/bench-string.h: Define TEST_IFUNC.
13962 * benchtests/bench-bcopy-ifunc.c: Remove.
13963 * benchtests/bench-bzero-ifunc.c: Likewise.
13964 * benchtests/bench-memccpy-ifunc.c: Likewise.
13965 * benchtests/bench-memchr-ifunc.c: Likewise.
13966 * benchtests/bench-memcmp-ifunc.c: Likewise.
13967 * benchtests/bench-memcpy-ifunc.c: Likewise.
13968 * benchtests/bench-memmem-ifunc.c: Likewise.
13969 * benchtests/bench-memmove-ifunc.c: Likewise.
13970 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13971 * benchtests/bench-memrchr-ifunc.c: Likewise.
13972 * benchtests/bench-memset-ifunc.c: Likewise.
13973 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13974 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13975 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13976 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13977 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13978 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13979 * benchtests/bench-strcat-ifunc.c: Likewise.
13980 * benchtests/bench-strchr-ifunc.c: Likewise.
13981 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13982 * benchtests/bench-strcmp-ifunc.c: Likewise.
13983 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13984 * benchtests/bench-strcpy-ifunc.c: Likewise.
13985 * benchtests/bench-strcspn-ifunc.c: Likewise.
13986 * benchtests/bench-strlen-ifunc.c: Likewise.
13987 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13988 * benchtests/bench-strncat-ifunc.c: Likewise.
13989 * benchtests/bench-strncmp-ifunc.c: Likewise.
13990 * benchtests/bench-strncpy-ifunc.c: Likewise.
13991 * benchtests/bench-strnlen-ifunc.c: Likewise.
13992 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13993 * benchtests/bench-strrchr-ifunc.c: Likewise.
13994 * benchtests/bench-strsep-ifunc.c: Likewise.
13995 * benchtests/bench-strspn-ifunc.c: Likewise.
13996 * benchtests/bench-strstr-ifunc.c: Likewise.
13997
13998 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13999
14000 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14001
14002 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
14003
14004 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14005 * rt/aio.h: Likewise.
14006 * sysdeps/gnu/bits/utmp.h: Likewise.
14007 * sysdeps/gnu/bits/utmpx.h: Likewise.
14008 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14009 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14010 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14011 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14012 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14013 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14014 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14015 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14016 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14017 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14018 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14019 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14020 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14022 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14023 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14024 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14025 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14026 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14027 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14028 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14029 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14030 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14031 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14032 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14033 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14034 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14035 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14036 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14037 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14038 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14039 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14040 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14041 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14042 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14043 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14044 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14045 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14046 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14047 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14048 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14049 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14050
14051 2013-11-25 Carlos O'Donell <carlos@redhat.com>
14052
14053 [BZ #16245]
14054 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14055 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14056
14057 2013-11-25 Joseph Myers <joseph@codesourcery.com>
14058
14059 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14060 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14061 Likewise.
14062
14063 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14064
14065 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14066 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14067 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14068 (__fesetround): Remove define.
14069 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14070 rounding and exceptions handling.
14071 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14072 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14073 (__fe_nomask_env): Likewise.
14074 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14075 __fegetround instead of fegetround.
14076 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14077 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14078
14079 2013-11-21 Roland McGrath <roland@hack.frob.com>
14080
14081 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14082 it's there.
14083
14084 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14085
14086 2013-11-21 Meador Inge <meadori@codesourcery.com>
14087
14088 [BZ #11157]
14089 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14090 (encrypt_r): Likewise.
14091 * malloc/obstack.h (obstack_free): Likewise.
14092 * posix/unistd.h (encrypt): Likewise.
14093
14094 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14095
14096 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14097 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14098 DL_CALL_DT_FINI() that call the functions directly.
14099 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14100 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14101 * elf/dl-fini.c: Likewise.
14102
14103 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
14104
14105 * malloc/hooks.c (memalign_check): Add alignment rounding.
14106 * malloc/malloc.c (_mid_memalign): New function.
14107 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14108 Implement by calling _mid_memalign.
14109 * manual/probes.texi (Memory Allocation Probes): Remove
14110 memory_valloc_retry and memory_pvalloc_retry.
14111
14112 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14113
14114 * locale/programs/locarchive.c (open_archive): Add const
14115 qualifier to ARCHIVEFNAME and copy default fname to
14116 DEFAULT_FNAME.
14117
14118 [BZ #15601]
14119 * libio/tst-widetext.input: Rename Oriya to Odia.
14120 * locale/iso-639.def: Likewise.
14121
14122 * manual/probes.texi (Mathematical Function Probes): Add
14123 documentation for sin, cos, asin and acos probes.
14124 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14125 (__sin32): Add slowasin probe.
14126 (__cos32): Add slowacos probe.
14127 (__mpsin): Add slowsin probe.
14128 (__mpcos): Add slowcos probe.
14129
14130 2013-11-19 Joseph Myers <joseph@codesourcery.com>
14131
14132 [BZ #15483]
14133 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14134 thread-local __sim_exceptions_thread and global
14135 __sim_exceptions_global.
14136 (__sim_disabled_exceptions): Change to thread-local
14137 __sim_disabled_exceptions_thread and global
14138 __sim_disabled_exceptions_global.
14139 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14140 and global __sim_round_mode_global.
14141 (__simulate_exceptions): Use thread-local floating-point state and
14142 set global state from it as needed.
14143 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14144 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14145 __sim_round_mode_thread.
14146 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14147 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14148 and global __sim_exceptions_global.
14149 (__sim_disabled_exceptions): Change to thread-local
14150 __sim_disabled_exceptions_thread and global
14151 __sim_disabled_exceptions_global.
14152 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14153 and global __sim_round_mode_global.
14154 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14155 (SIM_SET_GLOBAL): Likewise.
14156 * sysdeps/powerpc/soft-fp/sfp-machine.h
14157 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14158 __sim_round_mode_thread.
14159 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14160 __sim_disabled_exceptions_thread.
14161 (__sim_exceptions): Change to __sim_exceptions_thread.
14162 (__sim_disabled_exceptions): Change to
14163 __sim_disabled_exceptions_thread.
14164 (__sim_round_mode): Change to __sim_round_mode_thread.
14165 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14166 thread-local floating-point state and set global state from it as
14167 needed.
14168 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14169 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14170 (__sim_disabled_exceptions): Remove extern declaration.
14171 (feenableexcept): Use thread-local floating-point state and set
14172 global state from it as needed.
14173 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14174 extern declaration.
14175 (__sim_disabled_exceptions): Likewise.
14176 (__sim_round_mode): Likewise.
14177 (__fegetenv): Use thread-local floating-point state.
14178 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14179 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14180 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14181 floating-point state and set global state from it as needed.
14182 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14183 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14184 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14185 Likewise.
14186 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14187 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14188 Likewise.
14189 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14190 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14191 Use __sim_round_mode_thread.
14192 * math/test-fenv-tls.c: New file.
14193 * math/Makefile (tests): Add test-fenv-tls.
14194 ($(objpfx)test-fenv-tls): Depend on
14195 $(common-objpfx)nptl/libpthread.so.
14196
14197 2013-11-19 Andreas Schwab <schwab@suse.de>
14198
14199 * locale/programs/locale.c (show_info): Decode wordarray elements.
14200 * locale/categories.def (LC_MONETARY): Add element for
14201 _NL_MONETARY_CRNCYSTR.
14202 * locale/C-monetary.c (conversion_rate): New variable.
14203 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14204 element.
14205
14206 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14207
14208 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14209 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14210
14211 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14212
14213 * elf/Makefile (tst-auxv): New test.
14214 * elf/tst-auxv.c: New
14215 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14216
14217 2013-11-18 Joseph Myers <joseph@codesourcery.com>
14218
14219 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14220 (hidden_proto): Caller changed.
14221 (hidden_tls_proto): New macro.
14222 (libc_hidden_tls_proto): Likewise.
14223 (rtld_hidden_tls_proto): Likewise.
14224 (libm_hidden_tls_proto): Likewise.
14225 (libresolv_hidden_tls_proto): Likewise.
14226 (librt_hidden_tls_proto): Likewise.
14227 (libdl_hidden_tls_proto): Likewise.
14228 (libnss_files_hidden_tls_proto): Likewise.
14229 (libnsl_hidden_tls_proto): Likewise.
14230 (libnss_nisplus_hidden_tls_proto): Likewise.
14231 (libutil_hidden_tls_proto): Likewise.
14232
14233 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
14234
14235 [BZ #10253]
14236 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14237 (decompose_rpath): Defer expansion to fillin_rpath.
14238 (_dl_init_paths): Pass linkmap to fillin_rpath.
14239
14240 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14241
14242 * benchtests/Makefile: Add strsep.
14243 * benchtests/bench-strsep.c: New file: strsep benchtest.
14244 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14245
14246 2013-11-18 Andreas Schwab <schwab@suse.de>
14247
14248 * locale/programs/locale.c (show_info) [case byte]: Check for
14249 '\377' instead of '\177'.
14250 * locale/C-monetary.c (not_available): Always use "\377".
14251 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14252 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14253 detect unavailable sign_posn locale elements.
14254 * locale/localeconv.c (__localeconv): For grouping and
14255 mon_grouping handle "\177" and "\377" like no grouping.
14256 (INT_ELEM): New macro. Use it to set all numeric members.
14257 * locale/programs/ld-monetary.c (monetary_read)
14258 <tok_mon_grouping>: Normalize single -1 to the empty string.
14259 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14260 Likewise.
14261
14262 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14263
14264 [BZ #16055]
14265 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14266 when we match (nil).
14267 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14268
14269 2013-11-16 Joseph Myers <joseph@codesourcery.com>
14270
14271 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14272 (NO_TEST_INLINE): Update value.
14273 (ERRNO_UNCHANGED): Likewise.
14274 (ERRNO_EDOM): Likewise.
14275 (ERRNO_ERANGE): Likewise.
14276 (IGNORE_RESULT): Likewise.
14277 (check_float_internal): Check signs of NaN results if
14278 TEST_NAN_SIGN used.
14279 (check_complex): Pass TEST_NAN_SIGN flag through to second
14280 check_float_internal call.
14281 (copysign_test_data): Add tests with quiet NaNs as second
14282 argument. Use TEST_NAN_SIGN.
14283 (fabs_test_data): Add test of negative quiet NaN argument. Use
14284 TEST_NAN_SIGN.
14285 (signbit_test_data): Add tests of quiet NaN argument.
14286 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14287
14288 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14289 $ignore_result.
14290 (parse_args): Handle function results specified as IGNORE.
14291 * math/libm-test.inc (IGNORE_RESULT): New macro.
14292 (check_float_internal): Do not check numerical result if flag
14293 IGNORE_RESULT set.
14294 (check_complex): Pass through IGNORE_RESULT to second
14295 check_float_internal call.
14296 (check_int): Do not check numerical result if flag IGNORE_RESULT
14297 set.
14298 (check_long): Likewise.
14299 (check_bool): Likewise.
14300 (check_longlong): Likewise.
14301 (lrint_test_data): Add tests of infinite and NaN arguments.
14302 (lrint_tonearest_test_data): Likewise.
14303 (lrint_towardzero_test_data): Likewise.
14304 (lrint_downward_test_data): Likewise.
14305 (lrint_upward_test_data): Likewise.
14306 (llrint_test_data): Likewise.
14307 (llrint_tonearest_test_data): Likewise.
14308 (llrint_towardzero_test_data): Likewise.
14309 (llrint_downward_test_data): Likewise.
14310 (llrint_upward_test_data): Likewise.
14311 (lround_test_data): Likewise.
14312 (llround_test_data): Likewise.
14313
14314 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14315 (ERRNO_UNCHANGED): Update value.
14316 (ERRNO_EDOM): Likewise.
14317 (ERRNO_ERANGE): Likewise.
14318 (NO_TEST_INLINE_FLOAT): New macro.
14319 (NO_TEST_INLINE_DOUBLE): Likewise.
14320 (enable_test): New function.
14321 (RUN_TEST_f_f): Check enable_test before running test.
14322 (RUN_TEST_2_f): Likewise.
14323 (RUN_TEST_fff_f): Likewise.
14324 (RUN_TEST_c_f): Likewise.
14325 (RUN_TEST_f_f1): Likewise.
14326 (RUN_TEST_fF_f1): Likewise.
14327 (RUN_TEST_fI_f1): Likewise.
14328 (RUN_TEST_ffI_f1): Likewise.
14329 (RUN_TEST_c_c): Likewise.
14330 (RUN_TEST_cc_c): Likewise.
14331 (RUN_TEST_f_i): Likewise.
14332 (RUN_TEST_f_i_tg): Likewise.
14333 (RUN_TEST_ff_i_tg): Likewise.
14334 (RUN_TEST_f_b): Likewise.
14335 (RUN_TEST_f_b_tg): Likewise.
14336 (RUN_TEST_f_l): Likewise.
14337 (RUN_TEST_f_L): Likewise.
14338 (RUN_TEST_fFF_11): Likewise.
14339 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14340 conditionals.
14341 (cosh_test_data): Likewise.
14342 (exp_test_data): Likewise.
14343 (expm1_test_data): Likewise.
14344 (hypot_test_data): Likewise.
14345 (pow_test_data): Likewise.
14346 (sinh_test_data): Likewise.
14347 (tanh_test_data): Likewise.
14348 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14349 flags argument.
14350
14351 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14352 tests with quiet NaN input and output.
14353 (acosh_test_data): Likewise.
14354 (asin_test_data): Likewise.
14355 (asinh_test_data): Likewise.
14356 (atan_test_data): Likewise.
14357 (atanh_test_data): Likewise.
14358 (atan2_test_data): Likewise.
14359 (cbrt_test_data): Likewise.
14360 (cos_test_data): Likewise.
14361 (cosh_test_data): Likewise.
14362 (erf_test_data): Likewise.
14363 (erfc_test_data): Likewise.
14364 (exp_test_data): Likewise.
14365 (exp10_test_data): Likewise.
14366 (exp2_test_data): Likewise.
14367 (expm1_test_data): Likewise.
14368 (hypot_test_data): Likewise.
14369 (j0_test_data): Likewise.
14370 (j1_test_data): Likewise.
14371 (jn_test_data): Likewise.
14372 (lgamma_test_data): Likewise.
14373 (log_test_data): Likewise.
14374 (log10_test_data): Likewise.
14375 (log1p_test_data): Likewise.
14376 (log2_test_data): Likewise.
14377 (pow_test_data): Likewise.
14378 (scalb_test_data): Likewise.
14379 (sin_test_data): Likewise.
14380 (sincos_test_data): Likewise.
14381 (sinh_test_data): Likewise.
14382 (tan_test_data): Likewise.
14383 (tanh_test_data): Likewise.
14384 (tgamma_test_data): Likewise.
14385 (y0_test_data): Likewise.
14386 (y1_test_data): Likewise.
14387 (yn_test_data): Likewise.
14388
14389 [BZ #16167]
14390 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14391 argument being NaN and avoid computations with second argument in
14392 that case.
14393 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14394 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14395 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14396
14397 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14398
14399 * locale/iso-639.def: Add Chitwani Tharu (the).
14400
14401 2013-11-14 Andreas Schwab <schwab@suse.de>
14402
14403 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14404 word instead of empty string.
14405
14406 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14407
14408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14409 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14411 (__fe_nomask_env): Likewise.
14412
14413 2013-11-13 Steve Ellcey <sellcey@mips.com>
14414
14415 * benchtests/bench-timing.h: Include time.h.
14416
14417 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14418
14419 [BZ #15997]
14420 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14421 to 3.4.0 for x32.
14422 * sysdeps/unix/sysv/linux/configure: Regenerated.
14423
14424 2013-11-13 Joseph Myers <joseph@codesourcery.com>
14425
14426 [BZ #16151]
14427 * stdlib/strtod_l.c (round_and_return): Do not consider
14428 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14429 exponent one less than half the least subnormal exponent.
14430 * stdlib/test-strtod-round-data: Add more tests.
14431 * stdlib/tst-strtod-round.c (tests): Regenerated.
14432
14433 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14434
14435 [BZ #14143]
14436 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14437 (__fe_mask_env): Likewise.
14438 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14439 libm_hidden_proto and add function prototype.
14440 (__fe_mask_env): Add function prototype.
14441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14442 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14444 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14446 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14447
14448 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14449
14450 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14451 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14452
14453 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14454
14455 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14456 of htab_find_slot().
14457
14458 2013-11-11 David S. Miller <davem@davemloft.net>
14459
14460 [BZ #16150]
14461 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14462 symbol in the non-vis3 case in static builds.
14463 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14464 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14465 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14466 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14467
14468 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14469
14470 [BZ #387]
14471 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14472 it is empty.
14473
14474 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14475
14476 * benchtests/Makefile: Add bench-strtod.
14477 * benchtests/bench-strtod.c: New file: strtod benchtest
14478
14479 2013-11-11 Andreas Schwab <schwab@suse.de>
14480
14481 [BZ #16153]
14482 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14483 terminating NUL in key length.
14484
14485 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14486
14487 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14488 Add artificial ODP entry for vDSO symbol for PPC64.
14489 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14490 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14491
14492 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
14493
14494 [BZ #15374]
14495 * nss/getent.c (services_keys): Recognize services starting with digit.
14496
14497 2013-11-06 David S. Miller <davem@davemloft.net>
14498
14499 [BZ #15985]
14500 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14501 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14502
14503 2013-11-06 Will Newton <will.newton@linaro.org>
14504
14505 * manual/memory.texi (Malloc Examples): Remove register
14506 keyword from examples.
14507
14508 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
14509
14510 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14511
14512 2013-11-04 Joseph Myers <joseph@codesourcery.com>
14513
14514 [BZ #6981]
14515 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14516 depending on [__GCC_IEC_559 > 0].
14517 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14518 depending on [__GCC_IEC_559_COMPLEX > 0].
14519
14520 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
14521
14522 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14523 to iso-639.def.
14524
14525 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
14526
14527 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14528
14529 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
14530
14531 [BZ #16112]
14532 * malloc/malloc (malloc_info): Do not handle first bin as
14533 special case.
14534
14535 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
14536
14537 * locale/iso-639.def: Add Central Nahuatl (nhn).
14538
14539 2013-11-01 Bruno Haible <bruno@clisp.org>
14540
14541 [BZ #7003]
14542 * manual/math.texi (BSD Random): Specify range upper bound as
14543 in POSIX.
14544
14545 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
14546
14547 * locale/iso-639.def: Add Meadow Mari (mhr).
14548
14549 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
14550
14551 [BZ #14752], [BZ #15763]
14552 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14553 Validate name.
14554 * rt/tst_shm.c: Add test for escaping directory.
14555
14556 2013-10-31 Andreas Schwab <schwab@suse.de>
14557
14558 [BZ #15917]
14559 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14560 followed by 'x' as part of digit sequence.
14561 * stdio-common/tst-sscanf.c (double_tests2): New tests.
14562
14563 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14564
14565 [BZ #16037]
14566 * configure.ac: allow GNU Make 4.0 and greater.
14567 * configure: Regenerated.
14568
14569 2013-10-30 Will Newton <will.newton@linaro.org>
14570
14571 [BZ #16038]
14572 * malloc/hooks.c (memalign_check): Limit alignment to the
14573 maximum representable power of two.
14574 * malloc/malloc.c (__libc_memalign): Likewise.
14575 * malloc/tst-memalign.c (do_test): Add test for very
14576 large alignment values.
14577 * malloc/tst-posix_memalign.c (do_test): Likewise.
14578
14579 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14580
14581 [BZ #11087]
14582 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14583 (munmap_chunk): Likewise.
14584 (mremap_chunk): Likewise.
14585
14586 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
14587
14588 [BZ #15799]
14589 * stdlib/div.c (div): Remove obsolete code.
14590 * stdlib/ldiv.c (ldiv): Likewise.
14591 * stdlib/lldiv.c (lldiv): Likewise.
14592
14593 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14594
14595 [BZ #16071]
14596 * nss/nss_files/files-XXX.c (get_contents_ret): New
14597 enumerator.
14598 (get_contents): New function.
14599 (internal_getent): Use it. Expand size of LINEBUFLEN.
14600
14601 2013-10-30 Mike Frysinger <vapier@gentoo.org>
14602
14603 * configure.in: Moved to ...
14604 * configure.ac: ... here. Change reference to configure.in
14605 to configure.ac.
14606 * sysdeps/arm/preconfigure.ac: ... here.
14607 configure.in to configure.ac.
14608 * sysdeps/gnu/configure.in: Moved to ...
14609 * sysdeps/gnu/configure.ac: ... here.
14610 * sysdeps/i386/configure.in: Moved to ...
14611 * sysdeps/i386/configure.ac: ... here.
14612 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14613 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14614 * sysdeps/mach/configure.in: Moved to ...
14615 * sysdeps/mach/configure.ac: ... here.
14616 * sysdeps/mach/hurd/configure.in: Moved to ...
14617 * sysdeps/mach/hurd/configure.ac: ... here.
14618 * sysdeps/powerpc/configure.in: Moved to ...
14619 * sysdeps/powerpc/configure.ac: ... here.
14620 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14621 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14622 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14623 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14624 * sysdeps/s390/s390-32/configure.in: Moved to ...
14625 * sysdeps/s390/s390-32/configure.ac: ... here.
14626 * sysdeps/s390/s390-64/configure.in: Moved to ...
14627 * sysdeps/s390/s390-64/configure.ac: ... here.
14628 * sysdeps/sh/configure.in: Moved to ...
14629 * sysdeps/sh/configure.ac: ... here.
14630 * sysdeps/sparc/configure.in: Moved to ...
14631 * sysdeps/sparc/configure.ac: ... here.
14632 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14633 * sysdeps/unix/sysv/linux/configure.ac: ... here.
14634 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14635 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14636 * sysdeps/x86_64/configure.in: Moved to ...
14637 * sysdeps/x86_64/configure.ac: ... here.
14638 * sysdeps/x86_64/preconfigure.in: Moved to ...
14639 * sysdeps/x86_64/preconfigure.ac: ... here.
14640 * aclocal.m4: Change reference to configure.in to configure.ac.
14641 * config.h.in: Likewise.
14642 * manual/install.texi: Likewise.
14643 * manual/maint.texi: Likewise.
14644 * Makefile: Likewise.
14645 * malloc/Makefile: Likewise.
14646 * nscd/Makefile: Likewise.
14647 * Makeconfig: Change reference to configure.in and
14648 preconfigure.in to configure.ac and preconfigure.ac
14649 respectively.
14650 * INSTALL: Regenerated.
14651 * configure: Likewise.
14652 * sysdeps/gnu/configure: Likewise.
14653 * sysdeps/i386/configure: Likewise.
14654 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
14655 * sysdeps/mach/configure: Likewise.
14656 * sysdeps/mach/hurd/configure: Likewise.
14657 * sysdeps/powerpc/configure: Likewise.
14658 * sysdeps/powerpc/powerpc32/configure: Likewise.
14659 * sysdeps/powerpc/powerpc64/configure: Likewise.
14660 * sysdeps/s390/s390-32/configure: Likewise.
14661 * sysdeps/s390/s390-64/configure: Likewise.
14662 * sysdeps/sh/configure: Likewise.
14663 * sysdeps/sparc/configure: Likewise.
14664 * sysdeps/unix/sysv/linux/configure: Likewise.
14665 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
14666 * sysdeps/x86_64/configure: Likewise.
14667 * sysdeps/x86_64/preconfigure: Likewise.
14668
14669 2013-10-29 Andreas Schwab <schwab@suse.de>
14670
14671 * stdio-common/Makefile (tst-swscanf-ENV): Define.
14672
14673 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14674
14675 * benchtests/pow-inputs: Add new inputs.
14676
14677 * benchtests/exp-inputs: Add new inputs.
14678
14679 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
14680 conditional check for return value.
14681 (__cos32): Likewise.
14682
14683 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14684
14685 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14686 to provide a boost for large inputs with word alignment.
14687 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
14688 implementation based on optimized PPC64 strcpy.
14689 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
14690 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
14691 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
14692 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
14693
14694 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14695
14696 [BZ #2801]
14697 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
14698
14699 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14700
14701 [BZ #14876]
14702 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
14703 * time/tst-strptime.c (day_tests): Add testcase.
14704
14705 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
14706
14707 [BZ #14029]
14708 * manual/pattern.texi: Acknowledge that fnmatch can fail.
14709
14710 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
14711
14712 [BZ #16074]
14713 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
14714 MAP_FAILED on error.
14715
14716 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14717
14718 [BZ #16072]
14719 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
14720 heap for large requests.
14721
14722 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
14723
14724 [BZ #9954]
14725 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
14726 result if the result has no associated interface.
14727 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
14728 interface for all 127.X.Y.Z addresses.
14729
14730 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
14731
14732 * locale/iso-639.def: Add Ligurian (lij)
14733
14734 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
14735
14736 [BZ #15825]
14737 * sunrpc/rpc_main.c: Document rpcgen -5.
14738
14739 2013-10-19 Michael Stahl <mstahl@redhat.com>
14740
14741 * elf/rtld.c (do_preload): Print the reason why preloading failed.
14742
14743 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14744
14745 [BZ #10278]
14746 * posix/glob.c: Match only directories when trailing slash is present.
14747 * posix/tst-gnuglob.c (my_opendir): Do not open files.
14748 (main): Add testcase.
14749
14750 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
14751
14752 [BZ #15670]
14753 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
14754
14755 2013-10-18 Carlos O'Donell <carlos@redhat.com>
14756
14757 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
14758 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
14759 AUTH_DES and cindex for FIPS 140-2.
14760 (DES Encryption): Add cindex FIPS 46-3.
14761
14762 * locale/locarchive.h (struct locarhandle): Add fname.
14763 * locale/programs/localedef.c (main): Pass ARGV[remaining]
14764 if an optional argument was specified to --list-archive,
14765 otherwise NULL.
14766 * locale/programs/locarchive.c (show_archive_content): Take new
14767 argument fname and pass it via ah.fname to open_archive.
14768 * locale/programs/localedef.h: Update decl.
14769 (open_archive): If AH->fname is non-null, open that file
14770 rather than the default file name, and don't ignore ENOENT.
14771 (create_archive): Set AH.fname to NULL.
14772 (delete_locales_from_archive): Likewise.
14773 (add_locales_to_archive): Likewise.
14774 * locale/programs/locfile.c (write_all_categories): Likewise.
14775
14776 2013-10-18 Joseph Myers <joseph@codesourcery.com>
14777 Aldy Hernandez <aldyh@redhat.com>
14778
14779 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
14780 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
14781 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
14782 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
14783 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
14784 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
14785 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
14786 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
14787 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
14788 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
14789 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
14790 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
14791 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
14792 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
14793 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
14794 Likewise.
14795 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
14796 Likewise.
14797 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
14798 Likewise.
14799 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
14800 Likewise.
14801 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
14802 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
14803 Likewise.
14804 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
14805 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
14806 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
14807 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
14808 Likewise.
14809 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
14810 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
14811 * sysdeps/powerpc/preconfigure: Likewise.
14812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
14813 Likewise.
14814 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
14815 Replace contents of file by #include of <fenv_libc.h>.
14816 * sysdeps/powerpc/soft-fp/sfp-machine.h
14817 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
14818 and <sys/prctl.h>.
14819 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
14820 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
14821 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
14822 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
14823 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
14824 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
14825 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
14826 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
14827 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
14828 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
14829 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
14830 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
14831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14832 Allow copysignl PLT reference to be missing.
14833
14834 2013-10-18 Richard Sandiford <richard@codesourcery.com>
14835 Joseph Myers <joseph@codesourcery.com
14836
14837 [BZ #15948]
14838 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
14839 single character.
14840 (add_to_tablewc): Assert sequence of wide characters is nonempty.
14841
14842 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14843
14844 * elf/tst-tls-dlinfo.c: Don't include tls.h.
14845 * elf/tst-tls1.c: Likewise.
14846 * elf/tst-tls10.h: Likewise.
14847 * elf/tst-tls14.c: Likewise.
14848 * elf/tst-tls2.c: Likewise.
14849 * elf/tst-tls3.c: Likewise.
14850 * elf/tst-tls4.c: Likewise.
14851 * elf/tst-tls5.c: Likewise.
14852 * elf/tst-tls6.c: Likewise.
14853 * elf/tst-tls7.c: Likewise.
14854 * elf/tst-tls8.c: Likewise.
14855 * elf/tst-tls9.c: Likewise.
14856 * elf/tst-tlsmod1.c: Likewise.
14857 * elf/tst-tlsmod13.c: Likewise.
14858 * elf/tst-tlsmod13a.c: Likewise.
14859 * elf/tst-tlsmod14a.c: Likewise.
14860 * elf/tst-tlsmod16a.c: Likewise.
14861 * elf/tst-tlsmod16b.c: Likewise.
14862 * elf/tst-tlsmod2.c: Likewise.
14863 * elf/tst-tlsmod3.c: Likewise.
14864 * elf/tst-tlsmod4.c: Likewise.
14865 * elf/tst-tlsmod5.c: Likewise.
14866 * elf/tst-tlsmod6.c: Likewise.
14867
14868 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
14869
14870 [BZ #12486]
14871 * malloc/malloc.c: remove checks for statistics.
14872
14873 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14874
14875 [BZ #15277]
14876 * inet/inet_net.c (inet_network): Detect additional invalid strings.
14877 * inet/tst-network.c: Add testcase.
14878
14879 2013-10-17 Andreas Schwab <schwab@suse.de>
14880
14881 [BZ #15218]
14882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14883 to determine canonical name.
14884
14885 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14886
14887 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14888 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14889 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14890 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14891 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14892 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14893 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14894 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14895 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14896 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14897 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14898 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14899 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14900 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14901 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14902 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14903 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14904 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14905 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14906 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14907 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14908 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14909 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14910 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14911 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14912 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14913 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14914 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14915 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14916 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14917 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14918 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14919 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14920 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14921 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14922 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14923 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14924 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14925 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14926 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14927 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14928 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14929 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14930 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14931 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14932 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14933 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14934 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14935 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14936 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14937 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14938 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14939 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14940 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14941 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14942 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14943 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14944 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14945
14946 2013-10-17 Joseph Myers <joseph@codesourcery.com>
14947
14948 [BZ #16041]
14949 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14950 make result into a quiet NaN.
14951
14952 2013-10-16 Joseph Myers <joseph@codesourcery.com>
14953
14954 * soft-fp/adddf3.c: Fix horizontal whitespace.
14955 * soft-fp/addsf3.c: Likewise.
14956 * soft-fp/addtf3.c: Likewise.
14957 * soft-fp/divdf3.c: Likewise.
14958 * soft-fp/divsf3.c: Likewise.
14959 * soft-fp/divtf3.c: Likewise.
14960 * soft-fp/double.h: Likewise.
14961 * soft-fp/eqdf2.c: Likewise.
14962 * soft-fp/eqsf2.c: Likewise.
14963 * soft-fp/eqtf2.c: Likewise.
14964 * soft-fp/extenddftf2.c: Likewise.
14965 * soft-fp/extended.h: Likewise.
14966 * soft-fp/extendsfdf2.c: Likewise.
14967 * soft-fp/extendsftf2.c: Likewise.
14968 * soft-fp/extendxftf2.c: Likewise.
14969 * soft-fp/fixdfdi.c: Likewise.
14970 * soft-fp/fixdfsi.c: Likewise.
14971 * soft-fp/fixdfti.c: Likewise.
14972 * soft-fp/fixsfdi.c: Likewise.
14973 * soft-fp/fixsfsi.c: Likewise.
14974 * soft-fp/fixsfti.c: Likewise.
14975 * soft-fp/fixtfdi.c: Likewise.
14976 * soft-fp/fixtfsi.c: Likewise.
14977 * soft-fp/fixtfti.c: Likewise.
14978 * soft-fp/fixunsdfdi.c: Likewise.
14979 * soft-fp/fixunsdfsi.c: Likewise.
14980 * soft-fp/fixunsdfti.c: Likewise.
14981 * soft-fp/fixunssfdi.c: Likewise.
14982 * soft-fp/fixunssfsi.c: Likewise.
14983 * soft-fp/fixunssfti.c: Likewise.
14984 * soft-fp/fixunstfdi.c: Likewise.
14985 * soft-fp/fixunstfsi.c: Likewise.
14986 * soft-fp/fixunstfti.c: Likewise.
14987 * soft-fp/floatdidf.c: Likewise.
14988 * soft-fp/floatdisf.c: Likewise.
14989 * soft-fp/floatditf.c: Likewise.
14990 * soft-fp/floatsidf.c: Likewise.
14991 * soft-fp/floatsisf.c: Likewise.
14992 * soft-fp/floatsitf.c: Likewise.
14993 * soft-fp/floattidf.c: Likewise.
14994 * soft-fp/floattisf.c: Likewise.
14995 * soft-fp/floattitf.c: Likewise.
14996 * soft-fp/floatundidf.c: Likewise.
14997 * soft-fp/floatundisf.c: Likewise.
14998 * soft-fp/floatunditf.c: Likewise.
14999 * soft-fp/floatunsidf.c: Likewise.
15000 * soft-fp/floatunsisf.c: Likewise.
15001 * soft-fp/floatunsitf.c: Likewise.
15002 * soft-fp/floatuntidf.c: Likewise.
15003 * soft-fp/floatuntisf.c: Likewise.
15004 * soft-fp/floatuntitf.c: Likewise.
15005 * soft-fp/fmadf4.c: Likewise.
15006 * soft-fp/fmasf4.c: Likewise.
15007 * soft-fp/fmatf4.c: Likewise.
15008 * soft-fp/gedf2.c: Likewise.
15009 * soft-fp/gesf2.c: Likewise.
15010 * soft-fp/getf2.c: Likewise.
15011 * soft-fp/ledf2.c: Likewise.
15012 * soft-fp/lesf2.c: Likewise.
15013 * soft-fp/letf2.c: Likewise.
15014 * soft-fp/muldf3.c: Likewise.
15015 * soft-fp/mulsf3.c: Likewise.
15016 * soft-fp/multf3.c: Likewise.
15017 * soft-fp/negdf2.c: Likewise.
15018 * soft-fp/negsf2.c: Likewise.
15019 * soft-fp/negtf2.c: Likewise.
15020 * soft-fp/op-1.h: Likewise.
15021 * soft-fp/op-2.h: Likewise.
15022 * soft-fp/op-4.h: Likewise.
15023 * soft-fp/op-8.h: Likewise.
15024 * soft-fp/op-common.h: Likewise.
15025 * soft-fp/quad.h: Likewise.
15026 * soft-fp/single.h: Likewise.
15027 * soft-fp/soft-fp.h: Likewise.
15028 * soft-fp/sqrtdf2.c: Likewise.
15029 * soft-fp/sqrtsf2.c: Likewise.
15030 * soft-fp/sqrttf2.c: Likewise.
15031 * soft-fp/subdf3.c: Likewise.
15032 * soft-fp/subsf3.c: Likewise.
15033 * soft-fp/subtf3.c: Likewise.
15034 * soft-fp/truncdfsf2.c: Likewise.
15035 * soft-fp/trunctfdf2.c: Likewise.
15036 * soft-fp/trunctfsf2.c: Likewise.
15037 * soft-fp/trunctfxf2.c: Likewise.
15038 * soft-fp/unorddf2.c: Likewise.
15039 * soft-fp/unordsf2.c: Likewise.
15040 * soft-fp/unordtf2.c: Likewise.
15041
15042 2013-10-15 Joseph Myers <joseph@codesourcery.com>
15043
15044 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15045 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15046
15047 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
15048
15049 * elf/dl-libc.c: Clear initfini list after freeing.
15050
15051 2013-10-14 Joseph Myers <joseph@codesourcery.com>
15052
15053 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15054 * soft-fp/addsf3.c: Likewise.
15055 * soft-fp/addtf3.c: Likewise.
15056 * soft-fp/divdf3.c: Likewise.
15057 * soft-fp/divsf3.c: Likewise.
15058 * soft-fp/divtf3.c: Likewise.
15059 * soft-fp/double.h: Likewise.
15060 * soft-fp/eqdf2.c: Likewise.
15061 * soft-fp/eqsf2.c: Likewise.
15062 * soft-fp/eqtf2.c: Likewise.
15063 * soft-fp/extenddftf2.c: Likewise.
15064 * soft-fp/extended.h: Likewise.
15065 * soft-fp/extendsfdf2.c: Likewise.
15066 * soft-fp/extendsftf2.c: Likewise.
15067 * soft-fp/extendxftf2.c: Likewise.
15068 * soft-fp/fixdfdi.c: Likewise.
15069 * soft-fp/fixdfsi.c: Likewise.
15070 * soft-fp/fixdfti.c: Likewise.
15071 * soft-fp/fixsfdi.c: Likewise.
15072 * soft-fp/fixsfsi.c: Likewise.
15073 * soft-fp/fixsfti.c: Likewise.
15074 * soft-fp/fixtfdi.c: Likewise.
15075 * soft-fp/fixtfsi.c: Likewise.
15076 * soft-fp/fixtfti.c: Likewise.
15077 * soft-fp/fixunsdfdi.c: Likewise.
15078 * soft-fp/fixunsdfsi.c: Likewise.
15079 * soft-fp/fixunsdfti.c: Likewise.
15080 * soft-fp/fixunssfdi.c: Likewise.
15081 * soft-fp/fixunssfsi.c: Likewise.
15082 * soft-fp/fixunssfti.c: Likewise.
15083 * soft-fp/fixunstfdi.c: Likewise.
15084 * soft-fp/fixunstfsi.c: Likewise.
15085 * soft-fp/fixunstfti.c: Likewise.
15086 * soft-fp/floatdidf.c: Likewise.
15087 * soft-fp/floatdisf.c: Likewise.
15088 * soft-fp/floatditf.c: Likewise.
15089 * soft-fp/floatsidf.c: Likewise.
15090 * soft-fp/floatsisf.c: Likewise.
15091 * soft-fp/floatsitf.c: Likewise.
15092 * soft-fp/floattidf.c: Likewise.
15093 * soft-fp/floattisf.c: Likewise.
15094 * soft-fp/floattitf.c: Likewise.
15095 * soft-fp/floatundidf.c: Likewise.
15096 * soft-fp/floatundisf.c: Likewise.
15097 * soft-fp/floatunsidf.c: Likewise.
15098 * soft-fp/floatunsisf.c: Likewise.
15099 * soft-fp/floatuntidf.c: Likewise.
15100 * soft-fp/floatuntisf.c: Likewise.
15101 * soft-fp/floatuntitf.c: Likewise.
15102 * soft-fp/fmadf4.c: Likewise.
15103 * soft-fp/fmasf4.c: Likewise.
15104 * soft-fp/fmatf4.c: Likewise.
15105 * soft-fp/gedf2.c: Likewise.
15106 * soft-fp/gesf2.c: Likewise.
15107 * soft-fp/getf2.c: Likewise.
15108 * soft-fp/ledf2.c: Likewise.
15109 * soft-fp/lesf2.c: Likewise.
15110 * soft-fp/letf2.c: Likewise.
15111 * soft-fp/muldf3.c: Likewise.
15112 * soft-fp/mulsf3.c: Likewise.
15113 * soft-fp/multf3.c: Likewise.
15114 * soft-fp/negdf2.c: Likewise.
15115 * soft-fp/negsf2.c: Likewise.
15116 * soft-fp/negtf2.c: Likewise.
15117 * soft-fp/op-1.h: Likewise.
15118 * soft-fp/op-2.h: Likewise.
15119 * soft-fp/op-4.h: Likewise.
15120 * soft-fp/op-8.h: Likewise.
15121 * soft-fp/op-common.h: Likewise.
15122 * soft-fp/quad.h: Likewise.
15123 * soft-fp/single.h: Likewise.
15124 * soft-fp/soft-fp.h: Likewise.
15125 * soft-fp/sqrtdf2.c: Likewise.
15126 * soft-fp/sqrtsf2.c: Likewise.
15127 * soft-fp/sqrttf2.c: Likewise.
15128 * soft-fp/subdf3.c: Likewise.
15129 * soft-fp/subsf3.c: Likewise.
15130 * soft-fp/subtf3.c: Likewise.
15131 * soft-fp/truncdfsf2.c: Likewise.
15132 * soft-fp/trunctfdf2.c: Likewise.
15133 * soft-fp/trunctfsf2.c: Likewise.
15134 * soft-fp/trunctfxf2.c: Likewise.
15135 * soft-fp/unorddf2.c: Likewise.
15136 * soft-fp/unordsf2.c: Likewise.
15137 * soft-fp/unordtf2.c: Likewise.
15138
15139 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
15140
15141 [BZ #15672]
15142 * misc/error.c (error_tail): Fix possible buffer overflow.
15143
15144 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15145
15146 [BZ #13028]
15147 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15148 address.
15149
15150 2013-10-14 P. J. McDermott <pj@pehjota.net>
15151
15152 [BZ #832]
15153 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15154 testing pipefail option.
15155
15156 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15157
15158 * soft-fp/double.h: Indent preprocessor directives inside #if.
15159 * soft-fp/extended.h: Likewise.
15160 * soft-fp/op-2.h: Likewise.
15161 * soft-fp/op-4.h: Likewise.
15162 * soft-fp/op-common.h: Likewise.
15163 * soft-fp/quad.h: Likewise.
15164 * soft-fp/single.h: Likewise.
15165 * soft-fp/soft-fp.h: Likewise.
15166
15167 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15168
15169 * iconv/iconv_prog.c: Fix typos.
15170 * stdio-common/psiginfo-data.h: Likewise.
15171
15172 2013-10-12 Reuben Thomas <rrt@sc3d.org>
15173
15174 [BZ #15764]
15175 * locale/setlocale.c: Fix typo.
15176
15177 2013-10-12 Joseph Myers <joseph@codesourcery.com>
15178
15179 [BZ #16036]
15180 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15181 signaling NaN arguments.
15182 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15183 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15184
15185 [BZ #14910]
15186 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15187 unordered operands.
15188 * soft-fp/gesf2.c (__gesf2): Likewise.
15189 * soft-fp/getf2.c (__getf2): Likewise.
15190 * soft-fp/ledf2.c (__ledf2): Likewise.
15191 * soft-fp/lesf2.c (__lesf2): Likewise.
15192 * soft-fp/letf2.c (__letf2): Likewise.
15193
15194 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15195 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15196 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15197 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15198 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15199 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15200 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15201 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15202 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15203 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15204 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15205 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15206 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15207 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15208 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15209 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15210 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15211 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15212 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15213 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15214 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15215 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15216 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15217 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15218 * soft-fp/floattidf.c (__floattidf): Likewise.
15219 * soft-fp/floattisf.c (__floattisf): Likewise.
15220 * soft-fp/floattitf.c (__floattitf): Likewise.
15221 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15222 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15223 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15224 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15225 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15226 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15227 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15228 * soft-fp/gesf2.c (__gesf2): Likewise.
15229 * soft-fp/getf2.c (__getf2): Likewise.
15230 * soft-fp/ledf2.c (__ledf2): Likewise.
15231 * soft-fp/lesf2.c (__lesf2): Likewise.
15232 * soft-fp/letf2.c (__letf2): Likewise.
15233
15234 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15235 Undefine and redefine.
15236 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15237 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15238 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15239 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15240 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15241 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15242 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15243 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15244 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15245 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15246 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15247 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15248 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15249 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15250 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15251
15252 [BZ #16032]
15253 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15254 without decrementing exponent if mantissa >= that for the
15255 denominator, not >.
15256 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15257 denominator, not >. Decrement exponent in < case instead of
15258 incrementing in >= case.
15259 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15260 without decrementing exponent if mantissa >= that for the
15261 denominator, not >.
15262
15263 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15264 computing saturated result for unsigned overflow.
15265
15266 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15267 Jeff Law <law@redhat.com>
15268
15269 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15270 (atan2Mp): Add systemtap probe marker.
15271 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15272 (__ieee754_log): Add systemtap probe marker.
15273 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15274 (atanMp): Add systemtap probe marker.
15275 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15276 (tanMp): Add systemtap probe marker.
15277 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15278 (__slowexp): Add systemtap probe marker.
15279 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15280 (__slowpow): Add systemtap probe marker.
15281 * manual/probes.texi: Document probes.
15282
15283 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
15284
15285 [BZ #15362]
15286 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15287 written.
15288 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15289 written.
15290 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15291 written to buffer but not flushed.
15292 * libio/iofwrite_u.c: Likewise.
15293 * libio/iopadn.c: Return bytes returned even if EOF was
15294 encountered.
15295 * libio/iowpadn.c: Likewise.
15296 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15297 if _IO_padn does not write the whole buffer.
15298 [!COMPILE_WPRINTF] (PAD): Likewise.
15299
15300 2013-10-10 David S. Miller <davem@davemloft.net>
15301
15302 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15303 directory block.
15304
15305 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15306
15307 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15308 instead of FSF address.
15309 * soft-fp/fixdfti.c: Likewise.
15310 * soft-fp/fixsfti.c: Likewise.
15311 * soft-fp/fixtfti.c: Likewise.
15312 * soft-fp/fixunsdfti.c: Likewise.
15313 * soft-fp/fixunssfti.c: Likewise.
15314 * soft-fp/fixunstfti.c: Likewise.
15315 * soft-fp/floattidf.c: Likewise.
15316 * soft-fp/floattisf.c: Likewise.
15317 * soft-fp/floattitf.c: Likewise.
15318 * soft-fp/floatuntidf.c: Likewise.
15319 * soft-fp/floatuntisf.c: Likewise.
15320 * soft-fp/floatuntitf.c: Likewise.
15321 * soft-fp/trunctfxf2.c: Likewise.
15322
15323 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15324 * soft-fp/fixdfti.c: Likewise.
15325 * soft-fp/fixsfti.c: Likewise.
15326 * soft-fp/fixtfti.c: Likewise.
15327 * soft-fp/fixunsdfti.c: Likewise.
15328 * soft-fp/fixunssfti.c: Likewise.
15329 * soft-fp/fixunstfti.c: Likewise.
15330 * soft-fp/floattidf.c: Likewise.
15331 * soft-fp/floattisf.c: Likewise.
15332 * soft-fp/floattitf.c: Likewise.
15333 * soft-fp/floatuntidf.c: Likewise.
15334 * soft-fp/floatuntisf.c: Likewise.
15335 * soft-fp/floatuntitf.c: Likewise.
15336 * soft-fp/trunctfxf2.c: Likewise.
15337
15338 2013-10-10 David S. Miller <davem@davemloft.net>
15339
15340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15341
15342 2013-10-10 Joseph Myers <joseph@codsourcery.com>
15343
15344 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15345 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15346 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15347 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15348 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15349 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15350 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15351
15352 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15353 for NaNs before doing comparisons on argument.
15354 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15355 Likewise.
15356
15357 2013-10-10 Will Newton <will.newton@linaro.org>
15358
15359 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15360 passed to _int_memalign does not overflow.
15361
15362 2013-10-10 Torvald Riegel <triegel@redhat.com>
15363
15364 * scripts/bench.pl: Add include-sources directive.
15365 * benchtests/README: Update documentation.
15366
15367 2013-10-10 Joseph Myers <joseph@codesourcery.com>
15368
15369 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15370 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15371 instead of FP_INIT_ROUNDMODE.
15372 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15373 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15374
15375 [BZ #16034]
15376 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15377 copy class of input value.
15378 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15379 not handle exceptions.
15380 * soft-fp/negsf2.c (__negsf2): Likewise.
15381 * soft-fp/negtf2.c (__negtf2): Likewise.
15382 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15383
15384 2013-10-09 Joseph Myers <joseph@codesourcery.com>
15385
15386 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15387 semicolon. From Linux kernel.
15388
15389 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15390
15391 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15392
15393 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15394
15395 [BZ #156]
15396 * manual/socket.texi: Added statement about buffer
15397 for gethostbyname2_r.
15398
15399 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
15400
15401 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15402 Use .p2align directive instead, throughout.
15403 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15404 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15405 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15406 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15407 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15408 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15409 * sysdeps/x86_64/strchr.S: Likewise.
15410 * sysdeps/x86_64/strrchr.S: Likewise.
15411
15412 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15413
15414 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15415
15416 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15417
15418 * sysdeps/generic/math_private.h (__mpsin1): Remove
15419 declaration.
15420 (__mpcos1): Likewise.
15421 (__mpsin): New argument __range_reduce.
15422 (__mpcos): Likewise.
15423 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15424 (slow): Use __mpsin and __mpcos.
15425 (slow1): Likewise.
15426 (slow2): Likewise.
15427 (sloww): Likewise.
15428 (sloww1): Likewise.
15429 (sloww2): Likewise.
15430 (bsloww): Likewise.
15431 (bsloww1): Likewise.
15432 (bsloww2): Likewise.
15433 (cslow2): Likewise.
15434 (csloww): Likewise.
15435 (csloww1): Likewise.
15436 (csloww2): Likewise.
15437 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15438 range_reduce. Merge in __mpsin1.
15439 (__mpcos): Likewise.
15440 (__mpsin1): Remove.
15441 (__mpcos1): Likewise.
15442
15443 2013-10-07 Joseph Myers <joseph@codesourcery.com>
15444
15445 * locale/loadlocale.c (_nl_intern_locale_data): Use
15446 LOCFILE_ALIGNED_P.
15447 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15448 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15449 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15450 obstack data is appropriately aligned.
15451 (obstack_int32_grow_fast): Likewise.
15452 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15453 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15454 (add_locale_uint32_array): Likewise.
15455
15456 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15457
15458 * benchtests/Makefile: Remove ARGLIST and RET variables.
15459 ($(objpfx)bench-%.c): Pass only function name to the script.
15460 * benchtests/README: Update documentation.
15461 * benchtests/acos-inputs: Add new directives.
15462 * benchtests/acosh-inputs: Likewise.
15463 * benchtests/asin-inputs: Likewise.
15464 * benchtests/asinh-inputs: Likewise.
15465 * benchtests/atan-inputs: Likewise.
15466 * benchtests/atanh-inputs: Likewise.
15467 * benchtests/cos-inputs: Likewise.
15468 * benchtests/cosh-inputs: Likewise.
15469 * benchtests/exp-inputs: Likewise.
15470 * benchtests/log-inputs: Likewise.
15471 * benchtests/pow-inputs: Likewise.
15472 * benchtests/rint-inputs: Likewise.
15473 * benchtests/sin-inputs: Likewise.
15474 * benchtests/sinh-inputs: Likewise.
15475 * benchtests/tan-inputs: Likewise.
15476 * benchtests/tanh-inputs: Likewise.
15477 * scripts/bench.pl: Add support for new directives.
15478
15479 2013-10-07 Alan Modra <amodra@gmail.com>
15480
15481 * README: Fix careless merge.
15482
15483 2013-10-05 Alan Modra <amodra@gmail.com>
15484
15485 * NEWS: Mention powerpc64le support and bugs fixed.
15486 * README: Both big-endian and little-endian powerpc64 supported.
15487
15488 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15489
15490 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15491 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15492 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15493 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15494
15495 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
15496
15497 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15498 match prototype.
15499
15500 2013-10-04 Joseph Myers <joseph@codesourcery.com>
15501
15502 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15503 Move -mhard-float appending from
15504 ports/sysdeps/powerpc/powerpc32/Makefile.
15505 [$(with-fp) = yes] (ASFLAGS): Likewise.
15506 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15507 * sysdeps/powerpc/nofpu: Move directory from
15508 ports/sysdeps/powerpc/nofpu.
15509 * sysdeps/powerpc/soft-fp: Move directory from
15510 ports/sysdeps/powerpc/soft-fp.
15511 * sysdeps/powerpc/powerpc32/405: Move directory from
15512 ports/sysdeps/powerpc/powerpc32/405.
15513 * sysdeps/powerpc/powerpc32/440: Move directory from
15514 ports/sysdeps/powerpc/powerpc32/440.
15515 * sysdeps/powerpc/powerpc32/464: Move directory from
15516 ports/sysdeps/powerpc/powerpc32/464.
15517 * sysdeps/powerpc/powerpc32/476: Move directory from
15518 ports/sysdeps/powerpc/powerpc32/476.
15519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15520 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15522 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15524 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15526 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15528 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15529 * README: Update for powerpc-*-linux-gnu software floating point
15530 support in libc.
15531
15532 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15533 case to powerpc/powerpc32*.
15534 * sysdeps/unix/sysv/linux/configure: Regenerated.
15535
15536 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15537 (_FPU_MASK_OM): Define as 0x04.
15538 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15539 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15540 0x00c10080.
15541 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15542 0x0000003c.
15543 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15544
15545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15546 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15547 getcontext_e500.
15548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15549 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15550 setcontext_e500.
15551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15552 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15553 and setcontext_e500.
15554
15555 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
15556
15557 * locale/iso-3166.def: Update iso-1366.def and related occurrences
15558
15559 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15560
15561 * manual/threads.texi (Default Thread Attributes): Fix typo.
15562
15563 2013-10-04 Will Newton <will.newton@linaro.org>
15564
15565 * malloc/Makefile: Add tst-memalign.
15566 * malloc/tst-memalign.c: New file.
15567
15568 * malloc/tst-posix_memalign.c: Add comments.
15569 (do_test): Add comments and call free on all potentially
15570 allocated pointers. Add space after cast.
15571
15572 * malloc/tst-pvalloc.c: Add comments.
15573 (do_test): Add comments and call free on all potentially
15574 allocated pointers. Remove duplicate check for NULL pointer.
15575 Add space after cast.
15576
15577 * malloc/tst-valloc.c: Add comments.
15578 (do_test): Add comments and call free on all potentially
15579 allocated pointers. Remove duplicate check for NULL pointer.
15580 Add space after cast.
15581
15582 2013-10-04 Alan Modra <amodra@gmail.com>
15583
15584 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15585 Use stdint types in rather than __attribute__((mode())).
15586 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15587
15588 2013-10-04 Alan Modra <amodra@gmail.com>
15589
15590 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15591 Correct handling of unaligned relocs for little-endian.
15592 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15593
15594 2013-10-04 Alan Modra <amodra@gmail.com>
15595
15596 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15597 * configure: Regenerate.
15598 * nptl/shlib-versions: Powerpc*le starts at 2.18.
15599 * shlib-versions: Likewise.
15600
15601 2013-10-04 Alan Modra <amodra@gmail.com>
15602
15603 * string/tester.c (test_memrchr): Increment reported test cycle.
15604
15605 2013-10-04 Alan Modra <amodra@gmail.com>
15606
15607 * string/test-memcpy.c (do_one_test): When reporting errors, print
15608 string address and don't overrun end of string.
15609
15610 2013-10-04 Alan Modra <amodra@gmail.com>
15611
15612 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15613 insrdi. Make better use of reg selection to speed exit slightly.
15614 Schedule entry path a little better. Remove useless "are we done"
15615 checks on entry to main loop. Handle wrapping around zero address.
15616 Correct main loop count. Handle single left-over word from main
15617 loop inline rather than by using loop_small. Remove extra word
15618 case in loop_small caused by wrong loop count. Add little-endian
15619 support.
15620 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15621 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
15622 cache hint.
15623 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15624 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15625 support. Avoid rlwimi.
15626 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15627
15628 2013-10-04 Alan Modra <amodra@gmail.com>
15629
15630 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15631 insrdi. Formatting.
15632 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15633 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15634 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15635 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15636 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15637 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15638
15639 2013-10-04 Alan Modra <amodra@gmail.com>
15640
15641 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15642 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15643 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15644 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
15645 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15646 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15647 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15648 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
15649 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
15650 use of regs. Use power7 mtocrf. Tidy function tails.
15651
15652 2013-10-04 Alan Modra <amodra@gmail.com>
15653
15654 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
15655 Formatting. Consistently use rXXX register defines or rN defines.
15656 Use early exit labels that avoid restoring unused non-volatile regs.
15657 Make cr field use more consistent with rWORDn compares. Rename
15658 regs used as shift registers for unaligned loop, using rN defines
15659 for short lifetime/multiple use regs.
15660 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15661 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
15662 addi 1,1,64 to pop stack frame. Simplify return value code.
15663 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15664
15665 2013-10-04 Alan Modra <amodra@gmail.com>
15666
15667 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
15668 support. Correct typos, formatting. Optimize tail. Use insrdi
15669 rather than rlwimi.
15670 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
15671 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
15672 little-endian support. Correct typos.
15673 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
15674 rather than rlwimi.
15675 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
15676 in loop and entry code to keep "and." results.
15677 (strchr): Add little-endian support. Comment. Move cntlzd
15678 earlier in tail.
15679 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
15680
15681 2013-10-04 Alan Modra <amodra@gmail.com>
15682
15683 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
15684 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
15685 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15686 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
15687
15688 2013-10-04 Alan Modra <amodra@gmail.com>
15689
15690 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
15691 (rTMP): Define as r11.
15692 (strcmp): Add little-endian support. Optimise tail.
15693 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
15694 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15695 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15696 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15697 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15698 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15699 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15700
15701 2013-10-04 Alan Modra <amodra@gmail.com>
15702
15703 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
15704 little-endian support. Remove unnecessary "are we done" tests.
15705 Handle "s" wrapping around zero and extremely large "size".
15706 Correct main loop count. Handle single left-over word from main
15707 loop inline rather than by using small_loop. Correct comments.
15708 Delete "zero" tail, use "end_max" instead.
15709 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
15710
15711 2013-10-04 Alan Modra <amodra@gmail.com>
15712
15713 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
15714 support. Don't branch over align.
15715 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
15716 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
15717 support. Rearrange tmp reg use to suit. Comment.
15718 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
15719
15720 2013-10-04 Alan Modra <amodra@gmail.com>
15721
15722 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
15723
15724 2013-10-04 Alan Modra <amodra@gmail.com>
15725
15726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
15727 conditional form of branch and link when obtaining pc.
15728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
15729
15730 2013-10-04 Alan Modra <amodra@gmail.com>
15731
15732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
15733 HIWORD/LOWORD.
15734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
15735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
15736
15737 2013-10-04 Alan Modra <amodra@gmail.com>
15738
15739 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
15740 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
15741 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
15742 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
15743 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15744 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15745 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
15746 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15747 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
15748 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
15749
15750 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15751 Alistair Popple <alistair@ozlabs.au.ibm.com>
15752 Alan Modra <amodra@gmail.com>
15753
15754 [BZ #15723]
15755 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
15756 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
15757 _dl_hwcap access for little-endian.
15758 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
15759 destroy vmx regs when saving unaligned.
15760 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
15761 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
15762 destroy vmx regs when saving unaligned.
15763
15764 2013-10-04 Alan Modra <amodra@gmail.com>
15765
15766 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
15767 Don't use a union to pack hi/low value.
15768
15769 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15770
15771 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
15772 for little-endian.
15773 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15774 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
15775 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15776 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15777 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15778
15779 2013-10-04 Alan Modra <amodra@gmail.com>
15780
15781 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
15782 constants to usual value for .cst8 section, and remove redundant
15783 high address load.
15784 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
15785 constant for 0x1p52. Load little-endian words of double from
15786 correct stack offsets.
15787
15788 2013-10-04 Alan Modra <amodra@gmail.com>
15789
15790 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
15791 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
15792 words of double from correct stack offsets.
15793 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
15794 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
15795 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15796 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15797 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15798 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15799 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15800 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
15801 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
15802 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15803 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15804 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15805 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15806 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
15807 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
15808 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
15809 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
15810
15811 2013-10-04 Alan Modra <amodra@gmail.com>
15812
15813 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
15814 64-bit int/double union.
15815 (_FPU_SETCW): Likewise.
15816 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
15817 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
15818
15819 2013-10-04 Alan Modra <amodra@gmail.com>
15820
15821 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
15822 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
15823
15824 2013-10-04 Alan Modra <amodra@gmail.com>
15825
15826 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
15827 use vector int constants.
15828 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
15829
15830 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15831
15832 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15833 array with long long.
15834 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
15835 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
15836 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
15837 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
15838 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
15839 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
15840 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
15841 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
15842 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
15843 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
15844 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
15845 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
15846 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
15847
15848 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
15849
15850 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
15851 (__signbit): Likewise. Correct for little-endian.
15852 (__signbitl): Call __signbit.
15853 (lrint): Correct for little-endian.
15854 (lrintf): Call lrint.
15855
15856 2013-10-04 Alan Modra <amodra@gmail.com>
15857
15858 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
15859 union 32-bit int array member with 64-bit int array.
15860 (t515, tm256): Double rather than long double.
15861 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
15862
15863 2013-10-04 Alan Modra <amodra@gmail.com>
15864
15865 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
15866 Delete.
15867 (IEEE854_LONG_DOUBLE_BIAS): Delete.
15868 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
15869 version of math_ldbl.h.
15870
15871 2013-10-04 Alan Modra <amodra@gmail.com>
15872
15873 [BZ #15734], [BZ #15735]
15874 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
15875 all uses of ieee875 long double macros and unions. Simplify test
15876 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
15877 ldbl_extract_mantissa value for ix,iy exponents. Properly
15878 normalize after ldbl_extract_mantissa, and don't add hidden bit
15879 already handled. Don't treat low word of ieee854 mantissa like
15880 low word of IBM long double and mask off bit when testing for
15881 zero.
15882 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15883 all uses of ieee875 long double macros and unions. Simplify tests
15884 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15885 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15886 two1022, instead use their values. Recognise that tests for large
15887 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15888 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15889 Rewrite all uses of ieee875 long double macros and unions. Simplify
15890 test for 0.0L and nan. Correct negation.
15891 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15892 ieee875 long double macros and unions. Correct output for large
15893 magnitude x. Correct absolute value calculation.
15894 (__erfcl): Likewise.
15895 * math/libm-test.inc: Add tests for errors discovered in IBM long
15896 double versions of fmodl, remainderl, erfl and erfcl.
15897
15898 2013-10-04 Alan Modra <amodra@gmail.com>
15899
15900 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15901 all uses of ieee854 long double macros and unions. Simplify tests
15902 for long doubles that are fully specified by the high double.
15903 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15904 Likewise.
15905 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15906 Remove dead code too.
15907 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15908 (__ieee754_ynl): Likewise.
15909 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15910 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15911 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15912 Remove dead code too.
15913 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15914 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15915 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15916 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15917 Simplify.
15918 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15919 Simplify.
15920 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15921 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15922 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15923 Comment on variable precision.
15924 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15925 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15926 Likewise.
15927 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15928 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15929 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15930 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15931 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15932
15933 2013-10-04 Alan Modra <amodra@gmail.com>
15934
15935 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15936 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15937 all uses of ieee854 long double macros and unions.
15938 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15939 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15940 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15941 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15942 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15943 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15944 Likewise.
15945 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15946 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15947 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15948 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15949 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15950 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15951 Simplify sign and nan test too.
15952 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15953 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15954 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15955 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15956 Likewise.
15957 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15958 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15959 Likewise.
15960 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15961 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15962 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15963 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15964 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15965 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15966
15967 2013-10-04 Alan Modra <amodra@gmail.com>
15968
15969 * stdio-common/printf_size.c (__printf_size): Don't use
15970 union ieee854_long_double in fpnum union.
15971 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15972 signbit macro to retrieve sign from long double.
15973 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15974 retrieve sign from long double.
15975 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15976 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15977 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15978 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15979 * math/test-misc.c (main): Don't use union ieee854_long_double.
15980
15981 2013-10-04 Alan Modra <amodra@gmail.com>
15982
15983 [BZ #15680]
15984 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15985 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15986 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15987 calculation. Remove unnecessary test for denormal exponent.
15988 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15989 Correct handling of denormals. Avoid undefined shift behaviour.
15990 Correct normalisation of low mantissa when low double is denormal.
15991 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15992 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15993 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15994 Correct normalisation of low mantissa. Test for overflow of high
15995 mantissa and normalise.
15996 (ldbl_nearbyint): Use more readable constant for two52.
15997 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15998 (__mpn_construct_long_double): Fix test for overflow of high
15999 mantissa and correct normalisation. Avoid undefined shift.
16000
16001 2013-10-04 Alan Modra <amodra@gmail.com>
16002
16003 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16004 (union ibm_extended_long_double): Define as an array of ieee754_double.
16005 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16006 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16007 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16008 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16009 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16010 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16011 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16012 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16013 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16014 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16015 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16016
16017 2013-10-03 Joseph Myers <joseph@codesourcery.com>
16018
16019 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16020 page size instead of calling getpagesize.
16021
16022 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16023 (LOCFILE_ALIGN_MASK): Likewise.
16024 (LOCFILE_ALIGN_UP): Likewise.
16025 (LOCFILE_ALIGNED_P): Likewise.
16026 * locale/programs/ld-collate.c (collate_output): Use the new
16027 macros instead of __alignof__ (int32_t).
16028 * locale/weight.h (findidx): Likewise.
16029
16030 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
16031
16032 [BZ #431]
16033 * manual/string.texi: Fix strncat and wcsncat.
16034
16035 2013-10-03 Brooks Moses <bmoses@google.com>
16036
16037 [BZ #15915]
16038 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16039 * Makerules: ...here, and adjust associated comments.
16040
16041 2013-10-02 Will Newton <will.newton@linaro.org>
16042
16043 * malloc/Makefile: Add tst-pvalloc.
16044 * malloc/tst-pvalloc.c: New file.
16045
16046 2013-10-02 Will Newton <will.newton@linaro.org>
16047
16048 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16049 improve test coverage.
16050
16051 2013-10-02 Will Newton <will.newton@linaro.org>
16052
16053 * malloc/Makefile: Add tst-posix_memalign.
16054 * malloc/tst-posix_memalign.c: New file.
16055
16056 2013-10-01 Eric Blake <eblake@redhat.com>
16057
16058 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16059 Use __THROWNL rather than __THROW on static functions.
16060
16061 2013-09-30 Petr Machata <pmachata@redhat.com>
16062
16063 * elf/elf.h (R_AARCH64_ABS16): New macro.
16064 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16065 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16066 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16067 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16068 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16069 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16070 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16071 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16072 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16073 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16074 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16075 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16076 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16077 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16078 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16079 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16080 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16081 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16082 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16083 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16084 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16085 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16086 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16087 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16088 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16089 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16090 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16091 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16092 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16093 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16094 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16095 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16096 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16097 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16098 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16099 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16100 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16101 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16102 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16103 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16104 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16105 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16106 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16107 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16108 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16109 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16110 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16111 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16112 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16113 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16114 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16115 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16116 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16117 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16118 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16119 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16120 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16121 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16122 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16123 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16124 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16125 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16126 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16127 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16128 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16129 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16130 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16131 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16132 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16133 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16134 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16135 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16136 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16137 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16138 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16139 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16140 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16141 (R_AARCH64_TLSDESC_LDR): Likewise.
16142 (R_AARCH64_TLSDESC_ADD): Likewise.
16143 (R_AARCH64_TLSDESC_CALL): Likewise.
16144
16145 2013-09-30 Andreas Schwab <schwab@suse.de>
16146
16147 [BZ #15048]
16148 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16149 the nss database lookup.
16150 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16152
16153 2013-09-28 Mike Frysinger <vapier@gentoo.org>
16154
16155 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16156
16157 2013-09-28 P. J. McDermott <pj@pehjota.net>
16158
16159 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16160 ${Bash-specific parameter/pattern/string} parameter expansion.
16161 * sysdeps/unix/make-syscalls.sh: Likewise.
16162
16163 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16164
16165 * sysdeps/sh/stackguard-macros.h: New file.
16166
16167 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
16168
16169 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16170 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16171 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16172 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16173 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16174 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16175
16176 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16177
16178 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16179 Fix thread ID register.
16180
16181 2013-09-25 Joseph Myers <joseph@codesourcery.com>
16182
16183 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16184 [POSIX || UNIX98]: Require rather than permitting all symbols from
16185 <time.h>.
16186 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16187 element of struct sched_param.
16188 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16189 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16190 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16191 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16192 constant.
16193
16194 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16195
16196 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16197 argument calculation.
16198
16199 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16200
16201 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16202 Expect macro.
16203 [POSIX] (pthread_attr_t): Do not require type.
16204 [POSIX] (pthread_cond_t): Likewise.
16205 [POSIX] (pthread_condattr_t): Likewise.
16206 [POSIX] (pthread_key_t): Likewise.
16207 [POSIX] (pthread_mutex_t): Likewise.
16208 [POSIX] (pthread_mutexattr_t): Likewise.
16209 [POSIX] (pthread_once_t): Likewise.
16210 [POSIX] (pthread_t): Likewise.
16211 [POSIX-based standards] (pthread_atfork): Expect function.
16212
16213 2013-09-24 Joseph Myers <joseph@codesourcery.com>
16214 Richard Sandiford <richard@codesourcery.com>
16215
16216 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16217 (swap_endianness_p): New extern variable.
16218 (set_big_endian): New inline function.
16219 (maybe_swap_uint32): Likewise.
16220 (maybe_swap_uint32_array): Likewise.
16221 (maybe_swap_uint32_obstack): Likewise.
16222 * locale/programs/locfile.c: Include <stdbool.h>.
16223 (swap_endianness_p): New variable.
16224 (add_locale_uint32): Call maybe_swap_uint32.
16225 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16226 (write_locale_data): Call maybe_swap_uint32_array.
16227 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16228 maybe_swap_uint32.
16229 (obstack_int32_grow_fast): Likewise.
16230 (output_weightwc): Call maybe_swap_uint32_obstack.
16231 (collate_output): Likewise.
16232 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16233 (OPT_LITTLE_ENDIAN): Likewise.
16234 (options): Add --little-endian and --big-endian options.
16235 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16236 * locale/programs/locarchive.c: Include "locfile.h".
16237 (GET): New macro.
16238 (SET): Likewise.
16239 (INC): Likewise.
16240 (create_archive): Use the new macros to access fields of
16241 structures directly mapped from or written to locale archives.
16242 (oldlocrecentcmp): Likewise.
16243 (enlarge_archive): Likewise.
16244 (insert_name): Likewise.
16245 (add_alias): Likewise.
16246 (add_locale): Likewise.
16247 (delete_locales_from_archive): Likewise.
16248 (show_archive_content): Likewise.
16249 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16250 locale data.
16251
16252 2013-09-24 Roland McGrath <roland@hack.frob.com>
16253
16254 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16255 http://www.gnu.org/doc/freemanuals.texi.
16256 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16257
16258 2013-09-24 Will Newton <will.newton@linaro.org>
16259
16260 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16261 macro.
16262
16263 2013-09-23 Joseph Myers <joseph@codesourcery.com>
16264
16265 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16266 unsigned char.
16267
16268 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16269
16270 * manual/threads.texi (POSIX Threads): Fix a typo.
16271
16272 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16273
16274 [BZ #14547]
16275 * string/tst-strcoll-overflow.c: New test case.
16276 * string/Makefile (xtests): Add tst-strcoll-overflow.
16277 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16278 cache if string sizes may cause integer overflow.
16279
16280 [BZ #14547]
16281 * string/strcoll_l.c (coll_seq): New members rule, idx,
16282 save_idx and back_us.
16283 (get_next_seq_nocache): New function.
16284 (do_compare_nocache): New function.
16285 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16286 when malloc fails.
16287
16288 2013-09-23 Carlos O'Donell <carlos@redhat.com>
16289
16290 [BZ #15754]
16291 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16292 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16293 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16294
16295 [BZ #15754]
16296 * elf/Makefile (tests): Add tst-ptrguard1.
16297 (tests-static): Add tst-ptrguard1-static.
16298 (tst-ptrguard1-ARGS): Define.
16299 (tst-ptrguard1-static-ARGS): Define.
16300 * elf/tst-ptrguard1.c: New file.
16301 * elf/tst-ptrguard1-static.c: New file.
16302 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16303 * sysdeps/i386/stackguard-macros.h: Likewise.
16304 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16305 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16306 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16307 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16308 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16309 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16310
16311 2013-09-23 Hector Marco <hecmargi@upv.es>
16312 Ismael Ripoll <iripoll@disca.upv.es>
16313 Carlos O'Donell <carlos@redhat.com>
16314
16315 [BZ #15754]
16316 * sysdeps/generic/stackguard-macros.h: Define
16317 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16318 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16319 Define __pointer_chk_guard_local.
16320 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16321 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16322
16323 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16324
16325 [BZ #15859]
16326 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16327
16328 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16329
16330 * include/string.h (__ffs): Declare as hidden.
16331 * string/ffs.c (__ffs): Define as hidden.
16332 * sysdeps/i386/ffs.c (__ffs): Likewise.
16333 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16334 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16335 * sysdeps/s390/ffs.c (__ffs): Likewise.
16336 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16337
16338 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
16339
16340 * NEWS: Mention malloc probes.
16341
16342 * malloc/arena.c (new_heap): New memory_heap_new probe.
16343 (grow_heap): New memory_heap_more probe.
16344 (shrink_heap): New memory_heap_less probe.
16345 (heap_trim): New memory_heap_free probe.
16346 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16347 (systrim): New memory_sbrk_less probe.
16348 * manual/probes.texi: Document them.
16349
16350 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16351 * manual/probes.texi: Document it.
16352
16353 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16354 (__libc_realloc): Add memory_realloc_retry probe.
16355 (__libc_memalign): Add memory_memalign_retry probe.
16356 (__libc_valloc): Add memory_valloc_retry probe.
16357 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16358 (__libc_calloc): Add memory_calloc_retry probe.
16359 * manual/probes.texi: Document them.
16360
16361 * malloc/arena.c (get_free_list): Add probe
16362 memory_arena_reuse_free_list.
16363 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16364 and memory_arena_reuse.
16365 (arena_get2) [!PER_THREAD]: Likewise.
16366 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16367 memory_arena_reuse_realloc.
16368 * manual/probes.texi: Document them.
16369
16370 * malloc/malloc.c (__libc_free): Add
16371 memory_mallopt_free_dyn_thresholds probe.
16372 (__libc_mallopt): Add multiple memory_mallopt probes.
16373 * manual/probes.texi: Document them.
16374
16375 * malloc/malloc.c: Include stap-probe.h.
16376 (__libc_mallopt): Add memory_mallopt probe.
16377 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16378 * manual/probes.texi: New.
16379 * manual/Makefile (chapters): Add probes.
16380 * manual/threads.texi: Set next node.
16381
16382 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
16383
16384 [BZ #15963, #13985]
16385 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16386 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16387 Add `Chinese' to `nan' entry name.
16388
16389 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16390
16391 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16392 (POLYNOMIAL): Likewise.
16393 (TAYLOR_SINCOS): Likewise.
16394 (TAYLOR_SLOW): Likewise.
16395 (__sin): Use TAYLOR_SINCOS.
16396 (__cos): Likewise.
16397 (slow): Use TAYLOR_SLOW.
16398 (sloww): Likewise.
16399 (bsloww): Likewise.
16400 (csloww): Likewise.
16401
16402 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16403
16404 * stdlib/strtod_l.c: Fix buffer overrun.
16405
16406 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16407
16408 * benchtests/Makefile (bench): Add sincos.
16409 * benchtests/bench-sincos.c: New file.
16410
16411 * math/libm-test.inc (cos_test_data): New test inputs.
16412 (sin_test_data): Likewise.
16413
16414 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16415 macro.
16416 (__sin): Use it.
16417 (__cos): Likewise.
16418 (slow1): Likewise.
16419 (slow2): Likewise.
16420 (sloww1): Likewise.
16421 (sloww2): Likewise.
16422 (bsloww1): Likewise.
16423 (bsloww2): Likewise.
16424 (cslow2): Likewise.
16425 (csloww1): Likewise.
16426 (csloww2): Likewise.
16427
16428 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16429 function.
16430 (__sin): Use it.
16431 (__cos): Likewise.
16432
16433 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16434 gotos.
16435 (__cos): Likewise.
16436
16437 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16438
16439 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16440 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16441 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16442 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16443 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16444 * elf/cache.c (print_entry): Handle the new cache flags.
16445
16446 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16447 Aldy Hernandez <aldyh@redhat.com>
16448
16449 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16450 Change condition to [_SOFT_FLOAT].
16451 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16452 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16453 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16454 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16455 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16456 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16457 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16458 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16459 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16460 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16461 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16462 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16463 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16464 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16465 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16466 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16467 declaration.
16468
16469 2013-09-18 Joseph Myers <joseph@codesourcery.com>
16470
16471 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16472 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16473 (__longjmp): Use LOAD_GP to load saved GPRs.
16474 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16475 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16476 (__sigsetjmp): Use SAVE_GP to save GPRs.
16477
16478 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16479 Do not append -msoft-float.
16480 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16481
16482 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16483
16484 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16485
16486 2013-09-17 Joseph Myers <joseph@codesourcery.com>
16487
16488 [BZ #15966]
16489 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16490 (_FPU_GETCW): Use initial "__" on variable and field names but not
16491 on macro parameter name.
16492 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
16493 parentheses around reference to macro parameter.
16494
16495 2013-09-13 Richard Sandiford <richard@codesourcery.com>
16496
16497 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16498 prototype.
16499 (ctype_startup): Use uint32_t in cast and sizeof for
16500 ctype->charnames.
16501
16502 2013-09-11 Jia Liu <proljc@gmail.com>
16503
16504 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16505 __daddr_t_defined.
16506 [__FreeBSD__]: Likewise.
16507
16508 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
16509
16510 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16511 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16512 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16513 (strchr): Remove __strchr_sse42 ifunc selection.
16514 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16515 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16516
16517 2013-09-11 Will Newton <will.newton@linaro.org>
16518
16519 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16520 parameter to RES. Remove hardcoded 1000 value.
16521 * benchtests/bench-skeleton.c (main): Pass RES parameter
16522 to TIMING_INIT and multiply result by 1000.
16523
16524 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16525
16526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16527
16528 2013-09-11 Andreas Schwab <schwab@suse.de>
16529
16530 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16531 if not defined.
16532 (O_TMPFILE) [__USE_GNU]: Define.
16533 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16534 Define.
16535
16536 2013-09-11 Will Newton <will.newton@linaro.org>
16537
16538 [BZ #15857]
16539 * malloc/malloc.c (__libc_memalign): Check the value of bytes
16540 does not overflow.
16541
16542 2013-09-11 Will Newton <will.newton@linaro.org>
16543
16544 [BZ #15856]
16545 * malloc/malloc.c (__libc_valloc): Check the value of bytes
16546 does not overflow.
16547
16548 2013-09-11 Will Newton <will.newton@linaro.org>
16549
16550 [BZ #15855]
16551 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16552 does not overflow.
16553
16554 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
16555
16556 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16557 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16558 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16559 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16560 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16561
16562 2013-09-10 Allan McRae <allan@archlinux.org>
16563
16564 [BZ #15748]
16565 * manual/arith.texi (Parsing of Floats): Clarify
16566 cross-reference.
16567
16568 [BZ #15849]
16569 * manual/install.texi (Running make install): Mention
16570 --enable-pt-chown.
16571 * INSTALL: Regenerated.
16572
16573 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
16574
16575 * csu/init-first.c (_init): Remove the !SHARED condition around
16576 FPU control word initialization.
16577 * elf/dl-support.c (_dl_fpu_control): New variable.
16578 (_dl_aux_init) <AT_FPUCW>: Initialize it.
16579 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16580 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16581 * math/test-fpucw-static.c: New file.
16582 * math/test-fpucw-ieee.c: New file.
16583 * math/test-fpucw-ieee-static.c: New file.
16584 * math/Makefile (tests): Add `test-fpucw-ieee' and
16585 `$(tests-static)'.
16586 (tests-static): New variable.
16587 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16588 dependency to...
16589 [($(build-shared),yes)]
16590 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16591 ... this.
16592 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16593 New dependency.
16594
16595 2013-09-09 Allan McRae <allan@archlinux.org>
16596
16597 [BZ #15939]
16598 * manual/string.texi (Collation Functions): Fix typo in
16599 strcoll example.
16600 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16601
16602 [BZ #15893]
16603 * stdlib/isomac.c (get_null_defines): Fix memory leak.
16604
16605 [BZ #15892]
16606 * libio/memstream.c (open_memstream): Fix memory leak.
16607 * libio/wmemstream.c (open_wmemstream): Likewise.
16608
16609 [BZ #15895]
16610 * nscd/netgroupcache.c: Fix nesting of ifdefs.
16611
16612 2013-09-09 Will Newton <will.newton@linaro.org>
16613
16614 * malloc/Makefile: Add tst-realloc to tests.
16615 * malloc/tst-realloc.c: New file.
16616
16617 2013-09-09 Allan McRae <allan@archlinux.org>
16618
16619 [BZ #15844]
16620 * COPYING: Update from GNU website to fix FSF address.
16621 * COPYING.LIB: Likewise.
16622
16623 2013-09-06 David S. Miller <davem@davemloft.net>
16624
16625 * po/zh_TW.po: Update Chinese (traditional) translation from
16626 translation project.
16627
16628 2013-09-06 Richard Sandiford <richard@codesourcery.com>
16629 Joseph Myers <joseph@codesourcery.com>
16630
16631 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16632 "localeinfo.h".
16633 (obstack_chunk_alloc): New macro.
16634 (obstack_chunk_free): Likewise.
16635 (record_offset): New function.
16636 (init_locale_data): Likewise.
16637 (align_locale_data): Likewise.
16638 (add_locale_empty): Likewise.
16639 (add_locale_raw_data): Likewise.
16640 (add_locale_raw_obstack): Likewise.
16641 (add_locale_string): Likewise.
16642 (add_locale_wstring): Likewise.
16643 (add_locale_uint32): Likewise.
16644 (add_locale_uint32_array): Likewise.
16645 (add_locale_char): Likewise.
16646 (start_locale_structure): Likewise.
16647 (end_locale_structure): Likewise.
16648 (start_locale_prelude): Likewise.
16649 (end_locale_prelude): Likewise.
16650 (write_locale_data): Take locale_file structure rather than an
16651 iovec.
16652 * locale/programs/locfile.h: Include "obstack.h".
16653 (struct locale_file): Change to store locale file contents instead
16654 of header.
16655 (init_locale_data): New prototype.
16656 (align_locale_data): Likewise.
16657 (add_locale_empty): Likewise.
16658 (add_locale_raw_data): Likewise.
16659 (add_locale_raw_obstack): Likewise.
16660 (add_locale_string): Likewise.
16661 (add_locale_wstring): Likewise.
16662 (add_locale_uint32): Likewise.
16663 (add_locale_uint32_array): Likewise.
16664 (add_locale_char): Likewise.
16665 (start_locale_structure): Likewise.
16666 (end_locale_structure): Likewise.
16667 (start_locale_prelude): Likewise.
16668 (end_locale_prelude): Likewise.
16669 (write_locale_data): Update prototype.
16670 * locale/programs/3level.h (struct TABLE): Remove result field.
16671 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
16672 Use new locale_file interface.
16673 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
16674 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
16675 * locale/programs/ld-address.c (address_output): Use new
16676 locale_file interface.
16677 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
16678 NO_ADD_LOCALE.
16679 (collate_finish): Don't call collseq_table_finalize.
16680 (collate_output): Use new locale_file interface.
16681 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
16682 in file.
16683 (NO_FINALIZE): Change to NO_ADD_LOCALE.
16684 (TABLE): Move defines earlier in file.
16685 (ELEMENT): Likewise.
16686 (DEFAULT): Likewise.
16687 (wctrans_table_add): Move macro and inline function earlier in
16688 file.
16689 (struct wctype_table): Move type earlier in file.
16690 (add_locale_wctype_table): New static prototype.
16691 (struct locale_ctype_t): Use logical types instead of struct iovec
16692 pointers for members.
16693 (ctype_output): Use new locale_file interface.
16694 (wctype_table_finalize): Change to add_locale_wctype_table. Use
16695 new locale_file interface.
16696 (allocate_arrays): Update for use of new locale_file interface.
16697 * locale/programs/ld-identification.c (identification_output): Use
16698 new locale_file interface.
16699 * locale/programs/ld-measurement.c (measurement_output): Likewise.
16700 * locale/programs/ld-messages.c (messages_output): Likewise.
16701 * locale/programs/ld-monetary.c (monetary_output): Likewise.
16702 * locale/programs/ld-name.c (name_output): Likewise.
16703 * locale/programs/ld-numeric.c (numeric_output): Likewise.
16704 * locale/programs/ld-paper.c (paper_output): Likewise.
16705 * locale/programs/ld-telephone.c (telephone_output): Likewise.
16706 * locale/programs/ld-time.c (time_output): Likewise.
16707
16708 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16709
16710 * benchtests/Makefile: Add memrchr benchmark.
16711 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
16712 benchmark as memrchr.
16713 * benchtests/bench-memrchr-ifunc.c: New file.
16714 * benchtests/bench-memrchr.c: New file.
16715
16716 2013-09-06 Will Newton <will.newton@linaro.org>
16717
16718 * benchtests/Makefile (string-bench): Add memcpy.
16719
16720 2013-09-05 Carlos O'Donell <carlos@redhat.com>
16721 Cong Wang <amwang@redhat.com>
16722
16723 [BZ #15850]
16724 * sysdeps/unix/sysv/linux/bits/in.h
16725 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
16726 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
16727 before __USE_KERNEL_IPV6_DEFS uses.
16728 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
16729 IPPROTO_BEETPH.
16730 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
16731 sockaddr_in6, or ipv6_mreq.
16732
16733 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16734
16735 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
16736 memory access for final bytes in some large inputs.
16737 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
16738
16739 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16740
16741 * string/test-memrchr.c: New file.
16742 * string/test-memrchr-ifunc.c: New file.
16743 * string/Makefile: Add new memrchr testcase.
16744
16745 2013-09-05 Mike Frysinger <vapier@gentoo.org>
16746
16747 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
16748 fanotify_init returns EPERM.
16749
16750 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16751
16752 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
16753 errors.
16754 (top level): Treat second token from macro or constant entries for
16755 allowed headers as allowed.
16756 * include/complex.h: Condition internal declarations on
16757 [!_ISOMAC].
16758 * include/fenv.h: Condition include of <stdbool.h> and internal
16759 declarations on [!_ISOMAC].
16760
16761 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
16762
16763 [BZ #15923]
16764 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
16765
16766 2013-09-04 Joseph Myers <joseph@codesourcery.com>
16767
16768 * configure.in (--enable-versioning): Remove configure option.
16769 (libc_cv_asm_symver_directive): Remove configure test.
16770 (libc_cv_ld_version_script_option): Likewise.
16771 (VERSIONING): Remove variable and AC_SUBST.
16772 (DO_VERSIONING): Remove AC_DEFINE.
16773 * configure: Regenerated.
16774 * config.h.in (DO_VERSIONING): Remove macro.
16775 * Makerules [$(versioning) = yes]: Change conditionals to
16776 [$(build-shared) = yes].
16777 * config.make.in (versioning): Remove variable.
16778 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
16779 [$(build-shared) = yes].
16780 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
16781 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
16782 * elf/Makefile [$(versioning) = yes]: Change conditionals to
16783 [$(build-shared) = yes].
16784 * extra-lib.mk [$(versioning) = yes]: Likewise.
16785 * hurd/Makefile [$(versioning) = yes]: Likewise.
16786 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
16787 [SHARED].
16788 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
16789 [SHARED].
16790 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16791 [SHARED && !NO_HIDDEN].
16792 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
16793 [SHARED].
16794 [SHARED && DO_VERSIONING]: Likewise..
16795 * libio/Makefile [$(versioning) = yes]: Change conditionals to
16796 [$(build-shared) = yes].
16797 * manual/install.texi (--disable-versioning): Remove
16798 documentation.
16799 * INSTALL: Regenerated.
16800 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
16801 to [SHARED].
16802 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
16803 [$(build-shared) = yes].
16804 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
16805 * sysdeps/i386/i686/multiarch/strstr-c.c
16806 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
16807 [SHARED && !NO_HIDDEN].
16808 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
16809 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
16810 * sysdeps/powerpc/powerpc32/dl-machine.c
16811 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
16812 * sysdeps/powerpc/powerpc32/sysdep.h
16813 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
16814 to [SHARED && PIC && !NO_HIDDEN].
16815 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
16816 conditional to [SHARED].
16817
16818 2013-09-04 Will Newton <will.newton@linaro.org>
16819
16820 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
16821 * benchtests/bench-string.h: Include bench-timing.h instead
16822 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
16823 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
16824 call to HP_TIMING_DIFF_INIT.
16825 * benchtests/bench-memccpy.c: Use bench-timing.h macros
16826 instead of hp-timing.h macros.
16827 * benchtests/bench-memchr.c: Likewise.
16828 * benchtests/bench-memcmp.c: Likewise.
16829 * benchtests/bench-memcpy.c: Likewise.
16830 * benchtests/bench-memmem.c: Likewise.
16831 * benchtests/bench-memmove.c: Likewise.
16832 * benchtests/bench-memset.c: Likewise.
16833 * benchtests/bench-rawmemchr.c: Likewise.
16834 * benchtests/bench-strcasecmp.c: Likewise.
16835 * benchtests/bench-strcasestr.c: Likewise.
16836 * benchtests/bench-strcat.c: Likewise.
16837 * benchtests/bench-strchr.c: Likewise.
16838 * benchtests/bench-strcmp.c: Likewise.
16839 * benchtests/bench-strcpy.c: Likewise.
16840 * benchtests/bench-strcpy_chk.c: Likewise.
16841 * benchtests/bench-strlen.c: Likewise.
16842 * benchtests/bench-strncasecmp.c: Likewise.
16843 * benchtests/bench-strncat.c: Likewise.
16844 * benchtests/bench-strncmp.c: Likewise.
16845 * benchtests/bench-strncpy.c: Likewise.
16846 * benchtests/bench-strnlen.c: Likewise.
16847 * benchtests/bench-strpbrk.c: Likewise.
16848 * benchtests/bench-strrchr.c: Likewise.
16849 * benchtests/bench-strspn.c: Likewise.
16850 * benchtests/bench-strstr.c: Likewise.
16851
16852 2013-09-04 Will Newton <will.newton@linaro.org>
16853
16854 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
16855
16856 2013-09-03 Joseph Myers <joseph@codesourcery.com>
16857
16858 [BZ #15427]
16859 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16860 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
16861 * math/libm-test.inc (lgamma_test_data): Add more tests.
16862 * sysdeps/i386/fpu/libm-test-ulps: Update.
16863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16864
16865 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
16866
16867 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
16868 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16869 Add ifunc.
16870 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16871 Add strcmp-sse2-unaligned
16872 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
16873
16874 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16875
16876 * Versions.def (libc): Add GLIBC_2.19.
16877
16878 2013-09-02 Mike Frysinger <vapier@gentoo.org>
16879
16880 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
16881 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16882
16883 2013-09-02 Joseph Myers <joseph@codesourcery.com>
16884
16885 [BZ #14155]
16886 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16887 intermediate calculations in recurrence.
16888 (__ieee754_ynf): Likewise.
16889 * math/libm-test.inc (jn_test_data): Do not allow spurious
16890 underflow exception. Add more tests.
16891 (yn_test_data): Add more tests.
16892 * sysdeps/i386/fpu/libm-test-ulps: Update.
16893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16894
16895 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
16896
16897 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16898
16899 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16900
16901 * csu/init-first.c: Fix then/than typos.
16902 * locale/programs/ld-collate.c: Likewise.
16903 * locale/programs/linereader.h: Likewise.
16904 * manual/charset.texi: Likewise.
16905 * manual/filesys.texi: Likewise.
16906 * manual/stdio.texi: Likewise.
16907 * manual/string.texi: Likewise.
16908 * stdlib/fmtmsg.c: Likewise.
16909 * sysdeps/i386/stpncpy.S: Likewise.
16910 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16911 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16912 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16913 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16914
16915 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16916
16917 * elf/dl-open.c: Fix typos.
16918 * iconvdata/gbbig5.c: Likewise.
16919 * iconvdata/iso-2022-jp.c: Likewise.
16920 * iconv/gconv_int.h: Likewise.
16921 * iconv/loop.c: Likewise.
16922 * nis/rpcsvc/nis.h: Likewise.
16923 * resolv/ns_name.c: Likewise.
16924 * stdio-common/vfscanf.c: Likewise.
16925 * streams/stropts.h: Likewise.
16926 * sunrpc/rpc_thread.c: Likewise.
16927 * sysdeps/i386/strpbrk.S: Likewise.
16928 * sysdeps/ieee754/k_standard.c: Likewise.
16929 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16930 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16931 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16932 * sysdeps/mach/hurd/profil.c: Likewise.
16933 * sysdeps/s390/dl-procinfo.h: Likewise.
16934 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16935 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16936 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16937 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16938 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16939
16940 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16941
16942 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16943 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16944
16945 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16946
16947 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16948 aix specific files.
16949 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16950 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16951 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16952 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16953 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16954 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16955 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16956 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16957
16958 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16959 Roland McGrath <roland@hack.frob.com>
16960
16961 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16962 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16963
16964 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16965
16966 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16967 __executable_start symbol instead of _start.
16968
16969 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16970
16971 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16972 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16973 Move macros to...
16974 * sysdeps/gnu/ldsodefs.h: ... this new file.
16975
16976 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16977 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16978 instead of ELFOSABI_LINUX.
16979
16980 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16981 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16982 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16983 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16984 Likewise.
16985 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16986 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16987 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16988 Likewise.
16989 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16990 (ibm_extended_long_double): Add ieee_nan member.
16991 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16992 (do_test): New function.
16993
16994 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16995 TEST_TRUNC.
16996 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16997 functions, renamed from truncdfsf_test, trunctfsf_test,
16998 trunctfdf_test.
16999 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17000 functions.
17001 (do_test): Run all these.
17002
17003 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
17004
17005 * argp/argp-help.c: Fix typos.
17006 * argp/argp-parse.c: Likewise.
17007 * debug/backtracesyms.c: Likewise.
17008 * elf/elf.h: Likewise.
17009 * malloc/malloc.c: Likewise.
17010 * nis/nis_print.c: Likewise.
17011 * resolv/res_comp.c: Likewise.
17012 * stdlib/stdlib.h: Likewise.
17013 * sunrpc/clnt_tcp.c: Likewise.
17014 * sunrpc/clnt_udp.c: Likewise.
17015 * sunrpc/clnt_unix.c: Likewise.
17016 * sysdeps/unix/bsd/ptsname.c: Likewise.
17017 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17018 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17020 Likewise.
17021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17022 Likewise.
17023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17024 Likewise.
17025 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17026
17027 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17028
17029 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17031
17032 2013-08-27 Mike Frysinger <vapier@gentoo.org>
17033
17034 [BZ #15897]
17035 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17036 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17037 ($(objpfx)bug-dl-leaf): New rule.
17038 ($(objpfx)bug-dl-leaf.so): Likewise.
17039 ($(objpfx)bug-dl-leaf.out): Likewise.
17040 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17041 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17042 * dlfcn/bug-dl-leaf.c: New test.
17043 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17044 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17045 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17046 (dlclose): Likewise.
17047 (dlmopen): Likewise.
17048
17049 2013-08-27 Roland McGrath <roland@hack.frob.com>
17050
17051 * include/netdb.h [!_ISOMAC]:
17052 Don't include <tls.h>.
17053 (h_errno, __libc_h_errno): Move declaration and macros out of
17054 [_LIBC_REENTRANT].
17055
17056 * include/resolv.h [_RESOLV_H_]:
17057 Don't include <tls.h>.
17058 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17059 * resolv/res_libc.c: Don't include <tls.h>.
17060 (_res): Use __attribute__ ((nocommon)) in place of
17061 __attribute__ ((section (".bss"))).
17062
17063 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17064 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17065
17066 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17067
17068 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17069 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17070
17071 * resolv/res_mkquery.c: Include <sys/time.h>.
17072
17073 * inet/ifreq.c: Moved to ...
17074 * sysdeps/unix/ifreq.c: ... here.
17075 * inet/ifreq.c: New file, true stub version.
17076
17077 * socket/sa_len.c: New file.
17078 * socket/Makefile (aux): Add it.
17079 * sysdeps/unix/sysv/linux/Makefile
17080 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17081 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17082 and #include <socket/sa_len.c>.
17083 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17084 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17085
17086 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17087 * bits/socket.h: ... here.
17088
17089 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17090 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17091 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17092
17093 2013-08-27 Andreas Schwab <schwab@suse.de>
17094
17095 [BZ #15736]
17096 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17097 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17098 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17099 * string/test-strcasecmp.c (test_main): Run tests in several
17100 locales.
17101 * string/test-strncasecmp.c (test_main): Likewise.
17102
17103 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17104 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17105 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17106 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17107 (__strncasecmp_ssse3) [PIC]: Likewise.
17108
17109 2013-08-26 Roland McGrath <roland@hack.frob.com>
17110
17111 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17112
17113 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17114 instead of explicitly declaring xdecrypt.
17115 * nis/nss_nis/nis-publickey.c: Likewise.
17116
17117 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17118
17119 [BZ #15890]
17120 * nscd/aicache.c: Include res_hconf.h.
17121 (addhstaiX): Initialize res_hconf.
17122
17123 2013-08-26 Andreas Schwab <schwab@suse.de>
17124
17125 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17126 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17127
17128 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17129
17130 * nscd/aicache.c (addhstaiX): Fix indentation.
17131
17132 2013-08-25 Mike Frysinger <vapier@gentoo.org>
17133
17134 * configure.ac: Quote $build_pt_chown test.
17135 * configure: Regenerated.
17136
17137 2013-08-23 Joseph Myers <joseph@codesourcery.com>
17138
17139 [BZ #15532]
17140 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17141 * math/s_cexpf.c (__cexpf): Likewise.
17142 * math/s_cexpl.c (__cexpl): Likewise.
17143 * math/libm-test.inc (cexp_test_data): Correct expected return
17144 value for NaN + i0. Add another test.
17145
17146 2013-08-22 David S. Miller <davem@davemloft.net>
17147
17148 * po/ca.po: Update Catalan translation from translation project.
17149 * po/uk.po: Add Ukrainian translations from translation project.
17150
17151 2013-08-21 Joseph Myers <joseph@codesourcery.com>
17152
17153 [BZ #15797]
17154 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17155 is infinite, not alongside NaN test.
17156 * math/s_fdimf.c (__fdimf): Likewise.
17157 * math/s_fdiml.c (__fdiml): Likewise.
17158 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17159 errno is unchanged.
17160
17161 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
17162
17163 * argp/argp-help.c: Fix typos.
17164 * crypt/speeds.c: Likewise.
17165 * csu/check_fds.c: Likewise.
17166 * elf/dl-load.c: Likewise.
17167 * elf/dl-open.c: Likewise.
17168 * elf/reldep3.c: Likewise.
17169 * elf/reldep.c: Likewise.
17170 * elf/sprof.c: Likewise.
17171 * iconv/iconv_charmap.c: Likewise.
17172 * iconv/skeleton.c: Likewise.
17173 * iconv/strtab.c: Likewise.
17174 * io/lockf64.c: Likewise.
17175 * libio/libioP.h: Likewise.
17176 * resolv/gai_notify.c: Likewise.
17177 * resolv/ns_name.c: Likewise.
17178 * resolv/ns_samedomain.c: Likewise.
17179 * resolv/res_send.c: Likewise.
17180 * stdlib/random.c: Likewise.
17181 * sunrpc/rpc/xdr.h: Likewise.
17182 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17183 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17184 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17185 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17186 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17187 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17188 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17189 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17190 * sysdeps/mach/hurd/check_fds.c: Likewise.
17191 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17192 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17193 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17194 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17195 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17196 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17197 * sysdeps/pthread/aio_notify.c: Likewise.
17198 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17199 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17200 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17201 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17202 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17203
17204 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17205
17206 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17207 version if bit_Slow_SSE4_2 is set.
17208 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17209 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17210
17211 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17212
17213 [BZ #15867]
17214 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17215 trampoline stack frame information.
17216 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17217 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17218 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17219 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17220 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17221 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17222 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17223 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17224 sa_flags value.
17225 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17226 interrupting a syscall and set with option SA_SIGINFO.
17227
17228 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17229
17230 [BZ #15531]
17231 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17232 argument is infinite.
17233 * math/s_cprojf.c (__cprojf): Likewise.
17234 * math/s_cprojl.c (__cprojl): Likewise.
17235 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17236 * math/libm-test.inc (cproj_test_data): Add more tests.
17237
17238 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17239
17240 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17241 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17242 size. Use __ffs to determine corresponding shift.
17243
17244 2013-08-20 Joseph Myers <joseph@codesourcery.com>
17245 Roland McGrath <roland@hack.frob.com>
17246
17247 * Makefile (INSTALL): Remove trailing blank lines from output of
17248 makeinfo.
17249
17250 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17251
17252 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17253 Align 32 bit compat elf_greg to 8 bytes.
17254
17255 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17256
17257 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17258
17259 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17260
17261 * string/strcoll_l.c (coll_seq): New structure.
17262 (get_next_seq_cached): New function.
17263 (get_next_seq): New function.
17264 (do_compare): New function.
17265 (STRCOLL): Use GNU style definition. Simplify implementation
17266 by using get_next_seq, get_next_seq_cached and do_compare.
17267
17268 2013-08-16 Florian Weimer <fweimer@redhat.com>
17269
17270 [BZ #14699]
17271 CVE-2013-4237
17272 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17273 member.
17274 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17275 member.
17276 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17277 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17278 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17279 conditional.
17280 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17281 GETDENTS_64BIT_ALIGNED.
17282 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17283 * manual/filesys.texi (Reading/Closing Directory): Document
17284 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17285 strongly.
17286 * manual/conf.texi (Limits for Files): Add portability note to
17287 NAME_MAX, PATH_MAX.
17288 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17289
17290 2013-08-13 Andreas Schwab <schwab@suse.de>
17291
17292 [BZ #15749]
17293 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17294 of fabs.
17295 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17296 LDBL_MAX_EXP >= 16384]: Add tests for it.
17297
17298 2013-08-12 David S. Miller <davem@davemloft.net>
17299
17300 * version.h (RELEASE): Set to "development".
17301 (VERSION): Set to "2.18.90".
17302 * NEWS: Add 2.19 section.
17303
17304 2013-08-03 David S. Miller <davem@davemloft.net>
17305
17306 * po/ko.po: Update Korean translation from translation project.
17307
17308 2013-08-01 David S. Miller <davem@davemloft.net>
17309
17310 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17311 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17312 Bilka.
17313
17314 2013-07-30 David S. Miller <davem@davemloft.net>
17315
17316 * po/fr.po: Update French translation from translation project.
17317
17318 2013-07-28 David S. Miller <davem@davemloft.net>
17319
17320 * po/cs.po: Update Czech translation from translation project.
17321
17322 * po/sv.po: Update Swedish translation from translation project.
17323
17324 2013-07-27 David S. Miller <davem@davemloft.net>
17325
17326 * po/eo.po: Update Esperanto translation from translation project.
17327
17328 * po/vi.po: Update Vietnamese translation from translation project.
17329
17330 * po/de.po: Update German translation from translation project.
17331
17332 2013-07-26 David S. Miller <davem@davemloft.net>
17333
17334 * po/bg.po: Update Bulgarian translation from translation project.
17335
17336 * po/nl.po: Update Dutch translation from translation project.
17337 * po/pl.po: Update Polish translation from translation project.
17338 * po/ru.po: Update Russian translation from translation project.
17339
17340 2013-07-24 David S. Miller <davem@davemloft.net>
17341
17342 * po/libc.pot: Update.
17343
17344 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17345
17346 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17347 variable page size.
17348 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17349 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17350 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17351
17352 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17353
17354 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17355
17356 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17357 Andreas Schwab <schwab@suse.de>
17358 Roland McGrath <roland@hack.frob.com>
17359 Joseph Myers <joseph@codesourcery.com>
17360 Carlos O'Donell <carlos@redhat.com>
17361
17362 [BZ #15755]
17363 * config.h.in: Define HAVE_PT_CHOWN.
17364 * config.make.in (build-pt-chown): New variable.
17365 * configure.in (--enable-pt_chown): New configure option.
17366 * configure: Regenerate.
17367 * login/Makefile: Include Makeconfig. Build pt_chown only if
17368 build-pt-chown is enabled.
17369 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17370 pt_chown to fix pty ownership.
17371 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17372 CLOSE_ALL_FDS.
17373 * manual/install.texi (Configuring and compiling): Mention
17374 --enable-pt_chown. Add @findex for grantpt.
17375 * INSTALL: Regenerate.
17376
17377 2013-07-20 David S. Miller <davem@davemloft.net>
17378
17379 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17380 difference between 32-bit and 64-bit.
17381
17382 2013-07-15 Carlos O'Donell <carlos@redhat.com>
17383
17384 [BZ #15711]
17385 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17386 Avoid system header dependency with -ffreestanding.
17387 ($(objpfx)bits/syscall%d): Likewise.
17388
17389 2013-07-13 David S. Miller <davem@davemloft.net>
17390
17391 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17392 underflows from atanl/atan2l due to bug 15319.
17393 (casinh_test_data): Likewise.
17394
17395 2013-07-07 David S. Miller <davem@davemloft.net>
17396
17397 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17398
17399 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17400
17401 * sysdeps/i386/fpu/libm-test-ulps: Update.
17402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17403
17404 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17405
17406 * configure.in (--enable-lock-elision): Fix message text.
17407 * INSTALL: Regenerate.
17408 * configure: Regenerate.
17409
17410 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17411
17412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17413
17414 2013-07-03 Andreas Jaeger <aj@suse.de>
17415
17416 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17417 define.
17418 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17419 (ptrace_peeksiginfo_args): Add.
17420 (__ptrace_peeksiginfo_flags): Add.
17421 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17422 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17423 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17424
17425 2013-07-03 Allan McRae <allan@archlinux.org>
17426
17427 * sysdeps/i386/fpu/libm-test-ulps: Update.
17428
17429 2013-07-02 David S. Miller <davem@davemloft.net>
17430
17431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17432
17433 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17434
17435 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17436
17437 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17438
17439 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17441
17442 2013-07-02 Andi Kleen <ak@linux.intel.com>
17443
17444 * config.h.in (ENABLE_LOCK_ELISION): Add.
17445 * configure.in (--enable-lock-elision): Add option.
17446 * manual/install.texi: Document --enable lock elision.
17447 * configure: Regenerate
17448 * INSTALL: Regenerate.
17449
17450 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17451
17452 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17453 SSE4.2 strcasecmp for libc.a.
17454 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17455
17456 2013-07-02 Joseph Myers <joseph@codesourcery.com>
17457
17458 [BZ #13304]
17459 * soft-fp/op-common.h (_FP_FMA): New macro.
17460 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17461 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17462 (_FP_MUL_MEAT_1_imm): ... here.
17463 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17464 (_FP_MUL_MEAT_1_wide): ... here.
17465 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17466 (_FP_MUL_MEAT_1_hard): ... here.
17467 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17468 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17469 (_FP_MUL_MEAT_2_wide): ... here.
17470 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17471 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17472 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17473 (_FP_MUL_MEAT_2_gmp): ... here.
17474 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17475 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17476 (_FP_MUL_MEAT_4_wide): ... here.
17477 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17478 (_FP_MUL_MEAT_4_gmp): ... here.
17479 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17480 (_FP_WFRACBITS_DW_S): Likewise.
17481 (_FP_WFRACXBITS_DW_S): Likewise.
17482 (_FP_HIGHBIT_DW_S): Likewise.
17483 (FP_FMA_S): Likewise.
17484 (_FP_FRAC_HIGH_DW_S): Likewise.
17485 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17486 (_FP_WFRACBITS_DW_D): Likewise.
17487 (_FP_WFRACXBITS_DW_D): Likewise.
17488 (_FP_HIGHBIT_DW_D): Likewise.
17489 (FP_FMA_D): Likewise.
17490 (_FP_FRAC_HIGH_DW_D): Likewise.
17491 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17492 (_FP_WFRACBITS_DW_E): Likewise.
17493 (_FP_WFRACXBITS_DW_E): Likewise.
17494 (_FP_HIGHBIT_DW_E): Likewise.
17495 (FP_FMA_E): Likewise.
17496 (_FP_FRAC_HIGH_DW_E): Likewise.
17497 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17498 (_FP_WFRACBITS_DW_Q): Likewise.
17499 (_FP_WFRACXBITS_DW_Q): Likewise.
17500 (_FP_HIGHBIT_DW_Q): Likewise.
17501 (FP_FMA_Q): Likewise.
17502 (_FP_FRAC_HIGH_DW_Q): Likewise.
17503 * soft-fp/fmasf4.c: New file.
17504 * soft-fp/fmadf4.c: Likewise.
17505 * soft-fp/fmatf4.c: Likewise.
17506
17507 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17508
17509 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17510 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17511 Silvermont.
17512 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17513 macro.
17514 (index_Slow_SSE4_2): Likewise.
17515 (index_Prefer_PMINUB_for_stringop): Likewise.
17516 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17517 bit_Slow_SSE4_2 is set.
17518 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17519 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17520
17521 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17522
17523 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17524 rtld_global._dl_hwcap2.
17525 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17526 POWER8.
17527 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17528 POWER8 feature descriptions defined in _dl_hwcap2.
17529 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17530 string handling for POWER8 feature bits.
17531 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17532 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17533 _dl_powerpc_cap_flags.
17534 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17535 * sysdeps/powerpc/rtld-global-offsets.sym
17536 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17537 _dl_hwcap2 in the rtld_global_ro structure.
17538
17539 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17540
17541 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17542 hardware capabilities in support of AT_HWCAP2.
17543 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17544 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17545 GLRO(dl_hwcap2).
17546 (_dl_show_auxv): Add support for calling _dl_procinfo to display
17547 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
17548 explicitly the unknown a_type display mechanism is used.
17549 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17550 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17551 struct member.
17552 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17553 to macro prototype for AT_HWCAP2 support.
17554 * sysdeps/i386/dl-procinfo.h: Likewise.
17555 * sysdeps/s390/dl-procinfo.h: Likewise.
17556 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17557 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
17558 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
17559 return -1 for unknown a_type display fallback.
17560 * sysdeps/sparc/dl-procinfo.h: Likewise.
17561 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17562 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17563
17564 2013-06-28 Joseph Myers <joseph@codesourcery.com>
17565
17566 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17567 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17568
17569 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
17570
17571 [BZ #12492]
17572 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17573 mprotect making __stack_prot writable.
17574
17575 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
17576 Joseph Myers <joseph@codesourcery.com>
17577
17578 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17579 as being properly aligned.
17580
17581 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
17582
17583 * dlfcn/modstatic5.c: New file.
17584 * dlfcn/tststatic5.c: New file.
17585 * dlfcn/Makefile (tests): Add tststatic5.
17586 (tests-static): Likewise.
17587 (modules-names): Add modstatic5.
17588 (tststatic5-ENV): New variable.
17589 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17590
17591 [BZ #15022]
17592 * elf/dl-support.c (_dl_main_map): New variable.
17593 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17594 (_dl_nns, _dl_load_adds): Set to 1.
17595 (_dl_initial_searchlist): Refer to _dl_main_map.
17596 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17597 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17598 call to _dl_get_origin.
17599 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17600 around call_map.
17601 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17602 * dlfcn/modstatic3.c: New file.
17603 * dlfcn/tststatic3.c: New file.
17604 * dlfcn/tststatic4.c: New file.
17605 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17606 (tests-static): Likewise.
17607 (modules-names): Add modstatic3.
17608 (tststatic3-ENV, tststatic4-ENV): New variables.
17609 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17610 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17611
17612 2013-06-26 Joseph Myers <joseph@codesourcery.com>
17613
17614 * configure.in (CC): Require GCC version 4.4 or later.
17615 * configure: Regenerated.
17616 * manual/install.texi (Tools for Compilation): Update GCC version
17617 requirement.
17618 * INSTALL: Regenerated.
17619
17620 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17621
17622 [BZ #15674]
17623 * string/test-memcmp.c (check2): New.
17624 (main): Call check2.
17625
17626 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17627
17628 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
17629
17630 [BZ #15022]
17631 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17632 over to...
17633 (dl_open_worker) [!SHARED]: ... here.
17634
17635 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17636
17637 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17638
17639 2013-06-25 Richard Henderson <rth@redhat.com>
17640
17641 * locale/programs/locarchive.c: Include <libc-internal.h>
17642
17643 2013-06-25 Joseph Myers <joseph@codesourcery.com>
17644
17645 * manual/texinfo.tex: Update to version 2013-06-21.17, with
17646 trailing whitespace removed.
17647
17648 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17649
17650 [BZ #10283]
17651 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
17652 * locale/programs/locarchive.c: Include libc-mmap.h.
17653 (prepare_address_space): Take two new outputs (the mmap base and len).
17654 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
17655 values.
17656 (create_archive): Declare new mmap base and len values for
17657 prepare_address_space, and store the result in ah.
17658 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
17659 (enlarge_archive): If ah->mmap_base is not NULL, use that and
17660 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17661 Declare new mmap base and len values for
17662 prepare_address_space, and store the result in new_ah.
17663 (open_archive): Declare new mmap base and len values for
17664 prepare_address_space, and store the result in ah.
17665 (close_archive): If ah->mmap_base is not NULL, use that and
17666 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
17667 * sysdeps/generic/libc-mmap.h: New file.
17668
17669 2013-06-24 Mike Frysinger <vapier@gentoo.org>
17670
17671 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
17672 (ALIGN_UP): Likewise.
17673 (PTR_ALIGN_DOWN): Likewise.
17674 (PTR_ALIGN_UP): Likewise.
17675
17676 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17677
17678 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
17679 entry mapped to PPC_PLATFORM_POWER8.
17680 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
17681 POWER8.
17682 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
17683 (_dl_string_platform): Add case for exporting platform position for
17684 POWER8.
17685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
17686 search path to sysdeps/powerpc/powerpc32/power8 directory.
17687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
17688 search path to sysdeps/powerpc/powerpc64/power8 directory.
17689 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
17690 power7 directories.
17691 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
17692 power7 directories.
17693
17694 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17695
17696 * INSTALL: Regenerate.
17697
17698 * nscd/connections.c (nscd_init): Fix comment.
17699
17700 2013-06-22 Joseph Myers <joseph@codesourcery.com>
17701
17702 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
17703
17704 [BZ #15667]
17705 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
17706 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
17707
17708 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17709
17710 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
17711 DL_DST_REQ_STATIC.
17712 (DL_DST_REQ_STATIC): Remove macro.
17713
17714 2013-06-21 Joseph Myers <joseph@codesourcery.com>
17715
17716 [BZ #7006]
17717 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
17718 with a shift of 0 bits.
17719
17720 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
17721
17722 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
17723 $(tststatic-ENV).
17724
17725 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17726
17727 [BZ #15655]
17728 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
17729
17730 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17731
17732 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
17733 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
17734 accepts -fno-tree-loop-distribute-patterns.
17735 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
17736 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
17737 recursive call.
17738 * string/memset.c (memset): Likewise.
17739 * string/test-memmove.c (simple_memmove): Disable loop transformation
17740 to library calls.
17741 * string/test-memset.c (simple_memset): Likewise.
17742 * benchtests/bench-memmove.c (simple_memmove): Likewise.
17743 * benchtests/bench-memset.c (simple_memset): Likewise.
17744 * configure: Regenerated.
17745
17746 2013-06-20 Joseph Myers <joseph@codesourcery.com>
17747
17748 * math/test-misc.c (main): Ignore fesetround failure when failures
17749 of subsequent rounding tests would be ignored.
17750
17751 [BZ #15654]
17752 * math/fedisblxcpt.c (fedisableexcept): Return 0.
17753 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
17754 * math/fegetenv.c (__fegetenv): Return 0.
17755 * math/fegetexcept.c (fegetexcept): Return 0.
17756 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
17757 FE_TONEAREST.
17758 * math/feholdexcpt.c (feholdexcept): Return 0.
17759 * math/fesetenv.c (__fesetenv): Return 0.
17760 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
17761 argument FE_TONEAREST.
17762 * math/feupdateenv.c (__feupdateenv): Return 0.
17763 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
17764
17765 2013-06-18 Roland McGrath <roland@hack.frob.com>
17766
17767 * elf/rtld-Rules (rtld-compile-command.S): New variable.
17768 (rtld-compile-command.s, rtld-compile-command.c): New variables.
17769 ($(objpfx)rtld-%.os rules): Use them.
17770
17771 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17772
17773 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
17774 fields.
17775
17776 2013-06-17 Roland McGrath <roland@hack.frob.com>
17777
17778 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
17779 length of target pattern, then descending length of dependency pattern.
17780 * configure.in (AWK): Require gawk 3.1.2 or newer.
17781 * manual/install.texi (Tools for Compilation): Say that we do.
17782 * configure: Regenerated.
17783
17784 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
17785 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
17786 * scripts/sysd-rules.awk: ... this new script.
17787 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
17788 than a glob-style pattern.
17789
17790 2013-06-17 Joseph Myers <joseph@codesourcery.com>
17791
17792 * math/test-misc.c (main): Do not treat incorrectly rounded
17793 conversions as failure unless ROUNDING_TESTS passes.
17794
17795 2013-06-15 Joseph Myers <joseph@codesourcery.com>
17796
17797 [BZ #15631]
17798 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
17799 restore exception state around main square root computation, then
17800 check for inexactness explicitly.
17801
17802 * math/libm-test.inc (fma_test_data): Add another test.
17803
17804 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17805
17806 * manual/threads.texi (Non-POSIX Extensions): New document
17807 node. Document pthread_getattr_default_np and
17808 pthread_setattr_default_np.
17809
17810 * Versions.def (libpthread): Add GLIBC_2.18.
17811 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
17812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
17813 Likewise.
17814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17815 Likewise.
17816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17817 Likewise.
17818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17819 Likewise.
17820 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
17821 Likewise.
17822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17823 Likewise.
17824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17825 Likewise.
17826 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
17827 Likewise.
17828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17829 Likewise.
17830
17831 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17832
17833 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17834 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
17835
17836 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17837 H.J. Lu <hjl.tools@gmail.com>
17838
17839 [BZ #15627]
17840 * sysdeps/x86_64/rtld-memset.c: Remove file.
17841 * sysdeps/x86_64/rtld-memset.S: New file.
17842
17843 2013-06-14 Joseph Myers <joseph@codesourcery.com>
17844
17845 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
17846 (test_in_one_mode): Take arguments for whether the rounding mode
17847 is supported for each floating-point type.
17848 (do_test): Pass new arguments to test_in_one_mode using
17849 ROUNDING_TESTS.
17850
17851 2013-06-13 Roland McGrath <roland@hack.frob.com>
17852
17853 * posix/tst-waitid.c (do_test): Distinguish different instances of
17854 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
17855 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
17856 before entering the kernel for waitpid.
17857
17858 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17859
17860 * NEWS: Fix note on clock function precision. Text by Roland
17861 McGrath.
17862
17863 2013-06-13 Roland McGrath <roland@hack.frob.com>
17864
17865 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
17866 it into place only when and if the sanity check passes.
17867
17868 2013-06-13 Joseph Myers <joseph@codesourcery.com>
17869
17870 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
17871 output for whether conversion result is exact. Take argument
17872 indicating whether type is IBM long double.
17873 (round_for_all): Change need_exact field to ibm_ld.
17874 * stdlib/tst-strtod-round.c (struct exactness): New type.
17875 (struct test): Change bool ld_ok field to struct exactness exact.
17876 (TEST): Update all definitions for change to field.
17877 (tests): Regenerate array contents.
17878 (test_in_one_mode): Take pointer to new field instead of old ld_ok
17879 field value. Check for IBM long double here.
17880 (do_test): Update calls to test_in_one_mode.
17881
17882 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17883
17884 [BZ #12515]
17885 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17886 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17887
17888 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17889
17890 [BZ #15605]
17891 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17892 generated by the compiler on loop optimizations.
17893 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17894 general definitions.
17895
17896 2013-06-12 Joseph Myers <joseph@codesourcery.com>
17897
17898 * math/bug-nextafter.c: Include <math-tests.h>.
17899 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17900 the relevant type.
17901 * math/bug-nexttoward.c: Include <math-tests.h>.
17902 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17903 the relevant type.
17904 * math/test-misc.c: Include <math-tests.h>.
17905 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17906 the relevant type.
17907
17908 2013-06-12 Andreas Jaeger <aj@suse.de>
17909
17910 * po/ia.po: Update Interlingua translation from translation
17911 project.
17912
17913 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17914
17915 * include/fenv.h: Include stdbool.h.
17916 (struct rm_ctx): New structure.
17917 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17918 Define macro.
17919 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17920 (SET_RESTORE_ROUNDF): Likewise.
17921 (SET_RESTORE_ROUNDL): Likewise.
17922 (SET_RESTORE_ROUND_NOEX): Likewise.
17923 (SET_RESTORE_ROUND_NOEXF): Likewise.
17924 (SET_RESTORE_ROUND_NOEXL): Likewise.
17925 (SET_RESTORE_ROUND_53BIT): Likewise.
17926 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17927 (libc_feresetround_noexf_ctx): Likewise.
17928 (libc_feresetround_noexl_ctx): Likewise.
17929 (libc_feholdsetround_53bit_ctx): Likewise.
17930 (libc_feresetround_53bit_ctx): Likewise.
17931 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17932 (libc_feholdexcept_setround_sse_ctx): New function.
17933 (libc_fesetenv_sse_ctx): Likewise.
17934 (libc_feupdateenv_sse_ctx): Likewise.
17935 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17936 (libc_feholdexcept_setround_387_ctx): Likewise.
17937 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17938 (libc_feholdsetround_387_prec_ctx): Likewise.
17939 (libc_feholdsetround_387_ctx): Likewise.
17940 (libc_feholdsetround_387_53bit_ctx): Likewise.
17941 (libc_feholdsetround_sse_ctx): Likewise.
17942 (libc_feresetround_sse_ctx): Likewise.
17943 (libc_feresetround_387_ctx): Likewise.
17944 (libc_feupdateenv_387_ctx): Likewise.
17945 (libc_feholdexcept_setroundf_ctx): Define macro.
17946 (libc_fesetenvf_ctx): Likewise.
17947 (libc_feupdateenvf_ctx): Likewise.
17948 (libc_feholdsetroundf_ctx): Likewise.
17949 (libc_feresetroundf_ctx): Likewise.
17950 (libc_feholdexcept_setround_ctx): Likewise.
17951 (libc_fesetenv_ctx): Likewise.
17952 (libc_feupdateenv_ctx): Likewise.
17953 (libc_feholdsetround_ctx): Likewise.
17954 (libc_feresetround_ctx): Likewise.
17955 (libc_feholdexcept_setroundl_ctx): Likewise.
17956 (libc_feupdateenvl_ctx): Likewise.
17957 (libc_feholdsetroundl_ctx): Likewise.
17958 (libc_feresetroundl_ctx): Likewise.
17959 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17960 (libc_feresetround_53bit_ctx): Likewise.
17961
17962 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17963
17964 * locale/iso-639.def: Convert to UTF-8.
17965
17966 2013-06-11 Joseph Myers <joseph@codesourcery.com>
17967
17968 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17969 (EXCEPTION_TESTS_double): Likewise.
17970 (EXCEPTION_TESTS_long_double): Likewise.
17971 (EXCEPTION_TESTS): Likewise.
17972 * math/libm-test.inc (test_exceptions): Only test exceptions if
17973 EXCEPTION_TESTS (FLOAT).
17974
17975 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17976
17977 * benchtests/Makefile (string-bench): Add strcpy_chk and
17978 stpcpy_chk.
17979 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17980 * benchtests/bench-stpcpy_chk.c: New file.
17981 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17982 * benchtests/bench-strcpy_chk.c: New file.
17983 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17984 code.
17985 (do_test): Likewise.
17986
17987 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17988
17989 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17990 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17991 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17992 with tabs where appropriate.
17993 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17994 dl-procinfo.h.
17995 [PPC_PLATFORM_PPC440]: Likewise.
17996 [PPC_PLATFORM_PPC464]: Likewise.
17997 [PPC_PLATFORM_PPC476]: Likewise.
17998 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17999 ppc464, and ppc476 platform strings merging from ports/
18000 dl-procinfo.h.
18001
18002 2013-06-11 Andreas Schwab <schwab@suse.de>
18003
18004 [BZ #14991]
18005 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18006 (from_ucs4_idx): Regenerate.
18007 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18008 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18009 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18010 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18011 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18012 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18013 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18014 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18015 from FROM_LOOP and TO_LOOP specific macros.
18016 (BODY): Handle combining characters.
18017 * iconvdata/BIG5HKSCS.irreversible: Update.
18018 * iconvdata/BIG5HKSCS.precomposed: New file.
18019 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18020 characters.
18021 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18022
18023 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18024
18025 * include/sys/time.h: Fix indentation and add copyright header.
18026
18027 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18028 (do_test): Likewise.
18029 * string/test-memchr.c (do_one_test): Likewise.
18030 (do_test): Likewise.
18031 * string/test-memcmp.c (do_one_test): Likewise.
18032 (do_test): Likewise.
18033 * string/test-memcpy.c (do_one_test): Likewise.
18034 (do_test): Likewise.
18035 * string/test-memmem.c (do_one_test): Likewise.
18036 (do_test): Likewise.
18037 (do_random_tests): Likewise.
18038 * string/test-memmove.c (do_one_test): Likewise.
18039 (do_test): Likewise.
18040 * string/test-memset.c (do_one_test): Likewise.
18041 (do_test): Likewise.
18042 * string/test-rawmemchr.c (do_one_test): Likewise.
18043 (do_test): Likewise.
18044 * string/test-strcasecmp.c (do_one_test): Likewise.
18045 (do_test): Likewise.
18046 * string/test-strcasestr.c (do_one_test): Likewise.
18047 (do_test): Likewise.
18048 * string/test-strcat.c (do_one_test): Likewise.
18049 (do_test): Likewise.
18050 * string/test-strchr.c (do_one_test): Likewise.
18051 (do_test): Likewise.
18052 * string/test-strcmp.c (do_one_test): Likewise.
18053 (do_test): Likewise.
18054 * string/test-strcpy.c (do_one_test): Likewise.
18055 (do_test): Likewise.
18056 * string/test-string.h: Likewise.
18057 (test_init): Likewise.
18058 * string/test-strlen.c (do_one_test): Likewise.
18059 (do_test): Likewise.
18060 * string/test-strncasecmp.c (do_one_test): Likewise.
18061 (do_test): Likewise.
18062 * string/test-strncat.c (do_one_test): Likewise.
18063 (do_test): Likewise.
18064 * string/test-strncmp.c (do_one_test): Likewise.
18065 (do_test_limit): Likewise.
18066 (do_test): Likewise.
18067 * string/test-strncpy.c (do_one_test): Likewise.
18068 (do_test): Likewise.
18069 * string/test-strnlen.c (do_one_test): Likewise.
18070 (do_test): Likewise.
18071 * string/test-strpbrk.c (do_one_test): Likewise.
18072 (do_test): Likewise.
18073 * string/test-strrchr.c (do_one_test): Likewise.
18074 (do_test): Likewise.
18075 * string/test-strspn.c (do_one_test): Likewise.
18076 (do_test): Likewise.
18077 * string/test-strstr.c (do_one_test): Likewise.
18078 (do_test): Likewise.
18079
18080 * benchtests/Makefile (string-bench): Add string benchmarks.
18081 * benchtests/bench-bcopy-ifunc.c: New file.
18082 * benchtests/bench-bcopy.c: New file.
18083 * benchtests/bench-bzero-ifunc.c: New file.
18084 * benchtests/bench-bzero.c: New file.
18085 * benchtests/bench-memccpy-ifunc.c: New file.
18086 * benchtests/bench-memccpy.c: New file.
18087 * benchtests/bench-memchr-ifunc.c: New file.
18088 * benchtests/bench-memchr.c: New file.
18089 * benchtests/bench-memcmp-ifunc.c: New file.
18090 * benchtests/bench-memcmp.c: New file.
18091 * benchtests/bench-memmem-ifunc.c: New file.
18092 * benchtests/bench-memmem.c: New file.
18093 * benchtests/bench-memmove-ifunc.c: New file.
18094 * benchtests/bench-memmove.c: New file.
18095 * benchtests/bench-mempcpy-ifunc.c: New file.
18096 * benchtests/bench-mempcpy.c: New file.
18097 * benchtests/bench-memset-ifunc.c: New file.
18098 * benchtests/bench-memset.c: New file.
18099 * benchtests/bench-rawmemchr-ifunc.c: New file.
18100 * benchtests/bench-rawmemchr.c: New file.
18101 * benchtests/bench-stpcpy-ifunc.c: New file.
18102 * benchtests/bench-stpcpy.c: New file.
18103 * benchtests/bench-stpncpy-ifunc.c: New file.
18104 * benchtests/bench-stpncpy.c: New file.
18105 * benchtests/bench-strcasecmp-ifunc.c: New file.
18106 * benchtests/bench-strcasecmp.c: New file.
18107 * benchtests/bench-strcasestr-ifunc.c: New file.
18108 * benchtests/bench-strcasestr.c: New file.
18109 * benchtests/bench-strcat-ifunc.c: New file.
18110 * benchtests/bench-strcat.c: New file.
18111 * benchtests/bench-strchr-ifunc.c: New file.
18112 * benchtests/bench-strchr.c: New file.
18113 * benchtests/bench-strchrnul-ifunc.c: New file.
18114 * benchtests/bench-strchrnul.c: New file.
18115 * benchtests/bench-strcmp-ifunc.c: New file.
18116 * benchtests/bench-strcmp.c: New file.
18117 * benchtests/bench-strcpy-ifunc.c: New file.
18118 * benchtests/bench-strcpy.c: New file.
18119 * benchtests/bench-strcspn-ifunc.c: New file.
18120 * benchtests/bench-strcspn.c: New file.
18121 * benchtests/bench-strlen-ifunc.c: New file.
18122 * benchtests/bench-strlen.c: New file.
18123 * benchtests/bench-strncasecmp-ifunc.c: New file.
18124 * benchtests/bench-strncasecmp.c: New file.
18125 * benchtests/bench-strncat-ifunc.c: New file.
18126 * benchtests/bench-strncat.c: New file.
18127 * benchtests/bench-strncmp-ifunc.c: New file.
18128 * benchtests/bench-strncmp.c: New file.
18129 * benchtests/bench-strncpy-ifunc.c: New file.
18130 * benchtests/bench-strncpy.c: New file.
18131 * benchtests/bench-strnlen-ifunc.c: New file.
18132 * benchtests/bench-strnlen.c: New file.
18133 * benchtests/bench-strpbrk-ifunc.c: New file.
18134 * benchtests/bench-strpbrk.c: New file.
18135 * benchtests/bench-strrchr-ifunc.c: New file.
18136 * benchtests/bench-strrchr.c: New file.
18137 * benchtests/bench-strspn-ifunc.c: New file.
18138 * benchtests/bench-strspn.c: New file.
18139 * benchtests/bench-strstr-ifunc.c: New file.
18140 * benchtests/bench-strstr.c: New file.
18141
18142 * benchtests/Makefile: Disable parallel execution of targets.
18143 (string-bench): Add memcpy.
18144 (benchset): New variable to store a list of benchmark sets.
18145 (bench-func): Renamed from bench.
18146 (bench-set): New target.
18147 (bench): Depend on bench-func and bench-set.
18148 * benchtests/README: Add section on benchmark sets.
18149 * benchtests/bench-memcpy-ifunc.c: New file.
18150 * benchtests/bench-memcpy.c: New file.
18151 * benchtests/bench-string.h: New file.
18152
18153 2013-06-11 Andreas Schwab <schwab@suse.de>
18154
18155 [BZ #15577]
18156 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18157 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18158 values in the triple.
18159 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18160 terminator in the group key.
18161
18162 2013-06-11 Andreas Jaeger <aj@suse.de>
18163
18164 * po/zh_TW.po: Update Chinese (traditional) translation from
18165 translation project.
18166
18167 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18168
18169 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18170 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18171 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18172 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18173 (clock_getcpuclockid): Likewise.
18174 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18175 Add weak_alias and libc_hidden_def.
18176 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18177 * rt/clock_gettime.c (clock_gettime): Rename to
18178 __clock_gettime. Add weak_alias and libc_hidden_def.
18179 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18180 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18181 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18182 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18183 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18184 Likewise.
18185 * rt/clock_settime.c (clock_settime): Rename to
18186 __clock_settime. Add weak_alias and libc_hidden_def.
18187 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18188
18189 2013-06-10 Joseph Myers <joseph@codesourcery.com>
18190
18191 * mach/err_boot.sub: Remove trailing whitespace.
18192 * mach/err_ipc.sub: Likewise.
18193 * mach/err_mach.sub: Likewise.
18194
18195 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18196 (ROUNDING_TESTS_double): Likewise.
18197 (ROUNDING_TESTS_long_double): Likewise.
18198 (ROUNDING_TESTS): Likewise.
18199 * math/libm-test.inc: Include <math-tests.h>.
18200 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18201 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18202 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18203 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18204
18205 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18206
18207 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18208 of assigning.
18209
18210 2013-06-08 Joseph Myers <joseph@codesourcery.com>
18211
18212 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18213 otherwise empty TRANS lines.
18214 * sysdeps/gnu/errlist.c: Regenerated.
18215
18216 * catgets/gencat.c (error_print): Use (void) in function
18217 definition.
18218 * crypt/crypt_util.c (__init_des): Likewise.
18219 * crypt/speeds.c (Stop): Likewise.
18220 (main): Likewise.
18221 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18222 * inet/ruserpass.c (token): Likewise.
18223 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18224 * intl/localealias.c (extend_alias_table): Likewise.
18225 * intl/plural-exp.c (init_germanic_plural): Likewise.
18226 * libio/fcloseall.c (__fcloseall): Likewise.
18227 * libio/genops.c (_IO_flush_all): Likewise.
18228 (_IO_flush_all_linebuffered): Likewise.
18229 (_IO_cleanup): Likewise.
18230 (_IO_iter_begin): Likewise.
18231 (_IO_iter_end): Likewise.
18232 (_IO_list_lock): Likewise.
18233 (_IO_list_unlock): Likewise.
18234 (_IO_list_resetlock): Likewise.
18235 * libio/getchar.c (getchar): Likewise.
18236 * libio/getchar_u.c (getchar_unlocked): Likewise.
18237 * libio/getwchar.c (getwchar): Likewise.
18238 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18239 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18240 * login/getpt.c (__getpt): Likewise.
18241 * login/tst-utmp.c (main): Likewise.
18242 * malloc/hooks.c (__malloc_check_init): Likewise.
18243 * malloc/malloc.c (__malloc_stats): Likewise.
18244 * malloc/mtrace.c (tr_break): Likewise.
18245 (mtrace): Likewise.
18246 (muntrace): Likewise.
18247 * misc/fstab.c (endfsent): Likewise.
18248 * misc/getclktck.c (__getclktck): Likewise.
18249 * misc/getdtsz.c (__getdtablesize): Likewise.
18250 * misc/gethostid.c (gethostid): Likewise.
18251 * misc/getpagesize.c (__getpagesize): Likewise.
18252 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18253 (__get_nprocs): Likewise.
18254 (__get_phys_pages): Likewise.
18255 (__get_avphys_pages): Likewise.
18256 * misc/getttyent.c (getttyent): Likewise.
18257 (setttyent): Likewise.
18258 (endttyent): Likewise.
18259 * misc/getusershell.c (getusershell): Likewise.
18260 (endusershell): Likewise.
18261 (setusershell): Likewise.
18262 (initshells): Likewise.
18263 * misc/hsearch.c (__hdestroy): Likewise.
18264 * misc/sync.c (sync): Likewise.
18265 * misc/syslog.c (closelog_internal): Likewise.
18266 (closelog): Likewise.
18267 * misc/ttyslot.c (ttyslot): Likewise.
18268 * misc/vhangup.c (vhangup): Likewise.
18269 * posix/fork.c (__fork): Likewise.
18270 * posix/getegid.c (__getegid): Likewise.
18271 * posix/geteuid.c (__geteuid): Likewise.
18272 * posix/getgid.c (__getgid): Likewise.
18273 * posix/getpid.c (__getpid): Likewise.
18274 * posix/getppid.c (__getppid): Likewise.
18275 * posix/getuid.c (__getuid): Likewise.
18276 * posix/pause.c (pause): Likewise.
18277 * posix/setpgrp.c (setpgrp): Likewise.
18278 * posix/setsid.c (__setsid): Likewise.
18279 * posix/test-vfork.c (noop): Likewise.
18280 * resolv/gethnamaddr.c (_endhtent): Likewise.
18281 (_gethtent): Likewise.
18282 (ht_endhostent): Likewise.
18283 (gethostent): Likewise.
18284 (dns_service): Likewise.
18285 * stdlib/drand48.c (drand48): Likewise.
18286 * stdlib/lrand48.c (lrand48): Likewise.
18287 * stdlib/mrand48.c (mrand48): Likewise.
18288 * stdlib/rand.c (rand): Likewise.
18289 * stdlib/random.c (__random): Likewise.
18290 * stdlib/setenv.c (clearenv): Likewise.
18291 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18292 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18293 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18294 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18295 (__get_nprocs): Likewise.
18296 (__get_phys_pages): Likewise.
18297 (__get_avphys_pages): Likewise.
18298 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18299 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18300 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18301 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18302 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18303 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18304 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18305 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18306 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18307 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18308 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18309 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18310 * sysdeps/posix/clock.c (clock): Likewise.
18311 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18312 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18313 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18314 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18315 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18316 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18317 (__get_nprocs_conf): Likewise.
18318 (__get_phys_pages): Likewise.
18319 (__get_avphys_pages): Likewise.
18320 * time/clock.c (clock): Likewise.
18321 * time/tzset.c (__tzname_max): Likewise.
18322
18323 2013-06-07 Joseph Myers <joseph@codesourcery.com>
18324
18325 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18326 (__bswap_32): Do not use "register".
18327 * crypt/crypt.c (_ufc_doit_r): Likewise.
18328 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18329 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18330 * gmon/gmon.c (__monstartup): Likewise.
18331 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18332 * hurd/hurdmalloc.c (more_memory): Likewise.
18333 (malloc): Likewise.
18334 (free): Likewise.
18335 (realloc): Likewise.
18336 (malloc_fork_prepare): Likewise.
18337 (malloc_fork_parent): Likewise.
18338 (malloc_fork_child): Likewise.
18339 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18340 (_svcauth_des): Likewise.
18341 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18342 * inet/inet_net.c (inet_network): Likewise.
18343 * inet/inet_netof.c (inet_netof): Likewise.
18344 * inet/rcmd.c (__validuser2_sa): Likewise.
18345 * io/fts.c (fts_open): Likewise.
18346 (fts_load): Likewise.
18347 (fts_close): Likewise.
18348 (fts_read): Likewise.
18349 (fts_children): Likewise.
18350 (fts_build): Likewise.
18351 (fts_stat): Likewise.
18352 (fts_sort): Likewise.
18353 (fts_alloc): Likewise.
18354 (fts_lfree): Likewise.
18355 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18356 (_IO_file_xsgetn): Likewise.
18357 (_IO_file_xsgetn_mmap): Likewise.
18358 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18359 (_IO_cookie_write): Likewise.
18360 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18361 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18362 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18363 * malloc/obstack.c (_obstack_begin): Likewise.
18364 (_obstack_begin_1): Likewise.
18365 (_obstack_newchunk): Likewise.
18366 (_obstack_allocated_p): Likewise.
18367 (obstack_free): Likewise.
18368 (_obstack_memory_used): Likewise.
18369 * misc/getttyent.c (getttynam): Likewise.
18370 (getttyent): Likewise.
18371 (skip): Likewise.
18372 (value): Likewise.
18373 * misc/getusershell.c (initshells): Likewise.
18374 * misc/syslog.c (__vsyslog_chk): Likewise.
18375 * misc/ttyslot.c (ttyslot): Likewise.
18376 * nis/nis_hash.c (__nis_hash): Likewise.
18377 * posix/fnmatch_loop.c (FCT): Likewise.
18378 * posix/getconf.c (print_all): Likewise.
18379 (main): Likewise.
18380 * posix/getopt.c (exchange): Likewise.
18381 * posix/glob.c (globfree): Likewise.
18382 (prefix_array): Likewise.
18383 (__glob_pattern_type): Likewise.
18384 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18385 (NS_GET32): Likewise.
18386 (NS_PUT16): Likewise.
18387 (NS_PUT32): Likewise.
18388 * resolv/gethnamaddr.c (getanswer): Likewise.
18389 (gethostbyname2): Likewise.
18390 (gethostbyaddr): Likewise.
18391 (_gethtent): Likewise.
18392 (_gethtbyname2): Likewise.
18393 (_gethtbyaddr): Likewise.
18394 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18395 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18396 * resolv/res_init.c (__res_vinit): Likewise.
18397 (net_mask): Likewise.
18398 * resolv/res_mkquery.c (outchar): Likewise.
18399 (PRINT): Likewise.
18400 * stdio-common/printf_fp.c (outchar): Likewise.
18401 (PRINT): Likewise.
18402 * stdio-common/printf_fphex.c (outchar): Likewise.
18403 (PRINT): Likewise.
18404 * stdio-common/printf_size.c (outchar): Likewise.
18405 (PRINT): Likewise.
18406 * stdio-common/test_rdwr.c (main): Likewise.
18407 * stdio-common/tfformat.c (matches): Likewise.
18408 * stdio-common/vfprintf.c (outchar): Likewise.
18409 (printf_unknown): Likewise.
18410 (buffered_vfprintf): Likewise.
18411 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18412 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18413 (ReadFile): Likewise.
18414 * stdlib/qsort.c (SWAP): Likewise.
18415 (_quicksort): Likewise.
18416 * stdlib/setenv.c (__add_to_environ): Likewise.
18417 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18418 * stdlib/strtol_l.c (__strtol_l): Likewise.
18419 * stdlib/tst-strtod.c (main): Likewise.
18420 * stdlib/tst-strtol.c (main): Likewise.
18421 * stdlib/tst-strtoll.c (main): Likewise.
18422 * string/bits/string2.h (__strcmp_cc): Likewise.
18423 (__strcmp_cg): Likewise.
18424 (__strcspn_c1): Likewise.
18425 (__strcspn_c2): Likewise.
18426 (__strcspn_c3): Likewise.
18427 (__strspn_c1): Likewise.
18428 (__strspn_c2): Likewise.
18429 (__strspn_c3): Likewise.
18430 (__strsep_1c): Likewise.
18431 (__strsep_2c): Likewise.
18432 (__strsep_3c): Likewise.
18433 * string/memccpy.c (__memccpy): Likewise.
18434 * string/stpcpy.c (__stpcpy): Likewise.
18435 * string/strcmp.c (strcmp): Likewise.
18436 * string/strrchr.c (strrchr): Likewise.
18437 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18438 Likewise.
18439 * sysdeps/mach/hurd/getcwd.c
18440 (_hurd_canonicalize_directory_name_internal): Likewise.
18441 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18442 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18443 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18444 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18445 Likewise, in both definitions.
18446 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18447 definitions.
18448 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18449 64] (__bswap_64): Likewise.
18450 * time/test_time.c (main): Likewise.
18451 * time/tzfile.c (__tzfile_read): Likewise.
18452 (__tzfile_compute): Likewise.
18453 * time/tzset.c (__tzset_parse_tz): Likewise.
18454 (tzset_internal): Likewise.
18455 (compute_change): Likewise.
18456 * wcsmbs/wcscat.c (__wcscat): Likewise.
18457 * wcsmbs/wcschr.c (wcschr): Likewise.
18458 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18459 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18460 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18461 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18462 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18463 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18464 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18465 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18466 * wcsmbs/wmemset.c (wmemset): Likewise.
18467
18468 2013-06-06 Joseph Myers <joseph@codesourcery.com>
18469
18470 * scripts/config.guess: Update to version 2013-05-16.
18471 * scripts/config.sub: Update to version 2013-04-24.
18472 * scripts/install-sh: Update to version 2011-11-20.07.
18473 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18474 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18475
18476 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
18477
18478 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18479 * elf/sln.c: Likewise.
18480 * hurd/hurd/ioctl.h: Likewise.
18481 * hurd/hurdmalloc.c: Likewise.
18482 * hurd/xattr.c: Likewise.
18483 * include/shlib-compat.h: Likewise.
18484 * inet/ruserpass.c: Likewise.
18485 * libio/iofgets_u.c: Likewise.
18486 * libio/iofgetws_u.c: Likewise.
18487 * locale/programs/ld-identification.c: Likewise.
18488 * locale/programs/ld-time.c: Likewise.
18489 * mach/msg-destroy.c: Likewise.
18490 * nss/nss_files/files-netgrp.c: Likewise.
18491 * resolv/res_data.c: Likewise.
18492 * soft-fp/op-1.h: Likewise.
18493 * soft-fp/op-2.h: Likewise.
18494 * soft-fp/op-4.h: Likewise.
18495 * soft-fp/op-common.h: Likewise.
18496 * stdio-common/printf_fphex.c: Likewise.
18497 * stdlib/strtod_l.c: Likewise.
18498 * sunrpc/rpc/clnt.h: Likewise.
18499 * sysdeps/generic/framestate.c: Likewise.
18500 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18501 * sysdeps/i386/bsd-setjmp.S: Likewise.
18502 * sysdeps/i386/__longjmp.S: Likewise.
18503 * sysdeps/i386/setjmp.S: Likewise.
18504 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18505 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18506 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18507 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18508 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18509 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18510 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18511 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18512 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18513 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18514 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18515 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18516 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18517 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18518 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18519 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18520 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18521 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18522 * sysdeps/ieee754/support.c: Likewise.
18523 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18524 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18525 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18526 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18527 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18528 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18529 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18530 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18531 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18532 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18533 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18534 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18535 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18536 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18537 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18538 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18539 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18541
18542 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
18543
18544 * posix/transbug.c: Remove executable mode.
18545
18546 2013-06-05 Joseph Myers <joseph@codesourcery.com>
18547
18548 * crypt/speeds.c: Remove trailing whitespace.
18549 * dlfcn/default.c: Likewise.
18550 * elf/ifuncdep2.c: Likewise.
18551 * elf/ifuncmain1.c: Likewise.
18552 * elf/ifuncmain1vis.c: Likewise.
18553 * elf/testobj.h: Likewise.
18554 * elf/tst-stackguard1.c: Likewise.
18555 * gmon/sys/gmon.h: Likewise.
18556 * hurd/hurdmsg.c: Likewise.
18557 * hurd/new-fd.c: Likewise.
18558 * hurd/ports-get.c: Likewise.
18559 * iconvdata/ibm1008_420.c: Likewise.
18560 * inet/tst-getni1.c: Likewise.
18561 * inet/tst-getni2.c: Likewise.
18562 * libio/ioungetc.c: Likewise.
18563 * libio/wfiledoalloc.c: Likewise.
18564 * manual/libm-err-tab.pl: Likewise.
18565 * math/w_dremf.c: Likewise.
18566 * misc/ftruncate.c: Likewise.
18567 * posix/bug-glob2.c: Likewise.
18568 * posix/tst-pcre.c: Likewise.
18569 * posix/wait4.c: Likewise.
18570 * resolv/README: Likewise.
18571 * resolv/res_debug.h: Likewise.
18572 * resolv/tst-inet_ntop.c: Likewise.
18573 * setjmp/bug269-setjmp.c: Likewise.
18574 * soft-fp/extended.h: Likewise.
18575 * soft-fp/op-1.h: Likewise.
18576 * soft-fp/op-2.h: Likewise.
18577 * soft-fp/op-4.h: Likewise.
18578 * soft-fp/op-8.h: Likewise.
18579 * soft-fp/testit.c: Likewise.
18580 * stdio-common/bug16.c: Likewise.
18581 * stdlib/random.c: Likewise.
18582 * sunrpc/rpcsvc/rquota.x: Likewise.
18583 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18584 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18585 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18586 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18587 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18588 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18589 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18590 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18591 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18592 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18593 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18594 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18595 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18596 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18597 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18598 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18599 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18600 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18601 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18602 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18603 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18604 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18605 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18606 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18607 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18608 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18609 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18610 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18611 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18612 * sysdeps/ieee754/s_lib_version.c: Likewise.
18613 * sysdeps/mach/hurd/check_fds.c: Likewise.
18614 * sysdeps/mach/hurd/getsockname.c: Likewise.
18615 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18616 * sysdeps/mach/hurd/recvfrom.c: Likewise.
18617 * sysdeps/powerpc/bits/link.h: Likewise.
18618 * sysdeps/powerpc/dl-procinfo.c: Likewise.
18619 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18620 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18621 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18622 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18623 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18624 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18625 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18626 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18627 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18628 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18629 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18630 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18631 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18632 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18633 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18634 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18635 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18636 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18637 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18638 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18639 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18640 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18641 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18642 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18643 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18644 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18645 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18646 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18647 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18648 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18649 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18650 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18651 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
18652 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
18653 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18654 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
18655 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18656 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18657 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
18658 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
18659 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
18660 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
18661 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
18662 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18663 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
18664 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
18665 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18666 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
18667 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
18668 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18669 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18670 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18671 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18672 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
18673 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18674 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18675 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18676 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
18677 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18678 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
18679 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
18680 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
18681 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18682 * sysdeps/powerpc/sysdep.h: Likewise.
18683 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18684 * sysdeps/s390/s390-64/sub_n.S: Likewise.
18685 * sysdeps/sh/dl-trampoline.S: Likewise.
18686 * sysdeps/sh/memset.S: Likewise.
18687 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
18688 * sysdeps/sh/strlen.S: Likewise.
18689 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
18690 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
18691 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
18692 * sysdeps/sparc/sparc32/rem.S: Likewise.
18693 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
18694 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
18695 * sysdeps/sparc/sparc32/strchr.S: Likewise.
18696 * sysdeps/sparc/sparc32/udiv.S: Likewise.
18697 * sysdeps/sparc/sparc32/urem.S: Likewise.
18698 * sysdeps/sparc/sparc64/add_n.S: Likewise.
18699 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18700 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
18701 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
18702 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
18703 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
18704 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
18705 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
18706 * sysdeps/unix/bsd/times.c: Likewise.
18707 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
18708 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
18709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
18710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
18711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18712 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
18713 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18714 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
18715 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
18716 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
18717 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
18718 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18719 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
18720 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18721 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18722 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18723 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18724 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
18725 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
18726 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
18727 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
18728 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
18729 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18730 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
18731 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
18732 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18733 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
18734 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18735 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
18736 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
18737 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
18738 * sysdeps/x86_64/strcspn.S: Likewise.
18739
18740 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18741
18742 * locale/C-translit.h: Revert #include <stdint.h> because this is a
18743 generated file. Regenerate properly from gen-translit.pl.
18744 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
18745 locale/C-translit.h.
18746
18747 2013-06-05 Andreas Schwab <schwab@suse.de>
18748
18749 [BZ #15100]
18750 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
18751 week as 6 instead of -1.
18752 * time/tst-strptime.c (day_tests): Add test case.
18753
18754 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18755
18756 * sysdeps/generic/math_private.h
18757 (libc_feholdexcept_setround_53bit): Replace with
18758 libc_feholdsetround_53bit.
18759 (libc_feupdateenv_53bit): Replace with
18760 libc_feresetround_53bit.
18761 (SET_RESTORE_ROUND_53BIT): Adjust.
18762
18763 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18764
18765 * string/test-strchrnul.c: Add copyright header.
18766
18767 * posix/tst-getaddrinfo4.c: Increase test timeout.
18768
18769 2013-06-03 Carlos O'Donell <carlos@redhat.com>
18770
18771 [BZ #15536]
18772 * math/libm-test.inc (MAX_EXP): Remove
18773 (MIN_EXP): Define.
18774 (ulp): Use MIN_EXP - MANT_DIG.
18775 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
18776
18777 2013-05-31 Carlos O'Donell <carlos@redhat.com>
18778
18779 * po/be.po: Revert last change.
18780 * po/zh_CN.po: Likewise.
18781 * po/header.pot: Likewise.
18782
18783 2013-05-31 Joseph Myers <joseph@codesourcery.com>
18784
18785 * Makefile ($(common-objpfx)linkobj/libc.so): Define
18786 link-libc-deps to empty as target-specific variable.
18787 * Makerules (link-libc-args): New variable.
18788 (libc-for-link): Likewise.
18789 (link-libc-deps): Likewise.
18790 (lib%.so): Depend on $(link-libc-deps). Link with
18791 $(link-libc-args).
18792 (build-module): Link with $(link-libc-args).
18793 (build-module-asneeded): Likewise.
18794 (build-module-helper-objlist): Filter out $(link-libc-deps) from
18795 list of objects.
18796 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
18797 target-specific variable.
18798 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
18799 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
18800 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
18801 libc.
18802 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
18803 libc and ld.so.
18804 ($(objpfx)libpcprofile.so): Likewise.
18805 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
18806 libc_nonshared.a.
18807 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
18808 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
18809 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
18810 $(link-libc-deps).
18811 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
18812 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
18813 * login/Makefile ($(objpfx)libutil.so): Likewise.
18814 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
18815 * math/Makefile ($(objpfx)libm.so): Likewise.
18816 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
18817 $(objpfx)libnsl.so): Define libc-for-link as target-specific
18818 variable instead of depending directly on libc.
18819 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
18820 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
18821 $(link-libc-deps).
18822 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
18823 libc.
18824 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
18825 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
18826 ($(objpfx)libanl.so): Likewise.
18827 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
18828 ld.so.
18829 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
18830 $(link-libc-deps).
18831 * sysdeps/i386/fpu/Makefile: Remove file.
18832 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
18833 ($(objpfx)libm.so): Remove dependency on ld.so.
18834
18835 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
18836
18837 [BZ # 15553]
18838 * nis/yp_xdr.c (XDRMAXNAME): Define.
18839 (XDRMAXRECORD): Define.
18840 (xdr_domainname): Use XDRMAXNAME.
18841 (xdr_mapname): Likewise.
18842 (xdr_peername): Likewise.
18843 (xdr_keydat): Use XDRMAXRECORD.
18844 (xdr_valdat): Likewise.
18845
18846 2013-05-30 Jeff Law <law@redhat.com>
18847
18848 [BZ #14256]
18849 * manual/errno.texi (ESTALE): Update to account for more than
18850 just NFS file systems.
18851 * sysdeps/gnu/errlist.c: Regenerated.
18852
18853 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18854
18855 [BZ #15465]
18856 * elf/Makefile (tests): Add tst-null-argv.
18857 (modules-names): Add tst-null-argv-lib.
18858 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
18859 (tst-null-argv-ENV): Set environment for tst-null-argv.
18860 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
18861 (RTLD_PROGNAME): New macro.
18862 * elf/tst-null-argv.c: New test case.
18863 * elf/tst-null-argv-lib.c: Library for test case.
18864 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
18865 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
18866 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
18867 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
18868 * elf/dl-init.c (call_init): Likewise.
18869 (_dl_init): Likewise.
18870 * elf/dl-load.c (print_search_path): Likewise.
18871 (_dl_map_object): Likewise.
18872 * elf/dl-lookup.c (do_lookup_x): Likewise.
18873 (add_dependency): Likewise.
18874 (_dl_lookup_symbol_x): Likewise.
18875 (_dl_debug_bindings): Likewise.
18876 * elf/dl-open.c (_dl_show_scope): Likewise.
18877 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18878 * elf/dl-version.c (match_symbol): Likewise.
18879 (_dl_check_map_versions): Likewise.
18880 * elf/rtld.c (dl_main): Likewise.
18881 (print_unresolved): Use RTLD_PROGNAME.
18882 (print_missing_version): Likewise.
18883 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18884 (elf_machine_rela): Likewise.
18885 * sysdeps/powerpc/powerpc32/dl-machine.c
18886 (__process_machine_rela): Likewise.
18887 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18888 Likewise.
18889 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18890 Likewise.
18891 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18892 Likewise.
18893 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18894 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18895 Likewise.
18896 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18897 Likewise.
18898 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18899
18900 2013-05-28 Carlos O'Donell <carlos@redhat.com>
18901
18902 * po/be.po: Add descriptive title.
18903 * po/zh_CN.po: Likewise.
18904 * po/header.pot: Likewise.
18905
18906 2013-05-28 Mike Frysinger <vapier@gentoo.org>
18907
18908 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18909 error message.
18910 (enlarge_archive): Likewise.
18911
18912 2013-05-28 Ben North <ben@redfrontdoor.org>
18913
18914 * manual/arith.texi (frexp): It is the magnitude of the return
18915 value which lies in [0.5, 1), not the return value itself.
18916
18917 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18918
18919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18920
18921 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18922
18923 * stdio-common/bug26.c (main): Correct fscanf template.
18924
18925 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18926 declare _dl_skip_args.
18927
18928 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18929 Don't declare.
18930
18931 * manual/platform.texi: Add missing @end deftypefun.
18932
18933 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18934
18935 [BZ #15529]
18936 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18937 bit of mantissa of 2^16382.
18938 * math/libm-test.inc (hypot_test_data): Add more tests.
18939
18940 * math/libm-test.inc: Add drem and pow10 to list of tested
18941 functions.
18942 (pow10_test): New function.
18943 (drem_test): Likewise.
18944 (drem_test_tonearest): Likewise.
18945 (drem_test_towardzero): Likewise.
18946 (drem_test_downward): Likewise.
18947 (drem_test_upward): Likewise.
18948 (main): Call the new functions.
18949
18950 * math/libm-test.inc (finite_test_data): Remove.
18951 (finite_test): Run tests from isfinite_test_data.
18952 (gamma_test_data): Remove.
18953 (gamma_test): Run tests from lgamma_test_data.
18954 * sysdeps/i386/fpu/libm-test-ulps: Update.
18955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18956
18957 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18958
18959 * manual/platform.texi: Add PowerPC PPR function set documentation.
18960 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18961 implementation.
18962
18963 2013-05-24 Carlos O'Donell <carlos@redhat.com>
18964
18965 * math/libm-test.inc (MAX_EXP): Define.
18966 (ULPDIFF): Define.
18967 (ulp): New function.
18968 (check_float_internal): Use ULPDIFF.
18969 (cpow_test): Disable failing test.
18970 (check_ulp): Test ulp() implemetnation.
18971 (main): Call check_ulp before starting tests.
18972
18973 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18974
18975 * math/gen-libm-test.pl (generate_testfile): Do not handle
18976 START_DATA and END_DATA.
18977 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18978 END_DATA.
18979 (acos_tonearest_test_data): Likewise.
18980 (acos_towardzero_test_data): Likewise.
18981 (acos_downward_test_data): Likewise.
18982 (acos_upward_test_data): Likewise.
18983 (acosh_test_data): Likewise.
18984 (asin_test_data): Likewise.
18985 (asin_tonearest_test_data): Likewise.
18986 (asin_towardzero_test_data): Likewise.
18987 (asin_downward_test_data): Likewise.
18988 (asin_upward_test_data): Likewise.
18989 (asinh_test_data): Likewise.
18990 (atan_test_data): Likewise.
18991 (atanh_test_data): Likewise.
18992 (atan2_test_data): Likewise.
18993 (cabs_test_data): Likewise.
18994 (cacos_test_data): Likewise.
18995 (cacosh_test_data): Likewise.
18996 (carg_test_data): Likewise.
18997 (casin_test_data): Likewise.
18998 (casinh_test_data): Likewise.
18999 (catan_test_data): Likewise.
19000 (catanh_test_data): Likewise.
19001 (cbrt_test_data): Likewise.
19002 (ccos_test_data): Likewise.
19003 (ccosh_test_data): Likewise.
19004 (ceil_test_data): Likewise.
19005 (cexp_test_data): Likewise.
19006 (cimag_test_data): Likewise.
19007 (clog_test_data): Likewise.
19008 (clog10_test_data): Likewise.
19009 (conj_test_data): Likewise.
19010 (copysign_test_data): Likewise.
19011 (cos_test_data): Likewise.
19012 (cos_tonearest_test_data): Likewise.
19013 (cos_towardzero_test_data): Likewise.
19014 (cos_downward_test_data): Likewise.
19015 (cos_upward_test_data): Likewise.
19016 (cosh_test_data): Likewise.
19017 (cosh_tonearest_test_data): Likewise.
19018 (cosh_towardzero_test_data): Likewise.
19019 (cosh_downward_test_data): Likewise.
19020 (cosh_upward_test_data): Likewise.
19021 (cpow_test_data): Likewise.
19022 (cproj_test_data): Likewise.
19023 (creal_test_data): Likewise.
19024 (csin_test_data): Likewise.
19025 (csinh_test_data): Likewise.
19026 (csqrt_test_data): Likewise.
19027 (ctan_test_data): Likewise.
19028 (ctan_tonearest_test_data): Likewise.
19029 (ctan_towardzero_test_data): Likewise.
19030 (ctan_downward_test_data): Likewise.
19031 (ctan_upward_test_data): Likewise.
19032 (ctanh_test_data): Likewise.
19033 (ctanh_tonearest_test_data): Likewise.
19034 (ctanh_towardzero_test_data): Likewise.
19035 (ctanh_downward_test_data): Likewise.
19036 (ctanh_upward_test_data): Likewise.
19037 (erf_test_data): Likewise.
19038 (erfc_test_data): Likewise.
19039 (exp_test_data): Likewise.
19040 (exp_tonearest_test_data): Likewise.
19041 (exp_towardzero_test_data): Likewise.
19042 (exp_downward_test_data): Likewise.
19043 (exp_upward_test_data): Likewise.
19044 (exp10_test_data): Likewise.
19045 (exp2_test_data): Likewise.
19046 (expm1_test_data): Likewise.
19047 (fabs_test_data): Likewise.
19048 (fdim_test_data): Likewise.
19049 (finite_test_data): Likewise.
19050 (floor_test_data): Likewise.
19051 (fma_test_data): Likewise.
19052 (fma_towardzero_test_data): Likewise.
19053 (fma_downward_test_data): Likewise.
19054 (fma_upward_test_data): Likewise.
19055 (fmax_test_data): Likewise.
19056 (fmin_test_data): Likewise.
19057 (fmod_test_data): Likewise.
19058 (fpclassify_test_data): Likewise.
19059 (frexp_test_data): Likewise.
19060 (gamma_test_data): Likewise.
19061 (hypot_test_data): Likewise.
19062 (ilogb_test_data): Likewise.
19063 (isfinite_test_data): Likewise.
19064 (isgreater_test_data): Likewise.
19065 (isgreaterequal_test_data): Likewise.
19066 (isinf_test_data): Likewise.
19067 (isless_test_data): Likewise.
19068 (islessequal_test_data): Likewise.
19069 (islessgreater_test_data): Likewise.
19070 (isnan_test_data): Likewise.
19071 (isnormal_test_data): Likewise.
19072 (issignaling_test_data): Likewise.
19073 (isunordered_test_data): Likewise.
19074 (j0_test_data): Likewise.
19075 (j1_test_data): Likewise.
19076 (jn_test_data): Likewise.
19077 (ldexp_test_data): Likewise.
19078 (lgamma_test_data): Likewise.
19079 (lrint_test_data): Likewise.
19080 (lrint_tonearest_test_data): Likewise.
19081 (lrint_towardzero_test_data): Likewise.
19082 (lrint_downward_test_data): Likewise.
19083 (lrint_upward_test_data): Likewise.
19084 (llrint_test_data): Likewise.
19085 (llrint_tonearest_test_data): Likewise.
19086 (llrint_towardzero_test_data): Likewise.
19087 (llrint_downward_test_data): Likewise.
19088 (llrint_upward_test_data): Likewise.
19089 (log_test_data): Likewise.
19090 (log10_test_data): Likewise.
19091 (log1p_test_data): Likewise.
19092 (log2_test_data): Likewise.
19093 (logb_test_data): Likewise.
19094 (logb_downward_test_data): Likewise.
19095 (lround_test_data): Likewise.
19096 (llround_test_data): Likewise.
19097 (modf_test_data): Likewise.
19098 (nearbyint_test_data): Likewise.
19099 (nextafter_test_data): Likewise.
19100 (nexttoward_test_data): Likewise.
19101 (pow_test_data): Likewise.
19102 (pow_tonearest_test_data): Likewise.
19103 (pow_towardzero_test_data): Likewise.
19104 (pow_downward_test_data): Likewise.
19105 (pow_upward_test_data): Likewise.
19106 (remainder_test_data): Likewise.
19107 (remainder_tonearest_test_data): Likewise.
19108 (remainder_towardzero_test_data): Likewise.
19109 (remainder_downward_test_data): Likewise.
19110 (remainder_upward_test_data): Likewise.
19111 (remquo_test_data): Likewise.
19112 (rint_test_data): Likewise.
19113 (rint_tonearest_test_data): Likewise.
19114 (rint_towardzero_test_data): Likewise.
19115 (rint_downward_test_data): Likewise.
19116 (rint_upward_test_data): Likewise.
19117 (round_test_data): Likewise.
19118 (scalb_test_data): Likewise.
19119 (scalbn_test_data): Likewise.
19120 (scalbln_test_data): Likewise.
19121 (signbit_test_data): Likewise.
19122 (sin_test_data): Likewise.
19123 (sin_tonearest_test_data): Likewise.
19124 (sin_towardzero_test_data): Likewise.
19125 (sin_downward_test_data): Likewise.
19126 (sin_upward_test_data): Likewise.
19127 (sincos_test_data): Likewise.
19128 (sinh_test_data): Likewise.
19129 (sinh_tonearest_test_data): Likewise.
19130 (sinh_towardzero_test_data): Likewise.
19131 (sinh_downward_test_data): Likewise.
19132 (sinh_upward_test_data): Likewise.
19133 (sqrt_test_data): Likewise.
19134 (tan_test_data): Likewise.
19135 (tan_tonearest_test_data): Likewise.
19136 (tan_towardzero_test_data): Likewise.
19137 (tan_downward_test_data): Likewise.
19138 (tan_upward_test_data): Likewise.
19139 (tanh_test_data): Likewise.
19140 (tgamma_test_data): Likewise.
19141 (trunc_test_data): Likewise.
19142 (y0_test_data): Likewise.
19143 (y1_test_data): Likewise.
19144 (yn_test_data): Likewise.
19145 (significand_test_data): Likewise.
19146
19147 * math/gen-libm-test.pl (@functions): Remove variable.
19148 (generate_testfile): Don't handle START and END lines.
19149 * math/libm-test.inc (START): New macro.
19150 (END): Likewise.
19151 (END_COMPLEX): Likewise.
19152 (acos_test): Use END macro without arguments.
19153 (acos_test_tonearest): Likewise.
19154 (acos_test_towardzero): Likewise.
19155 (acos_test_downward): Likewise.
19156 (acos_test_upward): Likewise.
19157 (acosh_test): Likewise.
19158 (asin_test): Likewise.
19159 (asin_test_tonearest): Likewise.
19160 (asin_test_towardzero): Likewise.
19161 (asin_test_downward): Likewise.
19162 (asin_test_upward): Likewise.
19163 (asinh_test): Likewise.
19164 (atan_test): Likewise.
19165 (atanh_test): Likewise.
19166 (atan2_test): Likewise.
19167 (cabs_test): Likewise.
19168 (cacos_test): Use END_COMPLEX macro without arguments.
19169 (cacosh_test): Likewise.
19170 (carg_test): Use END macro without arguments.
19171 (casin_test): Use END_COMPLEX macro without arguments.
19172 (casinh_test): Likewise.
19173 (catan_test): Likewise.
19174 (catanh_test): Likewise.
19175 (cbrt_test): Use END macro without arguments.
19176 (ccos_test): Use END_COMPLEX macro without arguments.
19177 (ccosh_test): Likewise.
19178 (ceil_test): Use END macro without arguments.
19179 (cexp_test): Use END_COMPLEX macro without arguments.
19180 (cimag_test): Use END macro without arguments.
19181 (clog_test): Use END_COMPLEX macro without arguments.
19182 (clog10_test): Likewise.
19183 (conj_test): Likewise.
19184 (copysign_test): Use END macro without arguments.
19185 (cos_test): Likewise.
19186 (cos_test_tonearest): Likewise.
19187 (cos_test_towardzero): Likewise.
19188 (cos_test_downward): Likewise.
19189 (cos_test_upward): Likewise.
19190 (cosh_test): Likewise.
19191 (cosh_test_tonearest): Likewise.
19192 (cosh_test_towardzero): Likewise.
19193 (cosh_test_downward): Likewise.
19194 (cosh_test_upward): Likewise.
19195 (cpow_test): Use END_COMPLEX macro without arguments.
19196 (cproj_test): Likewise.
19197 (creal_test): Use END macro without arguments.
19198 (csin_test): Use END_COMPLEX macro without arguments.
19199 (csinh_test): Likewise.
19200 (csqrt_test): Likewise.
19201 (ctan_test): Likewise.
19202 (ctan_test_tonearest): Likewise.
19203 (ctan_test_towardzero): Likewise.
19204 (ctan_test_downward): Likewise.
19205 (ctan_test_upward): Likewise.
19206 (ctanh_test): Likewise.
19207 (ctanh_test_tonearest): Likewise.
19208 (ctanh_test_towardzero): Likewise.
19209 (ctanh_test_downward): Likewise.
19210 (ctanh_test_upward): Likewise.
19211 (erf_test): Use END macro without arguments.
19212 (erfc_test): Likewise.
19213 (exp_test): Likewise.
19214 (exp_test_tonearest): Likewise.
19215 (exp_test_towardzero): Likewise.
19216 (exp_test_downward): Likewise.
19217 (exp_test_upward): Likewise.
19218 (exp10_test): Likewise.
19219 (exp2_test): Likewise.
19220 (expm1_test): Likewise.
19221 (fabs_test): Likewise.
19222 (fdim_test): Likewise.
19223 (finite_test): Likewise.
19224 (floor_test): Likewise.
19225 (fma_test): Likewise.
19226 (fma_test_towardzero): Likewise.
19227 (fma_test_downward): Likewise.
19228 (fma_test_upward): Likewise.
19229 (fmax_test): Likewise.
19230 (fmin_test): Likewise.
19231 (fmod_test): Likewise.
19232 (fpclassify_test): Likewise.
19233 (frexp_test): Likewise.
19234 (gamma_test): Likewise.
19235 (hypot_test): Likewise.
19236 (ilogb_test): Likewise.
19237 (isfinite_test): Likewise.
19238 (isgreater_test): Likewise.
19239 (isgreaterequal_test): Likewise.
19240 (isinf_test): Likewise.
19241 (isless_test): Likewise.
19242 (islessequal_test): Likewise.
19243 (islessgreater_test): Likewise.
19244 (isnan_test): Likewise.
19245 (isnormal_test): Likewise.
19246 (issignaling_test): Likewise.
19247 (isunordered_test): Likewise.
19248 (j0_test): Likewise.
19249 (j1_test): Likewise.
19250 (jn_test): Likewise.
19251 (ldexp_test): Likewise.
19252 (lgamma_test): Likewise.
19253 (lrint_test): Likewise.
19254 (lrint_test_tonearest): Likewise.
19255 (lrint_test_towardzero): Likewise.
19256 (lrint_test_downward): Likewise.
19257 (lrint_test_upward): Likewise.
19258 (llrint_test): Likewise.
19259 (llrint_test_tonearest): Likewise.
19260 (llrint_test_towardzero): Likewise.
19261 (llrint_test_downward): Likewise.
19262 (llrint_test_upward): Likewise.
19263 (log_test): Likewise.
19264 (log10_test): Likewise.
19265 (log1p_test): Likewise.
19266 (log2_test): Likewise.
19267 (logb_test): Likewise.
19268 (logb_test_downward): Likewise.
19269 (lround_test): Likewise.
19270 (llround_test): Likewise.
19271 (modf_test): Likewise.
19272 (nearbyint_test): Likewise.
19273 (nextafter_test): Likewise.
19274 (nexttoward_test): Likewise.
19275 (pow_test): Likewise.
19276 (pow_test_tonearest): Likewise.
19277 (pow_test_towardzero): Likewise.
19278 (pow_test_downward): Likewise.
19279 (pow_test_upward): Likewise.
19280 (remainder_test): Likewise.
19281 (remainder_test_tonearest): Likewise.
19282 (remainder_test_towardzero): Likewise.
19283 (remainder_test_downward): Likewise.
19284 (remainder_test_upward): Likewise.
19285 (remquo_test): Likewise.
19286 (rint_test): Likewise.
19287 (rint_test_tonearest): Likewise.
19288 (rint_test_towardzero): Likewise.
19289 (rint_test_downward): Likewise.
19290 (rint_test_upward): Likewise.
19291 (round_test): Likewise.
19292 (scalb_test): Likewise.
19293 (scalbn_test): Likewise.
19294 (scalbln_test): Likewise.
19295 (signbit_test): Likewise.
19296 (sin_test): Likewise.
19297 (sin_test_tonearest): Likewise.
19298 (sin_test_towardzero): Likewise.
19299 (sin_test_downward): Likewise.
19300 (sin_test_upward): Likewise.
19301 (sincos_test): Likewise.
19302 (sinh_test): Likewise.
19303 (sinh_test_tonearest): Likewise.
19304 (sinh_test_towardzero): Likewise.
19305 (sinh_test_downward): Likewise.
19306 (sinh_test_upward): Likewise.
19307 (sqrt_test): Likewise.
19308 (tan_test): Likewise.
19309 (tan_test_tonearest): Likewise.
19310 (tan_test_towardzero): Likewise.
19311 (tan_test_downward): Likewise.
19312 (tan_test_upward): Likewise.
19313 (tanh_test): Likewise.
19314 (tgamma_test): Likewise.
19315 (trunc_test): Likewise.
19316 (y0_test): Likewise.
19317 (y1_test): Likewise.
19318 (yn_test): Likewise.
19319 (significand_test): Likewise.
19320
19321 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
19322
19323 [BZ #15381]
19324 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19325
19326 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19327
19328 [BZ #14894]
19329 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19330 __ppc_mdoio and __ppc_mdoom.
19331 * manual/platform.texi: Document new functions __ppc_yield,
19332 __ppc_mdoio and __ppc_mdoom.
19333
19334 2013-05-22 Carlos O'Donell <carlos@redhat.com>
19335
19336 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19337 (main): Mention "tls" pseudo-hwcap is legacy.
19338 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19339
19340 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19341
19342 * math/gen-libm-test.pl (parse_args): Output only string of
19343 arguments as text for test name, not full call or descriptions of
19344 tests for extra outputs.
19345 (generate_testfile): Do not pass function name to parse_args.
19346 Generate this_func variable from START.
19347 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19348 field to arg_str.
19349 (struct test_ff_f_data): Likewise.
19350 (test_ff_f_data_nexttoward): Likewise.
19351 (struct test_fi_f_data): Likewise.
19352 (struct test_fl_f_data): Likewise.
19353 (struct test_if_f_data): Likewise.
19354 (struct test_fff_f_data): Likewise.
19355 (struct test_c_f_data): Likewise.
19356 (struct test_f_f1_data): Likewise. Remove field extra_name.
19357 (struct test_fF_f1_data): Likewise.
19358 (struct test_ffI_f1_data): Likewise.
19359 (struct test_c_c_data): Rename test_name field to arg_str.
19360 (struct test_cc_c_data): Likewise.
19361 (struct test_f_i_data): Likewise.
19362 (struct test_ff_i_data): Likewise.
19363 (struct test_f_l_data): Likewise.
19364 (struct test_f_L_data): Likewise.
19365 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19366 and extra2_name.
19367 (COMMON_TEST_SETUP): New macro.
19368 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19369 (COMMON_TEST_CLEANUP): Likewise.
19370 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19371 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19372 macros.
19373 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19374 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19375 macros.
19376 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19377 (RUN_TEST_fff_f): Take argument string. Call new setup and
19378 cleanup macros.
19379 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19380 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19381 macros.
19382 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19383 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19384 macros.
19385 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19386 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19387 cleanup macros.
19388 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19389 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19390 cleanup macros.
19391 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19392 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19393 cleanup macros.
19394 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19395 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19396 macros.
19397 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19398 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19399 macros.
19400 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19401 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19402 macros.
19403 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19404 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19405 cleanup macros.
19406 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19407 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19408 cleanup macros.
19409 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19410 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19411 macros.
19412 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19413 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19414 cleanup macros.
19415 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19416 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19417 macros.
19418 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19419 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19420 macros.
19421 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19422 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19423 cleanup macros.
19424 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19425
19426 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19427
19428 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19429 to _sifields.sigfault.
19430 (si_addr_lsb): Define new macro.
19431 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19432 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19433 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19434
19435 2013-05-03 Carlos O'Donell <carlos at redhat.com>
19436
19437 [BZ #15441]
19438 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19439 returns -1.
19440 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19441 null return -1.
19442 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19443 loading the domain.
19444
19445 2013-05-22 Joseph Myers <joseph@codesourcery.com>
19446
19447 * math/gen-libm-test.pl (parse_args): Do not include expected
19448 result in test name.
19449 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19450 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19451 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19452 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19453 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19455
19456 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19457
19458 * benchtests/Makefile: Sort function entries.
19459
19460 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19461 tanh, asinh, acosh, atanh.
19462 * benchtests/acos-inputs: New file.
19463 * benchtests/acosh-inputs: New file.
19464 * benchtests/asin-inputs: New file.
19465 * benchtests/asinh-inputs: New file.
19466 * benchtests/atanh-inputs: New file.
19467 * benchtests/cosh-inputs: New file.
19468 * benchtests/log-inputs: New file.
19469 * benchtests/sinh-inputs: New file.
19470 * benchtests/tanh-inputs: New file.
19471
19472 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19473
19474 [BZ #15339]
19475 * posix/tst-getaddrinfo4.c: New test.
19476 * posix/Makefile (tests): Add it.
19477
19478 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19479
19480 [BZ #15339]
19481 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19482 when no services were used.
19483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19484 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19485
19486 2013-05-21 Andreas Schwab <schwab@suse.de>
19487
19488 [BZ #15014]
19489 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19490 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19491 successful.
19492 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19493 redundant variable declarations and reallocation of buffer when
19494 parsing as IPv6 address. Always set NSS status when called from
19495 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
19496 buffer too small. Correct computation of needed size.
19497 * nss/Makefile (tests): Add test-digits-dots.
19498 * nss/test-digits-dots.c: New test.
19499
19500 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19501
19502 * benchtests/Makefile: Remove instructions for adding
19503 benchmark tests.
19504 * benchtests/README: New file to explain how to execute and
19505 enhance the benchmark tests.
19506
19507 2013-05-21 Andreas Schwab <schwab@suse.de>
19508
19509 [BZ #15493]
19510 * setjmp/Makefile (tests): Add tst-sigsetjmp.
19511 * setjmp/tst-sigsetjmp.c: New test.
19512
19513 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19514
19515 * sysdeps/x86_64/memset.S (memset): New implementation.
19516 (__bzero): Likewise.
19517 (__memset_tail): New function.
19518
19519 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
19520
19521 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19522 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19523 __memcpy_sse2_unaligned ifunc selection.
19524 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19525 Add memcpy-sse2-unaligned.S.
19526 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19527 Add: __memcpy_sse2_unaligned.
19528
19529 2013-05-19 Joseph Myers <joseph@codesourcery.com>
19530
19531 [BZ #15490]
19532 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19533 math_force_eval before restoring floating-point envrionment.
19534 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19535 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19536 Likewise.
19537 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19538 <math_private.h>.
19539 (__nearbyintl): Use math_force_eval before restoring
19540 floating-point environment.
19541 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19542
19543 * math/gen-libm-test.pl (special_functions): Remove.
19544 (parse_args): Don't handle TEST_extra. Handle functions with no
19545 return value.
19546 * math/libm-test.inc (struct test_sincos_data): Replace with
19547 struct test_fFF_11_data.
19548 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19549 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19550 (sincos_test_data): Change element type to struct
19551 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
19552 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19553 RUN_TEST_LOOP_sincos.
19554 * math/README.libm-test: Don't mention special handling of
19555 individual functions.
19556 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19557 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19558 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19559 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19560 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19562
19563 * math/gen-libm-test.pl (get_variable): Remove function.
19564 (parse_args): Don't show pointer parameters to call in test
19565 names. Use "extra output N" in test names for extra outputs
19566 rather than naming variables.
19567
19568 2013-05-18 Joseph Myers <joseph@codesourcery.com>
19569
19570 [BZ #15488]
19571 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19572 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19573 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19574 double tests.
19575 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19576 disable.
19577 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19578 check_long_double.
19579
19580 * math/gen-libm-test.pl (@tests): Remove variable.
19581 ($count): Likewise.
19582 (new_test): Remove function.
19583 (show_exceptions): New function.
19584 (special_functions): Use show_exceptions instead of new_test.
19585 (parse_args): Likewise.
19586 (generate_testfile): Pass only function name in generated call to
19587 print_max_error or print_complex_max_error.
19588 (get_ulps): Do not handle complex tests specially.
19589 (output_test): Rename to ...
19590 (get_all_ulps_for_test): ... this. Return a string rather than
19591 printing to a file. Require ulps to be present.
19592 (output_ulps): Generate arrays rather than #defines.
19593 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19594 (struct ulp_data): New type.
19595 (BUILD_COMPLEX_ULP): Remove macro.
19596 (compare_ulp_data): New function.
19597 (find_ulps): Likewise.
19598 (find_test_ulps): Likewise.
19599 (find_function_ulps): Likewise.
19600 (find_complex_function_ulps): Likewise.
19601 (print_max_error): Determine allowed ulps using
19602 find_function_ulps.
19603 (print_complex_max_error): Determine allowed ulps using
19604 find_complex_function_ulps.
19605 (check_float_internal): Determine max ulps using find_test_ulps.
19606 (check_float): Do not take max_ulp parameter. Update call to
19607 check_float_internal.
19608 (check_complex): Likewise.
19609 (check_int): Do not take max_ulp parameter.
19610 (check_long): Likewise.
19611 (check_bool): Likewise.
19612 (check_longlong): Likewise.
19613 (struct test_f_f_data): Remove max_ulp field.
19614 (struct test_ff_f_data): Likewise.
19615 (struct test_ff_f_data_nexttoward): Likewise.
19616 (struct test_fi_f_data): Likewise.
19617 (struct test_fl_f_data): Likewise.
19618 (struct test_if_f_data): Likewise.
19619 (struct test_fff_f_data): Likewise.
19620 (struct test_c_f_data): Likewise.
19621 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19622 (struct test_fF_f1_data): Likewise.
19623 (struct test_ffI_f1_data): Likewise.
19624 (struct test_c_c_data): Remove max_ulp field.
19625 (struct test_cc_c_data): Likewise.
19626 (struct test_f_i_data): Likewise.
19627 (struct test_ff_i_data): Likewise.
19628 (struct test_f_l_data): Likewise.
19629 (struct test_f_L_data): Likewise.
19630 (struct test_sincos_data): Likewise.
19631 (RUN_TEST_f_f): Do not handle ulps.
19632 (RUN_TEST_LOOP_f_f): Likewise.
19633 (RUN_TEST_2_f): Likewise.
19634 (RUN_TEST_LOOP_2_f): Likewise.
19635 (RUN_TEST_fff_f): Likewise.
19636 (RUN_TEST_LOOP_fff_f): Likewise.
19637 (RUN_TEST_c_f): Likewise.
19638 (RUN_TEST_LOOP_c_f): Likewise.
19639 (RUN_TEST_f_f1): Likewise.
19640 (RUN_TEST_LOOP_f_f1): Likewise.
19641 (RUN_TEST_fF_f1): Likewise.
19642 (RUN_TEST_LOOP_fF_f1): Likewise.
19643 (RUN_TEST_fI_f1): Likewise.
19644 (RUN_TEST_LOOP_fI_f1): Likewise.
19645 (RUN_TEST_ffI_f1): Likewise.
19646 (RUN_TEST_LOOP_ffI_f1): Likewise.
19647 (RUN_TEST_c_c): Likewise.
19648 (RUN_TEST_LOOP_c_c): Likewise.
19649 (RUN_TEST_cc_c): Likewise.
19650 (RUN_TEST_LOOP_cc_c): Likewise.
19651 (RUN_TEST_f_i): Likewise.
19652 (RUN_TEST_LOOP_f_i): Likewise.
19653 (RUN_TEST_f_i_tg): Likewise.
19654 (RUN_TEST_LOOP_f_i_tg): Likewise.
19655 (RUN_TEST_ff_i_tg): Likewise.
19656 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19657 (RUN_TEST_f_b): Likewise.
19658 (RUN_TEST_LOOP_f_b): Likewise.
19659 (RUN_TEST_f_b_tg): Likewise.
19660 (RUN_TEST_LOOP_f_b_tg): Likewise.
19661 (RUN_TEST_f_l): Likewise.
19662 (RUN_TEST_LOOP_f_l): Likewise.
19663 (RUN_TEST_f_L): Likewise.
19664 (RUN_TEST_LOOP_f_L): Likewise.
19665 (RUN_TEST_sincos): Likewise.
19666 (RUN_TEST_LOOP_sincos): Likewise.
19667
19668 2013-05-17 Joseph Myers <joseph@codesourcery.com>
19669
19670 [BZ #15480]
19671 [BZ #15485]
19672 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
19673 main case of finite arguments, set rounding mode to FE_TONEAREST
19674 and discard exceptions.
19675 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
19676 exceptions.
19677 (remainder_tonearest_test_data): New variable.
19678 (remainder_test_tonearest): New function.
19679 (remainder_towardzero_test_data): New variable.
19680 (remainder_test_towardzero): New function.
19681 (remainder_downward_test_data): New variable.
19682 (remainder_test_downward): New function.
19683 (remainder_upward_test_data): New variable.
19684 (remainder_test_upward): New function.
19685 (main): Call the new test functions.
19686
19687 * math/libm-test.inc (struct test_f_f1_data): Remove field
19688 extra_init.
19689 (struct test_fF_f1_data): Likewise.
19690 (struct test_ffI_f1_data): Likewise.
19691 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
19692 based on value of EXTRA_EXPECTED.
19693 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19694 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
19695 EXTRA_VAR based on value of EXTRA_EXPECTED.
19696 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19697 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
19698 EXTRA_VAR based on value of EXTRA_EXPECTED.
19699 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19700 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
19701 EXTRA_VAR based on value of EXTRA_EXPECTED.
19702 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19703 * math/gen-libm-test.pl (parse_args): Don't output initializers
19704 for extra output values.
19705
19706 * math/libm-test.inc (check_int): Expect result to be exactly
19707 equal to expected value and do not handle ulps.
19708 (check_long): Likewise.
19709 (check_longlong): Likewise.
19710
19711 * math/libm-test.inc (ceil_test_data): Test for "inexact"
19712 exceptions.
19713 (cimag_test_data): Likewise.
19714 (conj_test_data): Likewise.
19715 (copysign_test_data): Likewise.
19716 (cproj_test_data): Likewise.
19717 (creal_test_data): Likewise.
19718 (fabs_test_data): Likewise.
19719 (fdim_test_data): Likewise.
19720 (finite_test_data): Likewise.
19721 (floor_test_data): Likewise.
19722 (fmax_test_data): Likewise.
19723 (fmin_test_data): Likewise.
19724 (fmod_test_data): Likewise.
19725 (fpclassify_test_data): Likewise.
19726 (frexp_test_data): Likewise.
19727 (ilogb_test_data): Likewise.
19728 (isfinite_test_data): Likewise.
19729 (isgreater_test_data): Likewise.
19730 (isgreaterequal_test_data): Likewise.
19731 (isinf_test_data): Likewise.
19732 (isless_test_data): Likewise.
19733 (islessequal_test_data): Likewise.
19734 (islessgreater_test_data): Likewise.
19735 (isnan_test_data): Likewise.
19736 (isnormal_test_data): Likewise.
19737 (issignaling_test_data): Likewise.
19738 (isunordered_test_data): Likewise.
19739 (ldexp_test_data): Likewise.
19740 (lrint_test_data): Likewise.
19741 (lrint_test_data) [TEST_FLOAT]: Disable one test.
19742 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
19743 (lrint_tonearest_test_data): Test for "inexact" exceptions.
19744 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19745 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
19746 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19747 test input.
19748 (lrint_towardzero_test_data): Test for "inexact" exceptions.
19749 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19750 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
19751 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
19752 that test input.
19753 (lrint_downward_test_data): Test for "inexact" exceptions.
19754 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19755 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
19756 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
19757 test input.
19758 (lrint_upward_test_data): Test for "inexact" exceptions.
19759 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
19760 test input.
19761 (llrint_test_data): Test for "inexact" exceptions.
19762 (llrint_test_data) [TEST_FLOAT]: Disable one test.
19763 (llrint_tonearest_test_data): Test for "inexact" exceptions.
19764 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
19765 (llrint_towardzero_test_data): Test for "inexact" exceptions.
19766 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
19767 (llrint_downward_test_data): Test for "inexact" exceptions.
19768 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
19769 (llrint_upward_test_data): Test for "inexact" exceptions.
19770 (logb_test_data): Likewise.
19771 (logb_downward_test_data): Likewise.
19772 (nextafter_test_data): Likewise.
19773 (nexttoward_test_data): Likewise.
19774 (remainder_test_data): Likewise.
19775 (remquo_test_data): Likewise.
19776 (scalbn_test_data): Likewise.
19777 (scalbln_test_data): Likewise.
19778 (signbit_test_data): Likewise.
19779 (sqrt_test_data): Likewise.
19780 (significand_test_data): Likewise.
19781
19782 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19783
19784 [BZ #15424]
19785 * benchtests/bench-modf.c (struct args): Mark arg0 as
19786 volatile.
19787 * scripts/bench.pl: Mark members of struct args as volatile.
19788
19789 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19790
19791 [BZ # 15497]
19792 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
19793 negative infinity on POWER6 or lower.
19794 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
19795
19796 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
19797
19798 [BZ #15442]
19799 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
19800 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
19801 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
19802 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
19803 (_FP_SETQNAN): New macro.
19804 (_FP_SETQNAN_SEMIRAW): Likewise.
19805 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
19806 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
19807 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
19808 (FP_EXTEND): Use _FP_FRAC_SNANP.
19809 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
19810 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
19811 into account.
19812 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19813 New macro.
19814 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
19815 Likewise.
19816
19817 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19818
19819 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
19820 with DIVIDE_BY_ZERO_EXCEPTION.
19821 (gamma_test_data): Likewise.
19822 (lgamma_test_data): Likewise.
19823 (log_test_data): Likewise.
19824 (log10_test_data): Likewise.
19825 (log2_test_data): Likewise.
19826 (tgamma_test_data): Likewise.
19827
19828 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
19829 (acos_test_tonearest): Likewise.
19830 (acos_test_towardzero): Likewise.
19831 (acos_test_downward): Likewise.
19832 (acos_test_upward): Likewise.
19833 (acosh_test): Likewise.
19834 (asin_test): Likewise.
19835 (asin_test_tonearest): Likewise.
19836 (asin_test_towardzero): Likewise.
19837 (asin_test_downward): Likewise.
19838 (asin_test_upward): Likewise.
19839 (asinh_test): Likewise.
19840 (atan_test): Likewise.
19841 (atanh_test): Likewise.
19842 (atan2_test): Likewise.
19843 (cabs_test): Likewise.
19844 (cacos_test): Likewise.
19845 (cacosh_test): Likewise.
19846 (casin_test): Likewise.
19847 (casinh_test): Likewise.
19848 (catan_test): Likewise.
19849 (catanh_test): Likewise.
19850 (cbrt_test): Likewise.
19851 (ccos_test): Likewise.
19852 (ccosh_test): Likewise.
19853 (cexp_test): Likewise.
19854 (clog_test): Likewise.
19855 (clog10_test): Likewise.
19856 (cos_test): Likewise.
19857 (cos_test_tonearest): Likewise.
19858 (cos_test_towardzero): Likewise.
19859 (cos_test_downward): Likewise.
19860 (cos_test_upward): Likewise.
19861 (cosh_test): Likewise.
19862 (cosh_test_tonearest): Likewise.
19863 (cosh_test_towardzero): Likewise.
19864 (cosh_test_downward): Likewise.
19865 (cosh_test_upward): Likewise.
19866 (cpow_test): Likewise.
19867 (csin_test): Likewise.
19868 (csinh_test): Likewise.
19869 (csqrt_test): Likewise.
19870 (ctan_test): Likewise.
19871 (ctan_test_tonearest): Likewise.
19872 (ctan_test_towardzero): Likewise.
19873 (ctan_test_downward): Likewise.
19874 (ctan_test_upward): Likewise.
19875 (ctanh_test): Likewise.
19876 (ctanh_test_tonearest): Likewise.
19877 (ctanh_test_towardzero): Likewise.
19878 (ctanh_test_downward): Likewise.
19879 (ctanh_test_upward): Likewise.
19880 (erf_test): Likewise.
19881 (erfc_test): Likewise.
19882 (exp_test): Likewise.
19883 (exp_test_tonearest): Likewise.
19884 (exp_test_towardzero): Likewise.
19885 (exp_test_downward): Likewise.
19886 (exp_test_upward): Likewise.
19887 (exp10_test): Likewise.
19888 (exp2_test): Likewise.
19889 (expm1_test): Likewise.
19890 (fmod_test): Likewise.
19891 (gamma_test): Likewise.
19892 (hypot_test): Likewise.
19893 (j0_test): Likewise.
19894 (j1_test): Likewise.
19895 (jn_test): Likewise.
19896 (lgamma_test): Likewise.
19897 (log_test): Likewise.
19898 (log10_test): Likewise.
19899 (log1p_test): Likewise.
19900 (log2_test): Likewise.
19901 (logb_test_downward): Likewise.
19902 (pow_test): Likewise.
19903 (pow_test_tonearest): Likewise.
19904 (pow_test_towardzero): Likewise.
19905 (pow_test_downward): Likewise.
19906 (pow_test_upward): Likewise.
19907 (remainder_test): Likewise.
19908 (remquo_test): Likewise.
19909 (sin_test): Likewise.
19910 (sin_test_tonearest): Likewise.
19911 (sin_test_towardzero): Likewise.
19912 (sin_test_downward): Likewise.
19913 (sin_test_upward): Likewise.
19914 (sincos_test): Likewise.
19915 (sinh_test): Likewise.
19916 (sinh_test_tonearest): Likewise.
19917 (sinh_test_towardzero): Likewise.
19918 (sinh_test_downward): Likewise.
19919 (sinh_test_upward): Likewise.
19920 (sqrt_test): Likewise.
19921 (tan_test): Likewise.
19922 (tan_test_tonearest): Likewise.
19923 (tan_test_towardzero): Likewise.
19924 (tan_test_downward): Likewise.
19925 (tan_test_upward): Likewise.
19926 (tanh_test): Likewise.
19927 (tgamma_test): Likewise.
19928 (y0_test): Likewise.
19929 (y1_test): Likewise.
19930 (yn_test): Likewise.
19931
19932 * math/gen-libm-test.pl (adjust_arg): Remove function.
19933 (special_function): Remove argument $in_func. Only handle
19934 generating output for tables of tests, not inside functions.
19935 (parse_args): Likewise.
19936 (generate_testfile): Remove variable $in_func. Update call to
19937 parse_args.
19938 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19939 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19940 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19941 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19942 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19943 (MAX_VALUE_INIT): Rename macro to max_value.
19944 (MIN_VALUE_INIT): Rename macro to min_value.
19945 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19946 (plus_zero): Remove variable.
19947 (minus_zero): Likewise.
19948 (plus_infty): Likewise.
19949 (minus_infty): Likewise.
19950 (qnan_value): Likewise.
19951 (max_value): Likewise.
19952 (min_value): Likewise.
19953 (min_subnorm_value): Likewise.
19954
19955 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19956
19957 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19958 uint64_t or uint32_t usage.
19959 * crypt/sha256-block.c: Likewise.
19960 * crypt/sha256-crypt.c: Likewise.
19961 * crypt/sha256.c: Likewise.
19962 * crypt/sha512-block.c: Likewise.
19963 * crypt/sha512-crypt.c: Likewise.
19964 * crypt/sha512.c: Likewise.
19965 * debug/backtrace-tst.c: Likewise.
19966 * debug/pcprofiledump.c: Likewise.
19967 * elf/cache.c: Likewise.
19968 * elf/dl-cache.c: Likewise.
19969 * elf/dl-misc.c: Likewise.
19970 * elf/dl-profile.c: Likewise.
19971 * elf/dl-support.c: Likewise.
19972 * elf/ldconfig.c: Likewise.
19973 * elf/sprof.c: Likewise.
19974 * iconv/dummy-repertoire.c: Likewise.
19975 * iconv/iconv_charmap.c: Likewise.
19976 * iconv/skeleton.c: Likewise.
19977 * iconvdata/8bit-generic.c: Likewise.
19978 * iconvdata/cp737.h: Likewise.
19979 * iconvdata/cp775.h: Likewise.
19980 * iconvdata/ibm1008.h: Likewise.
19981 * iconvdata/ibm1025.h: Likewise.
19982 * iconvdata/ibm1046.h: Likewise.
19983 * iconvdata/ibm1097.h: Likewise.
19984 * iconvdata/ibm1112.h: Likewise.
19985 * iconvdata/ibm1122.h: Likewise.
19986 * iconvdata/ibm1123.h: Likewise.
19987 * iconvdata/ibm1124.h: Likewise.
19988 * iconvdata/ibm1129.h: Likewise.
19989 * iconvdata/ibm1130.h: Likewise.
19990 * iconvdata/ibm1132.h: Likewise.
19991 * iconvdata/ibm1133.h: Likewise.
19992 * iconvdata/ibm1137.h: Likewise.
19993 * iconvdata/ibm1140.h: Likewise.
19994 * iconvdata/ibm1141.h: Likewise.
19995 * iconvdata/ibm1142.h: Likewise.
19996 * iconvdata/ibm1143.h: Likewise.
19997 * iconvdata/ibm1144.h: Likewise.
19998 * iconvdata/ibm1145.h: Likewise.
19999 * iconvdata/ibm1146.h: Likewise.
20000 * iconvdata/ibm1147.h: Likewise.
20001 * iconvdata/ibm1148.h: Likewise.
20002 * iconvdata/ibm1149.h: Likewise.
20003 * iconvdata/ibm1153.h: Likewise.
20004 * iconvdata/ibm1154.h: Likewise.
20005 * iconvdata/ibm1155.h: Likewise.
20006 * iconvdata/ibm1156.h: Likewise.
20007 * iconvdata/ibm1157.h: Likewise.
20008 * iconvdata/ibm1158.h: Likewise.
20009 * iconvdata/ibm1160.h: Likewise.
20010 * iconvdata/ibm1161.h: Likewise.
20011 * iconvdata/ibm1162.h: Likewise.
20012 * iconvdata/ibm1163.h: Likewise.
20013 * iconvdata/ibm1164.h: Likewise.
20014 * iconvdata/ibm1166.h: Likewise.
20015 * iconvdata/ibm1167.h: Likewise.
20016 * iconvdata/ibm12712.h: Likewise.
20017 * iconvdata/ibm1390.h: Likewise.
20018 * iconvdata/ibm1399.h: Likewise.
20019 * iconvdata/ibm16804.h: Likewise.
20020 * iconvdata/ibm4517.h: Likewise.
20021 * iconvdata/ibm4899.h: Likewise.
20022 * iconvdata/ibm4909.h: Likewise.
20023 * iconvdata/ibm4971.h: Likewise.
20024 * iconvdata/ibm5347.h: Likewise.
20025 * iconvdata/ibm803.h: Likewise.
20026 * iconvdata/ibm856.h: Likewise.
20027 * iconvdata/ibm901.h: Likewise.
20028 * iconvdata/ibm902.h: Likewise.
20029 * iconvdata/ibm9030.h: Likewise.
20030 * iconvdata/ibm9066.h: Likewise.
20031 * iconvdata/ibm921.h: Likewise.
20032 * iconvdata/ibm922.h: Likewise.
20033 * iconvdata/ibm9448.h: Likewise.
20034 * iconvdata/isiri-3342.h: Likewise.
20035 * iconvdata/jis0201.h: Likewise.
20036 * include/link.h: Likewise.
20037 * include/netdb.h: Likewise.
20038 * inet/check_native.c: Likewise.
20039 * inet/check_pf.c: Likewise.
20040 * inet/getipv4sourcefilter.c: Likewise.
20041 * inet/getnameinfo.c: Likewise.
20042 * inet/getsourcefilter.c: Likewise.
20043 * inet/htonl.c: Likewise.
20044 * inet/setipv4sourcefilter.c: Likewise.
20045 * inet/setsourcefilter.c: Likewise.
20046 * inet/test-inet6_opt.c: Likewise.
20047 * inet/tst-network.c: Likewise.
20048 * locale/C-collate.c: Likewise.
20049 * locale/C-ctype.c: Likewise.
20050 * locale/C-time.c: Likewise.
20051 * locale/C-translit.h: Likewise.
20052 * locale/loadarchive.c: Likewise.
20053 * locale/programs/3level.h: Likewise.
20054 * locale/programs/charmap.c: Likewise.
20055 * locale/programs/charmap.h: Likewise.
20056 * locale/programs/ld-address.c: Likewise.
20057 * locale/programs/ld-collate.c: Likewise.
20058 * locale/programs/ld-ctype.c: Likewise.
20059 * locale/programs/ld-identification.c: Likewise.
20060 * locale/programs/ld-measurement.c: Likewise.
20061 * locale/programs/ld-messages.c: Likewise.
20062 * locale/programs/ld-monetary.c: Likewise.
20063 * locale/programs/ld-name.c: Likewise.
20064 * locale/programs/ld-numeric.c: Likewise.
20065 * locale/programs/ld-paper.c: Likewise.
20066 * locale/programs/ld-telephone.c: Likewise.
20067 * locale/programs/ld-time.c: Likewise.
20068 * locale/programs/linereader.c: Likewise.
20069 * locale/programs/locale.c: Likewise.
20070 * locale/programs/locarchive.c: Likewise.
20071 * locale/programs/locfile.h: Likewise.
20072 * locale/programs/repertoire.c: Likewise.
20073 * locale/programs/simple-hash.c: Likewise.
20074 * locale/programs/simple-hash.h: Likewise.
20075 * malloc/memusage.c: Likewise.
20076 * malloc/memusagestat.c: Likewise.
20077 * nis/nis_defaults.c: Likewise.
20078 * nis/nis_hash.c: Likewise.
20079 * nis/nis_print.c: Likewise.
20080 * nis/nis_xdr.c: Likewise.
20081 * nscd/connections.c: Likewise.
20082 * nscd/hstcache.c: Likewise.
20083 * nscd/nscd_gethst_r.c: Likewise.
20084 * nscd/nscd_getserv_r.c: Likewise.
20085 * nscd/nscd_helper.c: Likewise.
20086 * nscd/servicescache.c: Likewise.
20087 * nss/makedb.c: Likewise.
20088 * nss/nss_db/db-XXX.c: Likewise.
20089 * nss/nss_db/db-initgroups.c: Likewise.
20090 * nss/nss_db/db-netgrp.c: Likewise.
20091 * nss/nss_files/files-network.c: Likewise.
20092 * nss/nss_files/files-parse.c: Likewise.
20093 * posix/bug-regex5.c: Likewise.
20094 * posix/fnmatch_loop.c: Likewise.
20095 * posix/regcomp.c: Likewise.
20096 * posix/regexec.c: Likewise.
20097 * posix/tst-rfc3484-2.c: Likewise.
20098 * posix/tst-rfc3484-3.c: Likewise.
20099 * posix/tst-rfc3484.c: Likewise.
20100 * resolv/nss_dns/dns-canon.c: Likewise.
20101 * resolv/nss_dns/dns-network.c: Likewise.
20102 * resolv/res_init.c: Likewise.
20103 * resolv/res_mkquery.c: Likewise.
20104 * resolv/tst-aton.c: Likewise.
20105 * stdlib/cxa_atexit.c: Likewise.
20106 * stdlib/cxa_finalize.c: Likewise.
20107 * stdlib/gen-fpioconst.c: Likewise.
20108 * stdlib/strtol_l.c: Likewise.
20109 * string/tst-endian.c: Likewise.
20110 * sunrpc/auth_des.c: Likewise.
20111 * sunrpc/clnt_udp.c: Likewise.
20112 * sunrpc/rtime.c: Likewise.
20113 * sunrpc/svcauth_des.c: Likewise.
20114 * sunrpc/xdr.c: Likewise.
20115 * sunrpc/xdr_intXX_t.c: Likewise.
20116 * sunrpc/xdr_rec.c: Likewise.
20117 * sysdeps/generic/ldconfig.h: Likewise.
20118 * sysdeps/generic/ldsodefs.h: Likewise.
20119 * sysdeps/generic/memusage.h: Likewise.
20120 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20121 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20122 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20123 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20124 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20125 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20126 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20127 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20128 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20129 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20130 * sysdeps/posix/getaddrinfo.c: Likewise.
20131 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20132 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20133 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20134 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20135 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20136 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20137 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20138 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20139 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20140 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20141 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20142 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20143 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20144 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20145 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20146 * sysdeps/x86_64/dl-tls.h: Likewise.
20147 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20148 * time/alt_digit.c: Likewise.
20149 * time/era.c: Likewise.
20150 * wcsmbs/tst-c16c32-1.c: Likewise.
20151
20152 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20153
20154 * math/libm-test.inc (struct test_sincos_data): New type.
20155 (RUN_TEST_LOOP_sincos): New macro.
20156 (sincos_test_data): New variable.
20157 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20158
20159 2013-05-16 Richard Henderson <rth@redhat.com>
20160
20161 * math/atest-exp2.c (LIMB64): New macro.
20162 (CONSTSZ): New macro.
20163 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20164 (hexdig): Move ...
20165 (print_mpn_fp): ... to function scope.
20166 (read_mpn_hex): Remove.
20167 (get_log2): Remove.
20168 (exp2_mpn): Use mp_log2.
20169 (main): Use mp_exp1.
20170
20171 2013-05-16 Joseph Myers <joseph@codesourcery.com>
20172
20173 * math/libm-test.inc: Remove comment about not testing "inexact"
20174 exceptions.
20175 (INEXACT_EXCEPTION): New macro.
20176 (NO_INEXACT_EXCEPTION): Likewise.
20177 (INVALID_EXCEPTION_OK): Update value.
20178 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20179 (OVERFLOW_EXCEPTION_OK): Likewise.
20180 (UNDERFLOW_EXCEPTION_OK): Likewise.
20181 (IGNORE_ZERO_INF_SIGN): Likewise.
20182 (ERRNO_UNCHANGED): Likewise.
20183 (ERRNO_EDOM): Likewise.
20184 (ERRNO_ERANGE): Likewise.
20185 (test_exceptions): Handle testing "inexact" exceptions.
20186 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20187 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20188 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20189 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20190 INEXACT_EXCEPTION.
20191 (rint_towardzero_test_data): Likewise.
20192 (rint_downward_test_data): Likewise.
20193 (rint_upward_test_data): Likewise.
20194
20195 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20196 with OVERFLOW_EXCEPTION.
20197 (exp10_test_data): Likewise.
20198 (exp2_test_data): Likewise.
20199 (expm1_test_data): Likewise.
20200 (lgamma_test_data): Likewise.
20201 (pow_test_data): Likewise.
20202 (tgamma_test_data): Likewise.
20203 (yn_test_data): Remove duplicate test of overflow.
20204
20205 * math/libm-test.inc (struct test_cc_c_data): New type.
20206 (RUN_TEST_LOOP_cc_c): New macro.
20207 (cpow_test_data): New variable.
20208 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20209
20210 * math/libm-test.inc (struct test_f_L_data): New type.
20211 (RUN_TEST_LOOP_f_L): New macro.
20212 (llrint_test_data): New variable.
20213 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20214 (llrint_tonearest_test_data): New variable.
20215 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20216 (llrint_towardzero_test_data): New variable.
20217 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20218 (llrint_downward_test_data): New variable.
20219 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20220 (llrint_upward_test_data): New variable.
20221 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20222 (llround_test_data): New variable.
20223 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20224
20225 2013-05-13 Peter Collingbourne <pcc@google.com>
20226
20227 * math/atest-exp2.c (get_log2): Remove const attribute.
20228
20229 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20230
20231 * math/libm-test.inc (struct test_f_l_data): New type.
20232 (RUN_TEST_LOOP_f_l): New macro.
20233 (lrint_test_data): New variable.
20234 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20235 (lrint_tonearest_test_data): New variable.
20236 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20237 (lrint_towardzero_test_data): New variable.
20238 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20239 (lrint_downward_test_data): New variable.
20240 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20241 (lrint_upward_test_data): New variable.
20242 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20243 (lround_test_data): New variable.
20244 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20245
20246 2013-05-15 Peter Collingbourne <pcc@google.com>
20247
20248 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20249 (EXTRACT_WORDS64) Use where appropriate.
20250 (INSERT_WORDS64) Likewise.
20251
20252 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20253 constraints with x constraints.
20254 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20255
20256 * malloc/obstack.c (_obstack_compat): Add initializer.
20257
20258 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20259
20260 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20261 si_trapno and add si_addr_lsb to _sifields.sigfault.
20262 (si_trapno): Remove macro.
20263 (si_addr_lsb): Define new macro.
20264 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20265
20266 2013-05-15 Joseph Myers <joseph@codesourcery.com>
20267
20268 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20269 instead of TEST_f_l.
20270 (llrint_test_tonearest): Likewise.
20271 (llrint_test_towardzero): Likewise.
20272 (llrint_test_downward): Likewise.
20273 (llrint_test_upward): Likewise.
20274 (llround_test): Likewise.
20275
20276 * math/libm-test.inc (struct test_f_i_data): Add comment.
20277 (RUN_TEST_LOOP_f_b): New macro.
20278 (RUN_TEST_LOOP_f_b_tg): Likewise.
20279 (finite_test_data): New variable.
20280 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20281 (isfinite_test_data): New variable.
20282 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20283 (isinf_test_data): New variable.
20284 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20285 (isnan_test_data): New variable.
20286 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20287 (isnormal_test_data): New variable.
20288 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20289 (issignaling_test_data): New variable.
20290 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20291 (signbit_test_data): New variable.
20292 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20293
20294 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20295 with INVALID_EXCEPTION.
20296 (acosh_test_data): Likewise.
20297 (asin_test_data): Likewise.
20298 (atanh_test_data): Likewise.
20299 (fmod_test_data): Likewise.
20300 (log_test_data): Likewise.
20301 (log10_test_data): Likewise.
20302 (log2_test_data): Likewise.
20303 (pow_test_data): Likewise.
20304 (sqrt_test_data): Likewise.
20305 (y0_test_data): Likewise.
20306 (y1_test_data): Likewise.
20307 (yn_test_data): Likewise.
20308
20309 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20310 function contents.
20311
20312 * math/libm-test.inc (struct test_ff_i_data): New type.
20313 (RUN_TEST_LOOP_ff_i_tg): New macro.
20314 (isgreater_test_data): New variable.
20315 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20316 (isgreaterequal_test_data): New variable.
20317 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20318 (isless_test_data): New variable.
20319 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20320 (islessequal_test_data): New variable.
20321 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20322 (islessgreater_test_data): New variable.
20323 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20324 (isunordered_test_data): New variable.
20325 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20326
20327 2013-05-14 David S. Miller <davem@davemloft.net>
20328
20329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20330
20331 2013-05-14 Joseph Myers <joseph@codesourcery.com>
20332
20333 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20334
20335 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20336 extra_test to int.
20337 (struct test_f_i_data): Change type of max_ulp to int.
20338
20339 * math/libm-test.inc (test_ffI_f1_data): New type.
20340 (RUN_TEST_LOOP_ffI_f1): New macro.
20341 (remquo_test_data): New variable.
20342 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20343
20344 * setjmp/tst-setjmp-fp.c: New file.
20345 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20346 (link-libm): New variable.
20347 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20348
20349 * math/libm-test.inc (struct test_f_i_data): New type.
20350 (RUN_TEST_LOOP_f_i): New macro.
20351 (RUN_TEST_LOOP_f_i_tg): Likewise.
20352 (fpclassify_test_data): New variable.
20353 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20354 (ilogb_test_data): New variable.
20355 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20356
20357 * math/libm-test.inc (scalbln_test): Correct function name in END
20358 call.
20359
20360 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20361 (RUN_TEST_LOOP_fI_f1): New macro.
20362 (frexp_test_data): New variable.
20363 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20364
20365 * math/libm-test.inc (struct test_fF_f1_data): New type.
20366 (RUN_TEST_LOOP_fF_f1): New macro.
20367 (modf_test_data): New variable.
20368 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20369
20370 * math/libm-test.inc (struct test_f_f1_data): New type.
20371 (RUN_TEST_LOOP_f_f1): New macro.
20372 (gamma_test_data): New variable.
20373 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20374 (lgamma_test_data): New variable.
20375 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20376
20377 2013-05-13 Carlos O'Donell <carlos@redhat.com>
20378
20379 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20380 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20381 (main): Comment "tls" pseudo-hwcap.
20382
20383 2013-05-13 Joseph Myers <joseph@codesourcery.com>
20384
20385 * math/libm-test.inc (struct test_fl_f_data): New type.
20386 (RUN_TEST_LOOP_fl_f): New variable.
20387 (scalbln_test_data): New variable.
20388 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20389
20390 * math/libm-test.inc (struct test_fi_f_data): New type.
20391 (RUN_TEST_LOOP_fi_f): New macro.
20392 (ldexp_test_data): New variable.
20393 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20394 (scalbn_test_data): New variable.
20395 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20396
20397 * math/libm-test.inc (struct test_c_f_data): New type.
20398 (RUN_TEST_LOOP_c_f): New macro.
20399 (cabs_test_data): New variable.
20400 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20401 (carg_test_data): New variable.
20402 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20403 (cimag_test_data): New variable.
20404 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20405 (creal_test_data): New variable.
20406 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20407
20408 * math/libm-test.inc (struct test_if_f_data): New type.
20409 (RUN_TEST_LOOP_if_f): New macro.
20410 (jn_test_data): New variable.
20411 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20412 (yn_test_data): New variable.
20413 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20414
20415 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20416
20417 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20418
20419 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20420 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20421
20422 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20423
20424 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20425 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20426 (bench-deps): Add bench-timing.h.
20427 * benchtests-bench-skeleton.c: Include bench-timing.h.
20428 (main): Use TIMING_* macros instead of clock_gettime.
20429 * benchtests/bench-timing.h: New file.
20430
20431 [BZ #14582]
20432 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20433 Renamed from _LIB_VERSION.
20434 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20435
20436 2013-05-12 Joseph Myers <joseph@codesourcery.com>
20437
20438 * math/libm-test.inc (struct test_fff_f_data): New type.
20439 (RUN_TEST_LOOP_fff_f): New macro.
20440 (fma_test_data): New variable.
20441 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20442 (fma_towardzero_test_data): New variable.
20443 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20444 (fma_downward_test_data): New variable.
20445 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20446 (fma_upward_test_data): New variable.
20447 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20448
20449 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20450 (struct test_c_c_data): New type.
20451 (RUN_TEST_LOOP_c_c): New macro.
20452 (cacos_test_data): New variable.
20453 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20454 (cacosh_test_data): New variable.
20455 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20456 (casin_test_data): New variable.
20457 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20458 (casinh_test_data): New variable.
20459 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20460 (catan_test_data): New variable.
20461 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20462 (catanh_test_data): New variable.
20463 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20464 (ccos_test_data): New variable.
20465 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20466 (ccosh_test_data): New variable.
20467 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20468 (cexp_test_data): New variable.
20469 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20470 (clog_test_data): New variable.
20471 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20472 (clog10_test_data): New variable.
20473 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20474 (conj_test_data): New variable.
20475 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20476 (cproj_test_data): New variable.
20477 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20478 (csin_test_data): New variable.
20479 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20480 (csinh_test_data): New variable.
20481 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20482 (csqrt_test_data): New variable.
20483 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20484 (ctan_test_data): New variable.
20485 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20486 (ctan_tonearest_test_data): New variable.
20487 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20488 (ctan_towardzero_test_data): New variable.
20489 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20490 (ctan_downward_test_data): New variable.
20491 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20492 (ctan_upward_test_data): New variable.
20493 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20494 (ctanh_test_data): New variable.
20495 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20496 (ctanh_tonearest_test_data): New variable.
20497 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20498 (ctanh_towardzero_test_data): New variable.
20499 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20500 (ctanh_downward_test_data): New variable.
20501 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20502 (ctanh_upward_test_data): New variable.
20503 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20504 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20505 of BUILD_COMPLEX.
20506
20507 * math/libm-test.inc (struct test_ff_f_data): New type.
20508 (struct test_ff_f_data_nexttoward): Likewise.
20509 (RUN_TEST_LOOP_2_f): New macro.
20510 (RUN_TEST_LOOP_ff_f): Likewise.
20511 (atan2_test_data): New variable.
20512 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20513 (copysign_test_data): New variable.
20514 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20515 (fdim_test_data): New variable.
20516 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20517 (fmax_test_data): New variable.
20518 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20519 (fmin_test_data): New variable.
20520 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20521 (fmod_test_data): New variable.
20522 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20523 (hypot_test_data): New variable.
20524 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20525 (nextafter_test_data): New variable.
20526 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20527 (nexttoward_test_data): New variable.
20528 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20529 (pow_test_data): New variable.
20530 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20531 (pow_tonearest_test_data): New variable.
20532 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20533 (pow_towardzero_test_data): New variable.
20534 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20535 (pow_downward_test_data): New variable.
20536 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20537 (pow_upward_test_data): New variable.
20538 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20539 (remainder_test_data): New variable.
20540 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20541 (scalb_test_data): New variable.
20542 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20543 * sysdeps/i386/fpu/libm-test-ulps: Update.
20544
20545 2013-05-11 Joseph Myers <joseph@codesourcery.com>
20546
20547 * math/libm-test.inc (fma_test): Use max_value instead of local
20548 variable fltmax.
20549 (nextafter_test): Likewise.
20550
20551 * math/libm-test.inc (acos_towardzero_test_data): New variable.
20552 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20553 (acos_downward_test_data): New variable.
20554 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20555 (acos_upward_test_data): New variable.
20556 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20557 (acosh_test_data): New variable.
20558 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20559 (asin_test_data): New variable.
20560 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20561 (asin_tonearest_test_data): New variable.
20562 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20563 (asin_towardzero_test_data): New variable.
20564 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20565 (asin_downward_test_data): New variable.
20566 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20567 (asin_upward_test_data): New variable.
20568 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20569 (asinh_test_data): New variable.
20570 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20571 (atan_test_data): New variable.
20572 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20573 (atanh_test_data): New variable.
20574 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20575 (cbrt_test_data): New variable.
20576 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20577 (ceil_test_data): New variable.
20578 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20579 (cos_test_data): New variable.
20580 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20581 (cos_tonearest_test_data): New variable.
20582 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20583 (cos_towardzero_test_data): New variable.
20584 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20585 (cos_downward_test_data): New variable.
20586 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20587 (cos_upward_test_data): New variable.
20588 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20589 (cosh_test_data): New variable.
20590 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20591 (cosh_tonearest_test_data): New variable.
20592 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20593 (cosh_towardzero_test_data): New variable.
20594 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20595 (cosh_downward_test_data): New variable.
20596 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20597 (cosh_upward_test_data): New variable.
20598 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20599 (erf_test_data): New variable.
20600 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20601 (erfc_test_data): New variable.
20602 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20603 (exp_test_data): New variable.
20604 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20605 (exp_tonearest_test_data): New variable.
20606 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20607 (exp_towardzero_test_data): New variable.
20608 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20609 (exp_downward_test_data): New variable.
20610 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20611 (exp_upward_test_data): New variable.
20612 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20613 (exp10_test_data): New variable.
20614 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20615 (exp2_test_data): New variable.
20616 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20617 (expm1_test_data): New variable.
20618 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20619 (fabs_test_data): New variable.
20620 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20621 (floor_test_data): New variable.
20622 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20623 (j0_test_data): New variable.
20624 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20625 (j1_test_data): New variable.
20626 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20627 (log_test_data): New variable.
20628 (log_test): Run tests with RUN_TEST_LOOP_f_f.
20629 (log10_test_data): New variable.
20630 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20631 (log1p_test_data): New variable.
20632 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20633 (log2_test_data): New variable.
20634 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20635 (logb_test_data): New variable.
20636 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20637 (logb_downward_test_data): New variable.
20638 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20639 (nearbyint_test_data): New variable.
20640 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20641 (rint_test_data): New variable.
20642 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20643 (rint_tonearest_test_data): New variable.
20644 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20645 (rint_towardzero_test_data): New variable.
20646 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20647 (rint_downward_test_data): New variable.
20648 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20649 (rint_upward_test_data): New variable.
20650 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20651 (round_test_data): New variable.
20652 (round_test): Run tests with RUN_TEST_LOOP_f_f.
20653 (sin_test_data): New variable.
20654 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
20655 (sin_tonearest_test_data): New variable.
20656 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20657 (sin_towardzero_test_data): New variable.
20658 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20659 (sin_downward_test_data): New variable.
20660 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20661 (sin_upward_test_data): New variable.
20662 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20663 (sinh_test_data): New variable.
20664 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
20665 (sinh_tonearest_test_data): New variable.
20666 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20667 (sinh_towardzero_test_data): New variable.
20668 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20669 (sinh_downward_test_data): New variable.
20670 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20671 (sinh_upward_test_data): New variable.
20672 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20673 (sqrt_test_data): New variable.
20674 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
20675 (tan_test_data): New variable.
20676 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
20677 (tan_tonearest_test_data): New variable.
20678 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20679 (tan_towardzero_test_data): New variable.
20680 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20681 (tan_downward_test_data): New variable.
20682 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20683 (tan_upward_test_data): New variable.
20684 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20685 (tanh_test_data): New variable.
20686 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
20687 (tgamma_test_data): New variable.
20688 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
20689 (trunc_test_data): New variable.
20690 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
20691 (y0_test_data): New variable.
20692 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
20693 (y1_test_data): New variable.
20694 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
20695 (significand_test_data): New variable.
20696 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
20697
20698 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
20699
20700 [BZ #12387]
20701 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
20702
20703 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
20704
20705 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
20706
20707 2013-05-10 Andreas Jaeger <aj@suse.de>
20708
20709 [BZ #15448]
20710 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
20711 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
20712
20713 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20714
20715 * math/gen-libm-test.pl (adjust_arg): New function.
20716 (special_functions): Handle generating output in both functions
20717 and arrays.
20718 (parse_args): Likewise.
20719 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
20720 $in_func argument to parse_args.
20721 * math/libm-test.inc (struct test_f_f_data): New type.
20722 (IF_ROUND_INIT_): New macro.
20723 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
20724 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20725 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20726 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20727 (ROUND_RESTORE_): Likewise.
20728 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
20729 (ROUND_RESTORE_FE_TONEAREST): Likewise.
20730 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
20731 (ROUND_RESTORE_FE_UPWARD): Likewise.
20732 (RUN_TEST_LOOP_f_f): New macro.
20733 (acos_test_data): New variable.
20734 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
20735 (acos_tonearest_test_data): New variable.
20736 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20737
20738 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20739
20740 * benchtests/bench-skeleton.c (startup): Fix coding style.
20741
20742 2013-05-10 Joseph Myers <joseph@codesourcery.com>
20743
20744 [BZ #6809]
20745 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
20746 negative infinity argument.
20747 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
20748 negative infinity argument.
20749 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
20750 negative infinity argument.
20751 * math/libm-test.inc (tgamma_test): Expect errno to be set for
20752 domain errors.
20753
20754 2013-05-10 Florian Weimer <fweimer@redhat.com>
20755
20756 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
20757 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
20758 * iconv/iconv_prog.c (main): Likewise.
20759 * locale/programs/charmap-dir.c (charmap_readdir)
20760 (fopen_uncompressed): Likewise.
20761 * locale/programs/locfile.c (siblings_uncached)
20762 (write_locale_data): Use lstat64 instead of lstat.
20763 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
20764 stat.
20765
20766 2013-05-10 Andreas Jaeger <aj@suse.de>
20767
20768 [BZ #15395]
20769 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
20770 localization.
20771 Include <locale.h>.
20772
20773 2013-05-09 Carlos O'Donell <carlos@redhat.com>
20774
20775 * elf/dl-close.c (_dl_close_worker): Add comments.
20776
20777 2013-05-09 Joseph Myers <joseph@codesourcery.com>
20778
20779 [BZ #15359]
20780 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
20781 high part of pi/2.
20782 (__ieee754_rem_pio2l): Update comments.
20783
20784 [BZ #15429]
20785 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
20786 high part of pi/2.
20787 (__ieee754_rem_pio2l): Update comments.
20788
20789 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
20790 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
20791
20792 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
20793 M_PI_4l.
20794
20795 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
20796 (M_PI_34_LOG10El): Likewise.
20797 (M_PI2_LOG10El): Likewise.
20798 (M_PI4_LOG10El): Likewise.
20799 (M_PI_LOG10El): Likewise.
20800
20801 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20802
20803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20804
20805 2013-05-08 Joseph Myers <joseph@codesourcery.com>
20806
20807 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
20808 (MINUS_ZERO_INIT): Likewise.
20809 (PLUS_INFTY_INIT): Likewise.
20810 (MINUS_INFTY_INIT): Likewise.
20811 (QNAN_VALUE_INIT): Likewise.
20812 (MAX_VALUE_INIT): Likewise.
20813 (MIN_VALUE_INIT): Likewise.
20814 (MIN_SUBNORM_VALUE_INIT): Likewise.
20815 (plus_zero): Initialize with PLUS_ZERO_INIT.
20816 (minus_zero): Initialize with MINUS_ZERO_INIT.
20817 (plus_infty): Initialize with PLUS_INFTY_INIT.
20818 (minus_infty): Initialize with MINUS_INFTY_INIT.
20819 (qnan_value): Initialize with QNAN_VALUE_INIT.
20820 (max_value): Initialize with MAX_VALUE_INIT.
20821 (min_value): Initialize with MIN_VALUE_INIT.
20822 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
20823
20824 * math/libm-test.inc (RUN_TEST_if_f): New macro.
20825 (jn_test): Use TEST_if_f instead of TEST_ff_f.
20826 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
20827 (yn_test): Use TEST_if_f instead of TEST_ff_f.
20828
20829 * math/libm-test.inc (RUN_TEST_f_f): New macro.
20830 (RUN_TEST_2_f): Likewise.
20831 (RUN_TEST_ff_f): Likewise.
20832 (RUN_TEST_fi_f): Likewise.
20833 (RUN_TEST_fl_f): Likewise.
20834 (RUN_TEST_fff_f): Likewise.
20835 (RUN_TEST_c_f): Likewise.
20836 (RUN_TEST_f_f1): Likewise.
20837 (RUN_TEST_fF_f1): Likewise.
20838 (RUN_TEST_fI_f1): Likewise.
20839 (RUN_TEST_ffI_f1): Likewise.
20840 (RUN_TEST_c_c): Likewise.
20841 (RUN_TEST_cc_c): Likewise.
20842 (RUN_TEST_f_i): Likewise.
20843 (RUN_TEST_f_i_tg): Likewise.
20844 (RUN_TEST_ff_i_tg): Likewise.
20845 (RUN_TEST_f_b): Likewise.
20846 (RUN_TEST_f_b_tg): Likewise.
20847 (RUN_TEST_f_l): Likewise.
20848 (RUN_TEST_f_L): Likewise.
20849 (RUN_TEST_sincos): Likewise.
20850 * math/gen-libm-test.pl (new_test): Take new argument to indicate
20851 whether to show exceptions. Do not include ");\n" in return
20852 value.
20853 (special_functions): Output call to RUN_TEST_sincos instead of
20854 check_float calls. Update calls to new_test.
20855 (parse_args): Output call to single RUN_TEST_* macro instead of
20856 check_* calls and other assignments. Update calls to new_test.
20857
20858 [BZ #2546]
20859 [BZ #2560]
20860 [BZ #5159]
20861 [BZ #15426]
20862 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
20863 input to result for tgamma overflow.
20864 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
20865 (gamma_coeff): New variable.
20866 (NCOEFF): New macro.
20867 (gamma_positive): New function.
20868 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
20869 underflow here. Use gamma_positive instead of exp (lgamma) for
20870 other arguments.
20871 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
20872 (gamma_coeff): New variable.
20873 (NCOEFF): New macro.
20874 (gammaf_positive): New function.
20875 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
20876 underflow here. Use gamma_positive instead of exp (lgamma) for
20877 other arguments.
20878 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
20879 (gamma_coeff): New variable.
20880 (NCOEFF): New macro.
20881 (gammal_positive): New function.
20882 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20883 underflow here. Use gamma_positive instead of exp (lgamma) for
20884 other arguments.
20885 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20886 (gamma_coeff): New variable.
20887 (NCOEFF): New macro.
20888 (gammal_positive): New function.
20889 (__ieee754_gammal_r): Handle positive infinity, overflow and
20890 underflow here. Handle NaN the same as positive infinity. Remove
20891 check x < 0xffffffff for negative integers. Use gamma_positive
20892 instead of exp (lgamma) for other arguments.
20893 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20894 (gamma_coeff): New variable.
20895 (NCOEFF): New macro.
20896 (gammal_positive): New function.
20897 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20898 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20899 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20900 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20901 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20902 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20903 * sysdeps/generic/math_private.h (__gamma_productf): New
20904 prototype.
20905 (__gamma_product): Likewise.
20906 (__gamma_productl): Likewise.
20907 * math/Makefile (libm-calls): Add gamma_product.
20908 * math/libm-test.inc (tgamma_test): Add more tests.
20909 * sysdeps/i386/fpu/libm-test-ulps: Update.
20910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20911
20912 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
20913
20914 * benchtests/bench-skeleton.c (main): Preheat CPU.
20915
20916 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20917
20918 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20919
20920 2013-05-07 Roland McGrath <roland@hack.frob.com>
20921
20922 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20923 and _dl_skip_args_internal.
20924
20925 2013-05-07 Carlos O'Donell <carlos@redhat.com>
20926
20927 * manual/message.texi (Message Translation): Talk about users.
20928 Message to key mapping impacts design.
20929
20930 2013-05-06 Roland McGrath <roland@hack.frob.com>
20931
20932 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20933
20934 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20935
20936 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20937 * sysdeps/wordsize-64/glob64.c: ... here.
20938
20939 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20940 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20941 New macros.
20942
20943 * debug/getlogin_r_chk.c: Moved to ...
20944 * login/getlogin_r_chk.c: ... here.
20945 * debug/Makefile (routines): Move getlogin_r_chk to ...
20946 * login/Makefile (routines): ... here.
20947 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20948 * login/Versions (libc: GLIBC_2.4): ... here.
20949
20950 * io/poll.c (__poll): Renamed from poll.
20951 Add libc_hidden_def.
20952 (poll): Define as weak alias.
20953
20954 * debug/ptsname_r_chk.c: Moved to ...
20955 * login/ptsname_r_chk.c: ... here.
20956 * debug/Makefile (routines): Move ptsname_r_chk to ...
20957 * login/Makefile (routines): ... here.
20958 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20959 * login/Versions (libc: GLIBC_2.4): ... here.
20960
20961 * posix/getlogin.c: Moved to ...
20962 * login/getlogin.c: ... here.
20963 * posix/getlogin_r.c: Moved to ...
20964 * login/getlogin_r.c: ... here.
20965 * posix/getlogin_r.c: Moved to ...
20966 * login/getlogin_r.c: ... here.
20967 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20968 * login/Makefile (routines): ... here.
20969 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20970 * login/Versions (libc: GLIBC_2.0): ... here.
20971
20972 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20973 (setrlimit): Define as weak alias.
20974
20975 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20976 Call __ names for open, ftruncate, and close.
20977 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20978 (truncate): Define as weak alias.
20979
20980 2013-05-06 Joseph Myers <joseph@codesourcery.com>
20981
20982 * math/gen-libm-test.pl (parse_args): Initialize x before each
20983 test of frexp, modf and remquo.
20984
20985 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20986 test signgam value.
20987
20988 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20989
20990 [BZ #15418]
20991 [BZ #15419]
20992 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20993 internal tests.
20994 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20995
20996 2013-05-06 Roland McGrath <roland@hack.frob.com>
20997
20998 * elf/dl-writev.h: New file.
20999 * elf/dl-misc.c: Include it.
21000 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21001 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21002
21003 2013-05-04 Joseph Myers <joseph@codesourcery.com>
21004
21005 * math/libm-test.inc (noXFails): Remove variable.
21006 (noXPasses): Likewise.
21007 (BUILD_COMPLEX_INT): Remove macro.
21008 (print_screen): Remove xfail argument.
21009 (print_screen_max_error): Likewise.
21010 (update_stats): Likewise.
21011 (print_max_error): Likewise. Update calls to other affected
21012 functions.
21013 (print_complex_max_error): Likewise.
21014 (test_single_exception): Update calls to print_screen.
21015 (test_single_errno): Likewise.
21016 (check_float_internal): Remove xfail argument. Update calls to
21017 other affected functions.
21018 (check_float): Likewise.
21019 (check_complex): Likewise.
21020 (check_int): Likewise.
21021 (check_long): Likewise.
21022 (check_bool): Likewise.
21023 (check_longlong): Likewise.
21024 (main): Don't print noXFails and noXPasses.
21025 * math/gen-libm-test.pl (top level): Don't mention expected
21026 failure handling in comment.
21027 (new_test): Don't handle expected failures.
21028 (parse_args): Don't mention expected failure handling in comment.
21029 (generate_testfile): Don't handle expected failures.
21030 (parse_ulps): Likewise.
21031 (print_ulps_file): Likewise.
21032 (get_failure): Remove function.
21033 (output_test): Don't handle expected failures.
21034 * make/README.libm-test: Don't mention expected failure handling.
21035
21036 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21037 (minus_zero): Likewise.
21038 (plus_infty): Likewise.
21039 (minus_infty): Likewise.
21040 (qnan_value): Likewise.
21041 (max_value): Likewise.
21042 (min_value): Likewise.
21043 (min_subnorm_value): Likewise.
21044 (initialize): Do not initialize those variables dynamically.
21045
21046 2013-05-03 Roland McGrath <roland@hack.frob.com>
21047
21048 * io/open.c (__open_2): Moved to ...
21049 * io/open_2.c: ... this new file.
21050 * io/open64.c (__open64_2): Moved to ...
21051 * io/open64_2.c: ... this new file.
21052 * io/openat.c (__openat_2): Moved to ...
21053 * io/openat_2.c: ... this new file.
21054 * io/openat64.c (__openat64_2): Moved to ...
21055 * io/openat64_2.c: ... this new file.
21056 * io/Makefile (routines): Add them.
21057 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21058 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21059 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21060 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21061 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21062 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21063 (__openat64): Add hidden_ver.
21064 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21065 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21066
21067 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21068 Separately conditionalize setting of GLRO(dl_sysinfo) so
21069 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21070 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21071
21072 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21073
21074 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21075 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21076 definition.
21077 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21078 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21079 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21080 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21081 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21082
21083 2013-05-03 Joseph Myers <joseph@codesourcery.com>
21084
21085 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21086 test signgam value.
21087
21088 * math/libm-test.inc (hypot_test): Do not use
21089 IGNORE_ZERO_INF_SIGN.
21090
21091 2013-05-03 Andreas Jaeger <aj@suse.de>
21092
21093 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21094 Linux 3.9.
21095 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21096 (PF_MAX): Adjust for VSOCK change.
21097
21098 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21099
21100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21101
21102 2013-05-02 Carlos O'Donell <carlos@redhat.com>
21103
21104 [BZ #15264]
21105 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21106 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21107 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21108
21109 2013-05-02 David S. Miller <davem@davemloft.net>
21110
21111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21112
21113 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
21114
21115 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21116
21117 2013-05-01 Roland McGrath <roland@hack.frob.com>
21118
21119 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21120
21121 2013-05-01 Richard Smith <richard@metafoo.co.uk>
21122
21123 [BZ #14952]
21124 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21125 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21126 Use __attribute__ ((__gnu_inline__)).
21127 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21128 Don't use __attribute__ ((__gnu_inline__)).
21129
21130 2013-05-01 Joseph Myers <joseph@codesourcery.com>
21131
21132 [BZ #15423]
21133 * math/s_catan.c (__catan): Handle small real or imaginary part of
21134 input specially to avoid spurious underflow.
21135 * math/s_catanf.c (__catanf): Likewise.
21136 * math/s_catanh.c (__catanh): Likewise.
21137 * math/s_catanhf.c (__catanhf): Likewise.
21138 * math/s_catanhl.c (__catanhl): Likewise.
21139 * math/s_catanl.c (__catanl): Likewise.
21140 * math/libm-test.inc (catan_test): Add more tests.
21141 (catanh_test): Likewise.
21142 * sysdeps/i386/fpu/libm-test-ulps: Update.
21143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21144
21145 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21146
21147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21148
21149 2013-04-30 Joseph Myers <joseph@codesourcery.com>
21150
21151 [BZ #15416]
21152 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21153 accurately for denominator in atan2.
21154 * math/s_catanf.c (__catanf): Likewise.
21155 * math/s_catanh.c (__catanh): Likewise.
21156 * math/s_catanhf.c (__catanhf): Likewise.
21157 * math/s_catanhl.c (__catanhl): Likewise.
21158 * math/s_catanl.c (__catanl): Likewise.
21159 * math/libm-test.inc (catan_test): Add more tests.
21160 (catanh_test): Likewise.
21161 * sysdeps/i386/fpu/libm-test-ulps: Update.
21162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21163
21164 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21165
21166 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21167
21168 * benchtests/Makefile (bench): Remove slow benchmarks.
21169 * benchtests/atan-inputs: Add slow benchmark inputs.
21170 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21171 (BENCH_FUNC): Accept variant offset.
21172 (VARIANT): Define.
21173 * benchtests/bench-skeleton.c (main): Run benchmark for each
21174 variant.
21175 * benchtests/cos-inputs: Add slow benchmark inputs.
21176 * benchtests/exp-inputs: Likewise.
21177 * benchtests/pow-inputs: Likewise.
21178 * benchtests/sin-inputs: Likewise.
21179 * benchtests/slowatan-inputs: Remove.
21180 * benchtests/slowatan.c: Remove.
21181 * benchtests/slowcos-inputs: Remove.
21182 * benchtests/slowcos.c: Remove.
21183 * benchtests/slowexp-inputs: Remove.
21184 * benchtests/slowexp.c: Remove.
21185 * benchtests/slowpow-inputs: Remove.
21186 * benchtests/slowpow.c: Remove.
21187 * benchtests/slowsin-inputs: Remove.
21188 * benchtests/slowsin.c: Remove.
21189 * benchtests/slowtan-inputs: Remove.
21190 * benchtests/slowtan.c: Remove.
21191 * benchtests/tan-inputs: Add slow benchmark inputs.
21192 * scripts/bench.pl: Parse comments and directives.
21193
21194 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21195 in CPPFLAGS.
21196 ($(objpfx)bench-%.c): Remove *-ITER.
21197 * benchtests/bench-modf.c: Remove definition of ITER.
21198 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21199 (main): Loop for DURATION seconds instead of fixed number of
21200 iterations.
21201 * scripts/bench.pl: Don't expect iterations in parameters.
21202
21203 2013-04-29 Roland McGrath <roland@hack.frob.com>
21204
21205 * io/fchdir.c (__fchdir): Renamed from fchdir.
21206 (fchdir): Define as weak alias.
21207
21208 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21209
21210 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21211 (ERRNO_EDOM): Likewise.
21212 (ERRNO_ERANGE): Likewise.
21213 (noErrnoTests): New variable.
21214 (init_max_error): Set errno to 0.
21215 (test_single_errno): New function.
21216 (test_errno): Likewise.
21217 (check_float_internal): Call test_errno. Set errno to 0.
21218 (check_complex): Refer to errno tests in comment.
21219 (check_int): Call test_errno. Set errno to 0.
21220 (check_long): Likewise.
21221 (check_bool): Likewise.
21222 (check_longlong): Likewise.
21223 (cos_test): Use ERRNO_* flags for errno tests instead of
21224 check_int.
21225 (expm1_test): Likewise.
21226 (fmod_test): Likewise.
21227 (ilogb_test): Likewise.
21228 (lgamma_test): Likewise.
21229 (pow_test): Likewise.
21230 (remainder_test): Likewise.
21231 (sin_test): Likewise.
21232 (tan_test): Likewise.
21233 (yn_test): Likewise.
21234 (initialize): Set errno to 0.
21235 (main): Print number of errno tests.
21236 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21237
21238 2013-04-29 Andreas Jaeger <aj@suse.de>
21239
21240 [BZ #15084]
21241 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21242 and RES_USEVC.
21243
21244 [BZ #15085]
21245 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21246 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21247 unimplemented.
21248
21249 [BZ #15380]
21250 * stdlib/random.c (__initstate): Return NULL if
21251 __initstate fails.
21252
21253 [BZ #15086]
21254 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21255 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21256 RES_SNGLKUPREOP.
21257
21258 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21259
21260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21261
21262 2013-04-29 Joseph Myers <joseph@codesourcery.com>
21263
21264 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21265 of individual tests.
21266 (casin_test): Likewise.
21267 (casinh_test): Likewise.
21268
21269 2013-04-27 Joseph Myers <joseph@codesourcery.com>
21270
21271 [BZ #15409]
21272 * math/s_catan.c (__catan): Handle arguments with large real or
21273 imaginary part separately without squaring.
21274 * math/s_catanf.c (__catanf): Likewise.
21275 * math/s_catanh.c (__catanh): Likewise.
21276 * math/s_catanhf.c (__catanhf): Likewise.
21277 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21278 and redefine.
21279 (__catanhl): Handle arguments with large real or imaginary part
21280 separately without squaring.
21281 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21282 and redefine.
21283 (__catanl): Handle arguments with large real or imaginary part
21284 separately without squaring.
21285 * math/libm-test.inc (catan_test): Add more tests.
21286 (catanh_test): Likewise.
21287 * sysdeps/i386/fpu/libm-test-ulps: Update.
21288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21289
21290 2013-04-27 Andreas Jaeger <aj@suse.de>
21291
21292 [BZ #15007]
21293 * stdlib/stdlib.h: Update guards for qecvt.
21294 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21295 <stdlib.h>.
21296
21297 2013-04-27 Allan McRae <allan@archlinux.org>
21298
21299 * sysdeps/i386/fpu/libm-test-ulps: Update.
21300
21301 2013-04-26 Joseph Myers <joseph@codesourcery.com>
21302
21303 [BZ #15406]
21304 * math/s_catan.c: Include <float.h>.
21305 (__catan): Ensure underflow exception occurs for underflowed
21306 result.
21307 * math/s_catanf.c: Include <float.h>.
21308 (__catanf): Ensure underflow exception occurs for underflowed
21309 result.
21310 * math/s_catanh.c: Include <float.h>.
21311 (__catanh): Ensure underflow exception occurs for underflowed
21312 result.
21313 * math/s_catanhf.c: Include <float.h>.
21314 (__catanhf): Ensure underflow exception occurs for underflowed
21315 result.
21316 * math/s_catanhl.c: Include <float.h>.
21317 (__catanhl): Ensure underflow exception occurs for underflowed
21318 result.
21319 * math/s_catanl.c: Include <float.h>.
21320 (__catanl): Ensure underflow exception occurs for underflowed
21321 result.
21322 * math/libm-test.inc (catan_test): Add more tests.
21323 (catanh_test): Likewise.
21324
21325 [BZ #15405]
21326 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21327 underflowed result.
21328 * math/s_ccoshf.c (__ccoshf): Likewise.
21329 * math/s_ccoshl.c (__ccoshl): Likewise.
21330 * math/s_csin.c (__csin): Likewise.
21331 * math/s_csinf.c (__csinf): Likewise.
21332 * math/s_csinh.c (__csinh): Likewise.
21333 * math/s_csinhf.c (__csinhf): Likewise.
21334 * math/s_csinhl.c (__csinhl): Likewise.
21335 * math/s_csinl.c (__csinl): Likewise.
21336 * math/libm-test.inc (ccos_test): Add more tests.
21337 (ccosh_test): Likewise.
21338 (csin_test): Likewise.
21339 (csinh_test): Likewise.
21340
21341 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21342
21343 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21344 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21345 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21346 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21347 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21348 powerpc/power5+/fpu folders.
21349 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21350
21351
21352 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21353
21354 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21355
21356 2013-04-25 Joseph Myers <joseph@codesourcery.com>
21357
21358 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21359 additions to variable.
21360 [$(config-machine) = x86_64] (modules-names): Likewise.
21361 ($(objpfx)tst-audit3): Remove dependency.
21362 ($(objpfx)tst-audit3.out): Likewise.
21363 ($(objpfx)tst-audit4): Likewise.
21364 ($(objpfx)tst-audit4.out): Likewise.
21365 ($(objpfx)tst-audit5): Likewise.
21366 ($(objpfx)tst-audit5.out): Likewise.
21367 ($(objpfx)tst-audit6): Likewise.
21368 ($(objpfx)tst-audit6.out): Likewise.
21369 ($(objpfx)tst-audit7): Likewise.
21370 ($(objpfx)tst-audit7.out): Likewise.
21371 (tst-audit3-ENV): Remove variable.
21372 (tst-audit4-ENV): Likewise.
21373 (tst-audit5-ENV): Likewise.
21374 (tst-audit6-ENV): Likewise.
21375 (tst-audit7-ENV): Likewise.
21376 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21377 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21378 addition to variable.
21379 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21380 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21381 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21382 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21383 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21384 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21385 tst-audit3, tst-audit4 and tst-audit5.
21386 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21387 tst-audit6 and tst-audit7.
21388 [$(subdir) = elf] (modules-names): Add audit modules for those
21389 tests.
21390 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21391 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21392 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21393 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21394 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21395 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21396 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21397 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21398 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21399 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21400 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21401 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21402 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21403 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21404 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21405 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21406 Likewise.
21407 [$(subdir) = elf && $(config-cflags-avx) = yes]
21408 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21409 [$(subdir) = elf && $(config-cflags-avx) = yes]
21410 (CFLAGS-tst-auditmod4a.c): Likewise.
21411 [$(subdir) = elf && $(config-cflags-avx) = yes]
21412 (CFLAGS-tst-auditmod4b.c): Likewise.
21413 [$(subdir) = elf && $(config-cflags-avx) = yes]
21414 (CFLAGS-tst-auditmod6b.c): Likewise.
21415 [$(subdir) = elf && $(config-cflags-avx) = yes]
21416 (CFLAGS-tst-auditmod6c.c): Likewise.
21417 [$(subdir) = elf && $(config-cflags-avx) = yes]
21418 (CFLAGS-tst-auditmod7b.c): Likewise.
21419 * elf/tst-audit3.c: Move to ...
21420 * sysdeps/x86_64/tst-audit3.c: ... here.
21421 * elf/tst-audit4.c: Move to ...
21422 * sysdeps/x86_64/tst-audit4.c: ... here.
21423 * elf/tst-audit5.c: Move to ...
21424 * sysdeps/x86_64/tst-audit5.c: ... here.
21425 * elf/tst-audit6.c: Move to ...
21426 * sysdeps/x86_64/tst-audit6.c: ... here.
21427 * elf/tst-audit7.c: Move to ...
21428 * sysdeps/x86_64/tst-audit7.c: ... here.
21429 * elf/tst-auditmod3a.c: Move to ...
21430 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21431 * elf/tst-auditmod3b.c: Move to ...
21432 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21433 * elf/tst-auditmod4a.c: Move to ...
21434 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21435 * elf/tst-auditmod4b.c: Move to ...
21436 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21437 * elf/tst-auditmod5a.c: Move to ...
21438 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21439 * elf/tst-auditmod5b.c: Move to ...
21440 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21441 * elf/tst-auditmod6a.c: Move to ...
21442 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21443 * elf/tst-auditmod6b.c: Move to ...
21444 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21445 * elf/tst-auditmod6c.c: Move to ...
21446 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21447 * elf/tst-auditmod7a.c: Move to ...
21448 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21449 * elf/tst-auditmod7b.c: Move to ...
21450 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21451
21452 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21453
21454 [BZ #15366]
21455 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21456 define unconditionally.
21457 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21458 define unconditionally.
21459 (INT8_C, INT16_C, etc.): Likewise.
21460
21461 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21462
21463 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21464 __ehdr_start with hidden visibility.
21465
21466 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21467
21468 2013-04-24 Carlos O'Donell <carlos@redhat.com>
21469
21470 * math/libm-test.inc (cos_test): Use accurate hex constants.
21471 (sincost_test): Likewise.
21472
21473 2013-04-24 Joseph Myers <joseph@codesourcery.com>
21474
21475 * math/libm-test.inc (catan_test): Add more tests.
21476 (catanh_test): Likewise.
21477
21478 * math/s_catanf.c (__catanf): Use suffixed floating-point
21479 constants.
21480 * math/s_catanhf.c (__catanhf): Likewise.
21481 * math/s_catanhl.c (__catanhl): Likewise.
21482 * math/s_catanl.c (__catanl): Likewise.
21483
21484 [BZ #15394]
21485 * math/s_catan.c (__catan): Calculate imaginary part of result
21486 with log1p not log unless computing log of number close to 0.
21487 * math/s_catanf.c (__catanf): Likewise.
21488 * math/s_catanl.c (__catanl): Likewise.
21489 * math/s_catanh.c (__catanh): Calculate real part of result with
21490 log1p not log unless computing log of number close to 0.
21491 * math/s_catanhf.c (__catanhf): Likewise.
21492 * math/s_catanhl.c (__catanhl): Likewise.
21493 * math/libm-test.inc (catan_test): Add more tests.
21494 (catanh_test): Likewise.
21495 * sysdeps/i386/fpu/libm-test-ulps: Update.
21496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21497
21498 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21499
21500 * benchtests/Makefile: Mention files in which fast and slow
21501 paths of math functions are implemented.
21502
21503 2013-04-23 Roland McGrath <roland@hack.frob.com>
21504
21505 * sysdeps/posix/timespec_get.c: New file.
21506
21507 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21508
21509 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21510 POWER.
21511 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21512 for POWER.
21513 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21514 powerpc/power5/fpu folders.
21515 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21516 * benchtests/Makefile: Add modf testcase.
21517 * benchtests/bench-modf.c: New file: Benchmark test for mo
21518
21519 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21520
21521 [BZ #14888]
21522 * time/Makefile (tests): Add tst-strptime-whitespace.
21523 * time/strptime_l.c (get_number): Use ISSPACE.
21524 (__strptime_internal): Likewise.
21525 * time/tst-strptime-whitespace.c: New test case.
21526
21527 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
21528
21529 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21530 member.
21531 (_nss_files_init): Set it here.
21532
21533 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
21534
21535 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21536 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21537 unsigned.
21538
21539 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
21540
21541 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21542
21543 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21544
21545 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21546 size just once.
21547
21548 2013-04-21 David S. Miller <davem@davemloft.net>
21549
21550 * po/ru.po: Update Russion translation from translation project.
21551
21552 2013-04-17 Adam Conrad <adconrad@0c3.net>
21553
21554 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21555 and setfsgid.
21556
21557 2013-04-17 Carlos O'Donell <carlos@redhat.com>
21558
21559 * configure.in: Remove i386 configure warning. Remove i386 case.
21560 * configure: Regenerate.
21561 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21562 Add example to error message.
21563 * sysdeps/i386/configure: Regenerate.
21564
21565 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21566
21567 * benchtests/Makefile (bench): Add cos, tan, slowcos and
21568 slowtan.
21569 * benchtests/cos-inputs: New file.
21570 * benchtests/slowcos-inputs: New file.
21571 * benchtests/slowcos.c: New file.
21572 * benchtests/slowtan-inputs: New file.
21573 * benchtests/slowtan.c: New file.
21574 * benchtests/tan-inputs: New file.
21575
21576 2013-04-16 Roland McGrath <roland@hack.frob.com>
21577
21578 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21579 considered kosher.
21580
21581 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21582
21583 * benchtests/Makefile: Include cppflags-iterator.mk to add
21584 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21585
21586 * Makefile.in (bench-clean): New target.
21587 * benchtests/Makefile (bench-clean): Likewise.
21588
21589 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
21590
21591 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21592
21593 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
21594
21595 * stdio-common/tstdiomisc.c: Fix coding-style violation.
21596
21597 2013-04-15 Andreas Schwab <schwab@suse.de>
21598
21599 * nscd/grpcache.c (cache_addgr): Properly check for short write.
21600 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21601 * nscd/pwdcache.c (cache_addpw): Likewise.
21602 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
21603 more than recsize.
21604
21605 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21606
21607 * benchtests/Makefile (bench): Write all output to
21608 bench-out.tmp together.
21609
21610 2013-04-15 Andreas Schwab <schwab@suse.de>
21611
21612 * nscd/nscd.c (main): Don't fork again after closing files.
21613
21614 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21615
21616 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21617
21618 * benchtests/Rules (bench-deps): Collect dependencies into a
21619 single variable. Add Makefile to dependencies.
21620 ($(objpfx)bench-%.c): Depend on bench-deps.
21621
21622 2013-04-12 Roland McGrath <roland@hack.frob.com>
21623 Xavier Roche <roche+kml2@exalead.com>
21624
21625 [BZ #15361]
21626 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21627 just that it's a file descriptor.
21628 * manual/llio.texi (Synchronizing AIO Operations): Update description
21629 for EBADF error from aio_fsync.
21630
21631 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21632
21633 * Rules (bench): Move target definition...
21634 * benchtests/Makefile: ... here.
21635
21636 2013-04-11 Carlos O'Donell <carlos@redhat.com>
21637
21638 * math/libm-test.inc (cos_test): Fix PI/2 test.
21639 (sincos_test): Likewise.
21640 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21641 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21642
21643 2013-04-11 Andreas Schwab <schwab@suse.de>
21644
21645 [BZ #13988]
21646 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
21647 accept exponent character only when digits were seen.
21648 * stdio-common/Makefile (tests): Add bug26.
21649 * stdio-common/bug26.c: New file.
21650
21651 [BZ #14293]
21652 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
21653 non-freeable.
21654
21655 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21656
21657 * Makeconfig (rtld-prefix): Define built linker prefix.
21658 * Rules (run-bench): Use it.
21659 * math/Makefile (run-regen-ulps): Likewise.
21660
21661 * Rules (bench): Remove eval.
21662
21663 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21664 Roland McGrath <roland@hack.frob.com>
21665 Ondrej Bilka <neleai@seznam.cz>
21666
21667 [BZ #15346]
21668 * time/getdate.c: Include ctype.h and alloca.h.
21669 (__getdate_r): Trim leading and trailing spaces of input.
21670 * time/tst-getdate.c (tests): Add tests with leading and
21671 trailing spaces.
21672
21673 2013-04-08 Roland McGrath <roland@hack.frob.com>
21674
21675 [BZ #14280]
21676 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
21677 when computing value.
21678
21679 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21680
21681 * math/README.libm-test (How can I generate "libm-test-ulps"?):
21682 Use testrun.sh to run libm tests.
21683
21684 [BZ #15309]
21685 * elf/dl-open.c (dl_open_worker): memset all of seen array.
21686
21687 2013-04-06 Marko Myllynen <myllynen@redhat.com>
21688
21689 [BZ #15264]
21690 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
21691
21692 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21693
21694 * Makefile.in (regen-ulps): New target.
21695 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
21696 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
21697 [ifneq (no,$(PERL)] (regen-ulps): New target.
21698 [ifeq (no,$(PERL)] (regen-ulps): New target.
21699 * math/libm-test.inc (ulps_file_name): Define.
21700 (output_dir): New variable.
21701 (options): Add "output-dir" option.
21702 (parse_opt): Handle 'o' case.
21703 (main): If output_dir is non-NULL use it as a prefix
21704 otherwise use "".
21705 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
21706
21707 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21708
21709 [BZ #10060, #10062]
21710 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
21711 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21712 fail configure if __sync_val_compare_and_swap is not inlined.
21713 * sysdeps/i386/configure: Regenerate.
21714 * configure.in: Build for i686 when configured for i386.
21715 * configure: Regenerate.
21716 * README: Remove i386 reference.
21717
21718 2013-04-06 Carlos O'Donell <carlos@redhat.com>
21719
21720 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
21721 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21722
21723 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
21724
21725 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
21726 (lmsnanval): New variables.
21727 (F): Add conversion tests.
21728 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
21729 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
21730
21731 * stdio-common/tstdiomisc.c (F): Properly collect individual
21732 tests' results.
21733
21734 [BZ #14686, #15336]
21735 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
21736 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21737 Instead, use input NaN values or generate a qNaN by arithmetic
21738 operation. Also fix bugs to comply with the standard.
21739 * math/libm-test.inc (remainder_test): Add more tests.
21740
21741 [BZ #15335, #15342]
21742 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21743 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
21744 input NaN values or generate a qNaN by arithmetic operation.
21745
21746 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
21747 unreachable code.
21748
21749 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
21750 definitions.
21751
21752 2013-04-03 Joseph Myers <joseph@codesourcery.com>
21753
21754 [BZ #14478]
21755 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
21756 underflowed result.
21757 * math/s_cexpf.c (__cexpf): Likewise.
21758 * math/s_cexpl.c (__cexpl): Likewise.
21759 * math/libm-test.inc (cexp_test): Add more tests.
21760
21761 2013-04-03 Andreas Schwab <schwab@suse.de>
21762
21763 [BZ #15330]
21764 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
21765 order arrays from heap if bigger than alloca cutoff.
21766
21767 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
21768
21769 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
21770 (SNAN_TESTS_double): Refer to GCC PR56831.
21771 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
21772 GCC PR56828.
21773
21774 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21775
21776 * Rules (bench): Move bench.out after the run is complete.
21777
21778 * Rules (bench): Echo currently running benchmark.
21779
21780 * benchtests/Makefile (bench): Add atan and slowatan.
21781 * benchtests/atan-inputs: New file.
21782 * benchtests/slowatan-inputs: New file.
21783 * benchtests/slowatan.c: New file.
21784
21785 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
21786 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
21787 its value.
21788
21789 [BZ #15305]
21790 * sysdeps/unix/sysv/linux/kernel-features.h
21791 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
21792 __ASSUME_XFS_RESTRICTED_CHOWN.
21793 * sysdeps/unix/sysv/linux/pathconf.c
21794 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
21795 Save and restore errno.
21796
21797 2013-04-02 Joseph Myers <joseph@codesourcery.com>
21798
21799 [BZ #15327]
21800 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
21801 arguments using __kernel_casinh.
21802 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
21803 arguments using __kernel_casinhf.
21804 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
21805 arguments using __kernel_casinhl.
21806 * math/libm-test.inc (cacosh_test): Add more tests.
21807 * sysdeps/i386/fpu/libm-test-ulps: Update.
21808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21809
21810 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21811
21812 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
21813 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
21814
21815 * bench/Makefile (bench): Add sin and slowsin.
21816 * benchtests/sin-inputs: New file.
21817 * benchtests/slowsin-inputs: New file.
21818 * benchtests/slowsin.c: New file.
21819
21820 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
21821 (bench): Add slowexp and slowpow.
21822 (exp-ITER): Increase iterations.
21823 (pow-ITER): Likewise.
21824 * benchtests/exp-inputs: Change input.
21825 * benchtests/pow-inputs: Likewise.
21826 * benchtests/slowexp-inputs: New file.
21827 * benchtests/slowexp.c: New file.
21828 * benchtests/slowpow-inputs: New file.
21829 * benchtests/slowpow.c: New file.
21830
21831 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21832
21833 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
21834 instructions.
21835 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21836 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
21837 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21838 * benchtests/Makefile: Add rint benchtest.
21839 * benchtests/rint-inputs: Input for rint benchtest.
21840
21841 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
21842
21843 * Versions.def (libm): Add GLIBC_2.18.
21844 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
21845 hidden libm prototypes.
21846 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
21847 * math/Makefile (libm-calls): Add s_issignaling.
21848 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
21849 __issignalingf, __issignalingl. Adjust all libm.abilist files.
21850 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
21851 declaration.
21852 * math/math.h [__USE_GNU] (issignaling): New macro.
21853 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
21854 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
21855 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
21856 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
21857 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
21858 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
21859 * manual/arith.texi (issignaling): New section.
21860 * manual/libm-err-tab.pl (@all_functions): Update comment.
21861 * math/gen-libm-test.pl (parse_args): Apply special handling for
21862 issignaling.
21863 * math/libm-test.inc (print_float, issignaling_test): New
21864 functions.
21865 (check_float_internal): Add issignaling checks.
21866 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
21867 default definition.
21868 * sysdeps/powerpc/math-tests.h: New file.
21869 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
21870 tests.
21871 * math/test-snan.c (TEST_FUNC): Likewise.
21872
21873 2013-03-30 David S. Miller <davem@davemloft.net>
21874
21875 * po/de.po: Update from translation team.
21876
21877 2013-03-30 Joseph Myers <joseph@codesourcery.com>
21878
21879 [BZ #10357]
21880 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21881 imaginary part less than 1.0 and real part less than 0.5
21882 specially.
21883 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21884 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21885 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21886 (cacos_test): Add more tests.
21887 (casin_test): Likewise.
21888 (casinh_test): Likewise.
21889 * sysdeps/i386/fpu/libm-test-ulps: Update.
21890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21891
21892 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21893
21894 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21895 ONE with its value.
21896
21897 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21898 (__pow_mp): Replace ONE and MONE with their values.
21899 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21900 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21901 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21902 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21903 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21904 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21905
21906 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21907
21908 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21909 (__pow_mp): Replace ZERO and MZERO with their values.
21910 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21911 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21912 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21913 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21914 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21915 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21916 (__sqr): Likewise.
21917
21918 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21919
21920 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21921
21922 2013-03-28 Roland McGrath <roland@hack.frob.com>
21923
21924 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21925 Declare with __attribute__ ((weak)).
21926 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21927 Call __call_tls_dtors only if it's not NULL.
21928
21929 2013-03-28 Roland McGrath <roland@hack.frob.com>
21930
21931 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21932 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21933 magic __ehdr_start linker symbol if it's defined.
21934 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21935 them up here if it was already done.
21936
21937 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21938 (_dl_aux_init): Use const in cast when setting it.
21939 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21940 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21941 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21942
21943 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21944 Declare them here.
21945 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21946 * csu/libc-tls.c: Nor here.
21947 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21948
21949 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21950 (__libc_message): Never call vsyslog.
21951
21952 2013-03-28 Alan Modra <amodra@gmail.com>
21953
21954 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21955 Define as empty.
21956 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21957 Likewise.
21958
21959 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21960
21961 [BZ #15214]
21962 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21963 underflow.
21964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21965
21966 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21967
21968 [BZ #15304]
21969 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21970 Don't add gid passed as argument.
21971
21972 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21973
21974 2013-03-27 Joseph Myers <joseph@codesourcery.com>
21975
21976 [BZ #15307]
21977 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21978 imaginary part between 1.0 and 1.5 and real part less than 0.5
21979 specially.
21980 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21981 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21982 * math/libm-test.inc (cacos_test): Add more tests.
21983 (casin_test): Likewise.
21984 (casinh_test): Likewise.
21985 * sysdeps/i386/fpu/libm-test-ulps: Update.
21986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21987
21988 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21989
21990 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21991 constants.
21992 (norm): Likewise.
21993 (denorm): Likewise.
21994 (__dbl_mp): Likewise.
21995 (add_magnitudes): Likewise.
21996 (sub_magnitudes): Likewise.
21997 (__add): Likewise.
21998 (__sub): Likewise.
21999 (__mul): Likewise.
22000 (__sqr): Likewise.
22001 (__inv): Likewise.
22002 (__dvd): Likewise.
22003
22004 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22005 commented code.
22006 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22007 (__dubcos): Likewise.
22008 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22009 (__ieee754_acos): Likewise.
22010 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22011 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22012 (__exp1): Likewise.
22013 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22014 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22015 (log1): Likewise.
22016 (my_log2): Likewise.
22017 (checkint): Likewise.
22018 * sysdeps/ieee754/dbl-64/e_remainder.c
22019 (__ieee754_remainder): Likewise.
22020 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22021 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22022 (bsloww): Likewise.
22023 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22024
22025 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22026 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22027 MANTISSA_STORE_T to store computations on mantissa. Use
22028 macros for rounding and division.
22029 (denorm): Likewise.
22030 (__dbl_mp): Likewise.
22031 (add_magnitudes): Likewise.
22032 (sub_magnitudes): Likewise.
22033 (__mul): Likewise.
22034 (__sqr): Likewise.
22035 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22036 powers of two in terms of TWOPOW macro.
22037 (mp_no): Make type of mantissa as MANTISSA_T.
22038 [!RADIXI]: Define RADIXI.
22039 [!TWO52]: Define TWO52.
22040 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22041
22042 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22043
22044 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22045 llroundl symbol when building for PPC32.
22046
22047 2013-03-24 Mark H Weaver <mhw@netris.org>
22048
22049 * manual/arith.texi (Normalization Functions): Fix prototypes for
22050 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22051
22052 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22053
22054 [BZ #13889]
22055 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22056 high value to check if expl overflow.
22057 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22058 to check for underflow and overflow.
22059 * math/libm-test.inc: Add exp test.
22060
22061 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22062
22063 [BZ #11120]
22064 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22065 with NOT_IN_libc.
22066
22067 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22068
22069 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22070 symbol.
22071
22072 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22073
22074 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22075 wrap blocks consisting of several statements.
22076
22077 * sysdeps/generic/math-tests.h: New file.
22078 * sysdeps/i386/fpu/math-tests.h: Likewise.
22079 * math/test-snan.c: Include it.
22080 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22081
22082 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22083
22084 [BZ #15285]
22085 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22086 (__ieee754_j0l): Do not improve calculations using cos of twice
22087 input for inputs above LDBL_MAX / 2.0L.
22088 (__ieee754_y0l): Likewise.
22089 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22090 (__ieee754_j1l): Do not improve calculations using cos of twice
22091 input for inputs above LDBL_MAX / 2.0L.
22092 (__ieee754_y1l): Likewise.
22093 * math/libm-test.inc (j0_test): Add another test.
22094 (j1_test): Likewise.
22095 (y0_test): Likewise.
22096 (y1_test): Likewise.
22097 * sysdeps/i386/fpu/libm-test-ulps: Update.
22098
22099 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22100
22101 * Rules ($(objpfx)bench-%.c): Include code from a C source
22102 file.
22103
22104 2013-03-21 Joseph Myers <joseph@codesourcery.com>
22105
22106 [BZ #15287]
22107 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22108 imaginary part 1.0 and real part less than 0.5 specially.
22109 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22110 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22111 * math/libm-test.inc (cacos_test): Add more tests.
22112 (casin_test): Likewise.
22113 (casinh_test): Likewise.
22114 * sysdeps/i386/fpu/libm-test-ulps: Update.
22115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22116
22117 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22118
22119 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22120 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22121
22122 2013-03-20 Joseph Myers <joseph@codesourcery.com>
22123
22124 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22125 * config.make.in (config-cflags-sse4): Remove variable.
22126 (config-cflags-avx): Likewise.
22127 (config-cflags-sse2avx): Likewise.
22128 (config-cflags-novzeroupper): Likewise.
22129 (config-asflags-i686): Likewise.
22130 (have-mfma4): Likewise.
22131 (have-as-vis3): Likewise.
22132 (MIG): Likewise.
22133 * configure.in (MIG): Do not AC_SUBST.
22134 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22135 (libc_cv_cc_sse4): Do not AC_SUBST.
22136 (libc_cv_cc_avx): Likewise.
22137 (libc_cv_cc_sse2avx): Likewise.
22138 (libc_cv_cc_novzeroupper): Likewise.
22139 (libc_cv_cc_fma4): Likewise.
22140 (libc_cv_as_i686): Likewise.
22141 (libc_cv_sparc_as_vis3): Likewise.
22142 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22143 LIBC_CONFIG_VAR.
22144 (config-asflags-i686): Likewise.
22145 (config-cflags-avx): Likewise.
22146 (config-cflags-sse2avx): Likewise.
22147 (have-mfma4): Likewise.
22148 (config-cflags-novzeroupper): Likewise.
22149 * sysdeps/mach/configure.in (MIG): Likewise.
22150 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22151 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22152 LIBC_CONFIG_VAR.
22153 (config-cflags-avx): Likewise.
22154 (config-cflags-sse2avx): Likewise.
22155 (have-mfma4): Likewise.
22156 (config-cflags-novzeroupper): Likewise.
22157 * configure: Regenerated.
22158 * sysdeps/i386/configure: Likewise.
22159 * sysdeps/mach/configure: Likewise.
22160 * sysdeps/sparc/configure: Likewise.
22161 * sysdeps/x86_64/configure: Likewise.
22162
22163 2013-03-20 Roland McGrath <roland@hack.frob.com>
22164
22165 [BZ #14812]
22166 * locale/programs/localedef.c (options): Put N_ translation marker
22167 on argument names, not just descriptions.
22168
22169 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22170
22171 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22172
22173 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
22174
22175 [BZ #14176]
22176 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22177
22178 2013-03-19 Roland McGrath <roland@hack.frob.com>
22179
22180 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22181 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22182 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22183 [!BEFORE_ABORT] (before_abort): New function.
22184 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22185 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22186 (writev_for_fatal): New function.
22187 (WRITEV_FOR_FATAL): New macro; call that.
22188 (backtrace_and_maps): New function.
22189 (BEFORE_ABORT): New macro; call that.
22190 (struct str_list): Type removed.
22191 (__libc_message, __libc_fatal): Functions removed.
22192 Include <sysdeps/posix/libc_fatal.c> instead.
22193
22194 2013-03-19 Joseph Myers <joseph@codesourcery.com>
22195
22196 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22197 constants.
22198 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22199 double constants.
22200
22201 2013-03-19 Andreas Schwab <schwab@suse.de>
22202
22203 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22204 * sysdeps/gnu/configure: Regenerate.
22205
22206 * configure.in: Substitute libc_cv_rtlddir.
22207 * configure: Regenerate.
22208 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22209 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22210 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22211 * elf/Makefile (install-others, CFLAGS-interp.c)
22212 (ldso_install, common-ldd-rewrite): Likewise.
22213 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22214 $(inst_slibdir)/$(rtld-installed-name).
22215 * scripts/rellns-sh: Add -p option.
22216 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22217 for source.
22218
22219 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22220
22221 * manual/nptl.texi: Renamed to ...
22222 * manual/threads.texi: ... this.
22223 * manual/Makefile (chapters): Update.
22224
22225 2013-03-18 Roland McGrath <roland@hack.frob.com>
22226
22227 [BZ #14812]
22228 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22229 on argument names, not just descriptions.
22230 * malloc/memusagestat.c (options): Likewise.
22231 * nss/getent.c (options): Likewise.
22232
22233 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
22234
22235 [BZ #14812]
22236 * iconv/iconv_prog.c (options): Put N_ translation marker
22237 on argument names, not just descriptions.
22238 * iconv/iconvconfig.c (options): Likewise.
22239
22240 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
22241
22242 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22243 implementation which is faster on all x86_64 architectures.
22244 Tested on AMD, Intel Nehalem, SNB, IVB.
22245 * sysdeps/x86_64/strnlen.S: Likewise.
22246
22247 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22248 Remove all multiarch strlen and strnlen versions.
22249 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22250 Remove strlen and strnlen related parts.
22251
22252 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22253 Inline strlen part.
22254 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22255
22256 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22257 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22258 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22259 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22260 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22261 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22262
22263 2013-03-17 Carlos O'Donell <carlos@redhat.com>
22264
22265 * manual/memory.texi (Malloc Tunable Parameters):
22266 Sort parameters alphabetically. Add comments for missing entries.
22267
22268 2013-03-17 David S. Miller <davem@davemloft.net>
22269
22270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22271
22272 2013-03-16 Joseph Myers <joseph@codesourcery.com>
22273
22274 [BZ #15283]
22275 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22276 for arguments at most half maximum finite value.
22277 * math/libm-test.inc (j0_test): Add more tests.
22278 (j1_test): Likewise.
22279 (y0_test): Likewise.
22280 (y1_test): Likewise.
22281 * sysdeps/i386/fpu/libm-test-ulps: Update.
22282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22283
22284 [BZ #14155]
22285 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22286 1 / x and functions P and Q for arguments above 0x1p256L.
22287 (__ieee754_y0l): Likewise.
22288 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22289 (__ieee754_y1l): Likewise.
22290 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22291 (j1_test): Likewise.
22292 (y0_test): Likewise.
22293 (y1_test): Likewise.
22294
22295 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22296
22297 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22298 variable.
22299
22300 2013-03-15 Roland McGrath <roland@hack.frob.com>
22301
22302 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22303 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22304 zero since it's initialized to EXEC_PAGESIZE.
22305
22306 * sysdeps/unix/sysv/linux/ldsodefs.h
22307 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22308 * sysdeps/generic/ldsodefs.h: ... here.
22309
22310 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22311
22312 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22313
22314 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22315 math/test-snan.c.
22316 * math/test-snan.c: Renamed from
22317 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22318 * math/Makefile (tests): Add test-snan.
22319 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22320 test-powerpc-snan.
22321
22322 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22323 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22324 functions.
22325 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22326 __builtin_nan family of functions.
22327 * math/libm-test.inc (initialize): Initialize qnan_value with
22328 __builtin_nan family of functions.
22329 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22330 Remove variables.
22331 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22332 Remove functions.
22333 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22334 storage class. Initialize qNaN_var and sNaN_var with
22335 __builtin_nan and __builtin_nans families of functions,
22336 respectively.
22337
22338 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22339 (sqrt_test): Remove duplicate test with qNaN input.
22340 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22341 (round_test, signbit_test, significand_test): Note missing +/-Inf
22342 as well as qNaN tests.
22343
22344 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22345 qNaN_var. Fix a few strings, too.
22346 * math/libm-test.inc (nan_value): Rename to qnan_value.
22347 * math/gen-libm-test.pl (%beautify): Adjust to that.
22348 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22349 * math/test-misc.c (main): Likewise.
22350 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22351 to __qnan_bytes, and __qnan_union, respectively.
22352 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22353 Likewise.
22354 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22355 and lqnanval, respectively.
22356 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22357 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22358 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22359 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22360
22361 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22362 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22363 doubles.
22364
22365 * math/test-misc.c (main): Fix copy'n'pastos.
22366 * misc/tst-efgcvt.c (special): Likewise.
22367
22368 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22369 Remove declarations.
22370
22371 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22372
22373 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22374 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22375 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22376 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22377
22378 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22379
22380 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22381 macro to return vdso values correctly in IFUNC implementations.
22382 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22383 Optimization by using IFUNC.
22384
22385 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22386 Richard Henderson <rth@redhat.com>
22387 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22388
22389 * Makefile.in (bench): New target.
22390 * NEWS: Mention the benchmark framework.
22391 * Rules (bench): Likewise.
22392 (binaries-bench): Generate binaries for functions to
22393 benchmark.
22394 * benchtests/Makefile: New makefile for benchmark tests.
22395 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22396 programs.
22397 * benchtests/exp-inputs: New input file for EXP function.
22398 * benchtests/pow-inputs: New input file for POW function.
22399 * scripts/bench.pl: New script to generate source files for
22400 benchmark programs.
22401
22402 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22403
22404 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22405 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22406 computations on mantissa. Use macros for rounding and
22407 division.
22408 (denorm): Likewise.
22409 (__dbl_mp): Likewise.
22410 (add_magnitudes): Likewise.
22411 (sub_magnitudes): Likewise.
22412 (__mul): Likewise.
22413 (__sqr): Likewise.
22414 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22415 powers of two in terms of TWOPOW macro.
22416 (mp_no): Make type of mantissa as MANTISSA_T.
22417 [!RADIXI]: Define RADIXI.
22418 [!TWO52]: Define TWO52.
22419 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22420
22421 * manual/nptl.texi (cindex): Modify threads to pthreads.
22422
22423 2013-03-15 Joseph Myers <joseph@codesourcery.com>
22424
22425 * sysdeps/x86_64/preconfigure: Regenerated.
22426
22427 2013-03-14 Joseph Myers <joseph@codesourcery.com>
22428
22429 [BZ #14155]
22430 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22431 0x1p28 and above.
22432 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22433 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22434 0x1p28 and above.
22435 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22436 * math/libm-test.inc (j0_test): Do not allow one spurious
22437 underflow exception.
22438 (y1_test): Likewise.
22439
22440 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22441
22442 * manual/Makefile (chapters): Add nptl.
22443 * manual/debug.texi (Debugging Support): Add link to Threads
22444 chapter.
22445 * manual/nptl.texi: New file.
22446
22447 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22448
22449 2013-03-14 Petr Baudis <pasky@ucw.cz>
22450
22451 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22452 for non-NULL pointer before the memory validity test. Pointed
22453 out by Holger Brunck <holger.brunck@keymile.com>.
22454
22455 2013-03-13 Andreas Schwab <schwab@suse.de>
22456
22457 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22458 instead of .os.
22459
22460 2013-03-13 Joseph Myers <joseph@codesourcery.com>
22461
22462 * timezone/zic.c: Update from tzcode 2013b.
22463
22464 2013-03-12 Carlos O'Donell <carlos@redhat.com>
22465
22466 * manual/install.texi (Configuring and compiling):
22467 Mention i686 and i586.
22468 * INSTALL: Regenerate.
22469
22470 2013-03-12 Roland McGrath <roland@hack.frob.com>
22471
22472 * sysdeps/init_array/elf-init.c: New file.
22473 * csu/elf-init.c
22474 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22475 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22476
22477 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22478 __gmon_start__ as global, but as static with a .preinit_array pointer.
22479 * sysdeps/init_array/gmon-start.c: New file. Use that.
22480 * sysdeps/init_array/crti.S: New file, empty except for comments.
22481 * sysdeps/init_array/crtn.S: Likewise.
22482
22483 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
22484
22485 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22486 definining bcopy.
22487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22488 Remove Prefer_SSE_for_memop.
22489 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22490 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22491 HAS_PREFER_SSE_FOR_MEMOP.
22492 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22493 memset-x86-64.
22494 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22495 Remove bzero, memset ifunc support.
22496 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22497 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22498 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22499 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22500
22501 2013-03-11 Andreas Schwab <schwab@suse.de>
22502
22503 [BZ #15234]
22504 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22505 by SHLIB_COMPAT.
22506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22507 (GLIBC_2.16): Remove pthread_atfork.
22508
22509 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22510
22511 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22512 (ptestcases.h): Likewise.
22513
22514 2013-03-08 Roland McGrath <roland@hack.frob.com>
22515
22516 * Makeconfig ($(common-objpfx)config.status): Depend on
22517 sysdeps/*/preconfigure{,.in} too.
22518
22519 2013-03-08 Joseph Myers <joseph@codesourcery.com>
22520
22521 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22522 (__free_hook): Use void * instead of __malloc_ptr_t.
22523 (__malloc_hook): Likewise.
22524 (__realloc_hook): Likewise.
22525 (__memalign_hook): Likewise.
22526 (__after_morecore_hook): Likewise.
22527 * malloc/arena.c (save_malloc_hook): Likewise.
22528 (save_free_hook): Likewise.
22529 * malloc/hooks.c (malloc_hook_ini): Likewise.
22530 (realloc_hook_ini): Likewise.
22531 (memalign_hook_ini): Likewise.
22532 * malloc/malloc.c (malloc_hook_ini): Likewise.
22533 (realloc_hook_ini): Likewise.
22534 (memalign_hook_ini): Likewise.
22535 (__free_hook): Likewise.
22536 (__malloc_hook): Likewise.
22537 (__realloc_hook): Likewise.
22538 (__memalign_hook): Likewise.
22539 (__libc_malloc): Likewise.
22540 (__libc_free): Likewise.
22541 (__libc_realloc): Likewise.
22542 (__libc_memalign): Likewise.
22543 (__libc_valloc): Likewise.
22544 (__libc_pvalloc): Likewise.
22545 (__libc_calloc): Likewise.
22546 (__posix_memalign): Likewise.
22547 * malloc/morecore.c (__sbrk): Likewise.
22548 (__default_morecore): Likewise.
22549
22550 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22551
22552 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22553 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22554 __malloc_ptrdiff_t.
22555
22556 * malloc/malloc.h (__malloc_size_t): Remove macro.
22557 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22558 __malloc_size_t.
22559 (old_memalign_hook): Likewise.
22560 (old_realloc_hook): Likewise.
22561 (struct hdr): Likewise.
22562 (flood): Likewise.
22563 (mallochook): Likewise.
22564 (memalignhook): Likewise.
22565 (reallochook): Likewise.
22566 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22567 (tr_old_realloc_hook): Likewise.
22568 (tr_old_memalign_hook): Likewise.
22569 (tr_mallochook): Likewise.
22570 (tr_reallochook): Likewise.
22571 (tr_memalignhook): Likewise.
22572
22573 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22574
22575 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22576 default_ldbl_pack and using as default implementation.
22577 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22578 implementation.
22579 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22580 redundant definition.
22581 (ldbl_insert_mantissa): Likewise.
22582 (ldbl_canonicalize): Likewise.
22583 (ldbl_nearbyint): Likewise.
22584 (ldbl_pack): Rename to ldbl_pack_ppc.
22585 (ldbl_unpack): Rename to ldbl_unpack_ppc.
22586 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22587 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22588
22589 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22590
22591 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22592 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22593 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22594 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22595 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22596 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22597 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22598 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22599
22600 2013-03-07 Andreas Jaeger <aj@suse.de>
22601
22602 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22603 bits/mman-linux.h.
22604
22605 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22606
22607 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22608 Include mpa.h and declare __MPEXP.
22609 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22610 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22611 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22612 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22613 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22614 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22615 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22616
22617 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22618 (__slowpow): Use long double EXPL and LOGL functions to
22619 compute POW.
22620 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22621 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22622 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22623 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22624 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22625 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22626
22627 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22628 intermediate variable to calculate exponent.
22629 (__sqr): Likewise.
22630 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22631 Likewise.
22632 (__sqr): Likewise.
22633
22634 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22635 [!NO__SQR]: Define __sqr.
22636 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22637 and NO__SQR. Remove all code except __mul and __sqr. Include
22638 sysdeps/ieee754/dbl-64/mpa.c.
22639 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22640
22641 [BZ #12723]
22642 * posix/Makefile (tests): Add tst-pathconf.
22643 * posix/tst-pathconf.c: New test case.
22644 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
22645 _PC_PIPE_BUF.
22646 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
22647
22648 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
22649
22650 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
22651
22652 2013-03-06 Andreas Jaeger <aj@suse.de>
22653
22654 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
22655 definition via __MAP_ANONYMOUS.
22656
22657 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
22658 it's not part of Linux headers.
22659
22660 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
22661 (MAP_HUGE_MASK): Define.
22662
22663 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22664 Define.
22665 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22666 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22667 Define.
22668 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22669 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
22670 Define.
22671 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22672 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
22673 Define.
22674 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
22675
22676 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
22677 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
22678 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
22679 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
22680 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
22681 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
22682
22683 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22684 Handle f2fs.
22685
22686 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22687 Handle f2fs and efivarfs.
22688
22689 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
22690 f2fs.
22691
22692 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
22693 (EFIVARFS_MAGIC): Add.
22694 (F2FS_LINK_MAX): Add.
22695
22696 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22697
22698 * stdio-common/vfprintf.c: Replace __builtin_expect with
22699 __glibc_unlikely.
22700
22701 2013-03-06 Joseph Myers <joseph@codesourcery.com>
22702
22703 [BZ #13550]
22704 * sysdeps/generic/bp-sym.h: Remove file.
22705 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
22706 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
22707 <bp-sym.h> and <bp-asm.h>.
22708 (__longjmp): Don't use BP_SYM.
22709 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
22710 and <bp-asm.h>.
22711 (memcpy): Don't use BP_SYM.
22712 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
22713 <bp-sym.h> and <bp-asm.h>.
22714 (memcpy): Don't use BP_SYM.
22715 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
22716 <bp-asm.h>.
22717 (memcpy): Don't use BP_SYM.
22718 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
22719 <bp-asm.h>.
22720 (memset): Don't use BP_SYM.
22721 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22722 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22723 (__bzero): Don't use BP_SYM.
22724 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22725 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22726 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
22727 <bp-sym.h> and <bp-asm.h>.
22728 (memcmp): Don't use BP_SYM. Remove comment about bounded
22729 pointers.
22730 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
22731 <bp-sym.h> and <bp-asm.h>.
22732 (memcpy): Don't use BP_SYM.
22733 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
22734 <bp-sym.h> and <bp-asm.h>.
22735 (memset): Don't use BP_SYM.
22736 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22737 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22738 (__bzero): Don't use BP_SYM.
22739 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22740 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22741 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
22742 <bp-sym.h> and <bp-asm.h>.
22743 (strncmp): Don't use BP_SYM. Remove comment about bounded
22744 pointers.
22745 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
22746 <bp-sym.h> and <bp-asm.h>.
22747 (memcpy): Don't use BP_SYM.
22748 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
22749 <bp-sym.h> and <bp-asm.h>.
22750 (memset): Don't use BP_SYM.
22751 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22752 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22753 (__bzero): Don't use BP_SYM.
22754 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22755 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22756 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
22757 <bp-sym.h> and <bp-asm.h>.
22758 (__memchr): Don't use BP_SYM.
22759 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
22760 <bp-sym.h> and <bp-asm.h>.
22761 (memcmp): Don't use BP_SYM. Remove comment about bounded
22762 pointers.
22763 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
22764 <bp-sym.h> and <bp-asm.h>.
22765 (memcpy): Don't use BP_SYM.
22766 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
22767 <bp-sym.h> and <bp-asm.h>.
22768 (__mempcpy): Don't use BP_SYM.
22769 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
22770 <bp-sym.h> and <bp-asm.h>.
22771 (__memrchr): Don't use BP_SYM.
22772 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
22773 <bp-sym.h> and <bp-asm.h>.
22774 (memset): Don't use BP_SYM.
22775 (__bzero): Likewise.
22776 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
22777 <bp-sym.h> and <bp-asm.h>.
22778 (__rawmemchr): Don't use BP_SYM.
22779 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
22780 <bp-sym.h> and <bp-asm.h>.
22781 (__STRCMP): Don't use BP_SYM.
22782 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
22783 <bp-sym.h> and <bp-asm.h>.
22784 (strchr): Don't use BP_SYM.
22785 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
22786 <bp-sym.h> and <bp-asm.h>.
22787 (__strchrnul): Don't use BP_SYM.
22788 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
22789 <bp-sym.h> and <bp-asm.h>.
22790 (strlen): Don't use BP_SYM.
22791 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
22792 <bp-sym.h> and <bp-asm.h>.
22793 (strncmp): Don't use BP_SYM. Remove comment about bounded
22794 pointers.
22795 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
22796 <bp-sym.h> and <bp-asm.h>.
22797 (__strnlen): Don't use BP_SYM.
22798 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
22799 <bp-sym.h> and <bp-asm.h>.
22800 (__GI__setjmp): Don't use BP_SYM.
22801 (_setjmp): Likewise.
22802 (__sigsetjmp): Likewise.
22803 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
22804 (L(start_addresses)): Don't use BP_SYM.
22805 (_start): Likewise.
22806 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
22807 <bp-asm.h>.
22808 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
22809 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
22810 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22811 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22812 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
22813 <bp-asm.h>.
22814 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
22815 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
22816 about bounded pointers.
22817 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22818 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22819 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
22820 <bp-asm.h>.
22821 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22822 about bounded pointers. Remove GKM FIXME comments.
22823 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22824 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
22825 <bp-asm.h>.
22826 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
22827 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
22828 Remove GKM FIXME comments.
22829 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22830 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22831 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
22832 <bp-asm.h>.
22833 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
22834 about bounded pointers. Remove GKM FIXME comment.
22835 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
22836 and <bp-asm.h>.
22837 (strncmp): Don't use BP_SYM. Remove comment about bounded
22838 pointers.
22839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
22840 <bp-sym.h> and <bp-asm.h>.
22841 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
22843 <bp-sym.h> and <bp-asm.h>.
22844 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22845 comment.
22846
22847 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22848
22849 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
22850 call free(NULL).
22851
22852 2013-03-05 David S. Miller <davem@davemloft.net>
22853
22854 * po/es.po: Update from translation team.
22855
22856 2013-03-05 Andreas Jaeger <aj@suse.de>
22857
22858 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
22859 <bits/mman-linux.h>.
22860 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22861 is fine.
22862 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
22863 <bits/mman-linux.h> to end of file.
22864 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22865 is fine.
22866 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
22867 <bits/mman-linux.h> to end of file.
22868 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
22869 is fine.
22870 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
22871 <bits/mman-linux.h> to end of file.
22872
22873 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
22874 (MCL_CURRENT, MCL_FUTURE): Define here.
22875
22876 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22877
22878 [BZ #15232]
22879 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
22880 attribute_hidden.
22881 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22882
22883 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22884
22885 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22886 fourth parameter needed for rt_sigprocmask syscall.
22887 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22888 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22889 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22890 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22891 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22892 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22893
22894 2013-03-04 Joseph Myers <joseph@codesourcery.com>
22895
22896 [BZ #13550]
22897 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22898 comment about bounded pointers.
22899 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22900 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22901
22902 2013-03-04 Andreas Jaeger <aj@suse.de>
22903
22904 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22905 common definitions.
22906
22907 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22908 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22909 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22910 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22911 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22912 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22913
22914 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22915
22916 [BZ #15055]
22917 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22918 __ieee754_sqrl instead of __sqrl.
22919
22920 2013-03-01 Joseph Myers <joseph@codesourcery.com>
22921
22922 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22923 * sysdeps/powerpc/fpu_control.h: ... here.
22924 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22925 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22926 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22927 * sysdeps/powerpc/bits/mathinline.h: ... here.
22928
22929 2013-03-01 Roland McGrath <roland@hack.frob.com>
22930
22931 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22932 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22933 to just [NEED_DL_SYSINFO_DSO].
22934 * elf/dl-support.c: Likewise.
22935 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22936 * elf/rtld.c (dl_main): Likewise.
22937 * elf/setup-vdso.h (setup_vdso): Likewise.
22938 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22939 * sysdeps/unix/sysv/linux/dl-sysdep.c
22940 (_dl_discover_osversion): Likewise.
22941
22942 2013-03-01 Carlos O'Donell <carlos@redhat.com>
22943
22944 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22945 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22946
22947 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22948
22949 * NEWS: Mention libm performance improvements and non-x86 PI
22950 futex support.
22951
22952 * csu/libc-start.c (__pthread_initialize_minimal): Change
22953 function arguments.
22954 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22955
22956 2013-02-28 Joseph Myers <joseph@codesourcery.com>
22957
22958 [BZ #13550]
22959 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22960 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22961 <bp-sym.h> and <bp-asm.h>.
22962 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22963 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22964 and <bp-asm.h>.
22965 (memcpy): Don't use BP_SYM.
22966 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22967 <bp-asm.h>.
22968 (__mpn_add_n): Don't use BP_SYM.
22969 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22970 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22971 and <bp-asm.h>.
22972 (__mpn_addmul_1): Don't use BP_SYM.
22973 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22974 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22975 <bp-sym.h>.
22976 (_setjmp): Don't use BP_SYM.
22977 (__novmx_setjmp): Likewise.
22978 (__GI__setjmp): Likewise.
22979 (__vmx_setjmp): Likewise.
22980 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22981 <bp-sym.h>.
22982 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22983 (__bzero): Don't use BP_SYM.
22984 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22985 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22986 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22987 <bp-sym.h> and <bp-asm.h>.
22988 (memcpy): Don't use BP_SYM.
22989 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22990 <bp-sym.h> and <bp-asm.h>.
22991 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22992 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22993 <bp-sym.h> and <bp-asm.h>.
22994 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22995 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22996 <bp-asm.h>.
22997 (__mpn_lshift): Don't use BP_SYM.
22998 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22999 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23000 <bp-asm.h>.
23001 (memset): Don't use BP_SYM.
23002 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23003 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23004 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23005 <bp-asm.h>.
23006 (__mpn_mul_1): Don't use BP_SYM.
23007 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23008 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23009 <bp-sym.h> and <bp-asm.h>.
23010 (memcmp): Don't use BP_SYM.
23011 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23012 <bp-sym.h> and <bp-asm.h>.
23013 (memcpy): Don't use BP_SYM.
23014 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23015 <bp-sym.h> and <bp-asm.h>.
23016 (memset): Don't use BP_SYM.
23017 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23018 <bp-sym.h> and <bp-asm.h>.
23019 (strncmp): Don't use BP_SYM.
23020 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23021 <bp-sym.h> and <bp-asm.h>.
23022 (memcpy): Don't use BP_SYM.
23023 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23024 <bp-sym.h> and <bp-asm.h>.
23025 (memset): Don't use BP_SYM.
23026 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23027 <bp-sym.h> and <bp-asm.h>.
23028 (__memchr): Don't use BP_SYM.
23029 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23030 <bp-sym.h> and <bp-asm.h>.
23031 (memcmp): Don't use BP_SYM.
23032 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23033 <bp-sym.h> and <bp-asm.h>.
23034 (memcpy): Don't use BP_SYM.
23035 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23036 <bp-sym.h> and <bp-asm.h>.
23037 (__mempcpy): Don't use BP_SYM.
23038 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23039 <bp-sym.h> and <bp-asm.h>.
23040 (__memrchr): Don't use BP_SYM.
23041 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23042 <bp-sym.h> and <bp-asm.h>.
23043 (memset): Don't use BP_SYM.
23044 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23045 <bp-sym.h> and <bp-asm.h>.
23046 (__rawmemchr): Don't use BP_SYM.
23047 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23048 <bp-sym.h> and <bp-asm.h>.
23049 (__STRCMP): Don't use BP_SYM.
23050 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23051 <bp-sym.h> and <bp-asm.h>.
23052 (strchr): Don't use BP_SYM.
23053 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23054 <bp-sym.h> and <bp-asm.h>.
23055 (__strchrnul): Don't use BP_SYM.
23056 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23057 <bp-sym.h> and <bp-asm.h>.
23058 (strlen): Don't use BP_SYM.
23059 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23060 <bp-sym.h> and <bp-asm.h>.
23061 (strncmp): Don't use BP_SYM.
23062 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23063 <bp-sym.h> and <bp-asm.h>.
23064 (__strnlen): Don't use BP_SYM.
23065 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23066 <bp-asm.h>.
23067 (__mpn_rshift): Don't use BP_SYM.
23068 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23069 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23070 <bp-sym.h> and <bp-asm.h>.
23071 (__sigsetjmp): Don't use BP_SYM.
23072 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23073 (L(start_addresses)): Don't use BP_SYM.
23074 (_start): Likewise.
23075 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23076 <bp-asm.h>.
23077 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23078 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23079 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23080 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23081 <bp-asm.h>.
23082 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23083 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23084 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23085 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23086 <bp-asm.h>.
23087 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23088 comments.
23089 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23090 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23091 <bp-asm.h>.
23092 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23093 FIXME comments.
23094 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23095 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23096 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23097 <bp-asm.h>.
23098 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23099 comment.
23100 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23101 and <bp-asm.h>.
23102 (strncmp): Don't use BP_SYM,
23103 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23104 <bp-asm.h>.
23105 (__mpn_sub_n): Don't use BP_SYM.
23106 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23107 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23108 and <bp-asm.h>.
23109 (__mpn_submul_1): Don't use BP_SYM.
23110 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23112 <bp-sym.h> and <bp-asm.h>.
23113 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23115 <bp-sym.h> and <bp-asm.h>.
23116 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23117 comment.
23118
23119 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23120
23121 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23122 Use ZK to minimize writes to Z.
23123 (sub_magnitudes): Simplify code a bit.
23124 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23125 Use ZK to minimize writes to Z.
23126 (sub_magnitudes): Simplify code a bit.
23127
23128 2013-02-27 Roland McGrath <roland@hack.frob.com>
23129
23130 * csu/gmon-start.c: Add special exception to license text.
23131
23132 2013-02-27 Richard Henderson <rth@redhat.com>
23133
23134 * scripts/config.guess: Update from config.git.
23135 * scripts/config.sub: Likewise.
23136
23137 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23138
23139 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23140
23141 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23142
23143 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23144
23145 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23146
23147 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23148
23149 2013-02-26 Roland McGrath <roland@hack.frob.com>
23150
23151 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23152 [$(build-shared = yes].
23153
23154 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23155
23156 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23157 (__mul): Reduce iterations for calculating mantissa.
23158
23159 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23160 MPTWO.
23161 (__mpranred): Likewise.
23162
23163 [BZ #15160]
23164 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23165 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23166
23167 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23168
23169 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23170 Define __attribute__.
23171
23172 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23173
23174 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23175 unused.
23176 * posix/regex_internal.h (__attribute): Remove.
23177 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23178 (re_string_context_at): Likewise.
23179 (bitset_not): Use __attribute__ and mark function as possibly
23180 unused.
23181 (bitset_merge): Likewise.
23182 (bitset_mask): Likewise.
23183 (re_string_char_size_at): Likewise.
23184 (re_string_wchar_at): Likewise.
23185 (re_string_elem_size_at): Likewise.
23186
23187 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23188
23189 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23190 code.
23191 (cc32): Likewise.
23192
23193 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23194 (__acr): Likewise.
23195 (__cpy): Likewise.
23196 (norm): Likewise.
23197 (denorm): Likewise.
23198 (__dbl_mp): Likewise.
23199 (add_magnitudes): Likewise.
23200 (sub_magnitudes): Likewise.
23201 (__mul): Likewise.
23202 (__inv): Likewise.
23203
23204 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23205 style.
23206
23207 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23208 style.
23209
23210 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23211 code.
23212
23213 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23214 up changes with default code.
23215 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23216 Likewise.
23217
23218 2013-02-24 Allan McRae <allan@archlinux.org>
23219
23220 * manual/socket.texi (The Internet Namespace): Order menu items
23221 to match that in the file.
23222
23223 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23224 node listing of the info page menu.
23225
23226 2013-02-21 Joseph Myers <joseph@codesourcery.com>
23227
23228 [BZ #13550]
23229 * sysdeps/i386/bp-asm.h: Remove file.
23230 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23231 (PARMS): Do not use macros from bp-asm.h.
23232 (S1): Likewise.
23233 (S2): Likewise.
23234 (SIZE): Likewise.
23235 (__mpn_add_n): Do not use BP_SYM
23236 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23237 "bp-asm.h".
23238 (PARMS): Do not use macros from bp-asm.h.
23239 (S1): Likewise.
23240 (SIZE): Likewise.
23241 (__mpn_addmul_1): Do not use BP_SYM
23242 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23243 "bp-asm.h".
23244 (PARMS): Do not use macros from bp-asm.h.
23245 (SIGMSK): Likewise.
23246 (_setjmp): Likewise. Do not use BP_SYM.
23247 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23248 "bp-asm.h".
23249 (PARMS): Do not use macros from bp-asm.h.
23250 (SIGMSK): Likewise.
23251 (setjmp): Likewise. Do not use BP_SYM.
23252 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23253 "bp-asm.h".
23254 (PARMS): Do not use macros from bp-asm.h.
23255 (__frexp): Do not use BP_SYM.
23256 (frexp): Likewise.
23257 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23258 "bp-asm.h".
23259 (PARMS): Do not use macros from bp-asm.h.
23260 (__frexpf): Do not use BP_SYM.
23261 (frexpf): Likewise.
23262 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23263 "bp-asm.h".
23264 (PARMS): Do not use macros from bp-asm.h.
23265 (__frexpl): Do not use BP_SYM.
23266 (frexpl): Likewise.
23267 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23268 "bp-asm.h".
23269 (PARMS): Do not use macros from bp-asm.h.
23270 (__remquo): Do not use BP_SYM.
23271 (remquo): Likewise.
23272 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23273 "bp-asm.h".
23274 (PARMS): Do not use macros from bp-asm.h.
23275 (__remquof): Do not use BP_SYM.
23276 (remquof): Likewise.
23277 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23278 "bp-asm.h".
23279 (PARMS): Do not use macros from bp-asm.h.
23280 (__remquol): Do not use BP_SYM.
23281 (remquol): Likewise.
23282 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23283 "bp-asm.h".
23284 (PARMS): Do not use macros from bp-asm.h.
23285 (DEST): Likewise.
23286 (SRC): Likewise.
23287 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23288 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23289 "bp-asm.h".
23290 (PARMS): Do not use macros from bp-asm.h.
23291 (strlen): Do not use BP_SYM.
23292 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23293 "bp-asm.h".
23294 (PARMS): Do not use macros from bp-asm.h.
23295 (S1): Likewise.
23296 (S2): Likewise.
23297 (SIZE): Likewise.
23298 (__mpn_add_n): Do not use BP_SYM.
23299 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23300 "bp-asm.h".
23301 (PARMS): Do not use macros from bp-asm.h.
23302 (S1): Likewise.
23303 (SIZE): Likewise.
23304 (__mpn_addmul_1): Do not use BP_SYM.
23305 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23306 weak_alias.
23307 (bzero): Likewise.
23308 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23309 "bp-asm.h".
23310 (PARMS): Do not use macros from bp-asm.h.
23311 (S): Likewise.
23312 (SIZE): Likewise.
23313 (__mpn_lshift): Do not use BP_SYM.
23314 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23315 "bp-asm.h".
23316 (PARMS): Do not use macros from bp-asm.h.
23317 (DEST): Likewise.
23318 (SRC): Likewise.
23319 (LEN): Likewise.
23320 (memcpy): Likewise. Do not use BP_SYM.
23321 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23322 libc_hidden_def and weak_alias.
23323 (mempcpy): Do not use BP_SYM in weak_alias.
23324 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23325 "bp-asm.h".
23326 (PARMS): Do not use macros from bp-asm.h.
23327 (DEST): Likewise.
23328 (LEN): Likewise.
23329 [!BZERO_P] (CHR): Likewise.
23330 (memset): Likewise. Do not use BP_SYM.
23331 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23332 "bp-asm.h".
23333 (PARMS): Do not use macros from bp-asm.h.
23334 (S1): Likewise.
23335 (SIZE): Likewise.
23336 (__mpn_mul_1): Do not use BP_SYM.
23337 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23338 "bp-asm.h".
23339 (PARMS): Do not use macros from bp-asm.h.
23340 (S): Likewise.
23341 (SIZE): Likewise.
23342 (__mpn_rshift): Do not use BP_SYM.
23343 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23344 "bp-asm.h".
23345 (PARMS): Do not use macros from bp-asm.h.
23346 (STR): Likewise.
23347 (CHR): Likewise.
23348 (strchr): Likewise. Do not use BP_SYM.
23349 (index): Do not use BP_SYM in weak_alias.
23350 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23351 "bp-asm.h".
23352 (PARMS): Do not use macros from bp-asm.h.
23353 (DEST): Likewise.
23354 (SRC): Likewise.
23355 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23356 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23357 "bp-asm.h".
23358 (PARMS): Do not use macros from bp-asm.h.
23359 (strlen): Do not use BP_SYM.
23360 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23361 "bp-asm.h".
23362 (PARMS): Do not use macros from bp-asm.h.
23363 (S1): Likewise.
23364 (S2): Likewise.
23365 (SIZE): Likewise.
23366 (__mpn_sub_n): Do not use BP_SYM.
23367 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23368 "bp-asm.h".
23369 (PARMS): Do not use macros from bp-asm.h.
23370 (S1): Likewise.
23371 (SIZE): Likewise.
23372 (__mpn_submul_1): Do not use BP_SYM.
23373 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23374 "bp-asm.h".
23375 (PARMS): Do not use macros from bp-asm.h.
23376 (S1): Likewise.
23377 (S2): Likewise.
23378 (SIZE): Likewise.
23379 (__mpn_add_n): Do not use BP_SYM.
23380 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23381 weak_alias.
23382 (bzero): Likewise.
23383 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23384 "bp-asm.h".
23385 (PARMS): Do not use macros from bp-asm.h.
23386 (BLK2): Likewise.
23387 (LEN): Likewise.
23388 (memcmp): Do not use BP_SYM.
23389 (bcmp): Do not use BP_SYM in weak_alias.
23390 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23391 "bp-asm.h".
23392 (PARMS): Do not use macros from bp-asm.h.
23393 (DEST): Likewise.
23394 (SRC): Likewise.
23395 (LEN): Likewise.
23396 (memcpy): Likewise. Do not use BP_SYM.
23397 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23398 "bp-asm.h".
23399 (PARMS): Do not use macros from bp-asm.h.
23400 (DEST): Likewise.
23401 (SRC): Likewise.
23402 (LEN): Likewise.
23403 (memmove): Likewise. Do not use BP_SYM.
23404 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23405 "bp-asm.h".
23406 (PARMS): Do not use macros from bp-asm.h.
23407 (DEST): Likewise.
23408 (SRC): Likewise.
23409 (LEN): Likewise.
23410 (__mempcpy): Likewise. Do not use BP_SYM.
23411 (mempcpy): Do not use BP_SYM in weak_alias.
23412 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23413 "bp-asm.h".
23414 (PARMS): Do not use macros from bp-asm.h.
23415 (DEST): Likewise.
23416 (LEN): Likewise.
23417 [!BZERO_P] (CHR): Likewise.
23418 (memset): Likewise. Do not use BP_SYM.
23419 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23420 "bp-asm.h".
23421 (PARMS): Do not use macros from bp-asm.h.
23422 (STR2): Likewise.
23423 (strcmp): Do not use BP_SYM.
23424 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23425 "bp-asm.h".
23426 (PARMS): Do not use macros from bp-asm.h.
23427 (STR): Likewise.
23428 (DELIM): Likewise.
23429 [USE_AS_STRTOK_R] (SAVE): Likewise.
23430 (FUNCTION): Likewise. Do not use BP_SYM.
23431 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23432 aliases.
23433 (strtok_r): Likewise.
23434 (__GI___strtok_r): Likewise.
23435 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23436 (PARMS): Do not use macros from bp-asm.h.
23437 (S): Likewise.
23438 (SIZE): Likewise.
23439 (__mpn_lshift): Do not use BP_SYM.
23440 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23441 (PARMS): Do not use macros from bp-asm.h.
23442 (STR): Likewise.
23443 (CHR): Likewise.
23444 (__memchr): Do not use BP_SYM.
23445 (memchr): Do not use BP_SYM in weak_alias.
23446 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23447 (PARMS): Do not use macros from bp-asm.h.
23448 (BLK2): Likewise.
23449 (LEN): Likewise.
23450 (memcmp): Do not use BP_SYM.
23451 (bcmp): Do not use BP_SYM in weak_alias.
23452 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23453 (PARMS): Do not use macros from bp-asm.h.
23454 (S1): Likewise.
23455 (SIZE): Likewise.
23456 (__mpn_mul_1): Do not use BP_SYM.
23457 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23458 "bp-asm.h".
23459 (PARMS): Do not use macros from bp-asm.h.
23460 (STR): Likewise.
23461 (CHR): Likewise.
23462 (__rawmemchr): Do not use BP_SYM.
23463 (rawmemchr): Do not use BP_SYM in weak_alias.
23464 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23465 (PARMS): Do not use macros from bp-asm.h.
23466 (S): Likewise.
23467 (SIZE): Likewise.
23468 (__mpn_rshift): Do not use BP_SYM.
23469 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23470 (PARMS): Do not use macros from bp-asm.h.
23471 (SIGMSK): Likewise.
23472 (__sigsetjmp): Likewise. Do not use BP_SYM.
23473 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23474 (_start): Do not use BP_SYM.
23475 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23476 (PARMS): Do not use macros from bp-asm.h.
23477 (DEST): Likewise.
23478 (SRC): Likewise.
23479 (__stpcpy): Likewise. Do not use BP_SYM.
23480 (stpcpy): Do not use BP_SYM in weak_alias.
23481 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23482 "bp-asm.h".
23483 (PARMS): Do not use macros from bp-asm.h.
23484 (DEST): Likewise.
23485 (SRC): Likewise.
23486 (LEN): Likewise.
23487 (__stpncpy): Likewise. Do not use BP_SYM.
23488 (stpncpy): Do not use BP_SYM in weak_alias.
23489 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23490 (PARMS): Do not use macros from bp-asm.h.
23491 (STR): Likewise.
23492 (CHR): Likewise.
23493 (strchr): Likewise. Do not use BP_SYM.
23494 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23495 "bp-asm.h".
23496 (PARMS): Do not use macros from bp-asm.h.
23497 (STR): Likewise.
23498 (CHR): Likewise.
23499 (__strchrnul): Likewise. Do not use BP_SYM.
23500 (strchrnul): Do not use BP_SYM in weak_alias.
23501 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23502 "bp-asm.h".
23503 (PARMS): Do not use macros from bp-asm.h.
23504 (STOP): Likewise.
23505 (strcspn): Do not use BP_SYM.
23506 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23507 "bp-asm.h".
23508 (PARMS): Do not use macros from bp-asm.h.
23509 (STR): Likewise.
23510 (STOP): Likewise.
23511 (strpbrk): Likewise. Do not use BP_SYM.
23512 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23513 "bp-asm.h".
23514 (PARMS): Do not use macros from bp-asm.h.
23515 (STR): Likewise.
23516 (CHR): Likewise.
23517 (strrchr): Likewise. Do not use BP_SYM.
23518 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23519 (PARMS): Do not use macros from bp-asm.h.
23520 (SKIP): Likewise.
23521 (strspn): Do not use BP_SYM.
23522 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23523 (PARMS): Do not use macros from bp-asm.h.
23524 (STR): Likewise.
23525 (DELIM): Likewise.
23526 (SAVE): Likewise.
23527 (FUNCTION): Likewise. Do not use BP_SYM.
23528 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23529 aliases.
23530 (strtok_r): Likewise.
23531 (__GI___strtok_r): Likewise.
23532 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23533 (PARMS): Do not use macros from bp-asm.h.
23534 (S1): Likewise.
23535 (S2): Likewise.
23536 (SIZE): Likewise.
23537 (__mpn_sub_n): Do not use BP_SYM.
23538 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23539 "bp-asm.h".
23540 (PARMS): Do not use macros from bp-asm.h.
23541 (S1): Likewise.
23542 (SIZE): Likewise.
23543 (__mpn_submul_1): Do not use BP_SYM.
23544 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23545 <bp-sym.h>.
23546 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23547 and <bp-asm.h>.
23548 (PARMS): Do not use macros from bp-asm.h.
23549 (FLAGS): Likewise.
23550 (PTID): Likewise.
23551 (TLS): Likewise.
23552 (CTID): Likewise.
23553 (__clone): Do not use BP_SYM.
23554 (clone): Do not use BP_SYM in weak_alias.
23555 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23556 and <bp-asm.h>.
23557 (PARMS): Do not use macros from bp-asm.h.
23558 (LEN): Likewise.
23559 (__mmap64): Do not use BP_SYM.
23560 (mmap64): Do not use BP_SYM in weak_alias.
23561 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23562 <bp-sym.h> and <bp-asm.h>.
23563 (PARMS): Do not use macros from bp-asm.h.
23564 (__posix_fadvise64_l64): Do not use BP_SYM.
23565 * sysdeps/unix/sysv/linux/i386/semtimedop.S
23566 (PARMS): Do not use macros from bp-asm.h.
23567 (NSOPS): Likewise.
23568 (semtimedop): Do not use BP_SYM.
23569 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23570 and <bp-asm.h>.
23571
23572 2013-02-21 Allan McRae <allan@archlinux.org>
23573
23574 * manual/message.texi (Charset conversion in gettext):
23575 Move @end statement to beginning of line.
23576
23577 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23578
23579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23580 static.
23581 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23582 Likewise.
23583
23584 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23585 (denorm): Likewise.
23586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23588
23589 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23590
23591 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23592 tail-call to the resolved function if pltexit isn't needed.
23593
23594 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23595
23596 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23597 or Y being zero as being unlikely.
23598 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23599 Likewise.
23600
23601 2013-02-20 Carlos O'Donell <carlos@redhat.com>
23602
23603 * manual/nss.texi (System Databases and Name Service Switch):
23604 Remove frobnicate @pxref.
23605
23606 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23607
23608 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23609 __attribute__ ((unused)) to __attribute__ ((__unused__)).
23610
23611 2013-02-20 Petr Machata <pmachata@redhat.com>
23612
23613 * elf/elf.h (R_ARM_TARGET1): New macro.
23614 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23615 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23616 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23617 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23618 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23619 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23620 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23621 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23622 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23623 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23624 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23625 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23626 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23627 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23628 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23629 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23630 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23631 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23632 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23633 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23634 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23635 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23636 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23637 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23638 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23639 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23640 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23641 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23642 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23643 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23644 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
23645 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
23646 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
23647 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
23648 (R_ARM_THM_GOT_BREL12): Likewise.
23649 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
23650 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
23651 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
23652 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
23653 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
23654 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
23655 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
23656 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
23657 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
23658
23659 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
23660
23661 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23662 __attribute_used__ to __attribute__ ((unused)).
23663
23664 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23665
23666 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
23667 powerpc mpa.c.
23668 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
23669 comment formatting.
23670 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
23671
23672 2013-02-19 Joseph Myers <joseph@codesourcery.com>
23673
23674 [BZ #13550]
23675 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
23676 Remove macro.
23677 (ENTER): Remove both macro definitions.
23678 (LEAVE): Likewise.
23679 (CHECK_BOUNDS_LOW): Likewise.
23680 (CHECK_BOUNDS_HIGH): Likewise.
23681 (CHECK_BOUNDS_BOTH): Likewise.
23682 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
23683 (RETURN_BOUNDED_POINTER): Likewise.
23684 (RETURN_NULL_BOUNDED_POINTER): Likewise.
23685 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
23686 (POP_ERRNO_LOCATION_RETURN): Likewise.
23687 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
23688 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23689 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
23690 macros.
23691 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23692 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
23693 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
23694 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
23695 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
23696 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
23697 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
23698 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
23699 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
23700 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
23701 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
23702 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
23703 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23704 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
23705 removed macros.
23706 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23707 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
23708 macros.
23709 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23710 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
23711 * sysdeps/i386/i586/memset.S (memset): Likewise.
23712 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
23713 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23714 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
23715 macros.
23716 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23717 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
23718 Change uses of L(2) to L(out).
23719 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
23720 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
23721 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
23722 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23723 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
23724 removed macros.
23725 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23726 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
23727 macros.
23728 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23729 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
23730 (RETURN): Do not use macro LEAVE.
23731 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
23732 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
23733 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
23734 * sysdeps/i386/i686/memset.S (memset): Likewise.
23735 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
23736 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
23737 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23738 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
23739 Likewise.
23740 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23741 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
23742 L(1_2) and L(1_3) into L(1).
23743 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23744 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
23745 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23746 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
23747 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23748 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
23749 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
23750 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23751 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
23752 macros.
23753 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
23754 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23755 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
23756 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
23757 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
23758 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23759 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
23760 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
23761 * sysdeps/i386/strcspn.S (strcspn): Likewise.
23762 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
23763 * sysdeps/i386/strrchr.S (strrchr): Likewise.
23764 * sysdeps/i386/strspn.S (strspn): Likewise.
23765 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
23766 conditional code.
23767 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23768 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
23769 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
23770 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
23771 L(1_3) into L(1_1).
23772 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
23773 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23774 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
23775 macros.
23776 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23777
23778 2013-02-19 Jakub Jelinek <jakub@redhat.com>
23779
23780 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
23781 macro.
23782
23783 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23784
23785 * math/atest-exp.c (exp_mpn): Remove ROUND.
23786 * math/atest-exp2.c (exp_mpn): Likewise.
23787 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
23788
23789 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
23790 * stdlib/tst-tls-atexit-lib.c: Likewise.
23791 * stdlib/tst-tls-atexit.c: Likewise.
23792
23793 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23794
23795 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
23796 and __attribute_alloc_size__.
23797
23798 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23799
23800 * include/programs/xmalloc.h: Change __attribute_alloc_size to
23801 __attribute_alloc_size__.
23802 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
23803 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
23804
23805 2013-02-18 Mike Frysinger <vapier@gentoo.org>
23806
23807 * include/programs/xmalloc.h: New file.
23808 * catgets/gencat.c: Include it.
23809 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
23810 * elf/pldd.c: Likewise.
23811 * iconv/iconv_charmap.c: Likewise.
23812 * iconv/iconvconfig.c: Likewise.
23813 * iconv/strtab.c: Likewise.
23814 * locale/programs/locale.c: Likewise.
23815 * locale/programs/localedef.h: Likewise.
23816 * locale/programs/simple-hash.c: Likewise.
23817 * nscd/nscd.h: Likewise.
23818 * nss/makedb.c: Likewise.
23819 * sysdeps/generic/ldconfig.h: Likewise.
23820
23821 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23822
23823 * Versions.def: Add GLIBC_2.18.
23824 * include/link.h (struct link_map): New member l_tls_dtor_count.
23825 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
23826 (__call_tls_dtors): Likewise.
23827 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
23828 __cxa_thread_atexit_impl.
23829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23830 Likewise.
23831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23832 Likewise.
23833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23834 Likewise.
23835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23836 Likewise.
23837 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
23839 Likewise.
23840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
23841 Likewise.
23842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23844 Likewise.
23845 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
23846 (tests): Add test case tst-tls-atexit.
23847 (modules-names): Add shared library for tst-tls-atexit.
23848 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
23849 (GLIBC_PRIVATE): Add __call_tls_dtors.
23850 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
23851 for libstdc++.
23852 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
23853 * stdlib/tst-tls-atexit.c: New test case.
23854 * stdlib/tst-tls-atexit-lib.c: New test case.
23855
23856 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
23857
23858 * elf/Versions (ld): Add _dl_find_dso_for_object.
23859 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
23860 * elf/dl-open.c (_dl_find_dso_for_object): New function.
23861 (dl_open_worker): Use _dl_find_dso_for_object.
23862 * elf/dl-sym.c (do_sym): Likewise.
23863 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
23864
23865 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23866
23867 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
23868 Syntactic changes only.
23869 (_dl_runtime_profile): Do a tail-call to the resolved function.
23870
23871 2013-02-17 Joseph Myers <joseph@codesourcery.com>
23872
23873 [BZ #13550]
23874 * sysdeps/x86_64/bp-asm.h: Remove file.
23875 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
23876 <bp-sym.h> and <bp-asm.h>.
23877 (__clone): Do not use BP_SYM.
23878 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
23879 <bp-sym.h> and <bp-asm.h>.
23880 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23881 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23882 "bp-asm.h".
23883 (_setjmp): Do not use BP_SYM.
23884 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23885 "bp-asm.h".
23886 (setjmp): Do not use BP_SYM.
23887 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23888 libc_hidden_def.
23889 (mempcpy): Do not use BP_SYM in weak_alias.
23890 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23891 "bp-asm.h".
23892 (strchr): Do not use BP_SYM.
23893 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23894 "bp-asm.h".
23895 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23896 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23897 (_start): Do not use BP_SYM.
23898 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23899 "bp-asm.h".
23900 (strcat): Do not use BP_SYM.
23901 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23902 "bp-asm.h".
23903 (STRCMP): Do not use BP_SYM.
23904 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23905 "bp-asm.h".
23906 (STRCPY): Do not use BP_SYM.
23907 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23908 "bp-asm.h".
23909 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23910 "bp-asm.h".
23911 (FUNCTION): Do not use BP_SYM.
23912 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23913 weak_alias.
23914 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23915
23916 2013-02-17 Andreas Jaeger <aj@suse.de>
23917
23918 * time/Versions: Sort entries.
23919 * string/Versions: Likewise.
23920 * resolv/Versions: Likewise.
23921 * posix/Versions: Likewise.
23922 * iconv/Versions: Likewise.
23923 * elf/Versions: Likewise.
23924 * wcsmbs/Versions: Likewise.
23925
23926 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23927
23928 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23929 loop termination condition.
23930
23931 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23932 variable to calculate EZ.
23933 (__sqr): Likewise.
23934
23935 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23936 the lower precision input.
23937
23938 2013-02-15 Joseph Myers <joseph@codesourcery.com>
23939
23940 [BZ #13550]
23941 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23942 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23943 (run-via-rtld-prefix): Do not handle %-bp tests.
23944 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23945 (all-object-suffixes): Remove .ob.
23946 (bppfx): Remove variable.
23947 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23948 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23949 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23950 [$(build-bounded) = yes] (libtype.ob): Likewise.
23951 * Makerules (elide-routines.ob): Remove variable.
23952 (do-tests-clean): Do not handle *-bp.out.
23953 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23954 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23955 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23956 (tests): Do not include $(tests-bp.out).
23957 (xtests): Do not include $(xtests-bp.out).
23958 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23959 [$(build-bounded) = yes] ($(addprefix
23960 $(objpfx),$(binaries-bounded))): Remove rule.
23961 ($(objpfx)%-bp.out): Remove rule.
23962 * config.make.in (build-bounded): Remove variable.
23963 * crypt/Makefile [$(build-bounded) = yes]
23964 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23965 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23966 append to variable.
23967 [$(build-bounded) = yes] (install-lib): Likewise.
23968 [$(build-bounded) = yes] (generated): Likewise.
23969 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23970 Remove rule.
23971 * intl/Makefile [$(build-bounded) = yes]
23972 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23973 * math/Makefile [$(build-bounded) = yes]
23974 ($(tests:%=$(objpfx)%-bp): Likewise.
23975 * misc/Makefile [$(build-bounded) = yes]
23976 ($(objpfx)tst-tsearch-bp): Likewise.
23977 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23978 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23979 Remove dependency.
23980 * string/Makefile (o-objects.ob): Remove variable.
23981 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23982 (CFLAGS-.ob): Remove variable.
23983 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23984 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23985 both definitions of variable.
23986 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23987 (ASFLAGS-.ob): Remove variable.
23988
23989 2013-02-14 Joseph Myers <joseph@codesourcery.com>
23990
23991 [BZ #13550]
23992 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23993 Remove __BOUNDED_POINTERS__ from condition.
23994 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23995 * string/bits/string2.h [!__NO_STRING_INLINES &&
23996 !__BOUNDED_POINTERS__]: Likewise.
23997 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23998 Likewise.
23999 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24000 Remove conditional code.
24001 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24002 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24003 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24004 condition.
24005
24006 [BZ #13550]
24007 * csu/libc-start.c: Do not include <bp-sym.h>.
24008 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24009 * elf/dl-open.c: Do not include <bp-sym.h>.
24010 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24011 * math/fegetenv.c: Do not include <bp-sym.h>.
24012 (fegetenv): Do not use BP_SYM in versioned symbols.
24013 * nptl/sysdeps/pthread/bits/libc-lockP.h
24014 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24015 <bp-sym.h>.
24016 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24017 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24018 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24019 (__pthread_mutex_destroy): Likewise.
24020 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24021 (__pthread_mutex_lock): Likewise.
24022 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24023 (__pthread_mutex_trylock): Likewise.
24024 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24025 (__pthread_mutex_unlock): Likewise.
24026 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24027 (__pthread_mutexattr_init): Likewise.
24028 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24029 (__pthread_mutexattr_destroy): Likewise.
24030 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24031 (__pthread_mutexattr_settype): Likewise.
24032 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24033 (__pthread_rwlock_init): Likewise.
24034 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24035 (__pthread_rwlock_destroy): Likewise.
24036 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24037 (__pthread_rwlock_rdlock): Likewise.
24038 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24039 (__pthread_rwlock_tryrdlock): Likewise.
24040 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24041 (__pthread_rwlock_wrlock): Likewise.
24042 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24043 (__pthread_rwlock_trywrlock): Likewise.
24044 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24045 (__pthread_rwlock_unlock): Likewise.
24046 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24047 (__pthread_key_create): Likewise.
24048 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24049 (__pthread_setspecific): Likewise.
24050 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24051 (__pthread_getspecific): Likewise.
24052 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24053 Likewise.
24054 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24055 (_pthread_cleanup_push_defer): Likewise.
24056 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24057 (_pthread_cleanup_pop_restore): Likewise.
24058 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24059 (pthread_setcancelstate): Likewise.
24060 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24061 <bp-sym.h>.
24062 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24063 (memchr): Do not use BP_SYM in weak_alias.
24064 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24065 (fegetenv): Do not use BP_SYM in versioned symbols.
24066 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24067 (fesetenv): Do not use BP_SYM in versioned symbols.
24068 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24069 (feupdateenv): Do not use BP_SYM in versioned symbols.
24070 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24071 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24072 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24073 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24074 (open64): Do not use BP_SYM in weak_alias.
24075 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24076 (fegetenv): Do not use BP_SYM in versioned symbols.
24077 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24078 (fesetenv): Do not use BP_SYM in versioned symbols.
24079 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24080 (feupdateenv): Do not use BP_SYM in versioned symbols.
24081 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24082 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24083 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24084 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24085 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24086 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24087 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24088 <bp-sym.h>.
24089 (__libc_start_main): Do not use BP_SYM.
24090
24091 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24092
24093 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24094 redundant return line.
24095 (norm): Likewise.
24096 (denorm): Likewise.
24097 (dbl_mp): Likewise.
24098 (sub_magnitudes): Likewise.
24099 (__add): Likewise.
24100 (__sub): Likewise.
24101 (__mul): Likewise.
24102 (__inv): Likewise.
24103 (__dvd): Likewise.
24104 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24105 (norm): Likewise.
24106 (denorm): Likewise.
24107 (dbl_mp): Likewise.
24108 (sub_magnitudes): Likewise.
24109 (__add): Likewise.
24110 (__sub): Likewise.
24111 (__mul): Likewise.
24112 (__inv): Likewise.
24113 (__dvd): Likewise.
24114
24115 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24116 instead of __mul.
24117 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24118 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24119 (cc32): Likewise.
24120
24121 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24122 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24123 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24124 of __mul for squares.
24125 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24126 function
24127 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24128 Likewise.
24129 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24130 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24131
24132 2013-02-13 Joseph Myers <joseph@codesourcery.com>
24133
24134 [BZ #13550]
24135 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24136 code.
24137 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24138 prototype or function definition. Rename ubp_* variables and
24139 parameters. Remove argv definitions conditional on
24140 [__BOUNDED_POINTERS__].
24141 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24142 * elf/dl-runtime.c (_dl_fixup): Likewise.
24143 * include/set-hooks.h (RUN_HOOK): Likewise.
24144 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24145 definition.
24146 * string/strcpy.c (strcpy): Do not use __unbounded.
24147 * sysdeps/generic/frame.h (struct layout): Likewise.
24148 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24149 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24150 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24151 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24152 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24153 (__backtrace): Likewise.
24154 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24155 use __ptrvalue.
24156 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24157 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24158 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24159 Likewise.
24160 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24161 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24162 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24163 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24164 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24165 Do not use __unbounded.
24166 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24167 Rename __unboundedrlimits parameter to rlimits in prototype.
24168 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24169 Do not use __unbounded.
24170 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24171 not use __ptrvalue.
24172 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24173 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24174 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24175 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24176 __ptrvalue or __unbounded.
24177 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24178 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24179 use __unbounded.
24180 (__new_msgctl): Do not use __ptrvalue.
24181 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24182 __unbounded.
24183 (__libc_msgrcv): Do not use __ptrvalue.
24184 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24185 startup_info): Do not use __unbounded.
24186 (__libc_start_main): Likewise. Rename ubp_* variables and
24187 parameters. Remove argv definitions conditional on
24188 [__BOUNDED_POINTERS__].
24189 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24190 __ptrvalue.
24191 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24192 use __unbounded.
24193 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24194 or __ptrvalue.
24195 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24196 use __unbounded.
24197 (__new_shmctl): Do not use __ptrvalue.
24198 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24199 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24200 Likewise.
24201 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24202 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24203 (__libc_sigaction): Likewise.
24204 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24205 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24206 Likewise.
24207 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24208
24209 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
24210
24211 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24212
24213 * string/mempcpy.c: Implement by calling memcpy.
24214
24215 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24216
24217 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24218
24219 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24220 evaluation.
24221
24222 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24223 values in the mantissa.
24224
24225 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24226 minimize writes to Z.
24227 (sub_magnitudes): Simplify code a bit.
24228
24229 2013-02-12 Roland McGrath <roland@hack.frob.com>
24230
24231 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24232 from the message. The linker prefixes all warnings with that already.
24233
24234 2013-02-12 Andreas Schwab <schwab@suse.de>
24235
24236 [BZ #15078]
24237 * posix/regexec.c (extend_buffers): Add parameter min_len.
24238 (check_matching): Pass minimum needed length.
24239 (clean_state_log_if_needed): Likewise.
24240 (get_subexp): Likewise.
24241 * posix/Makefile (tests): Add bug-regex34.
24242 (bug-regex34-ENV): Define.
24243 * posix/bug-regex34.c: New file.
24244
24245 [BZ #11561]
24246 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24247 elements compare against the byte sequence of it, not its name.
24248 * posix/Makefile (tests): Add bug-regex35.
24249 (bug-regex35-ENV): Define.
24250 * posix/bug-regex35.c: New file.
24251
24252 2013-02-11 Tom de Vries <tom@codesourcery.com>
24253
24254 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24255 comment.
24256 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24257 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24258 (CHECK_EOL): Add undef.
24259
24260 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
24261
24262 * bits/stdlib-bsearch.h: New file.
24263 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24264 * stdlib/stdlib.h: Likewise.
24265
24266 2013-02-11 Roland McGrath <roland@hack.frob.com>
24267
24268 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24269 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24270 declaration.
24271 * manual/search.texi (Array Search Function): Add missing const in
24272 lfind prototype.
24273 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24274 declaration to use rlim_t.
24275 (Basic Scheduling Functions): Remove erroneous const from
24276 sched_getparam prototype. Remove erroneous * from
24277 sched_get_priority_max and sched_get_priority_min prototypes.
24278 (Resource Usage): Fix summary @comment on vtimes to refer to
24279 sys/vtimes.h rather than vtimes.h.
24280 Add missing *s in vtimes prototype.
24281 (Limits on Resources): Fix ulimit prototype to return long int.
24282 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24283 prototypes to use long int rather than double.
24284 (BSD Random): Fix initstate and setstate to use char *, not void *.
24285 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24286 prototype to make second argument 'struct aiocb64 *const[]'.
24287 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24288 (Status of AIO Operations): Remove erroneous const in aio_return and
24289 aio_return64 prototypes.
24290 (Synchronizing I/O): Fix sync prototype to return void.
24291 * manual/startup.texi (Suboptions): Remove an erroneous const in
24292 getsubopt prototype.
24293 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24294 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24295 use size_t rather than int.
24296 (Scanning All Users): Likewise for getpwent_r.
24297 (Setting Groups): Add missing const to setgroups prototype.
24298 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24299 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24300 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24301 'const void *' rather than 'const char *'.
24302 (Host Address Functions): Likewise for inet_ntop.
24303 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24304 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24305 ssize_t for return value.
24306 (Sending Data): Likewise for send, sendto, sendmsg.
24307 (Socket Option Functions): Add a missing const in setsockopt prototype.
24308 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24309 use wchar_t for the argument.
24310 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24311 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24312 take no arguments.
24313 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24314 double/float/long double for second argument.
24315 Fix return types of significand, significandf, significandl.
24316 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24317 argument in fchmod prototype.
24318 (File Owner): Use uid_t and gid_t in fchown prototype.
24319 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24320 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24321 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24322 use 'const struct dirent **' as argument types to CMP function pointer
24323 argument.
24324 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24325 (File Times): Fix summary magic @comment for struct utimbuf and utime
24326 to refer to utime.h, not time.h.
24327 * manual/string.texi (Argz Functions): Add missing const in
24328 argz_extract and argz_next prototypes.
24329 (Finding Tokens in a String): Likewise for basename.
24330 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24331 (Copying and Concatenation): Fix typo in wmemmove prototype.
24332 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24333 (Signal Stack): Remove erroneous const in sigstack prototype.
24334 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24335 prototype.
24336 (Simple Calendar Time): Likewise for stime.
24337 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24338 prototype.
24339 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24340 say sys/sysctl.h instead.
24341 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24342 and vsyslog prototypes.
24343
24344 2013-02-11 Tom de Vries <tom@codesourcery.com>
24345
24346 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24347 Remove.
24348
24349 2013-02-11 Roland McGrath <roland@hack.frob.com>
24350
24351 * misc/sys/mman.h: Fix typo in mremap comment.
24352
24353 2013-02-08 Roland McGrath <roland@hack.frob.com>
24354
24355 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24356 the '\0' terminator.
24357
24358 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24359
24360 [BZ #13550]
24361 * debug/segfault.c: Don't include <bp-checks.h>.
24362 * sysdeps/generic/bp-checks.h: Remove file.
24363 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24364 (__GETDENTS): Don't use CHECK_N.
24365 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24366 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24367 (__getgroups): Don't use CHECK_N.
24368 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24369 (setgroups): Don't use CHECK_N.
24370 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24371 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24372 (__libc_msgrcv): Don't use CHECK_N.
24373 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24374 (__libc_msgsnd): Don't use CHECK_N.
24375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24376 <bp-checks.h>.
24377 (__libc_pread): Don't use CHECK_N.
24378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24379 include <bp-checks.h>.
24380 (__libc_pread64): Don't use CHECK_N.
24381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24382 include <bp-checks.h>.
24383 (__libc_pwrite): Don't use CHECK_N.
24384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24385 include <bp-checks.h>.
24386 (__libc_pwrite64): Don't use CHECK_N.
24387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24388 <bp-checks.h>.
24389 (__libc_pread): Don't use CHECK_N.
24390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24391 include <bp-checks.h>.
24392 (__libc_pread64): Don't use CHECK_N.
24393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24394 include <bp-checks.h>.
24395 (__libc_pwrite): Don't use CHECK_N.
24396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24397 include <bp-checks.h>.
24398 (__libc_pwrite64): Don't use CHECK_N.
24399 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24400 (do_pread): Don't use CHECK_N.
24401 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24402 (do_pread64): Don't use CHECK_N.
24403 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24404 (do_pwrite): Don't use CHECK_N.
24405 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24406 (do_pwrite64): Don't use CHECK_N.
24407 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24408 (__libc_readv): Don't use CHECK_N.
24409 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24410 (semop): Don't use CHECK_N.
24411 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24412 <bp-checks.h>.
24413 (semtimedop): Don't use CHECK_N.
24414 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24415 (__libc_pread): Don't use CHECK_N.
24416 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24417 <bp-checks.h>.
24418 (__libc_pread64): Don't use CHECK_N.
24419 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24420 <bp-checks.h>.
24421 (__libc_pwrite): Don't use CHECK_N.
24422 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24423 <bp-checks.h>.
24424 (__libc_pwrite64): Don't use CHECK_N.
24425 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24426 <bp-checks.h>.
24427 (__libc_msgrcv): Don't use CHECK_N.
24428 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24429 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24430 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24431 (__libc_writev): Don't use CHECK_N.
24432
24433 2013-02-08 Roland McGrath <roland@hack.frob.com>
24434
24435 * string/strcpy.c: Removed unused variable.
24436
24437 * Makeconfig (+sysdep-includes): Define with := rather than =.
24438 Use an existing include/ subdir of each sysdeps dir before it.
24439
24440 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24441
24442 * nscd/connection.c (register_traced_file): Comment function.
24443 [HAVE_INOTIFY] (union __inev): Define.
24444 [HAVE_INOTIFY] (inotify_check_files): New function.
24445 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24446 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24447 clear_db_cache.
24448 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24449
24450 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24451
24452 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24453 loaded if not already and that a failure is permanent.
24454
24455 2013-02-08 Carlos O'Donell <carlos@redhat.com>
24456
24457 [BZ #15006]
24458 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24459 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24460
24461 2013-02-08 Joseph Myers <joseph@codesourcery.com>
24462
24463 [BZ #13550]
24464 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24465 (CHECK_1_NULL_OK): Likewise.
24466 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24467 (__fxstat): Do not use CHECK_1.
24468 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24469 <bp-checks.h>.
24470 (___fxstat64): Do not use CHECK_1.
24471 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24472 <bp-checks.h>.
24473 (__fxstatat): Do not use CHECK_1.
24474 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24475 <bp-checks.h>.
24476 (__fxstatat64): Do not use CHECK_1.
24477 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24478 <bp-checks.h>.
24479 (__fxstat): Do not use CHECK_1.
24480 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24481 <bp-checks.h>.
24482 (__fxstatat): Do not use CHECK_1.
24483 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24484 <bp-checks.h>.
24485 (__getresgid): Do not use CHECK_1.
24486 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24487 <bp-checks.h>.
24488 (__getresuid): Do not use CHECK_1.
24489 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24490 <bp-checks.h>.
24491 (__lxstat): Do not use CHECK_1.
24492 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24493 <bp-checks.h>.
24494 (__old_msgctl): Do not use CHECK_1.
24495 (__new_msgctl): Likewise.
24496 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24497 <bp-checks.h>.
24498 (__new_setrlimit): Do not use CHECK_1.
24499 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24500 <bp-checks.h>.
24501 (__old_shmctl): Do not use CHECK_1.
24502 (__new_shmctl): Likewise.
24503 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24504 <bp-checks.h>.
24505 (__xstat): Do not use CHECK_1.
24506 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24507 (__lxstat): Do not use CHECK_1.
24508 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24509 <bp-checks.h>.
24510 (___lxstat64): Do not use CHECK_1.
24511 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24512 (__old_msgctl): Do not use CHECK_1.
24513 (__new_msgctl): Likewise.
24514 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24515 <bp-checks.h>.
24516 (__gettimeofday): Do not use CHECK_1.
24517 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24518 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24519 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24520 <bp-checks.h>.
24521 (__gettimeofday): Do not use CHECK_1.
24522 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24523 (__old_shmctl): Do not use CHECK_1_NULL_OK.
24524 (__new_shmctl): Do not use CHECK_1.
24525 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24526 <bp-checks.h>.
24527 (do_sigtimedwait): Do not use CHECK_1.
24528 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24529 <bp-checks.h>.
24530 (do_sigwaitinfo): Do not use CHECK_1.
24531 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24532 <bp-checks.h>.
24533 (msgctl): Do not use CHECK_1.
24534 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24535 <bp-checks.h>.
24536 (shmctl): Do not use CHECK_1.
24537 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24538 (ustat): Do not use CHECK_1.
24539 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24540 <bp-checks.h>.
24541 (__fxstat): Do not use CHECK_1.
24542 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24543 <bp-checks.h>.
24544 (__fxstatat): Do not use CHECK_1.
24545 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24546 <bp-checks.h>.
24547 (__lxstat): Do not use CHECK_1.
24548 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24549 <bp-checks.h>.
24550 (__xstat): Do not use CHECK_1.
24551 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24552 (__xstat): Do not use CHECK_1.
24553 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24554 (___xstat64): Do not use CHECK_1.
24555
24556 [BZ #13550]
24557 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24558 definitions.
24559 (CHECK_BOUNDS_HIGH): Likewise.
24560 * string/strcpy.c: Do not include <bp-checks.h>.
24561 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24562
24563 2013-02-07 Roland McGrath <roland@hack.frob.com>
24564
24565 * nscd/nscd-client.h (__nscd_drop_map_ref):
24566 Add __attribute__ ((unused)).
24567 * nis/nss-nisplus.h (niserr2nss): Likewise.
24568
24569 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24570 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24571
24572 * csu/libc-tls.c (init_static_tls, init_slotinfo):
24573 Remove inline keyword.
24574 * include/rounding-mode.h (round_away): Likewise.
24575 * libio/wfileops.c (adjust_wide_data): Likewise.
24576 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24577 (__m128i_strloadu_tolower): Likewise.
24578 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24579 (__m128i_strloadu_tolower): Likewise.
24580 * time/mktime.c (ydhms_diff): Likewise.
24581 * locale/elem-hash.h (elem_hash): Likewise.
24582 * locale/setlocale.c (setdata): Likewise.
24583 * posix/regex_internal.h (re_string_char_size_at): Likewise.
24584 (re_string_wchar_at): Likewise.
24585 (bitset_not, bitset_merge, bitset_mask): Likewise.
24586 [!(__GNUC__ > 3)] (inline): Remove macro.
24587 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24588 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24589 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24590 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24591 * string/memcmp.c (memcmp_bytes): Likewise.
24592 * locale/programs/locarchive.c (compute_hashval): Likewise.
24593 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24594 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24595 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24596 * nss/getent.c (print_rpc, print_protocols): Likewise.
24597 (print_passwd, print_group, print_aliases): Likewise.
24598 * nis/nss-nisplus.h (niserr2nss): Likewise.
24599 * nscd/connections.c (restart_p): Likewise.
24600 Change return type to bool.
24601
24602 2013-02-05 Roland McGrath <roland@hack.frob.com>
24603
24604 * Makeconfig (all-Depend-files): Add existing
24605 $(sorted-subdirs:=/Depend) files.
24606 (all-subdirs): Remove nss.
24607 * sysdeps/unix/inet/Subdirs: Add it here instead.
24608 * hesiod/Depend: New file.
24609
24610 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24611 instead of calling alloca.
24612
24613 * io/lseek.c (__lseek): Rename to __libc_lseek.
24614 Define __lseek as an alias.
24615
24616 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24617
24618 2013-02-04 Carlos O'Donell <carlos@redhat.com>
24619
24620 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24621 else clause and remove check for non-standard endianness.
24622
24623 2013-02-04 David S. Miller <davem@davemloft.net>
24624
24625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24626
24627 2013-02-04 Joseph Myers <joseph@codesourcery.com>
24628
24629 [BZ #13550]
24630 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24631 (__ubp_memchr): Remove prototype.
24632 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24633 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24634 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24635 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24636 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24637 Remove alias.
24638 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24639 (__ubp_memchr): Likewise.
24640 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24641 (__ubp_memchr): Likewise.
24642 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24643 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24644 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
24645 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
24646 CHECK_STRING.
24647 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
24648 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
24649 (__getcwd): Do not use CHECK_STRING.
24650 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24651 <bp-checks.h>.
24652 (__real_chown): Do not use CHECK_STRING.
24653 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
24654 <bp-checks.h>.
24655 (fchownat): Do not use CHECK_STRING.
24656 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
24657 CHECK_STRING.
24658 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24659 <bp-checks.h>.
24660 (__lchown): Do not use CHECK_STRING.
24661 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24662 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24663 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24664 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24666 include <bp-checks.h>.
24667 (truncate64): Do not use CHECK_STRING.
24668 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24669 <bp-checks.h>.
24670 (__real_chown): Do not use CHECK_STRING.
24671 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24672 <bp-checks.h>.
24673 (__lchown): Do not use CHECK_STRING.
24674 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24675 <bp-checks.h>.
24676 (__chown): Do not use CHECK_STRING.
24677 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
24678 <bp-checks.h>.
24679 (truncate64): Do not use CHECK_STRING.
24680 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
24681 Likewise.
24682 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
24683 (__xmknod): Do not use CHECK_STRING.
24684 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
24685 <bp-checks.h>.
24686 (__xmknodat): Do not use CHECK_STRING.
24687 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24688 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24689
24690 2013-02-04 Andreas Schwab <schwab@suse.de>
24691
24692 [BZ #14142]
24693 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
24694 * include/netdb.h: Likewise for h_errno.
24695 * elf/tst-stackguard1.c: Include <tls.h>.
24696
24697 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
24698
24699 * elf/link.h (struct link_map): Extend the l_addr comment.
24700 * include/link.h (struct link_map): Likewise.
24701
24702 2013-02-01 Joseph Myers <joseph@codesourcery.com>
24703
24704 [BZ #13550]
24705 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
24706 (BOUNDED_1): Remove macro.
24707 * debug/backtrace.c: Don't include <bp-checks.h>.
24708 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
24709 (__backtrace): Likewise.
24710 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
24711 <bp-checks.h>.
24712 (__backtrace): Don't use BOUNDED_1.
24713 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
24714 <bp-checks.h>.
24715 (__backtrace): Don't use BOUNDED_1.
24716 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
24717 (__backtrace): Don't use BOUNDED_1.
24718 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
24719 (shmat): Don't use BOUNDED_N.
24720
24721 2013-01-31 Joseph Myers <joseph@codesourcery.com>
24722
24723 [BZ #13550]
24724 * sysdeps/generic/bp-start.h: Remove file.
24725 * csu/libc-start.c: Don't include <bp-start.h>.
24726 (LIBC_START_MAIN): Set up __environ directly instead of using
24727 INIT_ARGV_and_ENVIRON.
24728 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
24729 <bp-start.h>.
24730
24731 [BZ #13550]
24732 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
24733 definitions.
24734 (CHECK_FCNTL): Likewise.
24735 (CHECK_N_PAGES): Likewise.
24736
24737 [BZ #13550]
24738 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
24739 definitions.
24740 (CHECK_SIGSET_NULL_OK): Likewise.
24741 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
24742 <bp-checks.h>.
24743 (sigpending): Don't use CHECK_SIGSET.
24744 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
24745 <bp-checks.h>.
24746 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24747 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
24748 <bp-checks.h>.
24749 (do_sigsuspend): Don't use CHECK_SIGSET.
24750 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
24751 use CHECK_SIGSET.
24752 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
24753 (do_sigwait): Don't use CHECK_SIGSET.
24754 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
24755 use CHECK_SIGSET.
24756 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
24757 include <bp-checks.h>.
24758 (sigpending): Don't use CHECK_SIGSET.
24759 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
24760 include <bp-checks.h>.
24761 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24762 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
24763 <bp-checks.h>.
24764 (sigpending): Don't use CHECK_SIGSET.
24765 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
24766 <bp-checks.h>.
24767 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
24768
24769 [BZ #13550]
24770 * sysdeps/generic/bp-semctl.h: Remove file.
24771 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
24772 <bp-checks.h> and <bp-semctl.h>.
24773 (__old_semctl): Don't use CHECK_SEMCTL.
24774 (__new_semctl): Likewise.
24775 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
24776 and <bp-semctl.h>.
24777 (__old_semctl): Don't use CHECK_SEMCTL.
24778 (__new_semctl): Likewise.
24779 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
24780 <bp-checks.h> and <bp-semctl.h>.
24781 (__old_semctl): Don't use CHECK_SEMCTL.
24782 (__new_semctl): Likewise.
24783 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
24784 <bp-checks.h> and <bp-semctl.h>.
24785 (semctl): Don't use CHECK_SEMCTL.
24786
24787 [BZ #13550]
24788 * Makerules (elide-bp-thunks): Remove variable.
24789 (elide-routines.oS): Don't use $(elide-bp-thunks).
24790 (elide-routines.os): Likewise.
24791 (elide-routines.o): Likewise.
24792 (elide-routines.op): Likewise.
24793 (elide-routines.og): Likewise.
24794 (objects): Don't use $(bp-thunks).
24795 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
24796 include.
24797 (common-generated): Do not add s-proto-bp.d.
24798 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
24799 (int): Likewise.
24800 (typ): Likewise.
24801 Do not generate makefile rules for bounded-pointer thunks.
24802 * sysdeps/generic/bp-thunks.h: Remove file.
24803 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
24804 * sysdeps/unix/s-proto-bp.S: Likewise.
24805
24806 [BZ #15062]
24807 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
24808 parts of result separately when argument is not close to line from
24809 -i to i and one part of argument is small.
24810 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24811 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24812 * math/libm-test.inc (cacos_test): Add more tests.
24813 (casin_test): Likewise.
24814 (casinh_test): Likewise.
24815 * sysdeps/i386/fpu/libm-test-ulps: Update.
24816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24817
24818 2013-01-31 David S. Miller <davem@davemloft.net>
24819
24820 * po/de.po: Update from translation team.
24821
24822 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
24823
24824 * time/tzfile.c: Include stdint.h for SIZE_MAX.
24825
24826 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
24827
24828 * configure.in (_AC_PROG_CC_C89): New definition.
24829 * configure: Regenerate.
24830
24831 * configure.in (AC_PROG_CPP): New definition.
24832 * configure: Regenerate.
24833
24834 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24835
24836 * debug/tst-backtrace.h: New file.
24837 * debug/tst-backtrace2.c: Include tst-backtrace.h.
24838 (ret): Remove variable.
24839 (x): Likewise.
24840 (FAIL): Remove macro.
24841 (NO_INLINE): Likewise.
24842 (fn1): Use match function instead of strstr.
24843 * debug/tst-backtrace3.c: Include tst-backtrace.h.
24844 (ret): Remove variable.
24845 (x): Likewise.
24846 (FAIL): Remove macro.
24847 (NO_INLINE): Likewise.
24848 (fn): Use match function instead of strstr.
24849 * debug/tst-backtrace4.c: Include tst-backtrace.h.
24850 (ret): Remove variable.
24851 (x): Likewise.
24852 (FAIL): Remove macro.
24853 (NO_INLINE): Likewise.
24854 (handle_signal): Use match function instead of strstr.
24855 * debug/tst-backtrace5.c: Include tst-backtrace.h.
24856 (ret): Remove variable.
24857 (x): Likewise.
24858 (FAIL): Remove macro.
24859 (NO_INLINE): Likewise.
24860 (handle_signal): Use match function instead of strstr.
24861
24862 2013-01-23 Roland McGrath <roland@hack.frob.com>
24863
24864 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
24865
24866 2013-01-23 David S. Miller <davem@davemloft.net>
24867
24868 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
24869 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
24870 argument of CAS if possible.
24871 * sysdeps/sparc/sparc64/bits/atomic.h
24872 (__arch_compare_and_exchange_val_32_acq): Likewise.
24873 (__arch_compare_and_exchange_val_64_acq): Likewise.
24874
24875 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
24876
24877 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
24878 * sysdeps/posix/ulimit.c: ... this.
24879 Include <limits.h>.
24880 * sysdeps/unix/bsd/ulimit.c: Remove file.
24881
24882 2013-01-23 Adam Conrad <adconrad@0c3.net>
24883
24884 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24885 (LDFLAGS-tst-array5): Likewise.
24886
24887 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24888
24889 [BZ #15036]
24890 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24891 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24892 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24893 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24894
24895 2013-01-21 David S. Miller <davem@davemloft.net>
24896
24897 * sysdeps/sparc/backtrace.c: New file.
24898 * sysdeps/sparc/sparc32/backtrace.h: New file.
24899 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24900 * sysdeps/sparc/sparc64/backtrace.h: New file.
24901 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24902 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24903 -funwind-tables.
24904
24905 2013-01-21 Andreas Schwab <schwab@suse.de>
24906
24907 [BZ #15020]
24908 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24909 closed its stdout.
24910
24911 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24912
24913 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24914 "mpa2.h".
24915 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24916
24917 2013-01-18 Joseph Myers <joseph@codesourcery.com>
24918 Mark Mitchell <mark@codesourcery.com>
24919 Tom de Vries <tom@codesourcery.com>
24920 Paul Pluzhnikov <ppluzhnikov@google.com>
24921
24922 * debug/tst-backtrace2.c: New file.
24923 * debug/tst-backtrace3.c: Likewise.
24924 * debug/tst-backtrace4.c: Likewise.
24925 * debug/tst-backtrace5.c: Likewise.
24926 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24927 (CFLAGS-tst-backtrace3.c): Likewise.
24928 (CFLAGS-tst-backtrace4.c): Likewise.
24929 (CFLAGS-tst-backtrace5.c): Likewise.
24930 (LDFLAGS-tst-backtrace2): Likewise.
24931 (LDFLAGS-tst-backtrace3): Likewise.
24932 (LDFLAGS-tst-backtrace4): Likewise.
24933 (LDFLAGS-tst-backtrace5): Likewise.
24934 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24935 tst-backtrace4 and tst-backtrace5.
24936
24937 2013-01-18 Anton Blanchard <anton@samba.org>
24938 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24939
24940 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24941 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24942 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24943 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24945 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24946 "+r" and remove output regs list as redundant. Add explicit inline
24947 asm to specify register of return val to work around compiler codegen
24948 bug. Remove (int) cast on return value. Add return type parameter to
24949 use in macro so that this macro does not truncate return value for
24950 64-bit values.
24951 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24952 pass to INTERNAL_VSYSCALL_NCS.
24953 (INLINE_VSYSCALL): Add 'long int' as return type to
24954 INTERNAL_VSYSCALL_NCS macro invocation.
24955 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24956 INTERNAL_VSYSCALL_NCS macro invocation.
24957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24958
24959 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24960
24961 [BZ #14496]
24962 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24963 Fix application of SIMD FP exception mask.
24964
24965 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24966 mp_no from a power of two.
24967 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24968 __mpexp_twomm1. Use __pow_mp.
24969
24970 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24971 multiplication.
24972
24973 2013-01-17 David S. Miller <davem@davemloft.net>
24974
24975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24976
24977 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24978
24979 [BZ #15023]
24980 * include/complex.h: Condition contents on [!_COMPLEX_H].
24981 (__kernel_casinhf): New prototype.
24982 (__kernel_casinh): Likewise.
24983 (__kernel_casinhl): Likewise.
24984 * math/Makefile (libm_calls): Add k_casinh.
24985 * math/k_casinh.c: New file.
24986 * math/k_casinhf.c: Likewise.
24987 * math/k_casinhl.c: Likewise.
24988 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24989 finite nonzero arguments.
24990 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24991 finite nonzero arguments.
24992 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24993 finite nonzero arguments.
24994 * math/s_casinh.c: Do not include <float.h>.
24995 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24996 * math/s_casinhf.c: Do not include <float.h>.
24997 (__casinhf): Move code for finite nonzero arguments to
24998 k_casinhf.c.
24999 * math/s_casinhl.c: Do not include <float.h>.
25000 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25001 redefine.
25002 (__casinhl): Move code for finite nonzero arguments to
25003 k_casinhl.c.
25004 * math/libm-test.inc (cacos_test): Add more tests.
25005 * sysdeps/i386/fpu/libm-test-ulps: Update.
25006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25007
25008 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25009
25010 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25011 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25012 [!HAVE_MREMAP]: Remove [defined linux] case.
25013 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25014
25015 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25016
25017 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25018
25019 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
25020
25021 * elf/elf.h (R_386_SIZE32): New relocation.
25022 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25023 R_386_SIZE32.
25024 (elf_machine_rela): Likewise.
25025 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25026 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25027
25028 2013-01-17 Joseph Myers <joseph@codesourcery.com>
25029
25030 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25031 (FP_FAST_FMA): Do not define.
25032 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25033 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25034 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25035 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25036 !_SOFT_FLOAT]: Likewise.
25037 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25038 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25039 value.
25040 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25041 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25042 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25043 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25044 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25045 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25046 file.
25047
25048 2013-01-16 Andreas Schwab <schwab@suse.de>
25049
25050 [BZ #14327]
25051 * include/stdlib.h (__mktemp): Add declaration.
25052 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25053 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25054
25055 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25056
25057 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25058 definitions.
25059 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25060 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25061 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25062 definitions here.
25063 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25064 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25065 definitions.
25066 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25067 and ONE.
25068 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25069 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25070 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25071 definitions.
25072 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25073 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25074 definitions.
25075 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25076
25077 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25078
25079 2013-01-15 David S. Miller <davem@davemloft.net>
25080
25081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25082 trunc{,f} to libm-sysdep_routes.
25083 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25085 file.
25086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25088 file.
25089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25090 file.
25091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25093 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25094 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25095 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25096 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25097 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25098 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25099
25100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25101 nearbyint{,f} to libm-sysdep_routes.
25102 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25104 New file.
25105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25106 file.
25107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25108 New file.
25109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25110 file.
25111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25113 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25114 file.
25115 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25116 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25117 file.
25118 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25119 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25120 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25121
25122 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25123 libc_feholdexcept and libc_fesetenv.
25124
25125 2013-01-15 Mike Frysinger <vapier@gentoo.org>
25126
25127 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25128
25129 2013-01-14 David S. Miller <davem@davemloft.net>
25130
25131 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25132 (SPARC_ASM_VIS2_IFUNC): Likewise.
25133 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25135 use of 'siam' instruction.
25136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25137 Likewise.
25138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25139 Likewise.
25140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25141 Likewise.
25142 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25143 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25144 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25147 file.
25148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25149 file.
25150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25151 file.
25152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25153 file.
25154 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25155 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25156 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25157 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25159 new VIS2 routines.
25160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25163 Likewise.
25164 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25165 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25166 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25167 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25169 routines to libm-sysdep_routines.
25170 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25171
25172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25173 fdim/fdimf to libm-sysdep_routines.
25174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25175 file.
25176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25178 file.
25179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25182 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25183 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25184 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25185 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25186
25187 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25188
25189 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25190 to optimize copies.
25191
25192 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25194 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25195
25196 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25197 local variable MPTWO.
25198 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25199 Likewise.
25200
25201 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25202
25203 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25204 GLOB_NOESCAPE.
25205
25206 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25207
25208 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25209
25210 2013-01-13 Mike Frysinger <vapier@gentoo.org>
25211
25212 * manual/pattern.texi (glob_t): Document gl_flags.
25213 (glob64_t): Likewise.
25214
25215 2013-01-11 David S. Miller <davem@davemloft.net>
25216
25217 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25218 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25219 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
25220 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25221 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25222 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25223 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25224 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25225 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25226 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25227 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25228 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25229 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25230
25231 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25232 sparc V9 rather than using V8 code.
25233 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25234 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25235
25236 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25237 Move to...
25238 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25239 Here.
25240
25241 2013-01-11 Roland McGrath <roland@hack.frob.com>
25242
25243 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25244 not in the main loop.
25245 * configure: Regenerated.
25246
25247 2013-01-11 Joseph Myers <joseph@codesourcery.com>
25248
25249 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25250 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25251 to just #else.
25252 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25253 [!__GLIBC_HAVE_LONG_LONG] case.
25254 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25255 condition to just #else.
25256 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25257 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25258 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25259 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25260 unconditional.
25261 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25262 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25263 #elif condition to just #else.
25264 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25265 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25266 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25267 #elif condition to just #else.
25268
25269 2013-01-11 Steve Ellcey <sellcey@mips.com>
25270
25271 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25272 (EF_MIPS_ARCH_64): Fix value.
25273 (EF_MIPS_ARCH_32R2): New.
25274 (EF_MIPS_ARCH_64R2): New.
25275
25276 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25277
25278 * Makeconfig (+link-pie-before-libc): New.
25279 (+link-pie-after-libc): Likewise.
25280 (+link-pie-tests): Likewise.
25281 (+link-pie): Rewritten.
25282 (link-before-libc): Remove $(config-LDFLAGS).
25283 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25284 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25285 (config-LDFLAGS): Renamed to ...
25286 (rtld-LDFLAGS): This.
25287 (rtld-tests-LDFLAGS): New macro.
25288 (link-libc-rpath-link): Likewise.
25289 (link-libc-tests-rpath-link): Likewise.
25290 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25291 (link-libc): Prepand $(link-libc-rpath-link).
25292 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25293 (test-program-prefix): New macro.
25294 (test-via-rtld-prefix): Likewise.
25295 (test-program-cmd): Likewise.
25296 (host-test-program-cmd): Likewise.
25297 * Makefile ($(common-objpfx)testrun.sh): Replace
25298 $(run-program-prefix) with $(test-program-prefix).
25299 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25300 $(rtld-LDFLAGS).
25301 ($(common-objpfx)shlib.lds): Likewise.
25302 (build-module-helper): Likewise.
25303 ($(common-objpfx)format.lds): Likewise.
25304 * Rules (binaries-pie-tests): New.
25305 (binaries-pie-notests): Likewise.
25306 (binaries-pie): Rewritten.
25307 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25308 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25309 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25310 (make-test-out): Replace $(host-built-program-cmd) with
25311 $(host-test-program-cmd).
25312 * config.make.in (build-hardcoded-path-in-tests): New variable.
25313 * configure.in (--enable-hardcoded-path-in-tests): New configure
25314 option.
25315 (hardcoded_path_in_tests): New AC_SUBST.
25316 * configure: Regenerated.
25317 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25318 $(built-program-cmd) with $(test-program-cmd).
25319 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25320 (test_program_cmd): This.
25321 * elf/Makefile ($(objpfx)order.out): Run test with
25322 $(test-program-prefix).
25323 ($(objpfx)order2.out): Likewise.
25324 ($(objpfx)tst-initorder.out): Likewise.
25325 ($(objpfx)tst-initorder2.out): Likewise.
25326 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25327 $(test-program-cmd).
25328 ($(objpfx)tst-array1-static.out): Likewise.
25329 ($(objpfx)tst-array2.out): Likewise.
25330 ($(objpfx)tst-array3.out): Likewise.
25331 ($(objpfx)tst-array4.out): Likewise.
25332 ($(objpfx)tst-array5.out): Likewise.
25333 ($(objpfx)tst-array5-static.out): Likewise.
25334 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25335 $(test-program-cmd).
25336 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25337 $(run-program-prefix) with $(test-program-prefix).
25338 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25339 (test_program_prefix): This.
25340 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25341 $(run-program-prefix) with $(test-program-prefix).
25342 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25343 (test_program_prefix): This.
25344 * iconvdata/tst-tables.sh: Likewise.
25345 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25346 $(run-program-prefix) with $(test-program-prefix).
25347 ($(objpfx)tst-translit.out): Likewise.
25348 ($(objpfx)tst-gettext2.out): Likewise.
25349 ($(objpfx)tst-gettext4.out): Likewise.
25350 ($(objpfx)tst-gettext6.out): Likewise.
25351 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25352 (test_program_prefix): This.
25353 * intl/tst-gettext2.sh: Likewise.
25354 * intl/tst-gettext4.sh Likewise.
25355 * intl/tst-gettext6.sh: Likewise.
25356 * intl/tst-translit.sh: Likewise.
25357 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25358 with $(test-program-cmd).
25359 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25360 $(run-program-prefix) with $(test-program-prefix).
25361 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25362 (test_program_prefix): This.
25363 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25364 $(run-program-prefix) with $(test-program-prefix).
25365 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25366 (test_program_prefix): This.
25367 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25368 * posix/Makefile ($(objpfx)globtest.out): Replace
25369 $(run-via-rtld-prefix) and $(test-wrapper) with
25370 $(test-program-prefix) and $(test-via-rtld-prefix).
25371 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25372 $(test-program-prefix).
25373 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25374 $(host-test-program-cmd).
25375 (tst-spawn-ARGS): Likewise.
25376 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25377 $(test-program-prefix).
25378 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25379 (test_via_rtld_prefix): This.
25380 (test_wrapper): Renamed to ...
25381 (test_program_prefix): This.
25382 (run_program_prefix): Replaced by test_program_prefix.
25383 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25384 (test_program_prefix): This.
25385 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25386 with $(host-test-program-cmd).
25387 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25388 $(run-program-prefix) with $(test-program-prefix).
25389 ($(objpfx)tst-printf.out): Likewise.
25390 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25391 $(test-program-cmd).
25392 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25393 (test_program_prefix): This.
25394 * stdio-common/tst-unbputc.sh: Likewise.
25395 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25396 $(run-program-prefix) with $(test-program-prefix).
25397 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25398 (test_program_prefix): This.
25399 * string/Makefile ($(objpfx)tst-svc.out): Replace
25400 $(built-program-cmd) with $(test-program-cmd).
25401
25402 2013-01-11 Andreas Jaeger <aj@suse.de>
25403
25404 [BZ #15003]
25405 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25406 value. Sync with Linux 3.7.
25407
25408 2013-01-10 David S. Miller <davem@davemloft.net>
25409
25410 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25411 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25412 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25413
25414 2013-01-10 Roland McGrath <roland@hack.frob.com>
25415
25416 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25417 never set.
25418 * configure: Regenerated.
25419
25420 2013-01-10 David S. Miller <davem@davemloft.net>
25421
25422 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25423 sparc V9 rather than using V8 code.
25424 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25425 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25426
25427 2013-01-10 Roland McGrath <roland@hack.frob.com>
25428
25429 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25430 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25431 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25432 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25433 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25434 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25435 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25436 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25437 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25438 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25439 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25440 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25441 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25442 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25443 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25444 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25445 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25446 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25447 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25448 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25449 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25450 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25451 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25452 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25453 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25454 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25455 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25456
25457 2013-01-10 David S. Miller <davem@davemloft.net>
25458
25459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25460
25461 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25462
25463 * posix/Makefile (tests-static): New variable.
25464 (tests): Add $(tests-static).
25465 (tst-exec-static-ARGS): New variable.
25466 (tst-spawn-static-ARGS): Likewise.
25467 * posix/tst-exec-static.c: New file.
25468 * posix/tst-spawn-static.c: Likewise.
25469 * posix/tst-exec.c: Support run directly.
25470 * posix/tst-spawn.c: Likewise.
25471
25472 2013-01-10 Joseph Myers <joseph@codesourcery.com>
25473
25474 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25475 long.
25476 * math/bits/mathcalls.h (llrint): Likewise.
25477 (llround): Likewise.
25478 * stdlib/stdlib.h (struct drand48_data): Likewise.
25479 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25480 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25481 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25482 Likewise.
25483 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25484 Likewise.
25485 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25486 (elf_greg_t): Likewise.
25487 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25488 (__jmp_buf): Likewise.
25489 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25490 definitions.
25491 (llrint): Likewise, for all definitions.
25492 (llrintl): Likewise.
25493
25494 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25495 Remove [__GNUC__] condition.
25496 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25497 condition to just [__USE_ISOC99].
25498 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25499
25500 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25501
25502 [BZ #14200]
25503 * sysdeps/unix/sysv/linux/x86/bits/environments.h
25504 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25505 defined.
25506 (_POSIX_V6_ILP32_OFF32): Likewise.
25507 (_XBS5_ILP32_OFF32): Likewise.
25508 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25509 (__ILP32_OFFBIG_LDFLAGS): Likewise.
25510
25511 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25512
25513 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25514
25515 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25516 doubles __mpexp_twomm1. Adjust usage.
25517 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25518 Remove.
25519
25520 2013-01-10 Andreas Schwab <schwab@suse.de>
25521
25522 [BZ #14964]
25523 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25524 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25525
25526 2013-01-09 David S. Miller <davem@davemloft.net>
25527
25528 [BZ #15003]
25529 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25530 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25531 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25532 (TCP_FASTOPEN): Define.
25533 (tcp_repair_opt): New structure.
25534 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25535 enum values.
25536 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25537 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25538 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25539 (tcp_cookie_transactions): New structure.
25540
25541 2013-01-09 Anton Blanchard <anton@samba.org>
25542
25543 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25544 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25545 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25546 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25547
25548 2013-01-09 Joseph Myers <joseph@codesourcery.com>
25549
25550 * include/features.h (__USE_ANSI): Remove.
25551
25552 2013-01-09 Roland McGrath <roland@hack.frob.com>
25553
25554 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25555
25556 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25557
25558 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
25559
25560 * sysdeps/s390/fpu/libm-test-ulps: Update.
25561
25562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25563
25564 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25565 (__acr): Likewise.
25566 (__cpy): Likewise.
25567 (norm): Likewise.
25568 (denorm): Likewise.
25569 (__mp_dbl): Likewise.
25570 (__dbl_mp): Likewise.
25571 (add_magnitudes): Likewise.
25572 (sub_magnitudes): Likewise.
25573 (__add): Likewise.
25574 (__sub): Likewise.
25575 (__mul): Likewise.
25576 (__inv): Likewise.
25577 (__dvd): Likewise.
25578 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25579 (__acr): Likewise.
25580 (__cpy): Likewise.
25581 (norm): Likewise.
25582 (denorm): Likewise.
25583 (__mp_dbl): Likewise.
25584 (__dbl_mp): Likewise.
25585 (add_magnitudes): Likewise.
25586 (sub_magnitudes): Likewise.
25587 (__add): Likewise.
25588 (__sub): Likewise.
25589 (__mul): Likewise.
25590 (__inv): Likewise.
25591 (__dvd): Likewise.
25592 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25593 (__acr): Likewise.
25594 (__cpy): Likewise.
25595 (norm): Likewise.
25596 (denorm): Likewise.
25597 (__mp_dbl): Likewise.
25598 (__dbl_mp): Likewise.
25599 (add_magnitudes): Likewise.
25600 (sub_magnitudes): Likewise.
25601 (__add): Likewise.
25602 (__sub): Likewise.
25603 (__mul): Likewise.
25604 (__inv): Likewise.
25605 (__dvd): Likewise.
25606
25607 2013-01-08 Joseph Myers <joseph@codesourcery.com>
25608
25609 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25610 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25611 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25612 2 && __USE_EXTERN_INLINES]: Likewise.
25613
25614 2013-01-08 Andreas Jaeger <aj@suse.de>
25615
25616 [BZ# 14985]
25617 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25618 Remove.
25619 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25620 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25621
25622 2013-01-07 Anton Blanchard <anton@samba.org>
25623
25624 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25625 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25626 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25627 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25628 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25629 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25630 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25631 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25632 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25633 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25634 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25635 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25636 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25637 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25638 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25639 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25640 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25641 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25642 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25643 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25644 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25645 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25646 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25647 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25648 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
25649 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25650 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25651 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25652 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
25653 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25654 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25655 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25656 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25657 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25658 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25659 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25660 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25661 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25662 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
25663 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
25664 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
25665 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25666 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25667
25668 2013-01-07 Joseph Myers <joseph@codesourcery.com>
25669
25670 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
25671 (__MALLOC_PMT): Likewise.
25672 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
25673 [__GNUC__], only on [_LIBC].
25674 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25675 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
25676 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
25677 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
25678 forward declaration.
25679 (realloc_hook_ini): Likewise.
25680 (memalign_hook_ini): Likewise.
25681 (__libc_memalign): Do not use __MALLOC_PMT in variable
25682 declaration.
25683 (__libc_valloc): Likewise.
25684 (__libc_pvalloc): Likewise.
25685 (__libc_calloc): Likewise.
25686 (__posix_memalign): Likewise.
25687
25688 [BZ #14996]
25689 * math/s_casinh.c: Include <float.h>.
25690 (__casinh): Do not do computation with squaring and square root
25691 for large arguments.
25692 * math/s_casinhf.c: Include <float.h>.
25693 (__casinhf): Do not do computation with squaring and square root
25694 for large arguments.
25695 * math/s_casinhl.c: Include <float.h>.
25696 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
25697 (__casinhl): Do not do computation with squaring and square root
25698 for large arguments.
25699 * math/libm-test.inc (casin_test): Add more tests.
25700 (casinh_test): Likewise.
25701 * sysdeps/i386/fpu/libm-test-ulps: Update.
25702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25703
25704 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
25705
25706 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
25707 (__x86_64_raw_data_cache_size): Likewise.
25708 (__x86_64_data_cache_size_half): Likewise.
25709 (__x86_64_raw_data_cache_size_half): Likewise.
25710 (__x86_64_shared_cache_size): Likewise.
25711 (__x86_64_raw_shared_cache_size): Likewise.
25712 (__x86_64_shared_cache_size_half): Likewise.
25713 (__x86_64_raw_shared_cache_size_half): Likewise.
25714 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
25715 to ...
25716 (__x86_data_cache_size): This.
25717 (__x86_64_raw_data_cache_size): Renamed to ...
25718 (__x86_raw_data_cache_size): This.
25719 (__x86_64_data_cache_size_half): Renamed to ...
25720 (__x86_data_cache_size_half): This.
25721 (__x86_64_raw_data_cache_size_half): Renamed to ...
25722 (__x86_raw_data_cache_size_half): This.
25723 (__x86_64_shared_cache_size): Renamed to ...
25724 (__x86_shared_cache_size): This.
25725 (__x86_64_raw_shared_cache_size): Renamed to ...
25726 (__x86_raw_shared_cache_size): This.
25727 (__x86_64_shared_cache_size_half): Renamed to ...
25728 (__x86_shared_cache_size_half): This.
25729 (__x86_64_raw_shared_cache_size_half): Renamed to ...
25730 (__x86_raw_shared_cache_size_half): This.
25731 * sysdeps/x86_64/memcpy.S: Updated.
25732 * sysdeps/x86_64/memset.S: Likewise.
25733 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25734 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25735 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25736
25737 2013-01-04 David S. Miller <davem@davemloft.net>
25738
25739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25740
25741 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
25742
25743 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
25744 1 to avoid redefinition warning.
25745 (__USE_GNU): Don't define.
25746 (init_signaling_nan): Protoize.
25747
25748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25749
25750 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25751
25752 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
25753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
25754 (__cpymn): Likewise.
25755 (norm): Remove commented code.
25756 (denorm): Likewise.
25757 (__mp_dbl): Likewise.
25758 (__inv): Likewise.
25759 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
25760 (__cpymn): Likewise.
25761 (norm): Remove commented code.
25762 (denorm): Likewise.
25763 (__mp_dbl): Likewise.
25764 (__inv): Likewise.
25765
25766 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
25767 mp_no value for 1.0 and 2.0.
25768 (norm): Use RADIXI instead of radixi.d.
25769 (denorm): Likewise.
25770 (__mul): Use 0.0 instead of zero.d.
25771 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
25772 mp_no value for 1.0 and 2.0.
25773 (norm): Use RADIXI instead of radixi.d.
25774 (denorm): Likewise.
25775 (__mul): Use 0.0 instead of zero.d.
25776
25777 2013-01-04 Joseph Myers <joseph@codesourcery.com>
25778
25779 [BZ #14994]
25780 * math/s_casinh.c (__casinh): Reduce finite argument to first
25781 quadrant then set signs of results at the end.
25782 * math/s_casinhf.c (__casinhf): Likewise.
25783 * math/s_casinhl.c (__casinhl): Likewise.
25784 * math/libm-test.inc (casin_test): Add more tests.
25785 (casinh_test): Likewise.
25786 * sysdeps/i386/fpu/libm-test-ulps: Update.
25787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25788
25789 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25790
25791 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
25792
25793 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
25794
25795 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
25796 declarations.
25797 (denorm): Likewise.
25798 (__mp_dbl): Likewise.
25799 (__inv): Likewise.
25800
25801 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
25802 and adjust the header comment.
25803
25804 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
25805 variable name from declaration.
25806
25807 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
25808
25809 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25810 Initialize COMMON_CPUID_INDEX_7 element.
25811 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
25812 (CPUID_RTM): Likewise.
25813 (HAS_RTM): Likewise.
25814 (COMMON_CPUID_INDEX_7): New enum.
25815
25816 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
25817
25818 [BZ #14981]
25819 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
25820 size is zero, record memory as freed.
25821
25822 2013-01-03 Andreas Jaeger <aj@suse.de>
25823
25824 * po/ia.po: Add new Interlingua translation.
25825
25826 2012-01-03 Allan McRae <allan@archlinux.org>
25827
25828 * locale/programs/localedef.c: Fix description of '--posix' flag.
25829
25830 2013-01-02 Joseph Myers <joseph@codesourcery.com>
25831
25832 * NEWS: Update dates in second copyright notice.
25833 * README: Update copyright dates in example.
25834 * manual/libc.texinfo: Update copyright dates.
25835 * scripts/test-installation.pl: Update copyright date in --version
25836 output.
25837
25838 * hurd/ctty-input.c: Fix copyright notice formatting.
25839 * hurd/ctty-output.c: Likewise.
25840 * hurd/dtable.c: Likewise.
25841 * hurd/hurd-raise.c: Likewise.
25842 * hurd/hurdprio.c: Likewise.
25843 * hurd/msgportdemux.c: Likewise.
25844 * misc/sys/file.h: Likewise.
25845 * misc/sys/ioctl.h: Likewise.
25846 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25847 * sysdeps/mach/hurd/chdir.c: Likewise.
25848 * sysdeps/mach/hurd/fchdir.c: Likewise.
25849 * sysdeps/mach/hurd/rename.c: Likewise.
25850 * sysdeps/mach/hurd/rmdir.c: Likewise.
25851 * sysdeps/mach/hurd/seekdir.c: Likewise.
25852 * sysdeps/mach/hurd/setsid.c: Likewise.
25853 * sysdeps/posix/wait3.c: Likewise.
25854
25855 * All files with FSF copyright notices: Update copyright dates
25856 using scripts/update-copyrights.
25857 * intl/plural.c: Regenerated.
25858 * locale/programs/charmap-kw.h: Likewise.
25859 * locale/programs/locfile-kw.h: Likewise.
25860
25861 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25862
25863 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
25864 four values.
25865
25866 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
25867 calculation loop and add branch prediction.
25868
25869 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
25870 check access beyond bounds of m1np.
25871
25872 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25873 MPTWO.
25874 (__inv): Remove local variable MPTWO to use the global
25875 constant.
25876 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
25877 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25878 variable MPTWO.
25879 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
25880 MP3HALFS static const.
25881
25882 2013-01-01 David S. Miller <davem@davemloft.net>
25883
25884 * po/ca.po: Update from translation team.
25885
25886 2013-01-01 Joseph Myers <joseph@codesourcery.com>
25887
25888 * scripts/update-copyrights: New file.
25889 * Makeconfig: Reformat copyright notice.
25890 * ctype/ctype.h: Likewise.
25891 * debug/swprintf_chk.c: Likewise.
25892 * elf/dl-cache.c: Likewise.
25893 * elf/dl-debug.c: Likewise.
25894 * elf/dl-object.c: Likewise.
25895 * grp/initgroups.c: Likewise.
25896 * hurd/Makefile: Likewise.
25897 * hurd/hurd/signal.h: Likewise.
25898 * hurd/hurdfault.c: Likewise.
25899 * hurd/hurdioctl.c: Likewise.
25900 * hurd/hurdlookup.c: Likewise.
25901 * hurd/intr-msg.c: Likewise.
25902 * iconv/gconv_open.c: Likewise.
25903 * libio/swprintf.c: Likewise.
25904 * locale/lc-ctype.c: Likewise.
25905 * locale/nl_langinfo.c: Likewise.
25906 * mach/Machrules: Likewise.
25907 * mach/Makefile: Likewise.
25908 * malloc/obstack.h: Likewise.
25909 * manual/Makefile: Likewise.
25910 * manual/tsort.awk: Likewise.
25911 * misc/bits/stab.def: Likewise.
25912 * nis/nis_print_group_entry.c: Likewise.
25913 * nis/nis_table.c: Likewise.
25914 * nis/nss_compat/compat-pwd.c: Likewise.
25915 * nis/nss_compat/compat-spwd.c: Likewise.
25916 * po/Makefile: Likewise.
25917 * posix/fnmatch.c: Likewise.
25918 * posix/regex.h: Likewise.
25919 * resolv/Makefile: Likewise.
25920 * resolv/nss_dns/dns-network.c: Likewise.
25921 * resolv/res_hconf.c: Likewise.
25922 * scripts/gen-sorted.awk: Likewise.
25923 * soft-fp/soft-fp.h: Likewise.
25924 * stdio-common/printf.h: Likewise.
25925 * stdlib/monetary.h: Likewise.
25926 * stdlib/random.c: Likewise.
25927 * stdlib/random_r.c: Likewise.
25928 * sysdeps/generic/Makefile: Likewise.
25929 * sysdeps/gnu/Makefile: Likewise.
25930 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25931 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25932 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25933 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25934 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25935 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25936 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25937 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25938 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25939 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25940 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25941 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25942 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25943 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25944 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25945 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25946 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25947 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25948 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25949 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25950 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25951 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25952 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25953 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25954 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25955 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25956 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25957 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25958 * sysdeps/mach/hurd/errnos.awk: Likewise.
25959 * sysdeps/mach/hurd/fork.c: Likewise.
25960 * sysdeps/mach/hurd/getcwd.c: Likewise.
25961 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25962 * sysdeps/mach/hurd/mmap.c: Likewise.
25963 * sysdeps/mach/hurd/utimes.c: Likewise.
25964 * sysdeps/mach/hurd/xmknod.c: Likewise.
25965 * sysdeps/posix/profil.c: Likewise.
25966 * sysdeps/posix/readdir_r.c: Likewise.
25967 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25968 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25969 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25970 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25971 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25972 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25973 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25974 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25975 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25976 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25977 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25978 * sysdeps/pthread/lio_listio.c: Likewise.
25979 * sysdeps/sparc/dl-procinfo.h: Likewise.
25980 * sysdeps/unix/i386/sysdep.S: Likewise.
25981 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25982 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25983 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25984 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25986 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25987 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25988 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25989 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25990 * sysdeps/wordsize-32/divdi3.c: Likewise.
25991 * time/sys/time.h: Likewise.
25992 * wcsmbs/Makefile: Likewise.
25993
25994 2013-01-01 David S. Miller <davem@davemloft.net>
25995
25996 * po/fr.po: Update from translation team.
25997
25998 * catgets/gencat.c: Update copyright year.
25999 * csu/version.c: Likewise.
26000 * debug/catchsegv.sh: Likewise.
26001 * debug/pcprofiledump.c: Likewise.
26002 * debug/xtrace.sh: Likewise.
26003 * elf/ldconfig.c: Likewise.
26004 * elf/ldd.bash.in: Likewise.
26005 * elf/pldd.c: Likewise.
26006 * elf/sotruss.ksh: Likewise.
26007 * elf/sprof.c: Likewise.
26008 * iconv/iconv_prog.c: Likewise.
26009 * iconv/iconvconfig.c: Likewise.
26010 * locale/programs/locale.c: Likewise.
26011 * locale/programs/localedef.c: Likewise.
26012 * login/programs/pt_chown.c: Likewise.
26013 * malloc/memusage.sh: Likewise.
26014 * malloc/memusagestat.c: Likewise.
26015 * malloc/mtrace.pl: Likewise.
26016 * nscd/nscd.c: Likewise.
26017 * nss/getent.c: Likewise.
26018 * nss/makedb.c: Likewise.
26019 * posix/getconf.c: Likewise.
26020
26021 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26022
26023 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26024 numbers.
26025
26026 2012-12-30 Mike Frysinger <vapier@gentoo.org>
26027
26028 * math/bits/mathcalls.h (modf): Use __nonnull.
26029
26030 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26031
26032 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26033 (split): Use macro CN instead of the bare value.
26034 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26035 could be used.
26036 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26037 instead of the bare value.
26038 (power1): Likewise.
26039
26040 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26041
26042 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26043 __ATAN_TWOM.
26044 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26045
26046 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26047 their values.
26048 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26049 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26050 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26051 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26052
26053 2012-12-28 Andreas Jaeger <aj@suse.de>
26054
26055 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26056 values are from Linux 3.7.
26057
26058 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26059 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26060
26061 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26062
26063 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26064 TRUE case.
26065
26066 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26067 (norm): Likewise.
26068 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26069 variables with preprocessor constants.
26070 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26071 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26072 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26073
26074 2012-12-27 Bruno Haible <bruno@clisp.org>
26075
26076 [BZ #14317]
26077 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26078 only if needed.
26079
26080 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26081
26082 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26083 and use variable directly.
26084 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26085
26086 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26087 MPONE.
26088 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26089 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26090 variable MPONE.
26091 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26092 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26093 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26094 include directive. Remove local variable MPONE.
26095 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26096 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26097 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26098
26099 2012-12-25 David S. Miller <davem@davemloft.net>
26100
26101 * version.h (RELEASE): Set to "development".
26102 (VERSION): Set to "2.17.90".
26103 * NEWS: Add 2.18 section.
26104
26105 2012-12-21 David S. Miller <davem@davemloft.net>
26106
26107 * po/hr.po: Update from translation team.
26108
26109 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26110
26111 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26112
26113 2012-12-19 Steve Ellcey <sellcey@mips.com>
26114
26115 * NEWS: Mention new memcpy for MIPS.
26116
26117 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26118
26119 * manual/contrib.texi (Contributors): Spelling correction.
26120
26121 2012-12-15 David S. Miller <davem@davemloft.net>
26122
26123 * po/ru.po: Update from translation team.
26124
26125 2012-12-13 David S. Miller <davem@davemloft.net>
26126
26127 * NEWS: Mention IFUNC testsuite enhancements.
26128
26129 * po/pl.po: Update from translation team.
26130 * po/bg.po: Likewise.
26131
26132 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26133 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26134
26135 2012-12-11 David S. Miller <davem@davemloft.net>
26136
26137 * po/sv.po: Update from translation team.
26138
26139 * po/vi.po: Update from translation team.
26140
26141 * po/cs.po: Update from translation team.
26142
26143 * po/de.po: Update from translation team.
26144 * po/eo.po: Likewise.
26145 * po/nl.po: Likewise.
26146
26147 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26148
26149 [BZ #14246]
26150 * manual/argp.texi (Argp Helper Functions): Move node to follow
26151 Argp Parsing State.
26152
26153 [BZ #14872]
26154 * manual/conf.texi (Limits on File System Capacity): Mention if
26155 terminating null is included in the max size.
26156
26157 2012-12-10 Andreas Jaeger <aj@suse.de>
26158
26159 * po/cs.po: Update from translation team.
26160
26161 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26162
26163 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26164 void pointer and cast to uintptr_t.
26165 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26166 path.
26167 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26168 * sysdeps/s390/s390-64/memset.S: Likewise.
26169
26170 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
26171
26172 [BZ #14833]
26173 * menual/message.texi (Message Translation): Fix typos.
26174 (Helper programs for gettext): Likewise.
26175
26176 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26177
26178 [BZ #14898]
26179 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26180 Change to -1.
26181
26182 2012-12-07 David S. Miller <davem@davemloft.net>
26183
26184 * po/libc.pot: Update.
26185
26186 2012-12-07 Richard Henderson <rth@redhat.com>
26187
26188 [BZ #10114]
26189 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26190 normal/normal case to before the switch.
26191 (_FP_DIV): Likewise.
26192
26193 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26194 Mike Frysinger <vapier@gentoo.org>
26195
26196 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26197 check for __NR_fadvise64_64.
26198
26199 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26200
26201 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26202 0, not just to plain "0" as a statement.
26203 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26204 with cw.
26205
26206 2012-12-06 Joseph Myers <joseph@codesourcery.com>
26207
26208 * NEWS: Use sourceware.org in Bugzilla URL.
26209
26210 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26211
26212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26213 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26214
26215 * stdio-common/tst-put-error.c (do_test): Add newline to the
26216 padded test to ensure flush.
26217
26218 2012-12-05 Jeff Law <law@redhat.com>
26219
26220 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26221
26222 2012-12-05 Joseph Myers <joseph@codesourcery.com>
26223
26224 * README: Don't refer to ports add-on as distributed separately.
26225 Mention AArch64 in list of systems supported in the ports add-on.
26226
26227 * LICENSES: Add more non-FSF copyright and license notices.
26228
26229 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26230 ((unused)).
26231
26232 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26233
26234 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26235 10000 as width of padded output.
26236
26237 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26238
26239 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26240
26241 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26242 variable LX with __attribute__ ((unused)).
26243 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26244 Likewise.
26245 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26246 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26247 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26248 with __attribute__ ((unused)).
26249
26250 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
26251
26252 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26253
26254 2012-12-04 Joseph Myers <joseph@codesourcery.com>
26255
26256 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26257 (CFLAGS-nldbl-acos.c): New variable.
26258 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26259 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26260 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26261 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26262 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26263 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26264 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26265 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26266 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26267 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26268 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26269 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26270 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26271 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26272 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26273 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26274 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26275 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26276 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26277 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26278 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26279 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26280 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26281 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26282 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26283 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26284 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26285 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26286 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26287 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26288 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26289 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26290 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26291 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26292 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26293 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26294 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26295 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26296 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26297 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26298 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26299 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26300 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26301 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26302 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26303 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26304 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26305 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26306 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26307 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26308 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26309 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26310 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26311 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26312 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26313 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26314 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26315 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26316 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26317 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26318 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26319 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26320 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26321 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26322 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26323 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26324 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26325 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26326 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26327 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26328 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26329 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26330 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26331 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26332 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26333 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26334 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26335 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26336 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26337 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26338 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26339 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26340 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26341 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26342 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26343 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26344 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26345 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26346 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26347 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26348 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26349 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26350 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26351 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26352 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26353 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26354 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26355
26356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26357 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26358
26359 [BZ #14914]
26360 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26361 whole low double instead of just low 47 bits when splitting values
26362 into two parts.
26363
26364 2012-12-03 Allan McRae <allan@archlinux.org>
26365
26366 * manual/stdio.texi (Predefined Printf Handlers): Remove
26367 @hsep and @vsep usage.
26368
26369 2012-12-03 Mike Frysinger <vapier@gentoo.org>
26370
26371 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26372 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26373
26374 2012-12-03 Jeff Law <law@redhat.com>
26375
26376 * time/sys/time.h (settimeofday): Do not mark TV argument
26377 as __nonnull.
26378
26379 2012-12-01 Mike Frysinger <vapier@gentoo.org>
26380
26381 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26382 when currently writing and seek to current position when not.
26383 * libio/Makefile (tests): Remove bug-fclose1.
26384 * libio/bug-fclose1.c: Delete.
26385
26386 2012-12-01 Joseph Myers <joseph@codesourcery.com>
26387
26388 * manual/arith.texi (feenableexcept): Fix typo.
26389 (fedisableexcept): Likewise.
26390
26391 2012-11-30 Roland McGrath <roland@hack.frob.com>
26392
26393 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26394 second, differently-typed declaration, rather than a cast.
26395
26396 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26397
26398 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26399 * include/rpc/svc.h: ... here.
26400
26401 2012-11-30 Aurelien Jarno <aurel32@debian.org>
26402
26403 [BZ #13013]
26404 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26405 depending n and resplen2 to catch cases where answer
26406 equals answerp2.
26407
26408 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26409
26410 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26411 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26412
26413 2012-11-29 Mike Frysinger <vapier@gentoo.org>
26414
26415 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26416
26417 2012-11-29 Roland McGrath <roland@hack.frob.com>
26418
26419 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26420
26421 2012-11-28 Jeff Law <law@redhat.com>
26422
26423 [BZ #13761]
26424 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26425 dataset_temporary. Track alloca usage into alloca_used.
26426 If dataset is large allocate and release it via malloc/free.
26427
26428 2012-06-04 Florian Weimer <fweimer@redhat.com>
26429
26430 [BZ #14197]
26431 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26432
26433 2012-11-28 David S. Miller <davem@davemloft.net>
26434
26435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26436
26437 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26438
26439 [BZ #14803]
26440 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26441 of pi/2 rounded to nearest to 64 bits.
26442 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26443 nearest to 64 bits.
26444 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26445 bits.
26446
26447 2012-11-28 Jeff Law <law@redhat.com>
26448 Martin Osvald <mosvald@redhat.com>
26449
26450 [BZ #14889]
26451 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26452 * sunrpc/svc.c: Include time.h.
26453 (__svc_accept_failed): New function.
26454 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26455 any reason other than EINTR, call __svc_accept_failed.
26456 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26457 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26458
26459 2012-11-28 Andreas Schwab <schwab@suse.de>
26460
26461 * scripts/abilist.awk: Also handle indirect functions in .opd
26462 section.
26463
26464 2012-11-28 Joseph Myers <joseph@codesourcery.com>
26465
26466 [BZ #13881]
26467 * sysdeps/x86/fpu/powl_helper.c: New file.
26468 * sysdeps/x86/fpu/Makefile: Likewise.
26469 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26470 (p3): New object.
26471 (__ieee754_powl): Use __powl_helper for finite arguments except
26472 integer exponents below 8.
26473 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26474 (p3): New object.
26475 (__ieee754_powl): Use __powl_helper for finite arguments except
26476 integer exponents below 8.
26477 * math/libm-test.inc (pow_test): Add more tests and enable some
26478 previously disabled tests.
26479 * sysdeps/i386/fpu/libm-test-ulps: Update.
26480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26481
26482 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26483 Carlos O'Donell <carlos_odonell@mentor.com>
26484
26485 * nss/makedb.c (is_prime): Assert that input is odd and greater
26486 than 4. Note that fact in a comment too.
26487 (next_prime): Add 4 to input.
26488
26489 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26490
26491 [BZ #11741]
26492 * libio/Makefile (tests): Add test case tst-fwrite-error.
26493 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26494 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26495 * libio/tst-fwrite-error.c: New test case.
26496
26497 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
26498
26499 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26500 before casting to void *.
26501 * include/libc-internal.h (__pointer_type): New macro.
26502 (__integer_if_pointer_type_sub): Likewise.
26503 (__integer_if_pointer_type): Likewise.
26504 (cast_to_integer): Likewise.
26505 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26506 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26507 before casting to atomic64_t.
26508 (atomic_exchange_acq): Likewise.
26509 (__arch_exchange_and_add_body): Likewise.
26510 (__arch_add_body): Likewise.
26511 (atomic_add_negative): Likewise.
26512 (atomic_add_zero): Likewise.
26513
26514 2012-11-26 Joseph Myers <joseph@codesourcery.com>
26515
26516 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26517 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26518 (add_fdes): Likewise.
26519 (linear_search_fdes): Likewise.
26520 (binary_search_unencoded_fdes): Likewise.
26521
26522 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
26523
26524 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26525
26526 2012-11-24 Adam Conrad <adconrad@0c3.net>
26527
26528 * configure.in: Autodetect C++ header directories.
26529 * configure: Regenerated.
26530
26531 2012-11-23 Mike Frysinger <vapier@gentoo.org>
26532
26533 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26534
26535 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
26536
26537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26538
26539 2012-11-22 Joseph Myers <joseph@codesourcery.com>
26540
26541 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26542 LDBL_MANT_DIG == 106]: Disable some tests.
26543 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26544 Likewise.
26545 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26546 Likewise.
26547
26548 [BZ #14871]
26549 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26550 input for small inputs. Return +/- pi/2 for large inputs.
26551 * math/libm-test.inc (atan_test): Add more tests.
26552
26553 * sysdeps/generic/unwind-dw2-fde-glibc.c
26554 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26555 __attribute__ ((unused)).
26556
26557 [BZ #14645]
26558 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26559 x * y if x and y are nonzero and z is zero.
26560
26561 [BZ #14811]
26562 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26563 nonzero exponents with absolute value below 0x1p-117 to +/-
26564 0x1p-117.
26565
26566 [BZ #14869]
26567 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26568 up arguments below 2**-450, not just those below 2**-500.
26569 * math/libm-test.inc (hypot_test): Add another test.
26570
26571 [BZ #14868]
26572 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26573 Return a+b for ratio over 2**120, not 2**60.
26574 * math/libm-test.inc (hypot_test): Add another test.
26575
26576 * math/libm-test.inc (clog_test): Use
26577 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26578 (clog10_test): Likewise.
26579
26580 [BZ #6778]
26581 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26582
26583 2012-11-22 Andreas Schwab <schwab@suse.de>
26584
26585 * sysdeps/i386/fpu/libm-test-ulps: Update.
26586
26587 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
26588
26589 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26590 printf output with newline.
26591
26592 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
26593
26594 [BZ #14865]
26595 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26596 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26597 -z nodlopen, -z initfirst and -z execstack support.
26598 * configure: Regenerated.
26599
26600 * elf/elf.h (DF_1_NODIRECT): New macro.
26601 (DF_1_IGNMULDEF): Likewise.
26602 (DF_1_NOKSYMS): Likewise.
26603 (DF_1_NOHDR): Likewise.
26604 (DF_1_EDITED): Likewise.
26605 (DF_1_NORELOC): Likewise.
26606 (DF_1_SYMINTPOSE): Likewise.
26607 (DF_1_GLOBAUDIT): Likewise.
26608 (DF_1_SINGLETON): Likewise.
26609 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26610 DT_1_SUPPORTED_MASK bits.
26611 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26612
26613 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
26614
26615 * sysdeps/unix/make-syscalls.sh: Document prefixes.
26616
26617 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
26618
26619 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26620 macro.
26621
26622 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26623 (sendmmsg): Move declarations...
26624 * socket/sys/socket.h: ... here.
26625 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26626 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26627 include it from...
26628 * socket/recvmmsg.c: ... this new file.
26629 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26630 (sendmmsg): Rename to __sendmmsg, create weak alias and make
26631 definition of __sendmmsg hidden.
26632 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26633 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26634 Move ENOSYS stub into and include it from...
26635 * socket/sendmmsg.c: ... this new file.
26636 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26637 (sysdep_routines): Move recvmmsg and sendmmsg...
26638 * socket/Makefile (routines): ... here.
26639 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26640 (GLIBC_PRIVATE): Add __sendmmsg.
26641 * include/sys/socket.h (__sendmmsg): Add declarations.
26642 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26643 sendmmsg.
26644
26645 2012-11-20 Joseph Myers <joseph@codesourcery.com>
26646
26647 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
26648 variable I1 with __attribute__ ((unused)).
26649 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26650
26651 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26652
26653 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
26654 DUMMY variables with __attribute__ ((unused)).
26655
26656 * bits/byteswap.h: Include <bits/types.h>.
26657 (__bswap_64): Use __uint64_t instead of unsigned long long int.
26658
26659 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26660
26661 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
26662 string_t. Do not manually set errno.
26663 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
26664 length with __strnlen. Make sure to both set errno and return it on
26665 failure.
26666
26667 2012-11-19 David S. Miller <davem@davemloft.net>
26668
26669 With help from Joseph Myers.
26670 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
26671 very large arguments properly.
26672 * math/libm-test.inc (atan_test): New tests.
26673 (atan2_test): New tests.
26674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26676
26677 2012-11-19 Joseph Myers <joseph@codesourcery.com>
26678
26679 [BZ #14856]
26680 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
26681 Define to 3.
26682
26683 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
26684 [POSIX] (EADDRNOTAVAIL): Likewise.
26685 [POSIX] (EAFNOSUPPORT): Likewise.
26686 [POSIX] (EALREADY): Likewise.
26687 [POSIX] (ECONNABORTED): Likewise.
26688 [POSIX] (ECONNREFUSED): Likewise.
26689 [POSIX] (ECONNRESET): Likewise.
26690 [POSIX] (EDESTADDRREQ): Likewise.
26691 [POSIX] (EDQUOT): Likewise.
26692 [POSIX] (EHOSTUNREACH): Likewise.
26693 [POSIX] (EIDRM): Likewise.
26694 [POSIX] (EISCONN): Likewise.
26695 [POSIX] (ELOOP): Likewise.
26696 [POSIX] (EMULTIHOP): Likewise.
26697 [POSIX] (ENETDOWN): Likewise.
26698 [POSIX] (ENETUNREACH): Likewise.
26699 [POSIX] (ENOBUFS): Likewise.
26700 [POSIX] (ENODATA): Likewise.
26701 [POSIX] (ENOLINK): Likewise.
26702 [POSIX] (ENOMSG): Likewise.
26703 [POSIX] (ENOPROTOOPT): Likewise.
26704 [POSIX] (ENOSR): Likewise.
26705 [POSIX] (ENOSTR): Likewise.
26706 [POSIX] (ENOTCONN): Likewise.
26707 [POSIX] (ENOTSOCK): Likewise.
26708 [POSIX] (EOPNOTSUPP): Likewise.
26709 [POSIX] (EOVERFLOW): Likewise.
26710 [POSIX] (EPROTO): Likewise.
26711 [POSIX] (EPROTONOSUPPORT): Likewise.
26712 [POSIX] (EPROTOTYPE): Likewise.
26713 [POSIX] (ESTALE): Likewise.
26714 [POSIX] (ETIME): Likewise.
26715 [POSIX] (ETXTBSY): Likewise.
26716 [POSIX] (EWOULDBLOCK): Likewise.
26717 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
26718 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
26719 [POSIX] (SEEK_CUR): Likewise.
26720 [POSIX] (SEEK_END): Likewise.
26721 [POSIX || UNIX98] (mode_t): Do not require.
26722 [POSIX] (off_t): Likewise.
26723 [POSIX] (pid_t): Likewise.
26724 [POSIX] (sys/stat.h): Do not allow header.
26725 [POSIX] (unistd.h): Likewise.
26726 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
26727 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
26728 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
26729 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
26730 require.
26731 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
26732 sigevent): Specify elements.
26733 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
26734 entry.
26735 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
26736 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
26737
26738 * conform/data/cpio.h-data [POSIX]: Disable whole file.
26739 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
26740 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
26741 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
26742 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
26743 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
26744 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
26745 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
26746 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
26747 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
26748 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
26749 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
26750 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
26751 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
26752 Likewise.
26753 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
26754 Likewise.
26755 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
26756 Likewise.
26757 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
26758 Likewise.
26759 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
26760 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
26761 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
26762 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
26763 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
26764 Specify lower bound on value.
26765 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
26766 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
26767 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
26768 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
26769 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
26770 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
26771 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
26772 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
26773 value.
26774 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
26775 as optional.
26776 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
26777 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
26778 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
26779 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
26780 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
26781 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
26782 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
26783 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
26784 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
26785 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
26786 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
26787 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
26788 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
26789 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
26790 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
26791 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
26792 entry.
26793 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
26794 optional.
26795 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
26796 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
26797 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
26798 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
26799 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
26800 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
26801 Likewise.
26802 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
26803 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
26804 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
26805 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
26806 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
26807 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
26808 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
26809 as optional.
26810 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
26811 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
26812 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
26813 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
26814 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
26815 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
26816 specify as optional.
26817 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
26818 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
26819 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
26820 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
26821 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
26822 [XPG3] (NL_LANGMAX): Likewise.
26823 [POSIX || XPG3] (NL_MSGMAX): Likewise.
26824 [POSIX || XPG3] (NL_NMAX): Likewise.
26825 [POSIX || XPG3] (NL_SETMAX): Likewise.
26826 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
26827 [XPG3] (NZERO): Likewise.
26828 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
26829 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
26830 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
26831 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
26832 (REG_ERANGE): Expect.
26833 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
26834 optional-constant.
26835 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
26836 Use (void) in prototype.
26837 [POSIX] (*_t): Allow.
26838 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
26839 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
26840 (WRDE_BADVAL): Expect.
26841
26842 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
26843 expect.
26844 [XPG3 || XPG4] (O_RSYNC): Likewise.
26845 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
26846 Likewise.
26847 [XPG3 || XPG4] (pthread_sigmask): Likewise.
26848 [XPG3 || XPG4] (sigqueue): Likewise.
26849 [XPG3 || XPG4] (sigtimedwait): Likewise.
26850 [XPG3 || XPG4] (sigwaitinfo): Likewise.
26851 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
26852 [XPG3 || XPG4] (vsnprintf): Likewise.
26853 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
26854 Likewise.
26855 [XPG3 || XPG4] (blksize_t): Likewise.
26856 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
26857 Likewise.
26858 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
26859 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26860 [XPG3 || XPG4] (struct itimerspec): Likewise.
26861 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
26862 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
26863 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
26864 [XPG3 || XPG4] (clockid_t): Likewise.
26865 [XPG3 || XPG4] (timer_t): Likewise.
26866 [XPG3 || XPG4] (clock_getres): Likewise.
26867 [XPG3 || XPG4] (clock_gettime): Likewise.
26868 [XPG3 || XPG4] (clock_settime): Likewise.
26869 [XPG3 || XPG4] (nanosleep): Likewise.
26870 [XPG3 || XPG4] (timer_create): Likewise.
26871 [XPG3 || XPG4] (timer_delete): Likewise.
26872 [XPG3 || XPG4] (timer_gettime): Likewise.
26873 [XPG3 || XPG4] (timer_getoverrun): Likewise.
26874 [XPG3 || XPG4] (timer_settime): Likewise.
26875 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
26876 [XPG3 || XPG4] (getlogin_r): Likewise.
26877 [XPG3 || XPG4] (pread): Likewise.
26878 [XPG3 || XPG4] (pthread_atfork): Likewise.
26879 [XPG3 || XPG4] (pwrite): Likewise.
26880
26881 [BZ #14835]
26882 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26883 <bits/siginfo.h>.
26884
26885 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26886
26887 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26888 finalizing MALLSTREAM.
26889
26890 * sysdeps/mach/hurd/syncfs.c: New file.
26891
26892 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26893
26894 [BZ #14719]
26895 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26896 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26897 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26898 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26899 (_nss_dns_gethostbyname4_r): Likewise.
26900 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26901 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26902
26903 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26904
26905 [BZ #13763]
26906 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26907
26908 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26909
26910 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26911 * elf/cache.c (print_entry): Print ",AArch64" for
26912 FLAG_AARCH64_LIB64
26913
26914 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26915 * elf/cache.c (print_entry): Print ",hard-float" for
26916 FLAG_ARM_LIBHF.
26917
26918 2012-11-18 David S. Miller <davem@davemloft.net>
26919
26920 With help from Joseph Myers.
26921 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26922 cutoff to 2**-13.
26923 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26924 cutoff to 2**-25.
26925 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26926 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26927 small.
26928 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26929 * math/libm-test.inc (y0_test): New tests.
26930 (y1_test): New tests.
26931 * sysdeps/i386/fpu/libm-test-ulps: Update.
26932 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26934
26935 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26936
26937 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26938 64-bit targets.
26939 * configure: Regenerated.
26940
26941 2012-11-17 David S. Miller <davem@davemloft.net>
26942
26943 [BZ #14811]
26944 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26945 nonzero exponents with absolute value below 0x1p-128 to +/-
26946 0x1p-128.
26947
26948 2012-11-17 Joseph Myers <joseph@codesourcery.com>
26949
26950 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26951
26952 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26953
26954 * posix/getconf-speclist.c: New file.
26955 * posix/posix-envs.def: Likewise.
26956 * posix/confstr.c (START_ENV_GROUP): New macro.
26957 (END_ENV_GROUP): Likewise.
26958 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26959 (KNOWN_PRESENT_ENV_STRING): Likewise.
26960 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26961 (UNKNOWN_ENVIRONMENT): Likewise.
26962 (confstr): Include posix-envs.def instead of handling
26963 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26964 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26965 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26966 (END_ENV_GROUP): Likewise.
26967 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26968 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26969 (UNKNOWN_ENVIRONMENT): Likewise.
26970 (__sysconf): Include posix-envs.def instead of handling associated
26971 cases directly here.
26972 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26973 preprocessing getconf-speclist.c rather than running getconf or
26974 generating empty file.
26975
26976 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26977
26978 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26979
26980 2012-11-16 Andrej Lajovic <natrij@gmail.com>
26981
26982 [BZ #14672]
26983 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26984
26985 2012-11-16 David S. Miller <davem@davemloft.net>
26986
26987 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26988 smaller than LDBL_EPSILON/2.0L, just return xm1.
26989
26990 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26991
26992 * elf/tst-array1.c (init): Set constructor priority to 1000.
26993 (fini): Set destructor priority to 1000.
26994 * elf/tst-array2dep.c: Likewise.
26995
26996 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26997
26998 [BZ #11741]
26999 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27000 (_IO_new_file_xsputn): Also return EOF if none of the input
27001 data was written when overflow failed.
27002 * libio/iopadn.c (_IO_padn): Likewise.
27003 * libio/iowpadn.c (_IO_wpadn): Likewise.
27004 * stdio-common/tst-put-error.c: Add copyright notice.
27005 (do_test): Add case for printing padded string.
27006 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27007 _IO_padn returned error.
27008 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27009 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27010 return EOF.
27011
27012 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27013
27014 * libio/libioP.h: Add comment note that the references to C++
27015 bits are now obsolete.
27016
27017 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27018
27019 * math/libm-test.inc (check_complex): Use asprintf.
27020
27021 2012-11-14 Joseph Myers <joseph@codesourcery.com>
27022
27023 * debug/pcprofiledump.c (print_version): Update copyright year.
27024 * malloc/memusagestat.c (print_version): Likewise.
27025
27026 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27027
27028 [BZ #14831]
27029 * elf/Makefile (tests): Add tst-audit8.
27030 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27031 ($(objpfx)tst-audit8.out): New target.
27032 (tst-audit8-ENV): New variable.
27033 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27034 audit if l_reloc_result is NULL.
27035 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27036 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27037 * elf/tst-audit8.c: New file.
27038
27039 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27040
27041 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27042 * misc/Makefile (CFLAGS-select.c): Define.
27043 * posix/Makefile (CFLAGS-pause.c): Define.
27044
27045 2012-11-13 David S. Miller <davem@davemloft.net>
27046
27047 * crypt/Makefile: Move test targets after toplevel Rules
27048 inclusion. Grab any necessary sysdep routines when linking.
27049 * crypt/md5.c (md5_process_block): Remove define, we will always
27050 name it __md5_process_block.
27051 (md5_finish_ctx): Update md5_process_block call.
27052 (md5_stream): Likewise.
27053 (md5_process_bytes): Likewise.
27054 (md5_process_block): Rename to __md5_process_block and move to ...
27055 * crypt/md5-block.c: ... here.
27056 * crypt/sha256.c (sha256_process_block): Move to ...
27057 * crypt/sha256-block.c: ... here.
27058 * crypt/sha512.c (sha512_process_block): Move to ...
27059 * crypt/sha512-block.c: ... here.
27060 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27061 path.
27062 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27063 * sysdeps/sparc/sparc64/multiarch/Makefile
27064 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27065 crypt subdir.
27066 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27067 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27068 multiarch changes.
27069 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27070 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27071 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27072 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27073 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27074 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27075 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27076 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27077 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27078 file.
27079 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27080 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27081 file.
27082 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27083
27084 2012-11-13 Joseph Myers <joseph@codesourcery.com>
27085
27086 * timezone/tzselect.ksh: Update from tzcode git revision
27087 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27088 * timezone/zdump.c: Likewise.
27089 * timezone/zic.c: Likewise.
27090 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27091 in TZVERSION setting, not $(PKGVERSION).
27092 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27093 REPORT_BUGS_TO settings.
27094
27095 [BZ #14838]
27096 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27097 macro.
27098
27099 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27100
27101 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27102 detection to immediately after _FP_ROUND().
27103 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27104 bits are 0.
27105
27106 2012-11-11 David S. Miller <davem@davemloft.net>
27107
27108 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27109 inttypes.h
27110 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27111 __close rather than their public counterparts.
27112
27113 2012-11-10 Joseph Myers <joseph@codesourcery.com>
27114
27115 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27116 file.
27117 [UNIX98] (sem_timedwait): Do not expect.
27118 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27119 [XPG4 || UNIX98] (sockatmark): Do not expect.
27120 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27121 (clock_getcpuclockid): Do not expect.
27122 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27123 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27124 Do not expect.
27125 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27126 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27127 [UNIX98] (vwscanf): Likewise.
27128 [UNIX98] (vswscanf): Likewise.
27129
27130 2012-11-09 Joseph Myers <joseph@codesourcery.com>
27131
27132 * timezone/version.h: Remove file.
27133 * timezone/README: Do not refer to version.h.
27134 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27135 $(objpfx)version.h.
27136 ($(objpfx)zdump.o): Likewise.
27137 ($(objpfx)version.h): New target.
27138
27139 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27140 2012i.
27141 * timezone/README: Don't mention modification to tzselect.ksh.
27142 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27143 work on unmodified tzselect.ksh. Substitute version numbers in
27144 tzselect.ksh.
27145
27146 * Makefile (format-me): Remove.
27147 (INSTALL): Adjust indentation. Use commands directly instead of
27148 using $(format-me).
27149
27150 * aclocal.m4 (ACX_PKGVERSION): New macro.
27151 (ACX_BUGURL): Likewise.
27152 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27153 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27154 (REPORT_BUGS_TO): Likewise.
27155 * configure: Regenerated.
27156 * config.h.in (PKGVERSION): New macro.
27157 (REPORT_BUGS_TO): Likewise.
27158 * config.make.in (PKGVERSION): New variable.
27159 (PKGVERSION_TEXI): Likewise.
27160 (REPORT_BUGS_TO): Likewise.
27161 (REPORT_BUGS_TEXI): Likewise.
27162 * Makefile (format-me): Use -I$(common-objpfx)manual.
27163 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27164 ($(common-objpfx)manual/%): New target.
27165 (manual/%): Remove target.
27166 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27167 (print_version): Use PKGVERSION.
27168 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27169 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27170 and REPORT_BUGS_TO.
27171 ($(objpfx)xtrace): Likewise.
27172 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27173 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27174 (print_version): Use PKGVERSION.
27175 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27176 (do_version): Use PKGVERSION.
27177 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27178 REPORT_BUGS_TO.
27179 (common-ldd-rewrite): Likewise.
27180 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27181 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27182 (print_version): Use PKGVERSION.
27183 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27184 * elf/pldd.c (argp_program_bug_address): Remove variable.
27185 (more_help): New function.
27186 (argp): Use more_help.
27187 (print_version): Use PKGVERSION.
27188 * elf/sln.c (main): Use PKGVERSION.
27189 (usage): Use REPORT_BUGS_TO.
27190 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27191 (top level): Use PKGVERSION.
27192 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27193 (print_version): Use PKGVERSION.
27194 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27195 (print_version): Use PKGVERSION.
27196 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27197 (print_version): Use PKGVERSION.
27198 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27199 (print_version): Use PKGVERSION.
27200 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27201 (print_version): Use PKGVERSION.
27202 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27203 (print_version): Use PKGVERSION.
27204 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27205 and BUGURL.
27206 ($(objpfx)memusage): Likewise.
27207 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27208 (do_version): Use PKGVERSION.
27209 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27210 (print_version): Use PKGVERSION.
27211 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27212 ($PKGVERSION): New variable.
27213 ($REPORT_BUGS_TO): Likewise.
27214 (usage): Use $REPORT_BUGS_TO.
27215 (top level): Use $PKGVERSION.
27216 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27217 ($(objpfx)pkgvers.texi): New rule.
27218 ($(objpfx)stamp-pkgvers): Likewise.
27219 * manual/install.texi: Include pkgvers.texi.
27220 (--with-pkgversion): Document new configure option.
27221 (--with-bugurl): Likewise.
27222 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27223 than necessarily for this particular distribution. Use
27224 REPORT_BUGS_TO for where to report bugs.
27225 * INSTALL: Regenerated.
27226 * manual/libc.texinfo: Include pkgvers.texi.
27227 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27228 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27229 (print_version): Use PKGVERSION.
27230 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27231 (print_version): Use PKGVERSION.
27232 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27233 (print_version): Use PKGVERSION.
27234 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27235 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27236 macro.
27237 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27238 (print_version): Use PKGVERSION.
27239 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27240 (print_version): Use PKGVERSION.
27241 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27242 and PKGVERSION.
27243
27244 * timezone/checktab.awk: Update from tzcode 2012i.
27245 * timezone/ialloc.c: Likewise.
27246 * timezone/private.h: Likewise.
27247 * timezone/scheck.c: Likewise.
27248 * timezone/tzfile.h: Likewise.
27249 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27250 (TZVERSION): Hardcode tzcode version number.
27251 * timezone/zdump.c: Update from tzcode 2012i.
27252 * timezone/zic.c: Likewise.
27253 * timezone/version.h: New file.
27254 * timezone/README: Describe version.h. Update upstream location.
27255
27256 [BZ #14824]
27257 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27258 (mktemp): Enable declaration.
27259 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27260 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27261 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27262 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27263 Likewise.
27264 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27265 Likewise.
27266 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27267 Likewise.
27268 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27269 Likewise.
27270 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27271 Likewise.
27272 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27273 Likewise.
27274
27275 [BZ #14821]
27276 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27277 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27278 for copies of such integer values.
27279 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27280 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27281
27282 2012-11-09 Andreas Jaeger <aj@suse.de>
27283
27284 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27285 definitions and declarations that are provided by
27286 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27287
27288 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27289
27290 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27291 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27292 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27293 definition.
27294
27295 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27296
27297 * elf/elf.h: Update comment before AArch64 relocations.
27298
27299 2012-11-07 David S. Miller <davem@davemloft.net>
27300
27301 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27302 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27303 (__start_context): Declare.
27304 (__makecontext_ret): Delete.
27305 (__makecontext): Hook up __start_context instead of
27306 __makecontext_ret.
27307 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27308 (sysdep_routines): Add __start_context when in stdlib.
27309
27310 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27311
27312 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27313 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27314 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27315 hardcoded "nm".
27316 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27317 (READELF): New variable. Use it instead of hardcoded "readelf".
27318
27319 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27320
27321 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27322 * sysdeps/x86/Makefile: Here.
27323 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27324 * sysdeps/x86/tst-xmmymm.sh: This.
27325
27326 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27327
27328 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27329 expectations.
27330 [UNIX98] (pthread_barrier_t): Do not expect.
27331 [UNIX98] (pthread_barrierattr_t): Likewise.
27332 [UNIX98] (pthread_spinlock_t): Likewise.
27333 [UNIX98] (pthread_barrier_destroy): Likewise.
27334 [UNIX98] (pthread_barrier_init): Likewise.
27335 [UNIX98] (pthread_barrier_wait): Likewise.
27336 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27337 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27338 [UNIX98] (pthread_barrierattr_init): Likewise.
27339 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27340 [UNIX98] (pthread_getcpuclockid): Likewise.
27341 [UNIX98] (pthread_mutex_timedlock): Likewise.
27342 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27343 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27344 [UNIX98] (pthread_sigmask): Likewise.
27345 [UNIX98] (pthread_spin_destroy): Likewise.
27346 [UNIX98] (pthread_spin_init): Likewise.
27347 [UNIX98] (pthread_spin_lock): Likewise.
27348 [UNIX98] (pthread_spin_trylock): Likewise.
27349 [UNIX98] (pthread_spin_unlock): Likewise.
27350 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27351 Do not expect.
27352 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27353 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27354 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27355 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27356 [XPG3 || XPG4] (pthread_key_t): Likewise.
27357 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27358 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27359 [XPG3 || XPG4] (pthread_once_t): Likewise.
27360 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27361 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27362 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27363 [XPG3 || XPG4] (pthread_t): Likewise.
27364
27365 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27366 not expect.
27367 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27368
27369 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27370 Change function return type to int.
27371
27372 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27373 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27374 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27375 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27376 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27377 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27378 [!POSIX] (posix_madvise): Likewise.
27379 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27380 && !UNIX98].
27381 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27382 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27383 (mode_t): Likewise.
27384 (posix_mem_offset): Likewise.
27385 (posix_typed_mem_get_info): Likewise.
27386 (posix_typed_mem_open): Likewise.
27387
27388 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27389 Change condition to [XOPEN2K8].
27390
27391 * conform/conformtest.pl: Preprocess allow-header data with -x c
27392 instead of from stdin.
27393 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27394 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27395 [C99-based standards] (cerfc): Likewise.
27396 [C99-based standards] (cexp2): Likewise.
27397 [C99-based standards] (cexpm1): Likewise.
27398 [C99-based standards] (clog10): Likewise.
27399 [C99-based standards] (clog1p): Likewise.
27400 [C99-based standards] (clog2): Likewise.
27401 [C99-based standards] (clgamma): Likewise.
27402 [C99-based standards] (ctgamma): Likewise.
27403 [C99-based standards] (cerff): Likewise.
27404 [C99-based standards] (cerfcf): Likewise.
27405 [C99-based standards] (cexp2f): Likewise.
27406 [C99-based standards] (cexpm1f): Likewise.
27407 [C99-based standards] (clog10f): Likewise.
27408 [C99-based standards] (clog1pf): Likewise.
27409 [C99-based standards] (clog2f): Likewise.
27410 [C99-based standards] (clgammaf): Likewise.
27411 [C99-based standards] (ctgammaf): Likewise.
27412 [C99-based standards] (cerfl): Likewise.
27413 [C99-based standards] (cerfcl): Likewise.
27414 [C99-based standards] (cexp2l): Likewise.
27415 [C99-based standards] (cexpm1l): Likewise.
27416 [C99-based standards] (clog10l): Likewise.
27417 [C99-based standards] (clog1pl): Likewise.
27418 [C99-based standards] (clog2l): Likewise.
27419 [C99-based standards] (clgammal): Likewise.
27420 [C99-based standards] (ctgammal): Likewise.
27421 * conform/data/inttypes.h-data [C99-based standards]: Include
27422 stdint.h-data. Remove all expectations for stdint.h contents.
27423 [C99-based standards] (PRI*): Do not allow.
27424 [C99-based standards] (SCN*): Likewise.
27425 [C99-based standards] (*_t): Likewise.
27426 [C99-based-standards] (PRId8): Expect macro.
27427 [C99-based-standards] (PRIi8): Likewise.
27428 [C99-based-standards] (PRIo8): Likewise.
27429 [C99-based-standards] (PRIu8): Likewise.
27430 [C99-based-standards] (PRIx8): Likewise.
27431 [C99-based-standards] (PRIX8): Likewise.
27432 [C99-based-standards] (SCNd8): Likewise.
27433 [C99-based-standards] (SCNi8): Likewise.
27434 [C99-based-standards] (SCNo8): Likewise.
27435 [C99-based-standards] (SCNu8): Likewise.
27436 [C99-based-standards] (SCNx8): Likewise.
27437 [C99-based-standards] (PRIdLEAST8): Likewise.
27438 [C99-based-standards] (PRIiLEAST8): Likewise.
27439 [C99-based-standards] (PRIoLEAST8): Likewise.
27440 [C99-based-standards] (PRIuLEAST8): Likewise.
27441 [C99-based-standards] (PRIxLEAST8): Likewise.
27442 [C99-based-standards] (PRIXLEAST8): Likewise.
27443 [C99-based-standards] (SCNdLEAST8): Likewise.
27444 [C99-based-standards] (SCNiLEAST8): Likewise.
27445 [C99-based-standards] (SCNoLEAST8): Likewise.
27446 [C99-based-standards] (SCNuLEAST8): Likewise.
27447 [C99-based-standards] (SCNxLEAST8): Likewise.
27448 [C99-based-standards] (PRIdFAST8): Likewise.
27449 [C99-based-standards] (PRIiFAST8): Likewise.
27450 [C99-based-standards] (PRIoFAST8): Likewise.
27451 [C99-based-standards] (PRIuFAST8): Likewise.
27452 [C99-based-standards] (PRIxFAST8): Likewise.
27453 [C99-based-standards] (PRIXFAST8): Likewise.
27454 [C99-based-standards] (SCNdFAST8): Likewise.
27455 [C99-based-standards] (SCNiFAST8): Likewise.
27456 [C99-based-standards] (SCNoFAST8): Likewise.
27457 [C99-based-standards] (SCNuFAST8): Likewise.
27458 [C99-based-standards] (SCNxFAST8): Likewise.
27459 [C99-based-standards] (PRId16): Likewise.
27460 [C99-based-standards] (PRIi16): Likewise.
27461 [C99-based-standards] (PRIo16): Likewise.
27462 [C99-based-standards] (PRIu16): Likewise.
27463 [C99-based-standards] (PRIx16): Likewise.
27464 [C99-based-standards] (PRIX16): Likewise.
27465 [C99-based-standards] (SCNd16): Likewise.
27466 [C99-based-standards] (SCNi16): Likewise.
27467 [C99-based-standards] (SCNo16): Likewise.
27468 [C99-based-standards] (SCNu16): Likewise.
27469 [C99-based-standards] (SCNx16): Likewise.
27470 [C99-based-standards] (PRIdLEAST16): Likewise.
27471 [C99-based-standards] (PRIiLEAST16): Likewise.
27472 [C99-based-standards] (PRIoLEAST16): Likewise.
27473 [C99-based-standards] (PRIuLEAST16): Likewise.
27474 [C99-based-standards] (PRIxLEAST16): Likewise.
27475 [C99-based-standards] (PRIXLEAST16): Likewise.
27476 [C99-based-standards] (SCNdLEAST16): Likewise.
27477 [C99-based-standards] (SCNiLEAST16): Likewise.
27478 [C99-based-standards] (SCNoLEAST16): Likewise.
27479 [C99-based-standards] (SCNuLEAST16): Likewise.
27480 [C99-based-standards] (SCNxLEAST16): Likewise.
27481 [C99-based-standards] (PRIdFAST16): Likewise.
27482 [C99-based-standards] (PRIiFAST16): Likewise.
27483 [C99-based-standards] (PRIoFAST16): Likewise.
27484 [C99-based-standards] (PRIuFAST16): Likewise.
27485 [C99-based-standards] (PRIxFAST16): Likewise.
27486 [C99-based-standards] (PRIXFAST16): Likewise.
27487 [C99-based-standards] (SCNdFAST16): Likewise.
27488 [C99-based-standards] (SCNiFAST16): Likewise.
27489 [C99-based-standards] (SCNoFAST16): Likewise.
27490 [C99-based-standards] (SCNuFAST16): Likewise.
27491 [C99-based-standards] (SCNxFAST16): Likewise.
27492 [C99-based-standards] (PRId32): Likewise.
27493 [C99-based-standards] (PRIi32): Likewise.
27494 [C99-based-standards] (PRIo32): Likewise.
27495 [C99-based-standards] (PRIu32): Likewise.
27496 [C99-based-standards] (PRIx32): Likewise.
27497 [C99-based-standards] (PRIX32): Likewise.
27498 [C99-based-standards] (SCNd32): Likewise.
27499 [C99-based-standards] (SCNi32): Likewise.
27500 [C99-based-standards] (SCNo32): Likewise.
27501 [C99-based-standards] (SCNu32): Likewise.
27502 [C99-based-standards] (SCNx32): Likewise.
27503 [C99-based-standards] (PRIdLEAST32): Likewise.
27504 [C99-based-standards] (PRIiLEAST32): Likewise.
27505 [C99-based-standards] (PRIoLEAST32): Likewise.
27506 [C99-based-standards] (PRIuLEAST32): Likewise.
27507 [C99-based-standards] (PRIxLEAST32): Likewise.
27508 [C99-based-standards] (PRIXLEAST32): Likewise.
27509 [C99-based-standards] (SCNdLEAST32): Likewise.
27510 [C99-based-standards] (SCNiLEAST32): Likewise.
27511 [C99-based-standards] (SCNoLEAST32): Likewise.
27512 [C99-based-standards] (SCNuLEAST32): Likewise.
27513 [C99-based-standards] (SCNxLEAST32): Likewise.
27514 [C99-based-standards] (PRIdFAST32): Likewise.
27515 [C99-based-standards] (PRIiFAST32): Likewise.
27516 [C99-based-standards] (PRIoFAST32): Likewise.
27517 [C99-based-standards] (PRIuFAST32): Likewise.
27518 [C99-based-standards] (PRIxFAST32): Likewise.
27519 [C99-based-standards] (PRIXFAST32): Likewise.
27520 [C99-based-standards] (SCNdFAST32): Likewise.
27521 [C99-based-standards] (SCNiFAST32): Likewise.
27522 [C99-based-standards] (SCNoFAST32): Likewise.
27523 [C99-based-standards] (SCNuFAST32): Likewise.
27524 [C99-based-standards] (SCNxFAST32): Likewise.
27525 [C99-based-standards] (PRId64): Likewise.
27526 [C99-based-standards] (PRIi64): Likewise.
27527 [C99-based-standards] (PRIo64): Likewise.
27528 [C99-based-standards] (PRIu64): Likewise.
27529 [C99-based-standards] (PRIx64): Likewise.
27530 [C99-based-standards] (PRIX64): Likewise.
27531 [C99-based-standards] (SCNd64): Likewise.
27532 [C99-based-standards] (SCNi64): Likewise.
27533 [C99-based-standards] (SCNo64): Likewise.
27534 [C99-based-standards] (SCNu64): Likewise.
27535 [C99-based-standards] (SCNx64): Likewise.
27536 [C99-based-standards] (PRIdLEAST64): Likewise.
27537 [C99-based-standards] (PRIiLEAST64): Likewise.
27538 [C99-based-standards] (PRIoLEAST64): Likewise.
27539 [C99-based-standards] (PRIuLEAST64): Likewise.
27540 [C99-based-standards] (PRIxLEAST64): Likewise.
27541 [C99-based-standards] (PRIXLEAST64): Likewise.
27542 [C99-based-standards] (SCNdLEAST64): Likewise.
27543 [C99-based-standards] (SCNiLEAST64): Likewise.
27544 [C99-based-standards] (SCNoLEAST64): Likewise.
27545 [C99-based-standards] (SCNuLEAST64): Likewise.
27546 [C99-based-standards] (SCNxLEAST64): Likewise.
27547 [C99-based-standards] (PRIdFAST64): Likewise.
27548 [C99-based-standards] (PRIiFAST64): Likewise.
27549 [C99-based-standards] (PRIoFAST64): Likewise.
27550 [C99-based-standards] (PRIuFAST64): Likewise.
27551 [C99-based-standards] (PRIxFAST64): Likewise.
27552 [C99-based-standards] (PRIXFAST64): Likewise.
27553 [C99-based-standards] (SCNdFAST64): Likewise.
27554 [C99-based-standards] (SCNiFAST64): Likewise.
27555 [C99-based-standards] (SCNoFAST64): Likewise.
27556 [C99-based-standards] (SCNuFAST64): Likewise.
27557 [C99-based-standards] (SCNxFAST64): Likewise.
27558 [C99-based-standards] (PRIdMAX): Likewise.
27559 [C99-based-standards] (PRIiMAX): Likewise.
27560 [C99-based-standards] (PRIoMAX): Likewise.
27561 [C99-based-standards] (PRIuMAX): Likewise.
27562 [C99-based-standards] (PRIxMAX): Likewise.
27563 [C99-based-standards] (PRIXMAX): Likewise.
27564 [C99-based-standards] (SCNdMAX): Likewise.
27565 [C99-based-standards] (SCNiMAX): Likewise.
27566 [C99-based-standards] (SCNoMAX): Likewise.
27567 [C99-based-standards] (SCNuMAX): Likewise.
27568 [C99-based-standards] (SCNxMAX): Likewise.
27569 [C99-based-standards] (PRIdPTR): Likewise.
27570 [C99-based-standards] (PRIiPTR): Likewise.
27571 [C99-based-standards] (PRIoPTR): Likewise.
27572 [C99-based-standards] (PRIuPTR): Likewise.
27573 [C99-based-standards] (PRIxPTR): Likewise.
27574 [C99-based-standards] (PRIXPTR): Likewise.
27575 [C99-based-standards] (SCNdPTR): Likewise.
27576 [C99-based-standards] (SCNiPTR): Likewise.
27577 [C99-based-standards] (SCNoPTR): Likewise.
27578 [C99-based-standards] (SCNuPTR): Likewise.
27579 [C99-based-standards] (SCNxPTR): Likewise.
27580 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27581 allow.
27582 * conform/data/stdint.h-data: Update comments to clarify
27583 requirements.
27584 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
27585 type.
27586 [C99-based standards] (INT8_MAX): Likewise.
27587 [C99-based standards] (INT16_MIN): Likewise.
27588 [C99-based standards] (INT16_MAX): Likewise.
27589 [C99-based standards] (INT32_MIN): Likewise.
27590 [C99-based standards] (INT32_MAX): Likewise.
27591 [C99-based standards] (INT64_MIN): Likewise.
27592 [C99-based standards] (INT64_MAX): Likewise.
27593 [C99-based standards] (UINT8_MAX): Likewise.
27594 [C99-based standards] (UINT16_MAX): Likewise.
27595 [C99-based standards] (UINT32_MAX): Likewise.
27596 [C99-based standards] (UINT64_MAX): Likewise.
27597 [C99-based standards] (INT_LEAST8_MIN): Likewise.
27598 [C99-based standards] (INT_LEAST8_MAX): Likewise.
27599 [C99-based standards] (INT_LEAST16_MIN): Likewise.
27600 [C99-based standards] (INT_LEAST16_MAX): Likewise.
27601 [C99-based standards] (INT_LEAST32_MIN): Likewise.
27602 [C99-based standards] (INT_LEAST32_MAX): Likewise.
27603 [C99-based standards] (INT_LEAST64_MIN): Likewise.
27604 [C99-based standards] (INT_LEAST64_MAX): Likewise.
27605 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27606 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27607 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27608 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27609 [C99-based standards] (INT_FAST8_MIN): Likewise.
27610 [C99-based standards] (INT_FAST8_MAX): Likewise.
27611 [C99-based standards] (INT_FAST16_MIN): Likewise.
27612 [C99-based standards] (INT_FAST16_MAX): Likewise.
27613 [C99-based standards] (INT_FAST32_MIN): Likewise.
27614 [C99-based standards] (INT_FAST32_MAX): Likewise.
27615 [C99-based standards] (INT_FAST64_MIN): Likewise.
27616 [C99-based standards] (INT_FAST64_MAX): Likewise.
27617 [C99-based standards] (UINT_FAST8_MAX): Likewise.
27618 [C99-based standards] (UINT_FAST16_MAX): Likewise.
27619 [C99-based standards] (UINT_FAST32_MAX): Likewise.
27620 [C99-based standards] (UINT_FAST64_MAX): Likewise.
27621 [C99-based standards] (INTPTR_MIN): Likewise.
27622 [C99-based standards] (INTPTR_MAX): Likewise.
27623 [C99-based standards] (UINTPTR_MAX): Likewise.
27624 [C99-based standards] (INTMAX_MIN): Likewise.
27625 [C99-based standards] (INTMAX_MAX): Likewise.
27626 [C99-based standards] (UINTMAX_MAX): Likewise.
27627 [C99-based standards] (PTRDIFF_MIN): Likewise.
27628 [C99-based standards] (PTRDIFF_MAX): Likewise.
27629 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27630 [C99-based standards] (SIZE_MAX): Likewise.
27631 [C99-based standards] (WCHAR_MAX): Likewise.
27632 [C99-based standards] (WINT_MAX): Likewise.
27633 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
27634 constraint on value.
27635 [C99-based standards] (WCHAR_MIN): Likewise.
27636 [C99-based standards] (WINT_MIN): Likewise.
27637 [C99-based standards] (*_t): Allow.
27638 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27639 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27640 Include math.h-data and complex.h-data. Remove all expectations
27641 of math.h and complex.h contents.
27642 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27643 at end of line.
27644 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
27645 (struct tm): Expect tag.
27646 [C99-based-standards] (wcstof): Expect function.
27647 [C99-based-standards] (wcstold): Likewise.
27648 [C99-based-standards] (wcstoll): Likewise.
27649 [C99-based-standards] (wcstoull): Likewise.
27650 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
27651 macro-int-constant. Specify type.
27652 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
27653 constraint on value.
27654 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27655 Specify type.
27656 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
27657 Specify value.
27658 [ISO C standards]: Do not allow headers.
27659 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
27660 wcs[abcdefghijklmnopqrstuvwxyz]*.
27661 [ISO C standards] (*_t): Do not allow.
27662 * conform/data/wctype.h-data [C99-based standards] (iswblank):
27663 Expect function.
27664 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
27665 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
27666 Specify type.
27667 [ISO C standards]: Do not allow headers.
27668 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
27669 is[abcdefghijklmnopqrstuvwxyz]*.
27670 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
27671 to[abcdefghijklmnopqrstuvwxyz]*.
27672 [ISO C standards] (*_t): Do not allow.
27673 * conform/data/stdalign.h-data: New file.
27674 * conform/data/stdbool.h-data: Likewise.
27675 * conform/data/stdnoreturn.h-data: Likewise.
27676
27677 2012-11-07 Roland McGrath <roland@hack.frob.com>
27678
27679 [BZ #14815]
27680 * manual/filesys.texi (Directory Entries): Typo fix.
27681 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
27682
27683 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27684
27685 * elf/elf.h (EM_AARCH64): New macro.
27686 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
27687 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
27688 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
27689 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
27690 (R_AARCH64_TLSDESC): Likewise.
27691 (NT_ARM_TLS): Likewise.
27692 (NT_ARM_HW_BREAK): Likewise.
27693 (NT_ARM_HW_WATCH): Likewise.
27694
27695 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27696
27697 [BZ #14811]
27698 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
27699 (__ieee754_powl): Saturate nonzero exponents with absolute value
27700 below 0x1p-79 to +/- 0x1p-79.
27701 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
27702 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
27703 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
27704 nonzero exponents with absolute value below 0x1p-32 to +/-
27705 0x1p-32.
27706 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
27707 (__ieee754_powl): Saturate nonzero exponents with absolute value
27708 below 0x1p-79 to +/- 0x1p-79.
27709 * math/libm-test.inc (pow_test): Add more tests.
27710
27711 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27712
27713 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
27714 _dl_s390_cap_flags with kernel. Increase string length.
27715 (_dl_s390_platforms): Add z196 and zEC12.
27716
27717 2012-11-07 Joseph Myers <joseph@codesourcery.com>
27718
27719 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
27720 Change XOPEN21K to XOPEN2K.
27721
27722 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
27723
27724 * string/memmove.c: Use memcpy when possible.
27725
27726 2012-11-06 Andreas Jaeger <aj@suse.de>
27727
27728 * po/eo.po: Update from translation team.
27729
27730 2012-11-06 Joseph Myers <joseph@codesourcery.com>
27731
27732 [BZ #14793]
27733 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
27734 exponent and small x and y exponents, scale x or y up. Increase
27735 by 2 the exponent used in scaling up.
27736 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27737 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27738 * math/libm-test.inc (fma_test): Add more tests.
27739 (fma_test_towardzero): Likewise.
27740 (fma_test_downward): Likewise.
27741 (fma_test_upward): Likewise.
27742
27743 2012-11-05 Joseph Myers <joseph@codesourcery.com>
27744
27745 [BZ #14805]
27746 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
27747 fenv_t *.
27748
27749 [BZ #14801]
27750 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
27751 namespace for names of struct fields.
27752 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
27753 fenv_t fields.
27754 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27755 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
27756
27757 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
27758
27759 [BZ #3665]
27760 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
27761
27762 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27763
27764 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
27765 PTR_DEMANGLE.
27766
27767 [BZ #5246]
27768 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
27769 PTR_DEMANGLE.
27770
27771 2012-11-04 Joseph Myers <joseph@codesourcery.com>
27772
27773 [BZ #14797]
27774 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
27775 definitely overflow as x * y not x * y + z.
27776 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27777 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27778 * math/libm-test.inc (fma_test): Add more tests.
27779 (fma_test_towardzero): Likewise.
27780 (fma_test_downward): Likewise.
27781 (fma_test_upward): Likewise.
27782
27783 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
27784
27785 [BZ #157]
27786
27787 * include/stub-tag.h: Remove file.
27788 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
27789 '#include' of it.
27790 * manual/maint.texi (Porting): Don't reference it.
27791 * Makerules ($(objpfx)stubs): Likewise.
27792 * dirent/closedir.c: Don't include <stub-tag.h>.
27793 * dirent/dirfd.c: Likewise.
27794 * dirent/fdopendir.c: Likewise.
27795 * dirent/getdents.c: Likewise.
27796 * dirent/getdents64.c: Likewise.
27797 * dirent/opendir.c: Likewise.
27798 * dirent/readdir.c: Likewise.
27799 * dirent/readdir64.c: Likewise.
27800 * dirent/readdir64_r.c: Likewise.
27801 * dirent/readdir_r.c: Likewise.
27802 * dirent/rewinddir.c: Likewise.
27803 * dirent/seekdir.c: Likewise.
27804 * dirent/telldir.c: Likewise.
27805 * gmon/profil.c: Likewise.
27806 * grp/setgroups.c: Likewise.
27807 * inet/if_index.c: Likewise.
27808 * io/access.c: Likewise.
27809 * io/chdir.c: Likewise.
27810 * io/chmod.c: Likewise.
27811 * io/chown.c: Likewise.
27812 * io/close.c: Likewise.
27813 * io/dup.c: Likewise.
27814 * io/dup2.c: Likewise.
27815 * io/dup3.c: Likewise.
27816 * io/euidaccess.c: Likewise.
27817 * io/faccessat.c: Likewise.
27818 * io/fchdir.c: Likewise.
27819 * io/fchmod.c: Likewise.
27820 * io/fchmodat.c: Likewise.
27821 * io/fchown.c: Likewise.
27822 * io/fchownat.c: Likewise.
27823 * io/fcntl.c: Likewise.
27824 * io/flock.c: Likewise.
27825 * io/fstatfs.c: Likewise.
27826 * io/fstatfs64.c: Likewise.
27827 * io/fstatvfs.c: Likewise.
27828 * io/fstatvfs64.c: Likewise.
27829 * io/futimens.c: Likewise.
27830 * io/fxstat.c: Likewise.
27831 * io/fxstat64.c: Likewise.
27832 * io/fxstatat.c: Likewise.
27833 * io/fxstatat64.c: Likewise.
27834 * io/getcwd.c: Likewise.
27835 * io/isatty.c: Likewise.
27836 * io/lchmod.c: Likewise.
27837 * io/lchown.c: Likewise.
27838 * io/link.c: Likewise.
27839 * io/linkat.c: Likewise.
27840 * io/lseek.c: Likewise.
27841 * io/lseek64.c: Likewise.
27842 * io/lxstat64.c: Likewise.
27843 * io/mkdir.c: Likewise.
27844 * io/mkdirat.c: Likewise.
27845 * io/mkfifo.c: Likewise.
27846 * io/mkfifoat.c: Likewise.
27847 * io/open.c: Likewise.
27848 * io/open64.c: Likewise.
27849 * io/openat.c: Likewise.
27850 * io/openat64.c: Likewise.
27851 * io/pipe.c: Likewise.
27852 * io/pipe2.c: Likewise.
27853 * io/poll.c: Likewise.
27854 * io/posix_fadvise.c: Likewise.
27855 * io/posix_fadvise64.c: Likewise.
27856 * io/posix_fallocate.c: Likewise.
27857 * io/posix_fallocate64.c: Likewise.
27858 * io/read.c: Likewise.
27859 * io/readlink.c: Likewise.
27860 * io/readlinkat.c: Likewise.
27861 * io/rmdir.c: Likewise.
27862 * io/sendfile.c: Likewise.
27863 * io/sendfile64.c: Likewise.
27864 * io/statfs.c: Likewise.
27865 * io/statfs64.c: Likewise.
27866 * io/statvfs.c: Likewise.
27867 * io/statvfs64.c: Likewise.
27868 * io/symlink.c: Likewise.
27869 * io/symlinkat.c: Likewise.
27870 * io/ttyname.c: Likewise.
27871 * io/ttyname_r.c: Likewise.
27872 * io/umask.c: Likewise.
27873 * io/unlink.c: Likewise.
27874 * io/unlinkat.c: Likewise.
27875 * io/utime.c: Likewise.
27876 * io/utimensat.c: Likewise.
27877 * io/write.c: Likewise.
27878 * io/xmknod.c: Likewise.
27879 * io/xmknodat.c: Likewise.
27880 * io/xstat.c: Likewise.
27881 * io/xstat64.c: Likewise.
27882 * login/getpt.c: Likewise.
27883 * login/grantpt.c: Likewise.
27884 * login/unlockpt.c: Likewise.
27885 * math/e_acoshl.c: Likewise.
27886 * math/e_acosl.c: Likewise.
27887 * math/e_asinl.c: Likewise.
27888 * math/e_atan2l.c: Likewise.
27889 * math/e_atanhl.c: Likewise.
27890 * math/e_coshl.c: Likewise.
27891 * math/e_expl.c: Likewise.
27892 * math/e_fmodl.c: Likewise.
27893 * math/e_gammal_r.c: Likewise.
27894 * math/e_hypotl.c: Likewise.
27895 * math/e_j0l.c: Likewise.
27896 * math/e_j1l.c: Likewise.
27897 * math/e_jnl.c: Likewise.
27898 * math/e_lgammal_r.c: Likewise.
27899 * math/e_log10l.c: Likewise.
27900 * math/e_log2l.c: Likewise.
27901 * math/e_logl.c: Likewise.
27902 * math/e_powl.c: Likewise.
27903 * math/e_rem_pio2l.c: Likewise.
27904 * math/e_sinhl.c: Likewise.
27905 * math/e_sqrtl.c: Likewise.
27906 * math/fclrexcpt.c: Likewise.
27907 * math/fedisblxcpt.c: Likewise.
27908 * math/feenablxcpt.c: Likewise.
27909 * math/fegetenv.c: Likewise.
27910 * math/fegetexcept.c: Likewise.
27911 * math/fegetround.c: Likewise.
27912 * math/feholdexcpt.c: Likewise.
27913 * math/fesetenv.c: Likewise.
27914 * math/fesetround.c: Likewise.
27915 * math/feupdateenv.c: Likewise.
27916 * math/fgetexcptflg.c: Likewise.
27917 * math/fraiseexcpt.c: Likewise.
27918 * math/fsetexcptflg.c: Likewise.
27919 * math/ftestexcept.c: Likewise.
27920 * math/k_cosl.c: Likewise.
27921 * math/k_rem_pio2l.c: Likewise.
27922 * math/k_sinl.c: Likewise.
27923 * math/k_tanl.c: Likewise.
27924 * math/s_asinhl.c: Likewise.
27925 * math/s_atanl.c: Likewise.
27926 * math/s_cbrtl.c: Likewise.
27927 * math/s_erfl.c: Likewise.
27928 * math/s_expm1l.c: Likewise.
27929 * math/s_log1pl.c: Likewise.
27930 * math/s_tanhl.c: Likewise.
27931 * misc/acct.c: Likewise.
27932 * misc/brk.c: Likewise.
27933 * misc/chflags.c: Likewise.
27934 * misc/chroot.c: Likewise.
27935 * misc/fchflags.c: Likewise.
27936 * misc/fgetxattr.c: Likewise.
27937 * misc/flistxattr.c: Likewise.
27938 * misc/fremovexattr.c: Likewise.
27939 * misc/fsetxattr.c: Likewise.
27940 * misc/fsync.c: Likewise.
27941 * misc/ftruncate.c: Likewise.
27942 * misc/futimes.c: Likewise.
27943 * misc/futimesat.c: Likewise.
27944 * misc/getdomain.c: Likewise.
27945 * misc/getdtsz.c: Likewise.
27946 * misc/gethostid.c: Likewise.
27947 * misc/gethostname.c: Likewise.
27948 * misc/getloadavg.c: Likewise.
27949 * misc/getpagesize.c: Likewise.
27950 * misc/getsysstats.c: Likewise.
27951 * misc/getxattr.c: Likewise.
27952 * misc/gtty.c: Likewise.
27953 * misc/ioctl.c: Likewise.
27954 * misc/lgetxattr.c: Likewise.
27955 * misc/listxattr.c: Likewise.
27956 * misc/llistxattr.c: Likewise.
27957 * misc/lremovexattr.c: Likewise.
27958 * misc/lsetxattr.c: Likewise.
27959 * misc/lutimes.c: Likewise.
27960 * misc/madvise.c: Likewise.
27961 * misc/mincore.c: Likewise.
27962 * misc/mlock.c: Likewise.
27963 * misc/mlockall.c: Likewise.
27964 * misc/mmap.c: Likewise.
27965 * misc/mprotect.c: Likewise.
27966 * misc/msync.c: Likewise.
27967 * misc/munlock.c: Likewise.
27968 * misc/munlockall.c: Likewise.
27969 * misc/munmap.c: Likewise.
27970 * misc/preadv.c: Likewise.
27971 * misc/preadv64.c: Likewise.
27972 * misc/ptrace.c: Likewise.
27973 * misc/pwritev.c: Likewise.
27974 * misc/pwritev64.c: Likewise.
27975 * misc/readv.c: Likewise.
27976 * misc/reboot.c: Likewise.
27977 * misc/remap_file_pages.c: Likewise.
27978 * misc/removexattr.c: Likewise.
27979 * misc/revoke.c: Likewise.
27980 * misc/select.c: Likewise.
27981 * misc/setdomain.c: Likewise.
27982 * misc/setegid.c: Likewise.
27983 * misc/seteuid.c: Likewise.
27984 * misc/sethostid.c: Likewise.
27985 * misc/sethostname.c: Likewise.
27986 * misc/setregid.c: Likewise.
27987 * misc/setreuid.c: Likewise.
27988 * misc/setxattr.c: Likewise.
27989 * misc/sstk.c: Likewise.
27990 * misc/stty.c: Likewise.
27991 * misc/swapoff.c: Likewise.
27992 * misc/swapon.c: Likewise.
27993 * misc/sync.c: Likewise.
27994 * misc/syncfs.c: Likewise.
27995 * misc/syscall.c: Likewise.
27996 * misc/truncate.c: Likewise.
27997 * misc/ualarm.c: Likewise.
27998 * misc/usleep.c: Likewise.
27999 * misc/ustat.c: Likewise.
28000 * misc/utimes.c: Likewise.
28001 * misc/vhangup.c: Likewise.
28002 * misc/writev.c: Likewise.
28003 * posix/_exit.c: Likewise.
28004 * posix/alarm.c: Likewise.
28005 * posix/execve.c: Likewise.
28006 * posix/fexecve.c: Likewise.
28007 * posix/fork.c: Likewise.
28008 * posix/fpathconf.c: Likewise.
28009 * posix/getaddrinfo.c: Likewise.
28010 * posix/getegid.c: Likewise.
28011 * posix/geteuid.c: Likewise.
28012 * posix/getgid.c: Likewise.
28013 * posix/getgroups.c: Likewise.
28014 * posix/getlogin.c: Likewise.
28015 * posix/getlogin_r.c: Likewise.
28016 * posix/getpgid.c: Likewise.
28017 * posix/getpid.c: Likewise.
28018 * posix/getppid.c: Likewise.
28019 * posix/getresgid.c: Likewise.
28020 * posix/getresuid.c: Likewise.
28021 * posix/getsid.c: Likewise.
28022 * posix/getuid.c: Likewise.
28023 * posix/glob64.c: Likewise.
28024 * posix/nanosleep.c: Likewise.
28025 * posix/pathconf.c: Likewise.
28026 * posix/pause.c: Likewise.
28027 * posix/posix_madvise.c: Likewise.
28028 * posix/pread.c: Likewise.
28029 * posix/pread64.c: Likewise.
28030 * posix/pwrite.c: Likewise.
28031 * posix/pwrite64.c: Likewise.
28032 * posix/sched_getaffinity.c: Likewise.
28033 * posix/sched_getp.c: Likewise.
28034 * posix/sched_gets.c: Likewise.
28035 * posix/sched_primax.c: Likewise.
28036 * posix/sched_primin.c: Likewise.
28037 * posix/sched_rr_gi.c: Likewise.
28038 * posix/sched_setaffinity.c: Likewise.
28039 * posix/sched_setp.c: Likewise.
28040 * posix/sched_sets.c: Likewise.
28041 * posix/sched_yield.c: Likewise.
28042 * posix/setgid.c: Likewise.
28043 * posix/setlogin.c: Likewise.
28044 * posix/setpgid.c: Likewise.
28045 * posix/setresgid.c: Likewise.
28046 * posix/setresuid.c: Likewise.
28047 * posix/setsid.c: Likewise.
28048 * posix/setuid.c: Likewise.
28049 * posix/sleep.c: Likewise.
28050 * posix/spawni.c: Likewise.
28051 * posix/sysconf.c: Likewise.
28052 * posix/times.c: Likewise.
28053 * posix/wait.c: Likewise.
28054 * posix/wait3.c: Likewise.
28055 * posix/wait4.c: Likewise.
28056 * posix/waitpid.c: Likewise.
28057 * resolv/gai_sigqueue.c: Likewise.
28058 * resource/getpriority.c: Likewise.
28059 * resource/getrlimit.c: Likewise.
28060 * resource/getrusage.c: Likewise.
28061 * resource/nice.c: Likewise.
28062 * resource/setpriority.c: Likewise.
28063 * resource/setrlimit.c: Likewise.
28064 * resource/ulimit.c: Likewise.
28065 * rt/aio_cancel.c: Likewise.
28066 * rt/aio_fsync.c: Likewise.
28067 * rt/aio_read.c: Likewise.
28068 * rt/aio_sigqueue.c: Likewise.
28069 * rt/aio_suspend.c: Likewise.
28070 * rt/aio_write.c: Likewise.
28071 * rt/clock_getres.c: Likewise.
28072 * rt/clock_gettime.c: Likewise.
28073 * rt/clock_nanosleep.c: Likewise.
28074 * rt/clock_settime.c: Likewise.
28075 * rt/lio_listio.c: Likewise.
28076 * rt/mq_close.c: Likewise.
28077 * rt/mq_getattr.c: Likewise.
28078 * rt/mq_notify.c: Likewise.
28079 * rt/mq_open.c: Likewise.
28080 * rt/mq_receive.c: Likewise.
28081 * rt/mq_send.c: Likewise.
28082 * rt/mq_setattr.c: Likewise.
28083 * rt/mq_timedreceive.c: Likewise.
28084 * rt/mq_timedsend.c: Likewise.
28085 * rt/mq_unlink.c: Likewise.
28086 * rt/shm_open.c: Likewise.
28087 * rt/shm_unlink.c: Likewise.
28088 * rt/timer_create.c: Likewise.
28089 * rt/timer_delete.c: Likewise.
28090 * rt/timer_getoverr.c: Likewise.
28091 * rt/timer_gettime.c: Likewise.
28092 * rt/timer_settime.c: Likewise.
28093 * setjmp/__longjmp.c: Likewise.
28094 * setjmp/setjmp.c: Likewise.
28095 * signal/kill.c: Likewise.
28096 * signal/killpg.c: Likewise.
28097 * signal/raise.c: Likewise.
28098 * signal/sigaction.c: Likewise.
28099 * signal/sigaltstack.c: Likewise.
28100 * signal/sigblock.c: Likewise.
28101 * signal/sigignore.c: Likewise.
28102 * signal/sigintr.c: Likewise.
28103 * signal/signal.c: Likewise.
28104 * signal/sigpause.c: Likewise.
28105 * signal/sigpending.c: Likewise.
28106 * signal/sigqueue.c: Likewise.
28107 * signal/sigreturn.c: Likewise.
28108 * signal/sigset.c: Likewise.
28109 * signal/sigsetmask.c: Likewise.
28110 * signal/sigstack.c: Likewise.
28111 * signal/sigsuspend.c: Likewise.
28112 * signal/sigtimedwait.c: Likewise.
28113 * signal/sigvec.c: Likewise.
28114 * signal/sigwait.c: Likewise.
28115 * signal/sigwaitinfo.c: Likewise.
28116 * signal/sysv_signal.c: Likewise.
28117 * socket/accept.c: Likewise.
28118 * socket/accept4.c: Likewise.
28119 * socket/bind.c: Likewise.
28120 * socket/connect.c: Likewise.
28121 * socket/getpeername.c: Likewise.
28122 * socket/getsockname.c: Likewise.
28123 * socket/getsockopt.c: Likewise.
28124 * socket/isfdtype.c: Likewise.
28125 * socket/listen.c: Likewise.
28126 * socket/recv.c: Likewise.
28127 * socket/recvfrom.c: Likewise.
28128 * socket/recvmsg.c: Likewise.
28129 * socket/send.c: Likewise.
28130 * socket/sendmsg.c: Likewise.
28131 * socket/sendto.c: Likewise.
28132 * socket/setsockopt.c: Likewise.
28133 * socket/shutdown.c: Likewise.
28134 * socket/sockatmark.c: Likewise.
28135 * socket/socket.c: Likewise.
28136 * socket/socketpair.c: Likewise.
28137 * stdio-common/ctermid.c: Likewise.
28138 * stdio-common/cuserid.c: Likewise.
28139 * stdio-common/remove.c: Likewise.
28140 * stdio-common/rename.c: Likewise.
28141 * stdio-common/renameat.c: Likewise.
28142 * stdio-common/tempname.c: Likewise.
28143 * stdlib/getcontext.c: Likewise.
28144 * stdlib/makecontext.c: Likewise.
28145 * stdlib/setcontext.c: Likewise.
28146 * stdlib/swapcontext.c: Likewise.
28147 * stdlib/system.c: Likewise.
28148 * streams/fattach.c: Likewise.
28149 * streams/fdetach.c: Likewise.
28150 * streams/getmsg.c: Likewise.
28151 * streams/getpmsg.c: Likewise.
28152 * streams/putmsg.c: Likewise.
28153 * streams/putpmsg.c: Likewise.
28154 * sysdeps/unix/bsd/getpt.c: Likewise.
28155 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28156 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28157 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28159 Likewise.
28160 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28161 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28162 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28163 * sysvipc/msgctl.c: Likewise.
28164 * sysvipc/msgget.c: Likewise.
28165 * sysvipc/msgrcv.c: Likewise.
28166 * sysvipc/msgsnd.c: Likewise.
28167 * sysvipc/semctl.c: Likewise.
28168 * sysvipc/semget.c: Likewise.
28169 * sysvipc/semop.c: Likewise.
28170 * sysvipc/semtimedop.c: Likewise.
28171 * sysvipc/shmat.c: Likewise.
28172 * sysvipc/shmctl.c: Likewise.
28173 * sysvipc/shmdt.c: Likewise.
28174 * sysvipc/shmget.c: Likewise.
28175 * termios/tcdrain.c: Likewise.
28176 * termios/tcflow.c: Likewise.
28177 * termios/tcflush.c: Likewise.
28178 * termios/tcgetattr.c: Likewise.
28179 * termios/tcgetpgrp.c: Likewise.
28180 * termios/tcsendbrk.c: Likewise.
28181 * termios/tcsetattr.c: Likewise.
28182 * termios/tcsetpgrp.c: Likewise.
28183 * time/adjtime.c: Likewise.
28184 * time/clock.c: Likewise.
28185 * time/getitimer.c: Likewise.
28186 * time/gettimeofday.c: Likewise.
28187 * time/setitimer.c: Likewise.
28188 * time/settimeofday.c: Likewise.
28189 * time/stime.c: Likewise.
28190 * time/time.c: Likewise.
28191
28192 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
28193
28194 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28195 /usr/old/bin.
28196
28197 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28198 instead of spaces.
28199 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28200
28201 2012-11-03 Joseph Myers <joseph@codesourcery.com>
28202
28203 [BZ #14796]
28204 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28205 FE_TONEAREST before applying Dekker multiplication and Knuth
28206 addition. Clear inexact exceptions and check for exact zero
28207 results afterwards.
28208 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28209 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28210 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28211 * math/libm-test.inc (fma_test): Add more tests.
28212 (fma_test_towardzero): Likewise.
28213 (fma_test_downward): Likewise.
28214 (fma_test_upward): Likewise.
28215 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28216 function.
28217 (libc_fesetround): New macro.
28218 (libc_fesetroundf): Likewise.
28219 (libc_fesetroundl): Likewise.
28220 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28221 function.
28222 (libc_fesetround_387): Likewise.
28223 (libc_fesetroundf): New macro.
28224 (libc_fesetround): Likewise.
28225 (libc_fesetroundl): Likewise.
28226 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28227 function.
28228 (libc_fesetroundf): New macro.
28229 (libc_fesetround): Likewise.
28230 (libc_fesetroundl): Likewise.
28231 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28232 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28233 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28234 libm_hidden_ver.
28235 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28236 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28237 libm_hidden_def.
28238 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28239 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28240 libm_hidden_ver.
28241 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28242 libm_hidden_def.
28243
28244 [BZ #3439]
28245 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28246 integer constant usable in #if and use that to give value to enum
28247 constant.
28248 (FE_DIVBYZERO): Likewise.
28249 (FE_UNDERFLOW): Likewise.
28250 (FE_OVERFLOW): Likewise.
28251 (FE_INVALID): Likewise.
28252 (FE_INVALID_SNAN): Likewise.
28253 (FE_INVALID_ISI): Likewise.
28254 (FE_INVALID_IDI): Likewise.
28255 (FE_INVALID_ZDZ): Likewise.
28256 (FE_INVALID_IMZ): Likewise.
28257 (FE_INVALID_COMPARE): Likewise.
28258 (FE_INVALID_SOFTWARE): Likewise.
28259 (FE_INVALID_SQRT): Likewise.
28260 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28261 (FE_TONEAREST): Likewise.
28262 (FE_TOWARDZERO): Likewise.
28263 (FE_UPWARD): Likewise.
28264 (FE_DOWNWARD): Likewise.
28265 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28266 (FE_DIVBYZERO): Likewise.
28267 (FE_OVERFLOW): Likewise.
28268 (FE_UNDERFLOW): Likewise.
28269 (FE_INEXACT): Likewise.
28270 (FE_TONEAREST): Likewise.
28271 (FE_DOWNWARD): Likewise.
28272 (FE_UPWARD): Likewise.
28273 (FE_TOWARDZERO): Likewise.
28274 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28275 (FE_UNDERFLOW): Likewise.
28276 (FE_OVERFLOW): Likewise.
28277 (FE_DIVBYZERO): Likewise.
28278 (FE_INVALID): Likewise.
28279 (FE_TONEAREST): Likewise.
28280 (FE_TOWARDZERO): Likewise.
28281 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28282 (FE_OVERFLOW): Likewise.
28283 (FE_UNDERFLOW): Likewise.
28284 (FE_DIVBYZERO): Likewise.
28285 (FE_INEXACT): Likewise.
28286 (FE_TONEAREST): Likewise.
28287 (FE_TOWARDZERO): Likewise.
28288 (FE_UPWARD): Likewise.
28289 (FE_DOWNWARD): Likewise.
28290 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28291 (FE_DIVBYZERO): Likewise.
28292 (FE_OVERFLOW): Likewise.
28293 (FE_UNDERFLOW): Likewise.
28294 (FE_INEXACT): Likewise.
28295 (FE_TONEAREST): Likewise.
28296 (FE_DOWNWARD): Likewise.
28297 (FE_UPWARD): Likewise.
28298 (FE_TOWARDZERO): Likewise.
28299
28300 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28301
28302 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28303
28304 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28305
28306 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28307 commands. Quote $PWD.
28308 (blacklist_exports): Don't use remove_newlines. Replace "declare
28309 -x" by "export".
28310 (remove_newlines): Remove.
28311
28312 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28313
28314 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28315 * stdlib/stdlib.h (atof): Moved to ...
28316 * include/bits/stdlib-float.h: Here. New file.
28317 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28318 * stdlib/bits/stdlib-float.h: New file.
28319 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28320 -mno-sse -mno-mmx.
28321 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28322 <xmmintrin.h>.
28323
28324 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28325
28326 * conform/conformtest.pl (@headers): Add fenv.h.
28327 * conform/data/fenv.h-data: New file.
28328 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28329 include of <math/fenv.h>.
28330
28331 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28332 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28333 && !UNIX98]. Enables tests for XOPEN2K8.
28334 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28335 POSIX2008]: Likewise.
28336
28337 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28338 (struct rusage): Do not expect type or its members.
28339
28340 [BZ #3439]
28341 * math/math.h (FP_NAN): Define macro to integer constant usable in
28342 #if and use that to give value to enum constant.
28343 (FP_INFINITE): Likewise.
28344 (FP_ZERO): Likewise.
28345 (FP_SUBNORMAL): Likewise.
28346 (FP_NORMAL): Likewise.
28347
28348 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28349
28350 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28351 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28352 arguments.
28353
28354 2012-11-02 Roland McGrath <roland@hack.frob.com>
28355
28356 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28357 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28358 autoconf-time if not.
28359 * configure.in: Remove AC_PREREQ.
28360
28361 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28362
28363 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28364 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28365 of the internal implementation.
28366
28367 2012-11-02 Joseph Myers <joseph@codesourcery.com>
28368
28369 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28370 except include of <misc/sys/syslog.h>.
28371
28372 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28373
28374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28375 function returns with a NULL context exit with zero.
28376
28377 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28378
28379 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28380
28381 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28382
28383 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28384 (run_program_cmd): This.
28385 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28386 (tst_langinfo): New variable. Use it.
28387
28388 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28389
28390 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28391 floating point opcodes.
28392
28393 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28394
28395 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28396 variable.
28397
28398 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28399
28400 * sysdeps/mach/hurd/powerpc: Remove directory.
28401 * sysdeps/mach/powerpc: Likewise.
28402
28403 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28404
28405 * scripts/check-local-headers.sh: Ignore c++ headers.
28406
28407 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28408
28409 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28410 __libc_cleanup_region_start argument.
28411
28412 2012-11-01 Joseph Myers <joseph@codesourcery.com>
28413
28414 [BZ #14784]
28415 [BZ #14785]
28416 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28417 x * y using scaling, not as x * y + z.
28418 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28419 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28420 * math/libm-test.inc (fma_test): Add more tests.
28421 (fma_test_towardzero): Likewise.
28422 (fma_test_downward): Likewise.
28423 (fma_test_upward): Likewise.
28424
28425 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28426
28427 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28428
28429 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28430
28431 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28432 New variable.
28433
28434 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28435
28436 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28437
28438 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28439
28440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28441 Fix sort order.
28442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28443 Likewise.
28444
28445 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28446
28447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28448 Fix the order of the list for glibc 2.17.
28449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28450 Likewise.
28451
28452 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28453
28454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28455
28456 2012-10-31 Joseph Myers <joseph@codesourcery.com>
28457
28458 [BZ #14610]
28459 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28460 for low part of x being zero before using __atanl (y).
28461 * math/libm-test.inc (atan2_test): Add another test.
28462
28463 * manual/install.texi (Configuring and compiling): Document
28464 general use of test-wrapper and test-wrapper-env.
28465 * INSTALL: Regenerated.
28466
28467 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28468 (__fma): Do not extract and scale down low bits on after-rounding
28469 systems when result rounded to normal precision would have normal
28470 exponent.
28471 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28472 (__fmal): Do not extract and scale down low bits on after-rounding
28473 systems when result rounded to normal precision would have normal
28474 exponent.
28475 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28476 (__fmal): Do not extract and scale down low bits on after-rounding
28477 systems when result rounded to normal precision would have normal
28478 exponent.
28479 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28480 macro.
28481 (fma_test): Add more tests.
28482 (fma_test_towardzero): Likewise.
28483 (fma_test_downward): Likewise.
28484 (fma_test_upward): Likewise.
28485
28486 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28487
28488 * sysdeps/i386/tininess.h: Renamed to ...
28489 * sysdeps/x86/tininess.h: This.
28490 * sysdeps/x86_64/tininess.h: Removed.
28491
28492 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28493
28494 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28495 input. Use $(build-program-cmd).
28496 ($(objpfx)tst-array1-static.out): Likewise.
28497 ($(objpfx)tst-array2.out): Likewise.
28498 ($(objpfx)tst-array3.out): Likewise.
28499 ($(objpfx)tst-array4.out): Likewise.
28500 ($(objpfx)tst-array5.out): Likewise.
28501 ($(objpfx)tst-array5-static.out): Likewise.
28502
28503 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
28504
28505 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28506 if defined.
28507
28508 * nss/nsswitch.h (nss_interface_function): Provide new
28509 macro for use with NSS functions.
28510 * grp/initgroups.c: Use new macro.
28511 * nss/getXXbyYY.c: Likewise.
28512 * nss/getXXbyYY_r.c: Likewise.
28513 * nss/getXXent.c: Likewise.
28514 * nss/getXXent_r.c: Likewise.
28515 * sysdeps/posix/getaddrinfo.c: Likewise.
28516
28517 2012-10-30 Andreas Jaeger <aj@suse.de>
28518
28519 * po/ru.po: Update Russion translation from translation project.
28520
28521 2012-10-30 Joseph Myers <joseph@codesourcery.com>
28522
28523 [BZ #14152]
28524 [BZ #14783]
28525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28526 result and shift together with sticky bit instead of replicating
28527 round-to-nearest rounding.
28528 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28529 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28530 * math/libm-test.inc (fma_test): Add more tests. Do not permit
28531 missing underflow exceptions.
28532 (fma_test_towardzero): Add more tests.
28533 (fma_test_downward): Likewise.
28534 (fma_test_upward): Likewise.
28535
28536 [BZ #14047]
28537 * sysdeps/generic/tininess.h: New file.
28538 * sysdeps/i386/tininess.h: Likewise.
28539 * sysdeps/sh/tininess.h: Likewise.
28540 * sysdeps/x86_64/tininess.h: Likewise.
28541 * stdlib/tst-strtod-underflow.c: Likewise.
28542 * stdlib/tst-tininess.c: Likewise.
28543 * stdlib/strtod_l.c: Include <tininess.h>.
28544 (round_and_return): Do not set errno for exact underflow cases.
28545 Force an underflow exception when setting errno for underflow.
28546 Determine underflow based on rounding to normal precision if
28547 TININESS_AFTER_ROUNDING.
28548 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28549 ERANGE for exact underflow cases.
28550 * stdlib/Makefile (tests): Add tst-tininess and
28551 tst-strtod-underflow.
28552 ($(objpfx)tst-tininess): Use $(link-libm).
28553 ($(objpfx)tst-strtod-underflow): Likewise.
28554
28555 2012-10-30 Andreas Jaeger <aj@suse.de>
28556
28557 [BZ#14767]
28558 * elf/Makefile (tests): Remove conditional for have-initfini-array
28559 since this is now always required and the variable does not exist
28560 anymore.
28561 (tests-static): Likewise.
28562 (modules-names): Likewise.
28563
28564 * po/eo.po: Add Esperanto translation from translation project.
28565
28566 * elf/tst-array1.c (fini_array): Make writeable so that it can be
28567 merged with constructor/destructor.
28568 (init_array): Likewise.
28569 * elf/tst-array2dep.c (fini_array): Likewise.
28570 (init_array): Likewise.
28571
28572 2012-10-29 Mike Frysinger <vapier@gentoo.org>
28573
28574 * manual/message.texi: Delete @cartouche tags.
28575
28576 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
28577
28578 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28579 EOPNOTSUPP.
28580 * sysdeps/mach/hurd/fsync.c: Likewise.
28581
28582 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28583 [_POSIX_REALTIME_SIGNALS]: Change condition to
28584 [_POSIX_REALTIME_SIGNALS > 0].
28585
28586 2012-10-27 Andreas Jaeger <aj@suse.de>
28587
28588 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28589 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28590 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28591 [__WORDSIZE != 64]: Likewise.
28592
28593 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
28594
28595 * iconvdata/tst-table.sh: Remove ${SHELL}.
28596 * iconvdata/tst-tables.sh: Likewise.
28597
28598 2012-10-25 David S. Miller <davem@davemloft.net>
28599
28600 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28601 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28602 of strtoull.
28603
28604 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28605 ifunc-impl-list.c
28606 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28607 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28608 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28609 file.
28610
28611 2012-10-25 Roland McGrath <roland@hack.frob.com>
28612
28613 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28614 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28615 __getdirentries.
28616
28617 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28618 Jim Blandy <jimb@codesourcery.com>
28619
28620 * scripts/cross-test-ssh.sh: New file.
28621 * manual/install.texi (Configuring and compiling): Document use of
28622 cross-test-ssh.sh.
28623 * INSTALL: Regenerated.
28624
28625 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
28626
28627 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28628 EOPNOTSUPP.
28629
28630 2012-10-25 Joseph Myers <joseph@codesourcery.com>
28631
28632 * Makeconfig (run-program-prefix): Fix comment.
28633
28634 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28635 Jim Blandy <jimb@codesourcery.com>
28636
28637 * Makeconfig (test-wrapper): New variable,
28638 (test-wrapper-env): Likewise.
28639 [$(cross-compiling) = yes && $(test-wrapper) != ""]
28640 (run-built-tests): Define to yes.
28641 (run-program-prefix): Use $(test-wrapper).
28642 (built-program-cmd): Likewise.
28643 * Rules (make-test-out): Use $(test-wrapper-env) and
28644 $(host-built-program-cmd).
28645 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
28646 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
28647 tst-pathopt.sh.
28648 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
28649 $(test-wrapper-env) to tst-rtld-load-self.sh.
28650 ($(objpfx)order2.out): Use $(test-wrapper).
28651 ($(objpfx)tst-initorder.out): Likewise.
28652 ($(objpfx)tst-initorder2.out): Likewise.
28653 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
28654 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
28655 (test_wrapper_env): New variable. Use it to run ld.so.
28656 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
28657 Use it to run ld.so.
28658 (test_wrapper_env): Likewise.
28659 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
28660 $(test-wrapper) to run-iconv-test.sh.
28661 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
28662 (ICONV): Use $test_wrapper.
28663 * posix/Makefile ($(objpfx)globtest.out): Pass
28664 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
28665 globtest.sh, not $(run-program-prefix).
28666 * posix/globtest.sh (run_via_rtld_prefix): New variable.
28667 (test_wrapper): Likewise.
28668 (test_wrapper_env): Likewise. Use it to run globtest with HOME
28669 set together with run_via_rtld_prefix.
28670 (run_program_prefix): Define in terms of test_wrapper and
28671 run_via_rtld_prefix.
28672
28673 2012-10-24 Roland McGrath <roland@hack.frob.com>
28674
28675 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
28676 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
28677 Targets removed.
28678
28679 [BZ #14743]
28680 * include/time.h: Remove librt_hidden_proto (clock_gettime).
28681 Declare __clock_getres, __clock_gettime, __clock_settime,
28682 __clock_nanosleep, and __clock_getcpuclockid.
28683 * rt/clock_gettime.c: Define __clock_gettime as an alias.
28684 Remove librt_hidden_def (clock_gettime).
28685 * sysdeps/unix/clock_gettime.c: Likewise.
28686 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
28687 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28688 * rt/clock_getres.c: Define __clock_getres as an alias.
28689 * sysdeps/posix/clock_getres.c: Likewise.
28690 * rt/clock_settime.c: Define __clock_settime as an alias.
28691 * sysdeps/unix/clock_settime.c: Likewise.
28692 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
28693 * sysdeps/unix/clock_nanosleep.c: Likewise.
28694 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28695 * rt/clock-compat.c: New file.
28696 * rt/Makefile (librt-routines): Add clock-compat and move
28697 $(clock-routines) to ...
28698 (routines): ... here, new variable.
28699 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
28700 Don't add get_clockfreq here.
28701 * rt/Versions (libc: GLIBC_2.17): New version set.
28702 Add clock_* symbols here.
28703 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
28704 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
28705 (GLIBC_2.17): Add clock_* symbols.
28706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28708 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28710 Likewise.
28711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28712 Likewise.
28713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28717 * NEWS: Mention the move.
28718
28719 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28720 Use __open, __read, __close rather than their public counterparts.
28721 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28722 (__get_clockfreq_via_cpuinfo): Likewise.
28723 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
28724 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
28725
28726 * config.h.in (HAVE_IFUNC): New #undef.
28727 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
28728 was successful.
28729 * configure: Regenerated.
28730
28731 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28732
28733 * configure.in: Move READELF check to start of file.
28734 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
28735 libc_cv_asm_gnu_indirect_function in the process.
28736 * configure: Regenerated.
28737
28738 2012-10-24 Mike Frysinger <vapier@gentoo.org>
28739
28740 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
28741 send the output to /dev/null.
28742 (libc_cv_cc_with_libunwind): Likewise.
28743 (libc_cv_as_noexecstack): Likewise.
28744 * configure: Regenerate.
28745
28746 2012-10-24 Joseph Myers <joseph@codesourcery.com>
28747
28748 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
28749
28750 * posix/globtest.sh (TMPDIR): Do not set.
28751 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
28752 (testout): Likewise.
28753
28754 2012-10-24 Andreas Jaeger <aj@suse.de>
28755
28756 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
28757 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
28758 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
28759 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
28760 posix_fadvise64, posix_fallocate64.
28761
28762 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
28763 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
28764 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
28765 Likewise.
28766 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
28767 Likewise.
28768 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
28769
28770 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
28771 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
28772 <bits/fcntl-linux.h>.
28773 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
28774
28775 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
28776 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
28777 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
28778 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
28779 [__WORDSIZE != 64]: Likewise.
28780
28781 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28782
28783 * Makeconfig (run-built-tests): New variable.
28784 * Rules [$(cross-compiling) = yes]: Change condition to
28785 [$(run-built-tests) = no].
28786 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
28787 to [$(run-built-tests) = yes].
28788 * elf/Makefile [$(cross-compiling) = no]: Likewise
28789 * grp/Makefile [$(cross-compiling) = no]: Likewise.
28790 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
28791 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
28792 * intl/Makefile [$(cross-compiling) = no]: Likewise.
28793 * io/Makefile [$(cross-compiling) = no]: Likewise.
28794 * libio/Makefile [$(cross-compiling) = no]: Likewise.
28795 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
28796 * misc/Makefile [$(cross-compiling) = no]: Likewise.
28797 * posix/Makefile [$(cross-compiling) = no]: Likewise.
28798 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
28799 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
28800 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
28801 * string/Makefile [$(cross-compiling) = no]: Likewise.
28802
28803 * posix/Makefile ($(objpfx)globtest.out): Pass
28804 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
28805 $(rtld-installed-name).
28806 * posix/globtest.sh (elf_objpfx): Remove variable.
28807 (rtld_installed_name): Likewise.
28808 (library_path): Likewise.
28809 (run_program_prefix): New variable. Use for running globtest
28810 binary.
28811
28812 2012-10-23 Jim Blandy <jimb@codesourcery.com>
28813 Joseph Myers <joseph@codesourcery.com>
28814
28815 * Makeconfig (host-built-program-cmd): New variable.
28816 * elf/Makefile (tst-stackguard1-ARGS): Use
28817 $(host-built-program-cmd).
28818 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
28819 (tst-spawn-ARGS): Likewise.
28820 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
28821
28822 2012-10-23 Joseph Myers <joseph@codesourcery.com>
28823 Jim Blandy <jimb@codesourcery.com>
28824
28825 * Makeconfig (run-via-rtld-prefix): New variable.
28826 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
28827 (built-program-cmd): Likewise.
28828
28829 2012-10-22 Andreas Jaeger <aj@suse.de>
28830
28831 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
28832 __O_RSYNC if it exists, otherwise to O_SYNC.
28833
28834 2012-10-22 Jim Blandy <jimb@codesourcery.com>
28835 Joseph Myers <joseph@codesourcery.com>
28836
28837 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
28838 /dev/null.
28839 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
28840 from /dev/null
28841 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
28842 /dev/null.
28843
28844 2012-10-22 Andreas Jaeger <aj@suse.de>
28845
28846 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
28847 Define always.
28848 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
28849
28850 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28851 bits/fcntl-linux.h.
28852
28853 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
28854 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
28855
28856 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
28857 to __O_LARGEFILE.
28858 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
28859 to __O_LARGEFILE.
28860
28861 2012-10-21 Jim Blandy <jimb@codesourcery.com>
28862 Joseph Myers <joseph@codesourcery.com>
28863
28864 * config.make.in (NM): New variable.
28865
28866 2012-10-21 Andreas Jaeger <aj@suse.de>
28867
28868 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
28869 definitions and declarations that are provided by
28870 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
28871
28872 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28873
28874 [BZ #14683]
28875 * elf/Makefile (tests-static): Add tst-leaks1-static.
28876 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
28877 ($(objpfx)tst-leaks1-static): New rule.
28878 ($(objpfx)tst-leaks1-static-mem): Likewise.
28879 (tst-leaks1-static-ENV): New macro.
28880 * elf/dl-open.c (dl_open_worker): Check the main application
28881 only if SHARED is defined.
28882 * elf/tst-leaks1-static.c: New file.
28883
28884 2012-10-20 Andreas Jaeger <aj@suse.de>
28885
28886 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28887 generic values for Linux.
28888 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28889 and declarations that are provided by <bits/fcntl-linux.h> and
28890 include <bits/fcntl-linux.h>.
28891 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28892 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28893
28894 2012-10-20 Roland McGrath <roland@hack.frob.com>
28895
28896 * io/fcntl.h: Move include of <bits/types.h> to the top and
28897 include it unconditionally.
28898
28899 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28900
28901 * wcsmbs/Makefile (tests-ifunc): New variable.
28902 (tests): Add $(tests-ifunc).
28903 * wcsmbs/test-wcschr-ifunc.c: New file.
28904 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28905 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28906 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28907 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28908 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28909
28910 * string/Makefile (tests-ifunc): New variable.
28911 (tests): Add $(tests-ifunc).
28912 * string/test-memccpy.c (TEST_NAME): New macro.
28913 * string/test-memchr.c (TEST_NAME): Likewise.
28914 * string/test-memcmp.c (TEST_NAME): Likewise.
28915 * string/test-memcpy.c (TEST_NAME): Likewise.
28916 * string/test-memmem.c (TEST_NAME): Likewise.
28917 * string/test-memmove.c (TEST_NAME): Likewise.
28918 * string/test-memset.c (TEST_NAME): Likewise.
28919 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28920 * string/test-stpcpy.c (TEST_NAME): Likewise.
28921 * string/test-stpncpy.c (TEST_NAME): Likewise.
28922 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28923 * string/test-strcasestr.c (TEST_NAME): Likewise.
28924 * string/test-strcat.c (TEST_NAME): Likewise.
28925 * string/test-strchr.c (TEST_NAME): Likewise.
28926 * string/test-strcmp.c(TEST_NAME): Likewise.
28927 * string/test-strcpy.c (TEST_NAME): Likewise.
28928 * string/test-strcspn.c (TEST_NAME): Likewise.
28929 * string/test-strlen.c (TEST_NAME): Likewise.
28930 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28931 * string/test-strncmp.c (TEST_NAME): Likewise.
28932 * string/test-strncpy.c (TEST_NAME): Likewise.
28933 * string/test-strnlen.c (TEST_NAME): Likewise.
28934 * string/test-strpbrk.c (TEST_NAME): Likewise.
28935 * string/test-strrchr.c (TEST_NAME): Likewise.
28936 * string/test-strspn.c (TEST_NAME): Likewise.
28937 * string/test-strstr.c (TEST_NAME): Likewise.
28938 * string/test-bcopy-ifunc.c: New file.
28939 * string/test-bzero-ifunc.c: Likewise.
28940 * string/test-memccpy-ifunc.c: Likewise.
28941 * string/test-memchr-ifunc.c: Likewise.
28942 * string/test-memcmp-ifunc.c: Likewise.
28943 * string/test-memcpy-ifunc.c: Likewise.
28944 * string/test-memmem-ifunc.c: Likewise.
28945 * string/test-memmove-ifunc.c: Likewise.
28946 * string/test-mempcpy-ifunc.c: Likewise.
28947 * string/test-memset-ifunc.c: Likewise.
28948 * string/test-rawmemchr-ifunc.c: Likewise.
28949 * string/test-stpcpy-ifunc.c: Likewise.
28950 * string/test-stpncpy-ifunc.c: Likewise.
28951 * string/test-strcasecmp-ifunc.c: Likewise.
28952 * string/test-strcasestr-ifunc.c: Likewise.
28953 * string/test-strcat-ifunc.c: Likewise.
28954 * string/test-strchr-ifunc.c: Likewise.
28955 * string/test-strchrnul-ifunc.c: Likewise.
28956 * string/test-strcmp-ifunc.c: Likewise.
28957 * string/test-strcpy-ifunc.c: Likewise.
28958 * string/test-strcspn-ifunc.c: Likewise.
28959 * string/test-strlen-ifunc.c: Likewise.
28960 * string/test-strncasecmp-ifunc.c: Likewise.
28961 * string/test-strncat-ifunc.c: Likewise.
28962 * string/test-strncmp-ifunc.c: Likewise.
28963 * string/test-strncpy-ifunc.c: Likewise.
28964 * string/test-strnlen-ifunc.c: Likewise.
28965 * string/test-strpbrk-ifunc.c: Likewise.
28966 * string/test-strrchr-ifunc.c: Likewise.
28967 * string/test-strspn-ifunc.c: Likewise.
28968 * string/test-strstr-ifunc.c: Likewise.
28969
28970 * debug/Makefile (tests-ifunc): New variable.
28971 (tests): Add $(tests-ifunc).
28972 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28973 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28974 * debug/test-stpcpy_chk-ifunc.c: New file.
28975 * debug/test-strcpy_chk-ifunc.c: Likewise.
28976
28977 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28978
28979 [BZ #13601]
28980 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28981 header is not read in.
28982
28983 2012-10-19 Joseph Myers <joseph@codesourcery.com>
28984
28985 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28986 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28987 directly. Pass built executable to script as
28988 $(built-program-cmd).
28989 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28990 $testprogram without using LD_LIBRARY_PATH and $ldso.
28991
28992 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28993 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28994 $(rtld-installed-name).
28995 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28996 (rtld_installed_name): Likewise.
28997 (library_path): Likewise.
28998 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28999 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29000 $(run-program-prefix) to tst-tables.sh.
29001 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29002 it to run tst-table-from and tst-table-to.
29003 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29004 Pass it to tst-table.sh.
29005 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29006 $(run-program-prefix) to tst-gettext.sh.
29007 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29008 tst-translit.sh.
29009 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29010 tst-gettext2.sh.
29011 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29012 to run tst-gettext.
29013 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29014 to run tst-gettext2.
29015 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29016 to run tst-translit.
29017 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29018 $(run-program-prefix) to tst-mtrace.sh.
29019 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29020 to run tst-mtrace.
29021 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29022 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29023 $(rtld-installed-name).
29024 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29025 (rtld_installed_name): Likewise.
29026 (run_program_prefix): New variable. Use it to run wordexp-test.
29027
29028 * Makeconfig (ARCH): Remove all definitions.
29029 (machine): Likewise.
29030 [ARCH]: Remove conditional code.
29031 [!objdir]: Give error.
29032 [!objdir] (objpfx): Remove.
29033 [!objdir] (common-objpfx): Likewise.
29034 [!objdir] (common-objdir): Likewise.
29035 * configure.in (config_makefile): Remove. Hardcode Makefile in
29036 AC_CONFIG_FILES call.
29037 * configure: Regenerated.
29038
29039 [BZ #13888]
29040 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29041 or TMPDIR.
29042 (testout): Likewise.
29043
29044 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29045 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29046 $(rtld-installed-name).
29047 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29048 (rtld_installed_name): Likwise.
29049 (runit): Remove function.
29050 (run_getconf): New variable, Use it for running getconf binary.
29051
29052 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29053
29054 [BZ #14716]
29055 * string/test-memmem.c (check_result): New function.
29056 (do_one_test): Use it.
29057 (check1): New function.
29058 (test_main): Use it.
29059
29060 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29061
29062 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29063
29064 2012-10-18 Joseph Myers <joseph@codesourcery.com>
29065
29066 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29067 (_G_LSEEK64): Likewise.
29068 (_G_MMAP64): Likewise.
29069 (_G_FSTAT64): Likewise.
29070 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29071 (_G_LSEEK64): Likewise.
29072 (_G_MMAP64): Likewise.
29073 (_G_FSTAT64): Likewise.
29074 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29075 unconditional. Call __mmap64 directly.
29076 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29077 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29078 __lseek64 directly.
29079 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29080 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29081 __mmap64 directly.
29082 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29083 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29084 __lseek64 directly.
29085 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29086 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29087 __lseek64 directly.
29088 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29089 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29090 __lseek64 directly.
29091 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29092 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29093 __fxstat64 directly.
29094 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29095 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29096 unconditional.
29097 (freopen64) [!_G_OPEN64]: Remove conditional code.
29098 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29099 unconditional.
29100 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29101 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29102 unconditional.
29103 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29104 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29105 unconditional.
29106 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29107 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29108 unconditional.
29109 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29110 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29111 unconditional.
29112 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29113 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29114 unconditional.
29115 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29116 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29117 unconditional.
29118 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29119
29120 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29121
29122 [BZ #12140]
29123 * manual/memory.texi (Malloc Tunable Parameters): Add note
29124 about free list pointers overwriting some perturb bytes.
29125 Wording suggested by Roland McGrath.
29126
29127 2012-10-17 Joseph Myers <joseph@codesourcery.com>
29128
29129 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29130 (lgamma_test): Likewise.
29131 (tgamma_test): Likewise.
29132
29133 2012-10-16 Florian Weimer <fweimer@redhat.com>
29134
29135 [BZ #14700]
29136 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29137 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29138
29139 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29140
29141 * NEWS: Mention BZ #14716.
29142 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29143 when removing AVAILABLE1_USES_J macro.
29144
29145 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29146
29147 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29148 (__bswap_64): __uint64_t for unsigned 64-bit int.
29149
29150 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29151
29152 * include/string.h (memmem): Declare libc hidden alias.
29153 * string/memmem.c (memmem): Define libc hidden alias.
29154 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29155 __read, __close instead of open, read, close.
29156
29157 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29158
29159 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29160 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29161 global and hidden.
29162 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29163 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29164 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29165 Likewise.
29166 (__rawmemchr_sse2): Likewise.
29167 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29168 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29169 (__strchr_sse2): Likewise.
29170 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29171 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29172 (__strcasecmp_sse2): Likewise.
29173 (__strncasecmp_sse2): Likewise.
29174 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29175 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29176 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29177 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29178 (__strrchr_sse2): Likewise.
29179 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29180 ifunc-impl-list.c.
29181 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29182 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29183 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29184 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29185 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29186 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29187 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29188 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29189 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29190 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29191 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29192 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29193 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29194 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29195 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29196 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29197 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29198 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29199 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29200 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29201 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29202 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29203 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29204 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29205 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29206 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29207 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29208 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29209 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29210 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29211
29212 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29213 global and hidden.
29214 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29215 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29216 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29217 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29218 Likewise.
29219 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29220 Likewise.
29221 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29222 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29223 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29224 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29225 ifunc-impl-list.c.
29226 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29227 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29228 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29229 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29230 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29231 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29232 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29233 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29234 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29235 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29236 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29237 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29238 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29239 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29240 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29241 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29242 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29243 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29244 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29245 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29246 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29247 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29248 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29249 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29250 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29251 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29252 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29253 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29254 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29255 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29256 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29257 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29258 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29259 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29260 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29261 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29262 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29263 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29264 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29265 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29266 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29267
29268 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29269 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29270 * include/ifunc-impl-list.h: New file.
29271 * misc/ifunc-impl-list.c: Likewise.
29272 * misc/Makefile (routines): Add ifunc-impl-list.
29273 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29274 * string/test-string.h: Include <ifunc-impl-list.h>.
29275 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29276 TEST_NAME]: New variables.
29277 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29278 are defined.
29279 (test_init): Call __libc_ifunc_impl_list to initialize
29280 func_list if TEST_IFUNC and TEST_NAME are defined.
29281
29282 * string/Makefile (strop-tests): Add bcopy and bzero.
29283 * string/test-bcopy.c: New file.
29284 * string/test-bzero.c: Likewise.
29285 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29286 defined.
29287 * string/test-memset.c: Support bzero test if TEST_BZERO is
29288 defined.
29289 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29290 __libc_memmove.
29291 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29292 __libc_memset.
29293 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29294 of memset.
29295
29296 2012-10-10 Joseph Myers <joseph@codesourcery.com>
29297
29298 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29299 * configure: Regenerated.
29300
29301 * Makeconfig (+link-static-before-libc): Don't include
29302 $(link-static-libc).
29303
29304 * libio/libio.h (_IO_pos_t): Remove.
29305
29306 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29307
29308 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29309 McGrath.
29310
29311 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29312
29313 * crypt/crypt-entry.c: Include fips-private.h.
29314 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29315 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29316 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29317 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29318
29319 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
29320
29321 * crypt/crypt-private.h: Include stdbool.h.
29322 (_ufc_setup_salt_r): Return bool.
29323 * crypt/crypt-entry.c: Include errno.h.
29324 (__crypt_r): Return NULL with EINVAL for bad salt.
29325 * crypt/crypt_util.c (bad_for_salt): New.
29326 (_ufc_setup_salt_r): Check that salt is long enough and within
29327 the specified alphabet.
29328 * crypt/badsalttest.c: New file.
29329 * crypt/Makefile (tests): Add it.
29330 ($(objpfx)badsalttest): New.
29331
29332 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29333
29334 * NEWS: Add entry for BZ #14602.
29335
29336 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29337
29338 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29339 type-generic.
29340 * math/libm-test.inc: Update comment listing what functions and
29341 macros are tested.
29342 (isgreater_test): New function.
29343 (isgreaterequal_test): Likewise.
29344 (isless_test): Likewise.
29345 (islessequal_test): Likewise.
29346 (islessgreater_test): Likewise.
29347 (isunordered_test): Likewise.
29348 (main): Call the new functions.
29349
29350 2012-10-09 Roland McGrath <roland@hack.frob.com>
29351
29352 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29353 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29354 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29355 * sysdeps/i386/configure: Regenerated.
29356 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29357 * sysdeps/mach/configure: Regenerated.
29358 * sysdeps/mach/hurd/configure: Regenerated.
29359 * sysdeps/powerpc/configure: Regenerated.
29360 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29361 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29362 * sysdeps/s390/s390-32/configure: Regenerated.
29363 * sysdeps/s390/s390-64/configure: Regenerated.
29364 * sysdeps/sh/configure: Regenerated.
29365 * sysdeps/sparc/configure: Regenerated.
29366 * sysdeps/unix/sysv/linux/configure: Regenerated.
29367 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29368 * sysdeps/x86_64/configure: Regenerated.
29369
29370 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29371 defined. Don't check if MAP is NULL.
29372
29373 2012-10-09 Joseph Myers <joseph@codesourcery.com>
29374
29375 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29376 (_G_stat64): Likewise.
29377 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29378 (_G_stat64): Likewise.
29379 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29380 instead of struct _G_stat64.
29381 * libio/fileops.c (mmap_remap_check): Likewise.
29382 (decide_maybe_mmap): Likewise.
29383 (_IO_new_file_seekoff): Likewise.
29384 (_IO_file_stat): Likewise.
29385 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29386 _G_off64_t.
29387 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29388 instead of struct _G_stat64.
29389 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29390
29391 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29392
29393 [BZ #14602]
29394 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29395 Replace with ...
29396 (CHECK_EOL): New macro.
29397 (two_way_short_needle): Check beginning of haystack for EOL. Use
29398 CHECK_EOL.
29399 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29400 Replace with CHECK_EOL.
29401 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29402 Replace with CHECK_EOL.
29403
29404 2012-10-08 Joseph Myers <joseph@codesourcery.com>
29405
29406 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29407 type-generic.
29408 * math/libm-test.inc: Update comment listing what functions and
29409 macros are tested.
29410 (finite_test): New function.
29411 (isinf_test): Likewise.
29412 (isnan_test): Likewise.
29413 (fpclassify_test): Test subnormal input.
29414 (isfinite_test): Likewise.
29415 (isnormal_test): Likewise.
29416 (main): Call the new functions.
29417
29418 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29419
29420 [BZ #14660]
29421 * Makerules (%.dynsym): Force C locale when running
29422 $(OBJDUMP) --dynamic-syms.
29423
29424 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29425
29426 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29427 <stdint.h>.
29428
29429 2012-10-06 David S. Miller <davem@davemloft.net>
29430
29431 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29432 upper 32-bits of the length value in %o2 since we use branch-on-register
29433 tests which consider the entire 64-bit register.
29434
29435 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29436
29437 * string/test-strstr.c (check2): Add a test for page boundary.
29438
29439 2012-10-05 David S. Miller <davem@davemloft.net>
29440
29441 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29442 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29443 file.
29444 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29445 sysdep_routines.
29446 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29447 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29448 and bzero when HWCAP_SPARC_CRYPTO is present.
29449
29450 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29451
29452 [BZ #14602]
29453 * string/test-strstr.c (check2): New function.
29454 (test_main): Call check2.
29455
29456 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29457 and bug-strchr1.
29458 * string/bug-strcasestr1.c (do_test): Moved to ...
29459 * string/test-strcasestr.c (check1): Here. New function.
29460 (do_one_test): Break out result checking code into ...
29461 (check_result): This. New function.
29462 (do_one_test): Call check_result.
29463 (test_main): Call check1.
29464 * string/bug-strchr1.c (do_test): Moved to ...
29465 * string/test-strchr.c (check1): Here. New function.
29466 (do_one_test): Break out result checking code into ...
29467 (check_result): This. New function.
29468 (do_one_test): Call check_result.
29469 (test_main): Call check1.
29470 * string/bug-strstr1.c (main): Moved to ...
29471 * string/test-strstr.c (check1): Here. New function.
29472 (do_one_test): Break out result checking code into ...
29473 (check_result): This. New function.
29474 (do_one_test): Call check_result.
29475 (test_main): Call check1.
29476 * string/bug-strcasestr1.c: Removed.
29477 * string/bug-strchr1.c: Likewise.
29478 * string/bug-strstr1.c: Likewise.
29479
29480 * elf/Makefile (dl-routines): Add hwcaps.
29481 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29482 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29483 (_dl_important_hwcaps): Moved to ...
29484 * elf/dl-hwcaps.c: Here. New file.
29485 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29486
29487 [BZ #14557]
29488 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29489 if IS_IN_rtld isn't defined.
29490
29491 * elf/dl-support.c (_dl_sysinfo_map): New.
29492 Include "get-dynamic-info.h" and "setup-vdso.h".
29493 (_dl_non_dynamic_init): Call setup_vdso.
29494 * elf/dynamic-link.h: Don't include <assert.h>.
29495 (elf_get_dynamic_info): Moved to ...
29496 * elf/get-dynamic-info.h: Here. New file.
29497 * elf/dynamic-link.h: Include "get-dynamic-info.h".
29498 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29499 * elf/setup-vdso.h: Here. New file.
29500 * elf/rtld.c: Include "setup-vdso.h".
29501 (dl_main): Call setup_vdso.
29502
29503 2012-10-05 Joseph Myers <joseph@codesourcery.com>
29504
29505 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29506 creal in comment listing functions tested. List finite, isinf,
29507 isnan, isless, islessequal, isgreater, isgreaterequal,
29508 islessgreater, isunordered, lgamma_r and pow10 as functions and
29509 macros not tested. Mention which functions not tested are aliases
29510 for other functions. Fix typo. Note that signs of NaNs are not
29511 tested.
29512
29513 * scripts/config.guess: Update from config.git.
29514 * scripts/config.sub: Likewise.
29515
29516 2012-10-04 Roland McGrath <roland@hack.frob.com>
29517
29518 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29519 * misc/madvise.c (madvise): Renamed to __madvise.
29520 Make madvise a weak alias.
29521 * include/sys/mman.h: Declare __madvise.
29522 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29523 * sysdeps/unix/syscalls.list
29524 (madvise): Make __madvise the strong name, and madvise a weak alias.
29525 * sysdeps/unix/sysv/linux/syscalls.list
29526 (madvise, mmap): Remove redundant entries.
29527 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29528 * malloc/malloc.c (mtrim): Likewise.
29529 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29530
29531 2012-10-03 Roland McGrath <roland@hack.frob.com>
29532
29533 * sysdeps/mach/hurd/dl-cache.c: File removed.
29534 * config.h.in (USE_LDCONFIG): New #undef.
29535 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29536 * configure: Regenerated.
29537 * elf/Makefile (dl-routines): Add dl-cache only under
29538 [$(use-ldconfig) = yes].
29539 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29540 cache on [USE_LDCONFIG].
29541 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29542 [USE_LDCONFIG].
29543 * elf/rtld.c (dl_main): Likewise.
29544
29545 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
29546
29547 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29548 _SC_LEVEL4_CACHE_LINESIZE.
29549
29550 2012-10-03 Roland McGrath <roland@hack.frob.com>
29551
29552 * sysdeps/unix/bsd/confstr.h: File removed.
29553
29554 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
29555
29556 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29557 sys/sdt-config.h.
29558
29559 2012-10-02 Roland McGrath <roland@hack.frob.com>
29560
29561 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29562 Make 'mapoff' field ElfW(Off) rather than off_t.
29563
29564 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
29565
29566 * nscd/Makefile: Remove nscd-cflags and all its users.
29567 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29568 (CFLAGS-nonlib): Add compiler flags for nscd modules.
29569
29570 [BZ #10631]
29571 * malloc.c (malloc_printerr): Clarify error message.
29572
29573 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
29574
29575 [BZ #14648]
29576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29577 Set bit_FMA_Usable if FMA is supported.
29578 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29579 macro.
29580 (bit_FMA4_Usable): Updated.
29581 (index_FMA_Usable): New macro.
29582 (CPUID_FMA): Likewise
29583 (HAS_FMA): Defined with bit_FMA_Usable.
29584
29585 2012-10-01 Roland McGrath <roland@hack.frob.com>
29586
29587 * bits/types.h (__swblk_t): Type removed.
29588 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29589 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29590 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29591 (__SWBLK_T_TYPE): Likewise.
29592 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29593 (__SWBLK_T_TYPE): Likewise.
29594 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29595 (__SWBLK_T_TYPE): Likewise.
29596 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29597 (__SWBLK_T_TYPE): Likewise.
29598
29599 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
29600 Honza Horak <hhorak@redhat.com>
29601
29602 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29603 (xdr_mapname): Use YPMAXMAP as maxsize.
29604 (xdr_peername): Use YPMAXPEER as maxsize.
29605 (xdr_keydat): Use YPAXRECORD as maxsize.
29606 (xdr_valdat): Use YPMAXRECORD as maxsize.
29607
29608 2012-10-01 Roland McGrath <roland@hack.frob.com>
29609
29610 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29611
29612 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29613 * csu/init-first.c: ... here.
29614 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29615 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29616 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29617 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29618 * sysdeps/i386/init-first.c: File removed.
29619 * sysdeps/sh/init-first.c: File removed.
29620
29621 2012-10-01 Joseph Myers <joseph@codesourcery.com>
29622
29623 [BZ #14645]
29624 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29625 if x * y might underflow to zero and z is zero.
29626 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29627 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29628 * math/libm-test.inc (min_subnorm_value): New variable.
29629 (fma_test): Add more tests.
29630 (fma_test_towardzero): Likewise.
29631 (fma_test_downward): Likewise
29632 (fma_test_upward): Likewise.
29633 (initialize): Set min_subnorm_value.
29634
29635 2012-09-29 Joseph Myers <joseph@codesourcery.com>
29636
29637 [BZ #14638]
29638 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29639 0 + 0.
29640 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29641 mode for addition resulting in exact zero.
29642 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29643 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29644 exact 0 + 0.
29645 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29646 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29647 * math/libm-test.inc (fma_test): Add more tests.
29648 (fma_test_towardzero): New function.
29649 (fma_test_downward): Likewise.
29650 (fma_test_upward): Likewise.
29651 (main): Call the new functions.
29652
29653 2012-09-28 David S. Miller <davem@davemloft.net>
29654
29655 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
29656
29657 2012-09-28 Roland McGrath <roland@hack.frob.com>
29658
29659 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
29660 instead of SIGALRM.
29661
29662 * sysdeps/gnu/_G_config.h: Moved to ...
29663 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
29664 * sysdeps/mach/hurd/_G_config.h: Moved to ...
29665 * sysdeps/generic/_G_config.h: ... here.
29666
29667 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
29668
29669 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
29670
29671 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
29672 Conditionalize target on [libnss_test1.so-version].
29673
29674 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
29675
29676 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
29677 (elfobjdir): Move out of conditionals.
29678
29679 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
29680 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
29681 (__nss_lookup_function): Conditionalize label remove_from_tree on
29682 [!DO_STATIC_NSS || SHARED], matching its only use.
29683
29684 2012-09-28 David S. Miller <davem@davemloft.net>
29685
29686 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
29687 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
29688 file.
29689 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29690 sysdep_routines.
29691 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29692 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
29693 when HWCAP_SPARC_CRYPTO is present.
29694
29695 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29696
29697 * io/tst-mknodat.c: Create a FIFO instead of a socket.
29698
29699 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
29700
29701 [BZ #6530]
29702 * stdio-common/vfprintf.c (process_string_arg): Revert
29703 2000-07-22 change.
29704
29705 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
29706
29707 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
29708 for testcase.
29709 * stdio-common/tst-sprintf.c: Include <locale.h>
29710 (main): Test sprintf's handling of incomplete multibyte
29711 characters.
29712
29713 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
29714
29715 * elf/dl-runtime.c (VERSYMIDX): Removed.
29716 * elf/dl-version.c (VERSYMIDX): Likewise.
29717 * elf/do-rel.h (VERSYMIDX): Likewise.
29718 (VALIDX): Likewise.
29719 * elf/dynamic-link.h (VERSYMIDX): Likewise.
29720 * elf/rtld.c (VALIDX): Likewise.
29721 (ADDRIDX): Likewise.
29722 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
29723 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
29724 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
29725 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
29726 (VALIDX): Likewise.
29727 (ADDRIDX): Likewise.
29728
29729 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29730
29731 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
29732
29733 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
29734
29735 [BZ #11438]
29736 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
29737 to global scope.
29738 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
29739 addresses are in the same scope as 192.0.2/24.
29740 * posix/gai.conf: Document new scope table defaults.
29741
29742 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29743
29744 [BZ #5298]
29745 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
29746 for ftell. Compute offsets from write pointers instead.
29747 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29748
29749 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29750
29751 [BZ #14543]
29752 * libio/Makefile (tests): New test case tst-fseek.
29753 * libio/tst-fseek.c: New test case to verify that fseek/ftell
29754 combination works in wide mode.
29755 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
29756 state when the external buffer state changes.
29757
29758 2012-09-27 David S. Miller <davem@davemloft.net>
29759
29760 [BZ #14376]
29761 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
29762 pass reloc->r_addend in as the 'high' argument to
29763 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
29764
29765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29766
29767 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
29768
29769 * rt/tst-aio2.c: Include <pthread.h>.
29770 * rt/tst-aio3.c: Likewise.
29771
29772 2012-09-27 Steve Ellcey <sellcey@mips.com>
29773
29774 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
29775
29776 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
29777
29778 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
29779 contents on [SHARED].
29780
29781 2012-09-26 Marek Polacek <polacek@redhat.com>
29782
29783 [BZ #14530]
29784 [BZ #13741]
29785 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
29786 for C++ and GCC <4.3 as well as for non GCC compilers.
29787
29788 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29789
29790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29791
29792 2012-09-25 Roland McGrath <roland@hack.frob.com>
29793
29794 * Makefile.in (all, install): Declare with .PHONY.
29795 Reported by Michael Hope <michael.hope@linaro.org>.
29796
29797 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29798
29799 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
29800 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
29801 system header.
29802 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
29803 Likewise.
29804 (sydep_routines): Add the new and the internal functions.
29805 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
29806 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
29807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
29808 (GLIBC_2.17): Add the new function.
29809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29810 (GLIBC_2.17): Likewise.
29811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
29812 (GLIBC_2.17): Likewise.
29813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
29814 (GLIBC_2.17): Likewise.
29815 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
29816
29817 2012-09-25 Alan Modra <amodra@gmail.com>
29818
29819 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
29820 Add release barrier before setting once_control to say
29821 initialisation is done. Add hints on lwarx. Use macro in
29822 place of isync.
29823 (clear_once_control): Add release barrier.
29824
29825 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29826
29827 [BZ #13629]
29828 * math/s_clog.c (__clog): Handle more values close to |z| = 1
29829 specially.
29830 * math/s_clog10.c (__clog10): Likewise.
29831 * math/s_clog10f.c (__clog10f): Likewise.
29832 * math/s_clog10l.c (__clog10l): Likewise.
29833 * math/s_clogf.c (__clogf): Likewise.
29834 * math/s_clogl.c (__clogl): Likewise.
29835 * math/Makefile (libm-calls): Add x2y2m1.
29836 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
29837 (__x2y2m1): Likewise.
29838 (__x2y2m1l): Likewise.
29839 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
29840 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
29841 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
29842 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29843 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
29844 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
29845 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
29846 * sysdeps/i386/fpu/libm-test-ulps: Update.
29847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29848
29849 [BZ #14621]
29850 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
29851 int as type of variable DEPTH.
29852 (glob): Use size_t instead of int as type of variables NEWCOUNT
29853 and OLD_PATHC.
29854
29855 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29856
29857 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29858 Add s_sincosf-sse2.
29859 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
29860 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
29861 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
29862 macros for using routine as __sincosf_ia32.
29863 Use macro for function declaration and weak_alias.
29864 * sysdeps/i386/fpu/libm-test-ulps: Update.
29865
29866 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
29867 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29868
29869 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
29870 subnormal argument.
29871 * math/s_cexpf.c (__cexpf): Likewise.
29872 * math/s_csinf.c (__csinf): Likewise.
29873 * math/s_csinhf.c (__csinhf): Likewise.
29874 * math/s_ctanf.c (__ctanf): Likewise.
29875 * math/s_ctanhf.c (__ctanhf): Likewise.
29876 * math/s_ccosh.c (__ccoshf): Likewise.
29877 * math/s_cexp.c (__cexpl): Likewise.
29878 * math/s_csin.c (__csin): Likewise.
29879 * math/s_csinh.c (__csinh): Likewise.
29880 * math/s_ctan.c (__ctan): Likewise.
29881 * math/s_ctanh.c (ctanh): Likewise.
29882 * math/s_ccoshl.c (__ccoshl): Likewise.
29883 * math/s_cexpl.c (__cexpl): Likewise.
29884 * math/s_csinl.c (__csinl): Likewise.
29885 * math/s_csinhl.c (__csinhl): Likewise.
29886 * math/s_ctanl.c (__ctanl): Likewise.
29887 * math/s_ctanhl.c (__ctanhl): Likewise.
29888
29889 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29890
29891 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29892 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29893 (_IO_off_t): Define to __off_t, not _G_off_t.
29894 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29895 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29896 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29897 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29898 type of __dummy and __dummy2 fields.
29899 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29900 (_G_ssize_t): Likewise.
29901 (_G_off_t): Likewise.
29902 (_G_pid_t): Likewise.
29903 (_G_uid_t): Likewise.
29904 (_G_wchar_t): Likewise.
29905 (_G_wint_t): Likewise.
29906 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29907 (_G_ssize_t): Likewise.
29908 (_G_off_t): Likewise.
29909 (_G_pid_t): Likewise.
29910 (_G_uid_t): Likewise.
29911 (_G_wchar_t): Likewise.
29912 (_G_wint_t): Likewise.
29913 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29914 (_G_ssize_t): Likewise.
29915 (_G_off_t): Likewise.
29916 (_G_pid_t): Likewise.
29917 (_G_uid_t): Likewise.
29918 (_G_wchar_t): Likewise.
29919 (_G_wint_t): Likewise.
29920
29921 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29922
29923 * malloc/arena.c: Include malloc-sysdep.h.
29924 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29925 is sufficient to shrink the heap or an unmap is needed.
29926 * sysdeps/generic/malloc-sysdep.h: New file. Define
29927 new function check_may_shrink_heap.
29928 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29929 new function check_may_shrink_heap.
29930
29931 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29932
29933 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29934 comments.
29935
29936 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29937
29938 * catgets/test-gencat.sh: Add "set -e".
29939 * elf/tst-pathopt.sh: Likewise.
29940 * grp/tst_fgetgrent.sh: Likewise.
29941 * iconvdata/run-iconv-test.sh: Likewise.
29942 * intl/tst-gettext.sh: Likewise.
29943 * intl/tst-gettext2.sh: Likewise.
29944 * intl/tst-gettext4.sh: Likewise.
29945 * intl/tst-gettext6.sh: Likewise.
29946 * intl/tst-translit.sh: Likewise.
29947 * io/ftwtest-sh: Likewise.
29948 * libio/test-freopen.sh: Likewise.
29949 * malloc/tst-mtrace.sh: Likewise.
29950 * posix/globtest.sh: Likewise.
29951 * posix/tst-getconf.sh: Likewise.
29952 * posix/wordexp-tst.sh: Likewise.
29953 * stdio-common/tst-printf.sh: Likewise.
29954 * stdio-common/tst-unbputc.sh: Likewise.
29955 * stdlib/tst-fmtmsg.sh: Likewise.
29956 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29957 * catgets/Makefile: Do not specify -e option when running
29958 testsuite shell scripts.
29959 * elf/Makefile: Likewise.
29960 * grp/Makefile: Likewise.
29961 * iconvdata/Makefile: Likewise.
29962 * intl/Makefile: Likewise.
29963 * io/Makefile: Likewise.
29964 * libio/Makefile: Likewise.
29965 * malloc/Makefile: Likewise.
29966 * posix/Makefile: Likewise.
29967 * stdio-common/Makefile: Likewise.
29968 * stdlib/Makefile: Likewise.
29969 * sysdeps/x86_64/Makefile: Likewise.
29970
29971 * io/ftwtest-sh: Add copyright header.
29972 * posix/globtest.sh: Likewise.
29973 * posix/tst-getconf.sh: Likewise.
29974 * posix/wordexp-tst.sh: Likewise.
29975 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29976
29977 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29978
29979 [BZ #13679]
29980 * Makeconfig (+link): Defined as $(+link-static) if
29981 $(build-shared) isn't yes.
29982 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29983 isn't yes.
29984 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29985
29986 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29987
29988 [BZ #14562]
29989 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29990 new chunk size with MALLOC_ALIGN_MASK.
29991
29992 2012-09-24 Joseph Myers <joseph@codesourcery.com>
29993
29994 [BZ #5044]
29995 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29996 <rounding-mode.h>.
29997 (__printf_fphex): Determine rounding using get_rounding_mode and
29998 round_away.
29999 * stdio-common/tst-printf-round.c (struct hex_test): New
30000 structure.
30001 (hex_tests): New variable.
30002 (test_hex_in_one_mode): New function.
30003 (do_test): Also run tests for hex float output.
30004
30005 2012-09-21 Joseph Myers <joseph@codesourcery.com>
30006
30007 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30008 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30009 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30010 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30011 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30012 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30013 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30014 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30015
30016 2012-09-20 Joseph Myers <joseph@codesourcery.com>
30017
30018 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30019 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30020 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30021 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30022
30023 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30024
30025 [BZ #14579]
30026 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30027 mode only.
30028 * elf/tst-rtld-load-self.sh: New test.
30029 * elf/Makefile: Run it.
30030
30031 2012-09-18 Joseph Myers <joseph@codesourcery.com>
30032
30033 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30034 (tst-writev-ENV): Remove.
30035 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30036
30037 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30038
30039 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30040
30041 2012-09-17 Joseph Myers <joseph@codesourcery.com>
30042
30043 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30044 unconditional.
30045 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30046 Likewise.
30047 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30048 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30049 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30050 Likewise.
30051
30052 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30053
30054 [BZ #14587]
30055 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30056 * config.make.in (have-cpp-asm-debuginfo): Removed.
30057 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30058 * configure: Regenerated.
30059
30060 2012-09-14 Joseph Myers <joseph@codesourcery.com>
30061
30062 [BZ #5044]
30063 * stdio-common/printf_fp.c: Include <stdbool.h> and
30064 <rounding-mode.h>.
30065 (___printf_fp): Determine rounding using get_rounding_mode and
30066 round_away.
30067 * stdio-common/tst-printf-round.c: New file.
30068 * stdio-common/Makefile (tests): Add tst-printf-round.
30069 (link-libm): New variable.
30070 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30071
30072 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30073
30074 [BZ #14576]
30075 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30076 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30077 Likewise.
30078 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30079 Likewise.
30080
30081 2012-09-13 Joseph Myers <joseph@codesourcery.com>
30082
30083 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30084 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30085 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30086 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30087
30088 2012-09-12 Joseph Myers <joseph@codesourcery.com>
30089
30090 [BZ #14518]
30091 * include/rounding-mode.h: New file.
30092 * sysdeps/generic/get-rounding-mode.h: Likewise.
30093 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30094 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30095 (MAX_VALUE): New macro.
30096 (MIN_VALUE): Likewise.
30097 (overflow_value): New function.
30098 (underflow_value): Likewise.
30099 (round_and_return): Use overflow_value and underflow_value to
30100 determine return values in overflow and underflow cases. Use
30101 round_away to determine rounding depending on rounding mode.
30102 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30103 determine return values in overflow and underflow cases.
30104 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30105 (struct test_results): New structure.
30106 (struct test): Use struct test_results to store expected results
30107 for all rounding modes.
30108 (TEST): Include expected results for all rounding modes.
30109 (test_in_one_mode): New function.
30110 (do_test): Use test_in_one_mode to compute and check results.
30111 Check results for all rounding modes.
30112 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30113 $(link-libm).
30114
30115 2012-12-09 Allan McRae <allan@archlinux.org>
30116
30117 * sysdeps/i386/fpu/libm-test-ulps: Update
30118
30119 2012-09-11 Joseph Myers <joseph@codesourcery.com>
30120
30121 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30122 (_G_int32_t): Likewise.
30123 (_G_uint16_t): Likewise.
30124 (_G_uint32_t): Likewise.
30125 (_G_HAVE_BOOL): Likewise.
30126 (_G_HAVE_ATEXIT): Likewise.
30127 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30128 (_G_HAVE_IO_FILE_OPEN): Likewise.
30129 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30130 (_G_int32_t): Likewise.
30131 (_G_uint16_t): Likewise.
30132 (_G_uint32_t): Likewise.
30133 (_G_HAVE_BOOL): Likewise.
30134 (_G_HAVE_ATEXIT): Likewise.
30135 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30136 (_G_HAVE_IO_FILE_OPEN): Likewise.
30137 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30138 (_G_int32_t): Likewise.
30139 (_G_uint16_t): Likewise.
30140 (_G_uint32_t): Likewise.
30141 (_G_HAVE_BOOL): Likewise.
30142 (_G_HAVE_ATEXIT): Likewise.
30143 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30144 (_G_HAVE_IO_FILE_OPEN): Likewise.
30145
30146 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30147
30148 * csu/libc-tls.c: Update copyright years.
30149
30150 2012-09-10 Joseph Myers <joseph@codesourcery.com>
30151
30152 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30153 [!_G_USING_THUNKS]: Remove conditional code.
30154 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30155 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30156
30157 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30158 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30159 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30160 (_G_VTABLE_LABEL_PREFIX): Likewise.
30161 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30162 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30163 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30164 (_G_VTABLE_LABEL_PREFIX): Likewise.
30165 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30166 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30167 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30168 (_G_VTABLE_LABEL_PREFIX): Likewise.
30169 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30170
30171 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30172
30173 * libio/Makefile: Include ../Makeconfig before tests.
30174 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30175 only if $(build-shared) is yes.
30176
30177 * iconv/gconv_db.c: Update copyright years.
30178
30179 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30180
30181 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30182 unwind info if defined PIC. Fix special cases description.
30183 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30184
30185 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30186 DP_HI_MASK entry.
30187 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30188
30189 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30190
30191 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30192
30193 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30194 is NULL.
30195
30196 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30197 (LDLIBS-tst-chk4): This.
30198 (LDFLAGS-tst-chk5): Renamed to ...
30199 (LDLIBS-tst-chk5): This.
30200 (LDFLAGS-tst-chk6): Renamed to ...
30201 (LDLIBS-tst-chk6): This.
30202 (LDFLAGS-tst-lfschk4): Renamed to ...
30203 (LDLIBS-tst-lfschk4): This.
30204 (LDFLAGS-tst-lfschk5): Renamed to ...
30205 (LDLIBS-tst-lfschk5): This.
30206 (LDFLAGS-tst-lfschk6): Renamed to ...
30207 (LDLIBS-tst-lfschk6): This.
30208
30209 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30210 on $(common-objpfx)soversions.mk.
30211
30212 2012-09-07 Joseph Myers <joseph@codesourcery.com>
30213
30214 [BZ #10014]
30215 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30216 example host name.
30217
30218 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30219
30220 * malloc/arena.c (arena_get_retry): New function that gets
30221 another arena for the caller to try its request on.
30222 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30223 current arena cannot fulfill the request.
30224 (__libc_memalign): Likewise.
30225 (__libc_memalign): Likewise.
30226 (__libc_pvalloc): Likewise.
30227 (__libc_calloc): Likewise.
30228
30229 2012-09-05 John Tobey <john.tobey@gmail.com>
30230
30231 [BZ #13542]
30232 * manual/arith.texi (Operations on Complex): Fix description
30233 of carg branch cut.
30234
30235 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30236
30237 [BZ #10014]
30238 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30239 host name.
30240
30241 [BZ #10038]
30242 * manual/memory.texi (Memory): Make order of menu items match
30243 order of sections.
30244
30245 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30246
30247 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30248 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30249 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30250
30251 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30252
30253 * csu/libc-tls.c (static_dtv): Renamed to ...
30254 (_dl_static_dtv): This. Make it global.
30255 (_dl_initial_dtv): Removed.
30256 (__libc_setup_tls): Updated.
30257 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30258 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30259 DL_INITIAL_DTV.
30260
30261 2012-09-06 Petr Machata <pmachata@redhat.com>
30262
30263 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30264 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30265 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30266 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30267
30268 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30269
30270 [BZ #14545]
30271 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30272 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30273 freeing dtv[-1].
30274
30275 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30276
30277 [BZ #14544]
30278 * Makeconfig (link-static-before-libc): Replace $(+prector)
30279 with $(+prectorT).
30280 (link-static-after-libc): Replace $(+postctor) with
30281 $(+postctorT).
30282 (link-bounded): Replace $(+prector)/$(+postctor) with
30283 $(+prectorT)/$(+postctorT).
30284 (+prectorT): New macro.
30285 (+postctorT): Likewise.
30286
30287 2012-09-06 Joseph Myers <joseph@codesourcery.com>
30288
30289 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30290 (round_str): Handle values above the maximum for IBM long double
30291 as inexact.
30292 * stdlib/tst-strtod-round.c (tests): Regenerated.
30293
30294 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30295
30296 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30297 assembler flag.
30298 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30299 zarch_nohighgprs around the zarch optimized routines.
30300 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30301 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30302 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30303 for zarch.
30304
30305 2012-09-05 David S. Miller <davem@davemloft.net>
30306
30307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30308
30309 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30310 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30311 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30312 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30313 entries.
30314
30315 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30316
30317 * malloc/arena.c: Fold copyright years.
30318 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30319
30320 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30321
30322 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30323
30324 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30325
30326 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30327
30328 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30329
30330 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30331 change internal state upon failure.
30332
30333 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
30334
30335 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30336 * malloc/memusage.c (mmap): Likewise.
30337 (mmap64, mremap): Likewise. Adjust name in comment.
30338
30339 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30340
30341 * libio/fileops.c: Fix typos in comments.
30342 * libio/oldfileops.c: Likewise.
30343 * libio/wfileops.c: Likewise.
30344
30345 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30346
30347 [BZ #1349]
30348 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30349 (tst-malloc-usable-ENV): Set environment for test case.
30350 * malloc/hooks.c (malloc_check_get_size): New function to get
30351 requested size.
30352 * malloc/malloc.c (musable): Use malloc_check_get_size.
30353 * malloc/tst-malloc-usable.c: New test case.
30354
30355 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30356
30357 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30358
30359 2012-09-05 Allan McRae <allan@archlinux.org>
30360
30361 [BZ #13966]
30362 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30363 determine header location.
30364 * configure: Regenerated.
30365
30366 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30367
30368 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30369 float format.
30370 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30371 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30372 format.
30373 (test): Regenerate.
30374
30375 2012-09-04 David S. Miller <davem@davemloft.net>
30376
30377 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30378 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30379 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30380
30381 2012-09-04 Florian Weimer <fweimer@redhat.com>
30382
30383 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30384 failures.
30385
30386 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30387
30388 2012-09-04 Joseph Myers <joseph@codesourcery.com>
30389
30390 [BZ #9914]
30391 * libio/iogetdelim.c: Include <limits.h>.
30392 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30393 + len + 1 would overflow.
30394
30395 2012-09-03 Andreas Jaeger <aj@suse.de>
30396
30397 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30398 * sysdeps/i386/fpu/libm-test-ulps: Update.
30399
30400 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30401
30402 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30403 Add s_sinf-sse2, s_conf-sse2.
30404
30405 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30406 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30407 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30408 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30409
30410 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30411 for using routine as __sinf_ia32.
30412 Use macro for function declaration and weak_alias.
30413 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30414 for using routine as __cosf_ia32.
30415 Use macro for function declaration and weak_alias.
30416
30417 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30418 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30419
30420 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30421 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30423
30424 * math/libm-test.inc (cos_test): Add more test cases.
30425 (sin_test): Likewise.
30426 (sincos_test): Likewise.
30427
30428 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30429
30430 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30431 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30432 hidden.
30433 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30434
30435 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30436
30437 [BZ #14538]
30438 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30439 first element of the GOT.
30440 (elf_machine_load_address): Return the difference between
30441 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30442
30443 2012-09-01 Allan McRae <allan@archlinux.org>
30444
30445 [BZ #13412]
30446 * configure.in (AWK): Require gawk version 3.0 or later.
30447 * configure: Regenerated.
30448
30449 2012-09-01 Joseph Myers <joseph@codesourcery.com>
30450
30451 * sysdeps/unix/sysv/linux/kernel-features.h
30452 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30453 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30454 [__NR_clock_getres]: Make code unconditional.
30455 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30456 (clock_getcpuclockid): Remove code left unreachable by removal of
30457 conditionals.
30458 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30459 code unconditional.
30460 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30461 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30462 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30463 Make code unconditional.
30464 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30465 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30466 * sysdeps/unix/sysv/linux/clock_settime.c
30467 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30468 conditional code.
30469 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30470 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30471
30472 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30473
30474 [BZ #14476]
30475 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30476 scripts/test-installation.pl.
30477
30478 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30479 and $ld_so_version if it is set.
30480
30481 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30482
30483 [BZ #14516]
30484 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30485 failure if reading from procfs failed.
30486 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30487
30488 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30489
30490 * sysdeps/unix/sysv/linux/kernel-features.h
30491 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30492 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30493 Remove conditional code.
30494 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30495 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30496 Remove conditional code.
30497 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30498 * sysdeps/unix/sysv/linux/i386/fxstat.c
30499 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30500 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30501 * sysdeps/unix/sysv/linux/i386/fxstatat.c
30502 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30503 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30504 * sysdeps/unix/sysv/linux/i386/lxstat.c
30505 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30506 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30507 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30508 Remove conditional code.
30509 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30510 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30511 Remove conditional code.
30512 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30513 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30514 <kernel-features.h>.
30515 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30516 Remove.
30517 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30518 Remove conditional code.
30519 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30520 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30521 Remove conditional.
30522
30523 2012-08-27 Mike Frysinger <vapier@gentoo.org>
30524
30525 [BZ #5400]
30526 * NEWS: Add fixed bug number.
30527
30528 2012-08-27 Joseph Myers <joseph@codesourcery.com>
30529
30530 [BZ #14519]
30531 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30532 underflowing exponent in case of negative sign.
30533 * stdlib/tst-strtod-round-data: Add more tests.
30534 * stdlib/tst-strtod-round.c (tests): Regenerated.
30535
30536 [BZ #3479]
30537 * stdlib/strtod_l.c (NDIG): Remove.
30538 (HEXNDIG): Likewise.
30539 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30540 smallest representable value.
30541 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30542 lie within an exact representation of 1/2 ulp of the result.
30543 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30544 unconditionally.
30545 (TENS_P9_IDX): Define unconditionally.
30546 (TENS_P9_SIZE): Likewise.
30547 (TENS_P10_IDX): Likewise.
30548 (TENS_P10_SIZE): Likewise.
30549 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30550 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30551 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30552 entries for 10^2^13 and 10^2^14.
30553 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30554 (TENS_P13_IDX): Define.
30555 (TENS_P13_SIZE): Likewise.
30556 (TENS_P14_IDX): Likewise.
30557 (TENS_P14_SIZE): Likewise.
30558 (_fpioconst_pow10): Change array size to
30559 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
30560 unconditional.
30561 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30562 1024]: Add entries for 10^2^13 and 10^2^14.
30563 [LAST_POW10 > _LAST_POW10]: Remove #error.
30564 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30565 (_fpioconst_pow10): Change array size to
30566 FPIOCONST_POW10_ARRAY_SIZE.
30567 * stdlib/gen-fpioconst.c: New file.
30568 * stdlib/gen-tst-strtod-round.c: Likewise.
30569 * stdlib/tst-strtod-round-data: Likewise.
30570 * stdlib/tst-strtod-round.c: Likewise.
30571 * stdlib/Makefile (tests): Add tst-strtod-round.
30572
30573 [BZ #14459]
30574 * stdlib/strtod_l.c: Include <stdint.h>.
30575 (NDEBUG): Do not define.
30576 (round_and_return): Change EXPONENT parameter to type intmax_t.
30577 Rearrange calculations to avoid internal overflow possibilities.
30578 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30579 Rearrange calculations to avoid internal overflow possibilities.
30580 Assert that number fits inside MPNSIZE limbs.
30581 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30582 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
30583 calculations and add assertions to avoid internal overflow
30584 possibilities. Add casts to avoid signed/unsigned operations.
30585 * stdlib/tst-strtod-overflow.c: New file.
30586 * stdlib/Makefile (tests): Add tst-strtod-overflow.
30587
30588 2012-08-25 Marek Polacek <polacek@redhat.com>
30589
30590 * time/time.h: Fix some typos in comments.
30591
30592 2012-08-23 Roland McGrath <roland@hack.frob.com>
30593
30594 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30595 * posix/tst-rfc3484-2.c: Likewise.
30596 * posix/tst-rfc3484-3.c: Likewise.
30597
30598 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
30599
30600 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30601 (EF_ARM_ABI_FLOAT_HARD): Likewise.
30602
30603 2012-08-23 Joseph Myers <joseph@codesourcery.com>
30604
30605 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30606 #include of fxstatat64.c.
30607
30608 2012-08-22 Roland McGrath <roland@hack.frob.com>
30609
30610 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30611 * shadow/getspent_r.c: Likewise.
30612 * shadow/getspnam.c: Likewise.
30613 * shadow/getspnam_r.c: Likewise.
30614 * gshadow/getsgent.c: Likewise.
30615 * gshadow/getsgent_r.c: Likewise.
30616 * gshadow/getsgnam.c: Likewise.
30617 * gshadow/getsgnam_r.c: Likewise.
30618 * inet/getnetbyad.c: Likewise.
30619 * inet/getnetbyad_r.c: Likewise.
30620 * inet/getnetbynm.c: Likewise.
30621 * inet/getnetbynm_r.c: Likewise.
30622 * inet/getnetent.c: Likewise.
30623 * inet/getnetent_r.c: Likewise.
30624 * inet/getproto.c: Likewise.
30625 * inet/getproto_r.c: Likewise.
30626 * inet/getprtent.c: Likewise.
30627 * inet/getprtent_r.c: Likewise.
30628 * inet/getprtname.c: Likewise.
30629 * inet/getprtname_r.c: Likewise.
30630 * inet/getrpcbyname.c: Likewise.
30631 * inet/getrpcbyname_r.c: Likewise.
30632 * inet/getrpcbynumber.c: Likewise.
30633 * inet/getrpcbynumber_r.c: Likewise.
30634 * inet/getrpcent.c: Likewise.
30635 * inet/getrpcent_r.c: Likewise.
30636 * inet/getaliasent.c: Likewise.
30637 * inet/getaliasent_r.c: Likewise.
30638 * inet/getaliasname.c: Likewise.
30639 * inet/getaliasname_r.c: Likewise.
30640 * nscd/getgrgid_r.c: Likewise.
30641 * nscd/getgrnam_r.c: Likewise.
30642 * nscd/gethstbyad_r.c: Likewise.
30643 * nscd/gethstbynm3_r.c: Likewise.
30644 * nscd/getpwnam_r.c: Likewise.
30645 * nscd/getpwuid_r.c: Likewise.
30646 * nscd/getsrvbynm_r.c: Likewise.
30647 * nscd/getsrvbypt_r.c: Likewise.
30648 * nscd/gai.c: Likewise.
30649
30650 * configure.in (build_nscd): New substituted variable, set
30651 by --disable-build-nscd and defaults to $use_nscd.
30652 * configure: Regenerated.
30653 * config.make.in (build-nscd): New substituted variable.
30654 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
30655 Change conditional to require [$(build-nscd) = yes] as well.
30656 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
30657
30658 [BZ# 13696]
30659 * configure.in (use_nscd): New substituted variable, set by
30660 --disable-nscd. If enabled, define USE_NSCD.
30661 * configure: Regenerated.
30662 * config.h.in: Add USE_NSCD.
30663 * config.make.in (use-nscd): New substituted variable.
30664 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
30665 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
30666 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
30667 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
30668 (CFLAGS-getgrnam_r.c): Likewise.
30669 (CFLAGS-initgroups.c): Likewise.
30670 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
30671 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
30672 Variables removed.
30673 * inet/getnetgrent_r.c
30674 (nscd_setnetgrent): New function, broken out of ...
30675 (setnetgrent): ... here. Call it.
30676 (innetgr): Conditionalize nscd bits on [USE_NSCD].
30677 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
30678 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
30679 * nscd/Makefile (routines, aux): Move definitions after include of
30680 Makeconfig. Conditionalize on [$(use-nscd) != no].
30681 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
30682 Conditionalize on [USE_NSCD].
30683 (is_nscd, nscd_init_cb): Likewise.
30684 (nss_load_library): Conditionalize init callback on [USE_NSCD].
30685 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
30686 * nss/nss_db/db-init.c: Likewise.
30687 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
30688 [USE_NSCD].
30689 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
30690 (make_request): Use it.
30691 (cache_valid_p): New function.
30692 (__check_pf): Use it.
30693 * NEWS: Add item for --disable-nscd.
30694
30695 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
30696
30697 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
30698 to support sed >= 4.2.1-20-ga9bf076.
30699 * configure: Regenerated.
30700
30701 2012-08-22 Roland McGrath <roland@hack.frob.com>
30702
30703 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
30704 Conditionalize whole body on [IREL].
30705
30706 2012-08-22 Jeff Law <law@redhat.com>
30707
30708 [BZ #14505]
30709 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
30710 if the family is PF_UNSPEC.
30711
30712 2012-08-22 Mike Frysinger <vapier@gentoo.org>
30713
30714 * Makerules (lib-version): Rename from V.
30715 (install-lib-nosubdir): Change V to lib-version.
30716
30717 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
30718
30719 [BZ #14252]
30720 * powerpc32/power6/wcschr.c: New file.
30721 * powerpc32/power6/wcscpy.c: New file.
30722 * powerpc32/power6/wcsrchr.c: New file.
30723 * powerpc64/power6/wcschr.c: New file.
30724 * powerpc64/power6/wcscpy.c: New file.
30725 * powerpc64/power6/wcsrchr.c: New file.
30726
30727 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30728
30729 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
30730 (two_way_short_needle): Use it.
30731 * string/strstr.c (AVAILABLE1_USES_J): Define.
30732 * string/strcasestr.c: Likewise.
30733
30734 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
30735 array references.
30736 * string/strcasestr.c (TOLOWER): Make side-effect safe.
30737
30738 [BZ #11607]
30739 * NEWS: Add an entry.
30740 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
30741 define their defaults.
30742 (two_way_short_needle): Detect end-of-string on-the-fly.
30743 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
30744 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
30745 * string/bug-strcasestr1.c: New test.
30746 * string/Makefile: Run it.
30747
30748 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
30749
30750 [BZ #11607]
30751 * string/str-two-way.h (two_way_short_needle): Optimize matching of
30752 the first character.
30753
30754 2012-08-21 Roland McGrath <roland@hack.frob.com>
30755
30756 * csu/elf-init.c (__libc_csu_irel): Function removed.
30757 * csu/libc-start.c (apply_irel): New function.
30758 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
30759
30760 2012-08-21 Joseph Myers <joseph@codesourcery.com>
30761
30762 * sysdeps/unix/sysv/linux/kernel-features.h
30763 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
30764 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30765 <kernel-features.h>.
30766 [__NR_fadvise64_64]: Make code unconditional.
30767 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
30768 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30769 !__NR_fadvise64_64)]: Likewise.
30770 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
30771 !__NR_fadvise64_64))]: Likewise.
30772 [__NR_fadvise64]: Make code unconditional.
30773 [!__NR_fadvise64]: Remove conditional code.
30774 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
30775 <kernel-features.h>.
30776 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30777 unconditional.
30778 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30779 conditional code.
30780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
30781 not include <kernel-features.h>.
30782 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30783 unconditional.
30784 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30785 conditional code.
30786 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
30787 include <kernel-features.h>.
30788 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
30789 unconditional.
30790 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
30791 conditional code.
30792
30793 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
30794
30795 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
30796 slight instruction rearrangements per scrollpipe analysis.
30797 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30798
30799 2012-08-20 Roland McGrath <roland@hack.frob.com>
30800
30801 * manual/syslog.texi (syslog; vsyslog, closelog):
30802 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
30803 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
30804
30805 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
30806 DSOCAPS to match condition on defining it.
30807
30808 2012-08-20 Joseph Myers <joseph@codesourcery.com>
30809
30810 * sysdeps/unix/sysv/linux/kernel-features.h
30811 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
30812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
30813 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30814 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
30816 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30817 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
30819 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
30820 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
30821
30822 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
30823 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
30824
30825 * sysdeps/unix/sysv/linux/kernel-features.h
30826 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
30827 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
30828 unconditional.
30829 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30830 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
30831 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30832 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30833 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
30834 Make code unconditional.
30835 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30836 (__mmap64) [!__NR_mmap2]: Likewise.
30837 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
30838 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
30839 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30840 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
30841 [__NR_mmap2]: Make code unconditional.
30842 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
30843 (__mmap64) [!__NR_mmap2]: Likewise.
30844
30845 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30846
30847 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
30848
30849 2012-08-18 Andreas Jaeger <aj@suse.de>
30850
30851 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
30852
30853 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30854
30855 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
30856 * include/unistd.h (__have_sock_cloexec): Likewise.
30857 (__have_pipe2): Likewise.
30858 (__have_dup3): Likewise.
30859
30860 2012-08-18 Mike Frysinger <vapier@gentoo.org>
30861
30862 [BZ #9685]
30863 * include/unistd.h (__have_pipe2): Change define into an extern int.
30864 (__have_dup3): Likewise.
30865 * socket/have_sock_cloexec.c: Include fcntl.h.
30866 (__have_pipe2): New variable.
30867 (__have_dup3): Likewise.
30868
30869 2012-08-17 Mike Frysinger <vapier@gentoo.org>
30870
30871 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
30872
30873 2012-08-17 Marek Polacek <polacek@redhat.com>
30874
30875 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
30876 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
30877
30878 2012-08-17 Roland McGrath <roland@hack.frob.com>
30879
30880 * configure.in: Add AC_SUBST for sysheaders.
30881 * configure: Regenerated.
30882 * config.make.in (sysheaders): New substituted variable.
30883
30884 * sysdeps/unix/mkfifo.c: Moved ...
30885 * sysdeps/posix/mkfifo.c: ... here.
30886 * sysdeps/unix/mkfifoat.c: Moved ...
30887 * sysdeps/posix/mkfifoat.c: ... here.
30888
30889 * sysdeps/unix/utime.c: Moved ...
30890 * sysdeps/posix/utime.c: ... here.
30891
30892 * sysdeps/unix/time.c: Moved ...
30893 * sysdeps/posix/time.c: ... here.
30894 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30895 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30896
30897 * sysdeps/unix/nice.c: Moved ...
30898 * sysdeps/posix/nice.c: ... here.
30899
30900 * sysdeps/unix/alarm.c: Moved ...
30901 * sysdeps/posix/alarm.c: ... here.
30902
30903 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30904
30905 2012-08-17 Jeff Law <law@redhat.com>
30906
30907 * intl/Makefile (codeset_mo): New variable.
30908 ($(codeset_mo)): New target.
30909 (tst-codeset.out): Depend on that. Remove explicit rule.
30910 (tst-gettext3.out, tst-gettext5.out): Likewise.
30911 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30912 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30913 * intl/tst-codeset.sh: Remove.
30914 * intl/tst-gettext3.sh: Likewise.
30915 * intl/tst-gettext5.sh: Likewise.
30916
30917 2012-08-17 Roland McGrath <roland@hack.frob.com>
30918
30919 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30920 * sysdeps/unix/syscalls.list: ... here.
30921
30922 * sysdeps/posix/getaddrinfo.c
30923 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30924 (gaiconf_init, gaiconf_reload): Use them.
30925 [!_STATBUF_ST_NSEC]
30926 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30927 Define using time_t rather than struct timespec.
30928
30929 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30930 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30931 Macros removed.
30932 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30933 [!NO_THREADS].
30934 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30935 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30936 Likewise.
30937
30938 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30939 __libc_cleanup_push argument.
30940
30941 * bits/param.h: New file.
30942 * misc/sys/param.h: New file.
30943 * include/sys/param.h: New file.
30944 * misc/Makefile (headers): Add bits/param.h.
30945 * sysdeps/generic/sys/param.h: File removed.
30946 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30947 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30948 * sysdeps/mach/hurd/bits/param.h: New file.
30949 * sysdeps/mach/hurd/sys/param.h: File removed.
30950
30951 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30952 last change.
30953
30954 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30955 [_IO_MTSAFE_IO].
30956 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30957 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30958 New macros.
30959
30960 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30961 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30962 rather than -D_IO_MTSAFE_IO conditionally.
30963 * stdio-common/Makefile (CPPFLAGS): Likewise.
30964 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30965 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30966 Use $(libio-mtsafe).
30967 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30968 of -D_IO_MTSAFE_IO.
30969 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30970 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30971 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30972 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30973 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30974 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30975 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30976 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30977 (CFLAGS-fread_u_chk.c): Likewise.
30978 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30979 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30980 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30981 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30982 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30983 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30984 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30985 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30986 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30987
30988 * libio/Makefile: Test [$(libc-reentrant) = yes]
30989 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30990
30991 * Makeconfig
30992 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30993 * sysdeps/pthread/configure: File removed.
30994 * sysdeps/pthread/Makeconfig: New file.
30995 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30996 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30997
30998 2012-08-16 Gary Benson <gbenson@redhat.com>
30999
31000 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31001 unmapping the first object in a namespace.
31002
31003 2012-08-16 Roland McGrath <roland@hack.frob.com>
31004
31005 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31006 (__internal_setnetgrent): ... this. Add internal_function to
31007 definition. Add libc_hidden_def.
31008 (setnetgrent): Update caller.
31009 (internal_endnetgrent): Renamed to ...
31010 (__internal_endnetgrent): ... this. Add internal_function to
31011 definition. Add libc_hidden_def.
31012 (endnetgrent): Update caller.
31013 (internal_getnetgrent_r): Renamed to ...
31014 (__internal_getnetgrent_r): ... this. Add internal_function to
31015 definition. Add libc_hidden_def.
31016 (__getnetgrent_r): Update caller.
31017 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31018
31019 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31020
31021 * stdlib/longlong.h: Update from GCC.
31022
31023 2012-08-16 Roland McGrath <roland@hack.frob.com>
31024
31025 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31026 on _QL, which is set by umul_ppmm but never used.
31027 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31028 variables, which are set by GMP macros but never used.
31029 * stdio-common/_itowa.c (_itowa): Likewise.
31030 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31031 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31032
31033 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31034
31035 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31036 struct La_sh_regs is not constant.
31037 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31038 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31039 and struct La_sparc64_regs are not constant.
31040
31041 2012-08-16 Joseph Myers <joseph@codesourcery.com>
31042
31043 * sysdeps/unix/sysv/linux/kernel-features.h
31044 (__ASSUME_POSIX_TIMERS): Remove.
31045 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31046 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31047 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31048 Make code unconditional.
31049 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31050 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31051 Make code unconditional.
31052 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31053 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31054 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31055 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31056 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31057 Make code unconditional.
31058 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31059 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31060 (__libc_missing_posix_timers): Remove.
31061
31062 2012-08-15 Roland McGrath <roland@hack.frob.com>
31063
31064 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31065 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31066
31067 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31068
31069 * elf/dl-sym.c: Include <stdlib.h>.
31070
31071 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31072 constants, which avoids warnings in 32-bit builds.
31073
31074 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31075 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31076
31077 * misc/lseek.c: File moved to ...
31078 * io/lseek.c: ... here.
31079
31080 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31081
31082 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31083 shifting LEN more than 31 bits at once.
31084
31085 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31086
31087 [BZ #14195]
31088 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31089 segmentation fault for a case of two empty input strings.
31090 * string/test-strncasecmp.c (check1): Renamed to...
31091 (bz12205): ...this.
31092 (bz14195): Add new testcase for two empty input strings and N > 0.
31093 (test_main): Call new testcase, adapt for renamed function.
31094
31095 2012-08-15 Andreas Jaeger <aj@suse.de>
31096
31097 [BZ #14090]
31098 * crypt/md5test2.c: New test, based on test supplied by Serge
31099 Belyshev <belyshev@depni.sinp.msu.ru>.
31100 * crypt/Makefile (xtests): Add md5test-giant..
31101 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31102
31103 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31104
31105 [BZ #14090]
31106 * crypt/md5.c (md5_process_block): Don't assume the buffer
31107 length is less than 2**32.
31108 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31109 length is less than 2**64.
31110
31111 2012-08-15 Roland McGrath <roland@hack.frob.com>
31112
31113 * string/str-two-way.h: Include <sys/param.h>.
31114 (MAX): Macro removed.
31115
31116 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31117 Move #define and #undef of memmove to just before and after
31118 including <string.h>.
31119
31120 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31121 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31122 and after including <string.h>. Move declarations of
31123 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31124 to before #include "string/memmove.c".
31125
31126 * include/dirent.h: Declare __getdirentries.
31127
31128 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31129 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31130
31131 2012-08-14 Mike Frysinger <vapier@gentoo.org>
31132
31133 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31134 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31135 * sysdeps/i386/configure: Regenerated.
31136 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31137 STABS_CURRENT_FILE, and STABS_FUN.
31138 (END): Remove call to STABS_FUN_END.
31139 (STABS_CURRENT_FILE1): Delete.
31140 (STABS_CURRENT_FILE): Likewise.
31141 (STABS_FUN): Likewise.
31142 (STABS_FUN_END): Likewise.
31143 (STABS_FUN2): Likewise.
31144 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31145 * sysdeps/x86_64/configure: Regenerated.
31146
31147 2012-08-14 Roland McGrath <roland@hack.frob.com>
31148
31149 * elf/dl-open.c: Include <atomic.h>.
31150 * elf/dl-lookup.c: Likewise.
31151
31152 2012-08-14 Joseph Myers <joseph@codesourcery.com>
31153
31154 * sysdeps/unix/sysv/linux/kernel-features.h
31155 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31156 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31157 unconditionally.
31158 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31159 unconditionally.
31160 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31161 condition on __ASSUME_CLONE_THREAD_FLAGS.
31162
31163 2012-08-14 Andreas Jaeger <aj@suse.de>
31164
31165 * sysdeps/i386/fpu/libm-test-ulps: Update.
31166
31167 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31168
31169 * include/atomic.h (atomic_exchange_and_add): Split into ...
31170 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31171 New atomic macros.
31172
31173 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31174
31175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31176
31177 2012-08-13 Jeff Law <law@redhat.com>
31178
31179 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31180 null byte in the output string.
31181
31182 2012-08-10 Joseph Myers <joseph@codesourcery.com>
31183
31184 * sysdeps/unix/sysv/linux/kernel-features.h
31185 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31186 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31187 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31188 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31189 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31190 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31191 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31192
31193 2012-08-09 Jeff Law <law@redhat.com>
31194
31195 [BZ #13939]
31196 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31197 When avoid_arena is set, don't retry in the that arena. Pick the
31198 next one, whatever it might be.
31199 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31200 (arena_lock): Pass in new parameter to arena_get2.
31201 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31202 arena_get2.
31203 (__libc_malloc): Unify retrying after main arena failure with
31204 __libc_memalign version.
31205 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31206
31207 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31208
31209 [BZ #14166]
31210 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31211 to __redirect_strstr.
31212 (__strstr_sse42): Use typeof __redirect_strstr.
31213 (__strstr_ia32): Likewise.
31214 (__libc_strstr): New prototype.
31215 (strstr): Renamed to ...
31216 (__libc_strstr): This.
31217 (strstr): New strong alias of __libc_strstr.
31218 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31219 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31220 __redirect_time.
31221 Include <time.h>.
31222 (__libc_time): New prototype.
31223 (time_ifunc): Replace time with __libc_time.
31224 (time): New strong alias and hidden definition of __libc_time.
31225 (__GI_time): Remove strong alias.
31226 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31227 Include <stddef.h>.
31228 (memmove): Redefined to __redirect_memmove.
31229 (__memmove_sse2): Use typeof __redirect_memmove.
31230 (__memmove_ssse3): Likewise.
31231 (__memmove_ssse3_back): Likewise.
31232 (__libc_memmove): New prototype.
31233 (memmove): Renamed to ...
31234 (__libc_memmove): This.
31235 (memmove): New strong alias of __libc_memmove.
31236
31237 2012-08-08 Mark Salter <msalter@redhat.com>
31238
31239 * elf/elf.h
31240 (R_MN10300_TLS_GD): Define.
31241 (R_MN10300_TLS_LD): Likewise.
31242 (R_MN10300_TLS_LDO): Likewise.
31243 (R_MN10300_TLS_GOTIE): Likewise.
31244 (R_MN10300_TLS_IE): Likewise.
31245 (R_MN10300_TLS_LE): Likewise.
31246 (R_MN10300_TLS_DTPMOD): Likewise.
31247 (R_MN10300_TLS_DTPOFF): Likewise.
31248 (R_MN10300_TLS_TPOFF): Likewise.
31249 (R_MN10300_SYM_DIFF): Likewise.
31250 (R_MN10300_ALIGN): Likewise.
31251 (R_MN10300_NUM): Update.
31252
31253 2012-08-08 Joseph Myers <joseph@codesourcery.com>
31254
31255 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31256 Remove.
31257
31258 2012-08-08 Roland McGrath <roland@hack.frob.com>
31259
31260 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31261
31262 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31263 sysdeps/unix -> sysdeps/posix move.
31264 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31265
31266 2012-08-07 Allan McRae <allan@archlinux.org>
31267
31268 [BZ #14303]
31269 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31270 (SUNOS_CPP): Likewise.
31271 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31272 not found.
31273 (open_input): Call CPP using execvp.
31274
31275 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31276
31277 * sysdeps/unix/sysv/linux/kernel-features.h
31278 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31279 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31280 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31281 (__ASSUME_WAITID_SYSCALL): Likewise.
31282 * sysdeps/unix/sysv/linux/dl-execstack.c
31283 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31284 code unconditional.
31285 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31286 conditional code.
31287 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31288 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31289 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31290 code.
31291 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31292 unconditional.
31293 [__ASSUME_WAITID_SYSCALL]: Likewise.
31294 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31295
31296 2012-08-07 Roland McGrath <roland@hack.frob.com>
31297
31298 * sysdeps/unix/closedir.c: Renamed to ...
31299 * sysdeps/posix/closedir.c: ... here.
31300 * sysdeps/unix/dirfd.c: Renamed to ...
31301 * sysdeps/posix/dirfd.c: ... here.
31302 * sysdeps/unix/dirstream.h: Renamed to ...
31303 * sysdeps/posix/dirstream.h: ... here.
31304 * sysdeps/unix/fdopendir.c: Renamed to ...
31305 * sysdeps/posix/fdopendir.c: ... here.
31306 * sysdeps/unix/opendir.c: Renamed to ...
31307 * sysdeps/posix/opendir.c: ... here.
31308 * sysdeps/unix/readdir.c: Renamed to ...
31309 * sysdeps/posix/readdir.c: ... here.
31310 * sysdeps/unix/readdir_r.c: Renamed to ...
31311 * sysdeps/posix/readdir_r.c: ... here.
31312 * sysdeps/unix/rewinddir.c: Renamed to ...
31313 * sysdeps/posix/rewinddir.c: ... here.
31314 * sysdeps/unix/seekdir.c: Renamed to ...
31315 * sysdeps/posix/seekdir.c: ... here.
31316 * sysdeps/unix/telldir.c: Renamed to ...
31317 * sysdeps/posix/telldir.c: ... here.
31318 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31319 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31320 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31321 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31322
31323 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31324 * bits/fcntl.h: ... here.
31325
31326 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31327 not 0.
31328 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31329 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31330 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31331 (struct flock): Move l_start, l_len to the beginning.
31332 Use __pid_t for l_pid.
31333 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31334 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31335 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31336 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31337 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31338 [__USE_LARGEFILE64] (struct flock64): New type.
31339 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31340
31341 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31342 * bits/dirent.h: ... here.
31343
31344 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31345 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31346
31347 2012-08-07 Joseph Myers <joseph@codesourcery.com>
31348
31349 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31350 Change from 2.6.0 to 2.6.16.
31351 * sysdeps/unix/sysv/linux/configure: Regenerated.
31352 * sysdeps/unix/sysv/linux/kernel-features.h
31353 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31354 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31355 version.
31356 (__ASSUME_UTIMES): Likewise.
31357 (__ASSUME_CLONE_STOPPED): Remove.
31358 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31359 architectures, not kernel version.
31360 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31361 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31362 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31363 (__ASSUME_WAITID_SYSCALL): Likewise.
31364 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31365 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31366 * README: State 2.6.16 as minimum Linux kernel version. Do not
31367 refer to older versions.
31368
31369 2012-08-06 Roland McGrath <roland@hack.frob.com>
31370
31371 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31372 Define alphasort64 as an alias.
31373 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31374 Define versionsort64 as an alias.
31375 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31376 Define scandir64 as an alias.
31377 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31378 Define scandirat64 as an alias.
31379 * dirent/alphasort64.c (alphasort64):
31380 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31381 * dirent/versionsort64.c: Likewise.
31382 * dirent/scandir64.c: Likewise.
31383 * dirent/scandirat64.c: Likewise.
31384 * sysdeps/wordsize-64/alphasort.c: File removed.
31385 * sysdeps/wordsize-64/alphasort64.c: File removed.
31386 * sysdeps/wordsize-64/scandir.c: File removed.
31387 * sysdeps/wordsize-64/scandir64.c: File removed.
31388 * sysdeps/wordsize-64/scandirat.c: File removed.
31389 * sysdeps/wordsize-64/scandirat64.c: File removed.
31390 * sysdeps/wordsize-64/versionsort.c: File removed.
31391 * sysdeps/wordsize-64/versionsort64.c: File removed.
31392 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31393 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31394 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31395 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31396 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31397 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31398 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31399 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31400
31401 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31402 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31403 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31404 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31405 [defined __arch64__ || defined __sparcv9]
31406 (__INO_T_MATCHES_INO64_T): New macro.
31407 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31408 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31409 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31410 * sysdeps/unix/sysv/linux/bits/dirent.h
31411 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31412 (_DIRENT_MATCHES_DIRENT64): New macro.
31413
31414 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31415 Define lockf64 as an alias.
31416 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31417 Define fseeko64 as an alias.
31418 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31419 Define ftello64 as an alias.
31420 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31421 Define _IO_fgetpos64 and fgetpos64 as aliases.
31422 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31423 Define _IO_fsetpos64 and fsetpos64 as aliases.
31424 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31425 Conditionalize body on this.
31426 * libio/fseeko64.c: Likewise.
31427 * libio/ftello64.c: Likewise.
31428 * libio/iofgetpos64.c: Likewise.
31429 * libio/iofsetpos64.c: Likewise.
31430 * sysdeps/wordsize-64/lockf.c: File removed.
31431 * sysdeps/wordsize-64/lockf64.c: File removed.
31432 * sysdeps/wordsize-64/fseeko.c: File removed.
31433 * sysdeps/wordsize-64/fseeko64.c: File removed.
31434 * sysdeps/wordsize-64/ftello.c: File removed.
31435 * sysdeps/wordsize-64/ftello64.c: File removed.
31436 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31437 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31438 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31439 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31440 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31441 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31442 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31443 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31444 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31445 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31446 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31447 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31448 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31449 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31450
31451 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31452 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31453 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31454 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31455 [defined __arch64__ || defined __sparcv9]
31456 (__OFF_T_MATCHES_OFF64_T): New macro.
31457 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31458 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31459 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31460 (__OFF_T_MATCHES_OFF64_T): New macro.
31461
31462 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31463
31464 * stdlib/secure-getenv.c (__secure_getenv): Replace
31465 GLIBC_2_16 with GLIBC_2_17.
31466
31467 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31468
31469 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31470 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31471
31472 2012-08-03 David S. Miller <davem@davemloft.net>
31473
31474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31475
31476 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31477
31478 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31479 Remove.
31480 (__ASSUME_CORRECT_SI_PID): Likewise.
31481 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31482 (__ASSUME_TMPFS_NAME): Likewise.
31483 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31484 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31485 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31486 (HAVE_AUX_SECURE): Make definition unconditional.
31487 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31488 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31489
31490 2012-08-03 Roland McGrath <roland@hack.frob.com>
31491
31492 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31493 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31494 * sysdeps/mach/hurd/eloop-threshold.h: New file.
31495 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31496 __eloop_threshold instead of SYMLOOP_MAX.
31497
31498 * sysdeps/generic/eloop-threshold.h: New file.
31499 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31500 of MAXSYMLINKS.
31501 * elf/chroot_canon.c (chroot_canon): Likewise.
31502
31503 2012-08-03 Joseph Myers <joseph@codesourcery.com>
31504
31505 [BZ #13717]
31506 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31507 Change to 2.6.0 everywhere.
31508 * sysdeps/unix/sysv/linux/configure: Regenerated.
31509 * sysdeps/unix/sysv/linux/kernel-features.h
31510 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31511 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31512 kernel versions.
31513 (__ASSUME_POSIX_TIMERS): Define unconditionally.
31514 (__ASSUME_FUTEX_REQUEUE): Remove.
31515 (__ASSUME_STATFS64): Define unconditionally.
31516 (__ASSUME_AT_SECURE): Likewise.
31517 (__ASSUME_CORRECT_SI_PID): Likewise.
31518 (__ASSUME_TGKILL): Define without depending on kernel version for
31519 i386.
31520 (__ASSUME_UTIMES): Likewise.
31521 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31522 kernel version.
31523 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31524 (__ASSUME_TMPFS_NAME): Likewise.
31525 * README: Update reference to Linux kernel versions.
31526
31527 2012-08-02 Marek Polacek <polacek@redhat.com>
31528
31529 [BZ# 14150]
31530 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
31531 libc_cv_asm_type_prefix with %.
31532 * configure: Regenerated.
31533 * include/libc-symbols.h: Remove comment about
31534 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31535 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31536 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31537 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31538 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31539 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31540 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31541 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31542 * elf/tst-unique2mod1.c: Likewise.
31543 * elf/tst-unique1mod2.c: Likewise.
31544 * elf/tst-unique1mod1.c: Likewise.
31545 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31546 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31547 Replace ASM_TYPE_DIRECTIVE with .type.
31548 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31549 * sysdeps/i386/sysdep.h: Likewise.
31550 * sysdeps/x86_64/sysdep.h: Likewise.
31551 * sysdeps/sh/sysdep.h: Likewise.
31552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31553 Do not define ASM_TYPE_DIRECTIVE.
31554 * sysdeps/powerpc/sysdep.h: Likewise.
31555 * sysdeps/powerpc/powerpc32/sysdep.h:
31556 Replace ASM_TYPE_DIRECTIVE with .type.
31557 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31558 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31559 * sysdeps/i386/fpu/e_powf.S: Likewise.
31560 * sysdeps/i386/fpu/e_expl.S: Likewise.
31561 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31562 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31563 * sysdeps/i386/fpu/e_pow.S: Likewise.
31564 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31565 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31566 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31567 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31568 * sysdeps/i386/fpu/e_log2.S: Likewise.
31569 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31570 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31571 * sysdeps/i386/fpu/e_powl.S: Likewise.
31572 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31573 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31574 * sysdeps/i386/fpu/e_logl.S: Likewise.
31575 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31576 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31577 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31578 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31579 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31580 * sysdeps/i386/fpu/e_log.S: Likewise.
31581 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31582 * sysdeps/i386/fpu/e_logf.S: Likewise.
31583 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31584 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31585 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31586 * sysdeps/i386/fpu/e_log10.S: Likewise.
31587 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31588 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31589 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31590 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31591 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31592 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31593 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31594 * sysdeps/i386/i686/strtok.S: Likewise.
31595 * sysdeps/i386/i386-mcount.S: Likewise.
31596 * sysdeps/i386/strtok.S: Likewise.
31597 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31598 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31599 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31600 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31601 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31602 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31603 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31604 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31605 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31606 * sysdeps/x86_64/_mcount.S: Likewise.
31607 * sysdeps/x86_64/strtok.S: Likewise.
31608 * sysdeps/sh/_mcount.S: Likewise.
31609
31610 2012-08-01 Roland McGrath <roland@hack.frob.com>
31611
31612 * libio/iofopen.c: Include <fcntl.h>.
31613 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31614 (_IO_fopen64, fopen64): Define as aliases.
31615 * libio/iofopen64.c: Include <fcntl.h>.
31616 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31617 Conditionalize body on this.
31618 * sysdeps/wordsize-64/iofopen.c: File removed.
31619 * sysdeps/wordsize-64/iofopen64.c: File removed.
31620
31621 2012-08-01 Marek Polacek <polacek@redhat.com>
31622
31623 * libc/Makeconfig: Use elf in place of binfmt-subdir.
31624 Use dlfcn directly instead of a variable.
31625 (binfmt-subdir): Do not define.
31626 (dlfcn): Likewise.
31627
31628 2012-08-01 Joseph Myers <joseph@codesourcery.com>
31629
31630 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31631 Remove all definitions.
31632 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31633 <kernel-features.h>.
31634 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31635 (miss_F_GETOWN_EX): Remove all definitions.
31636 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31637 macro definition.
31638 [!__ASSUME_FCNTL64]: Remove conditional code.
31639 [__ASSUME_FCNTL64]: Make code unconditional.
31640 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31641 <kernel-features.h>.
31642 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31643 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31644 (lockf64) [__NR_fcntl64]: Make code unconditional.
31645 (lockf64) [__ASSUME_FCNTL64]: Likewise.
31646
31647 * sysdeps/unix/sysv/linux/kernel-features.h
31648 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
31649 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
31650 Make code unconditional.
31651 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31652 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
31654 [__NR_vfork]: Make code unconditional.
31655 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31656 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
31658 [__NR_vfork]: Make code unconditional.
31659 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
31660 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
31661
31662 2012-08-01 Roland McGrath <roland@hack.frob.com>
31663
31664 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
31665 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
31666
31667 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31668 Define mkstemp64 as an alias.
31669 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31670 Define mkstemps64 as an alias.
31671 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31672 Define mkostemp64 as an alias.
31673 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
31674 Define mkostemps64 as an alias.
31675 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
31676 Conditionalize body on this.
31677 * misc/mkostemp64.c: Likewise.
31678 * misc/mkostemps64.c: Likewise.
31679 * misc/mkstemps64.c: Likewise.
31680 * sysdeps/wordsize-64/mkstemp64.c: File removed.
31681 * sysdeps/wordsize-64/mkostemp64.c: File removed.
31682 * sysdeps/wordsize-64/mkostemp.c: File removed.
31683 * sysdeps/wordsize-64/mkstemp.c: File removed.
31684 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
31685 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
31686 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
31687 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
31688
31689 [BZ #14138]
31690 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
31691 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
31692 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
31693 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
31694
31695 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
31696 compat_symbol macros from <shlib-compat.h> rather than the underlying
31697 default_symbol_version and symbol_version macros, so that DEFAULT
31698 lines in shlib-versions are respected.
31699 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
31700
31701 2012-08-01 Florian Weimer <fweimer@redhat.com>
31702
31703 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
31704 Declare with warn_unused_result.
31705 (setgid, setregid, setegid, setresgid): Likewise.
31706 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
31707 Likewise.
31708 * WUR-REPORT: Remove set*id functions.
31709
31710 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
31711
31712 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
31713
31714 2012-07-31 Roland McGrath <roland@hack.frob.com>
31715
31716 [BZ #10191]
31717 * include/sys/socket.h (__libc_accept, __libc_accept4):
31718 Add attribute_hidden.
31719 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
31720
31721 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
31722 use of PTR_MANGLE.
31723 * inet/getnetgrent_r.c (setup): Likewise.
31724
31725 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
31726
31727 2012-07-31 David S. Miller <davem@davemloft.net>
31728
31729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31730
31731 2012-07-31 Joseph Myers <joseph@codesourcery.com>
31732
31733 [BZ #13629]
31734 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
31735 value between 1.0 and 2.0 and smaller part has absolute value less
31736 than 1.0.
31737 * math/s_clog10.c (__clog10): Likewise.
31738 * math/s_clog10f.c (__clog10f): Likewise.
31739 * math/s_clog10l.c (__clog10l): Likewise.
31740 * math/s_clogf.c (__clogf): Likewise.
31741 * math/s_clogl.c (__clogl): Likewise.
31742 * math/libm-test.inc (clog_test): Add more tests.
31743 (clog10_test): Likewise.
31744 * sysdeps/i386/fpu/libm-test-ulps: Update.
31745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31746
31747 2012-07-31 Florian Weimer <fweimer@redhat.com>
31748
31749 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
31750 Exit with zero in case no suitable GID is found, and write a
31751 message to standard error.
31752
31753 2012-07-30 Roland McGrath <roland@hack.frob.com>
31754
31755 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
31756 rather than to 1.
31757 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
31758 (MAXPATHLEN): Removed.
31759 (NOGROUP, NODEV): New macros.
31760 (setbit, clrbit, isset, isclr): New macros.
31761 (howmany, roundup, powerof2): New macros.
31762 (DEV_BSIZE): New macro.
31763
31764 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
31765 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
31766
31767 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
31768 definition on [!__NO_LONG_DOUBLE_MATH].
31769
31770 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
31771 PTR_MANGLE and PTR_DEMANGLE.
31772
31773 * socket/accept4.c (accept4): Rename to __libc_accept4.
31774 Define accept4 as a weak alias.
31775
31776 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
31777 on [_DIRENT_HAVE_D_TYPE].
31778 * io/ftw.c (ftw_dir): Likewise.
31779
31780 * io/xmknod.c (__xmknod): Don't check PATH for being null.
31781
31782 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
31783
31784 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
31785 Use the BSD numbers rather than the arbitrary ones we had.
31786 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
31787 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
31788 (SIGXCPU, SIGXFSZ): New macros.
31789 (_NSIG): Now 32.
31790
31791 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
31792 initializer on [_LIBC_REENTRANT].
31793
31794 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
31795 definitions inside [_POSIX_MAPPED_FILES].
31796
31797 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
31798
31799 * dirent/opendir.c: Include <fcntl.h>.
31800
31801 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
31802 (__libc_getspecific): Likewise.
31803 (__libc_key_create): Likewise.
31804
31805 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
31806 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
31807 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
31808 (tmpfile64): Define as alias.
31809 * sysdeps/wordsize-64/tmpfile.c: File removed.
31810 * sysdeps/wordsize-64/tmpfile64.c: File removed.
31811 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
31812 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
31813
31814 * stdio-common/vfscanf.c: Include <stdbool.h>.
31815 * nss/makedb.c: Likewise.
31816 * stdio-common/_i18n_number.h: Likewise.
31817 * argp/argp-help.c: Likewise.
31818 * posix/wordexp.c: Likewise.
31819 * sysdeps/posix/spawni.c: Likewise.
31820 * nss/nss_files/files-initgroups.c: Likewise.
31821 * stdio-common/reg-modifier.c: Include <stdlib.h>.
31822 * nss/nss_files/files-initgroups.c: Likewise.
31823 * nss/nss_db/db-netgrp.c: Likewise.
31824 * nss/nss_db/db-initgroups.c: Likewise.
31825 * io/fchmodat.c: Include <sys/stat.h>.
31826
31827 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
31828 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
31829
31830 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
31831 [HAVE_MMAP].
31832
31833 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
31834 Add multiple inclusion protection.
31835
31836 2012-07-27 David S. Miller <davem@davemloft.net>
31837
31838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31839
31840 2012-07-27 Gary Benson <gbenson@redhat.com>
31841
31842 [BZ #14298]
31843 * elf/rtld.c: Include <stap-probe.h>.
31844 (dl_main): Added static probes "init_start" and "init_complete".
31845 * elf/dl-load.c: Include <stap-probe.h>.
31846 (lose): Take new parameter "nsid".
31847 Added static probe "map_failed".
31848 (_dl_map_object_from_fd): Pass namespace id to lose.
31849 Added static probe "map_start".
31850 (open_verify): Pass namespace id to lose.
31851 * elf/dl-open.c: Include <stap-probe.h>.
31852 (dl_open_worker) Added static probes "map_complete", "reloc_start"
31853 and "reloc_complete".
31854 * elf/dl-close.c: Include <stap-probe.h>.
31855 (_dl_close_worker): Added static probes "unmap_start" and
31856 "unmap_complete".
31857 * elf/rtld-debugger-interface.txt: New file documenting the above.
31858
31859 2012-07-26 Roland McGrath <roland@hack.frob.com>
31860
31861 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
31862 rather than a string variable.
31863 * sunrpc/rpc_main.c (h_output): Likewise.
31864 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
31865
31866 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
31867
31868 * inet/check_native.c: New file.
31869
31870 2012-07-26 Joseph Myers <joseph@codesourcery.com>
31871
31872 [BZ #13629]
31873 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
31874 if larger part has absolute value 1.0.
31875 * math/s_clog10.c (__clog10): Likewise.
31876 * math/s_clog10f.c (__clog10f): Likewise.
31877 * math/s_clog10l.c (__clog10l): Likewise.
31878 * math/s_clogf.c (__clogf): Likewise.
31879 * math/s_clogl.c (__clogl): Likewise.
31880 * math/libm-test.inc (clog_test): Add more tests.
31881 (clog10_test): Likewise.
31882 * sysdeps/i386/fpu/libm-test-ulps: Update.
31883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31884
31885 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31886 (pltexit): Likewise.
31887 (La_regs): Likewise.
31888 (La_retval): Likewise.
31889 (int_retval): Likewise.
31890 Update #error for removed macros to refer only to definitions in
31891 tst-audit.h.
31892 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31893 macro.
31894 (pltexit): Likewise.
31895 (La_regs): Likewise.
31896 (La_retval): Likewise.
31897 (int_retval): Likewise.
31898 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31899 macro.
31900 (pltexit): Likewise.
31901 (La_regs): Likewise.
31902 (La_retval): Likewise.
31903 (int_retval): Likewise.
31904 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31905 macro.
31906 (pltexit): Likewise.
31907 (La_regs): Likewise.
31908 (La_retval): Likewise.
31909 (int_retval): Likewise.
31910 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31911 macro.
31912 (pltexit): Likewise.
31913 (La_regs): Likewise.
31914 (La_retval): Likewise.
31915 (int_retval): Likewise.
31916 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31917 macro.
31918 (pltexit): Likewise.
31919 (La_regs): Likewise.
31920 (La_retval): Likewise.
31921 (int_retval): Likewise.
31922 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31923 macro.
31924 (pltexit): Likewise.
31925 (La_regs): Likewise.
31926 (La_retval): Likewise.
31927 (int_retval): Likewise.
31928 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31929 macro definitions in tst-audit.h.
31930 * sysdeps/i386/tst-audit.h: New file.
31931 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31932 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31933 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31934 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31935 * sysdeps/sh/tst-audit.h: Likewise.
31936 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31937 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31938 * sysdeps/x86_64/tst-audit.h: Likewise.
31939
31940 2012-07-26 Andreas Jaeger <aj@suse.de>
31941
31942 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31943 ptrace.
31944
31945 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31946 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31947 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31948 PTRACE_O_MASK.
31949 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31950 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31951 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31952
31953 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31954 value.
31955
31956 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31957 _sigsys.
31958 (si_call_addr, si_syscall, si_arch): Define new macro.
31959 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31960 _sigsys.
31961 (si_call_addr, si_syscall, si_arch): Define new marcro.
31962 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31963 _sigsys.
31964 (si_call_addr, si_syscall, si_arch): Define new macro.
31965 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31966 _sigsys.
31967 (si_call_addr, si_syscall, si_arch): Define new macro.
31968
31969 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31970
31971 [BZ #13717]
31972 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31973 Change to 2.4.21 where previously 2.4.1.
31974 * sysdeps/unix/sysv/linux/configure: Regenerated.
31975 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31976 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31977 Linux kernel version.
31978 (__ASSUME_STD_AUXV): Remove.
31979 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31980 kernel version.
31981 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31982 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31983 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31984 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31985 (__ASSUME_NETLINK_SUPPORT): Likewise.
31986 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31987 (__no_netlink_support): Remove conditional definition.
31988 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31989 Remove.
31990 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31991 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31992 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31993 (if_nameindex_ioctl): Remove.
31994 (if_nameindex_netlink): Do not handle __no_netlink_support.
31995 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31996 code.
31997 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31998 Remove conditional code.
31999 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32000 code.
32001 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32002 unconditional.
32003 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32004 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32005 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32006 Remove.
32007 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32008 [!__ASSUME_STD_AUXV]: Remove conditional code.
32009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32010 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32011 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32013 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32014 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32015 code.
32016 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32018 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32019 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32020 conditional code.
32021 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32023 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32024 code.
32025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32026 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32027 conditional code.
32028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32029 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32030 code unconditional.
32031 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32032 conditional code.
32033 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32034 unconditional.
32035 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32036 conditional code.
32037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32038 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32039 unconditional.
32040 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32041 conditional code.
32042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32043 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32044 code unconditional.
32045 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32046 conditional code.
32047 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32048 unconditional.
32049 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32050 conditional code.
32051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32052 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32053 code unconditional.
32054 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32055 conditional code.
32056 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32057 unconditional.
32058 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32059 conditional code.
32060
32061 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32062
32063 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32064 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32065 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32066 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32067 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32068 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32069 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32070 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32071 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32072 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32073 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32074 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32075 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32076 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32077 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32078 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32079 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32080 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32081 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32082 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32083 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32084 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32085 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32086
32087 2012-07-25 Florian Weimer <fweimer@redhat.com>
32088
32089 * Versions.def: Add GLIBC_2.17.
32090 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32091 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32092 Introduce __libc_secure_getenv.
32093 * stdlib/Versions (2.17): Add secure_getenv
32094 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32095 * stdlib/secure-getenv.c: Rename __secure_getenv to
32096 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32097 symbol __secure_getenv for GLIBC_2.0.
32098 * stdlib/tst-secure-getenv.c: New.
32099 * stdlib/Makefile (tests): Add testcase.
32100 * manual/startup.texi (Environment Access): Document
32101 secure_getenv.
32102 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32103 __libc_secure_getenv.
32104 * inet/ruserpass.c (ruserpass): Likewise.
32105 * malloc/mtrace.c (mtrace): Likewise.
32106 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32107 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32108 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32109 * sysdeps/posix/tempname.c: Likewise. Evaluate
32110 HAVE_SECURE_GETENV.
32111 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32112 __secure_getenv to __libc_secure_getenv.
32113 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32115 Likewise.
32116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32117 Likewise.
32118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32120 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32125
32126 2012-07-25 Joseph Myers <joseph@codesourcery.com>
32127
32128 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32129 (struct La_i86_retval): Likewise.
32130 (struct La_x86_64_regs): Likewise.
32131 (struct La_x86_64_retval): Likewise.
32132 (struct La_x32_regs): Likewise.
32133 (struct La_x32_retval): Likewise.
32134 (struct La_ppc32_regs): Likewise.
32135 (struct La_ppc32_retval): Likewise.
32136 (struct La_ppc64_regs): Likewise.
32137 (struct La_ppc64_retval): Likewise.
32138 (struct La_sh_regs): Likewise.
32139 (struct La_sh_retval): Likewise.
32140 (struct La_s390_32_regs): Likewise.
32141 (struct La_s390_32_retval): Likewise.
32142 (struct La_s390_64_regs): Likewise.
32143 (struct La_s390_64_retval): Likewise.
32144 (struct La_sparc32_regs): Likewise.
32145 (struct La_sparc32_retval): Likewise.
32146 (struct La_sparc64_regs): Likewise.
32147 (struct La_sparc64_retval): Likewise.
32148 (struct audit_ifaces): Remove architecture-specific pltenter and
32149 pltexit members.
32150 * sysdeps/i386/ldsodefs.h: New file.
32151 * sysdeps/powerpc/ldsodefs.h: Likewise.
32152 * sysdeps/s390/ldsodefs.h: Likewise.
32153 * sysdeps/sh/ldsodefs.h: Likewise.
32154 * sysdeps/sparc/ldsodefs.h: Likewise.
32155 * sysdeps/x86_64/ldsodefs.h: Likewise.
32156
32157 2012-07-25 Marek Polacek <polacek@redhat.com>
32158
32159 [BZ #6808]
32160 * math/libm-test.inc (yn_test): Add another test.
32161 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32162 to ERANGE when the result is +-Inf.
32163 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32164 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32165 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32166 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32167
32168 2012-07-24 Joseph Myers <joseph@codesourcery.com>
32169
32170 * conform/data/time.h-data (NULL): Use macro-constant. Require
32171 equal to 0.
32172 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32173 clock_t.
32174 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32175
32176 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32177
32178 * configure.in <sysdeps resolving>: Correct printing
32179 Implies_before.
32180 * configure: Regenerate.
32181
32182 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32183
32184 * math/w_ilogb.c: Include <limits.h>.
32185 * math/w_ilogbl.c: Likewise.
32186
32187 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32188
32189 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32190 va_copy. Document allowing for unavailable va_copy only as
32191 pre-C99 compatibility.
32192 * manual/string.texi (Copying and Concatenation): Use va_copy
32193 instead of __va_copy in concat example.
32194
32195 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32196
32197 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32198 (__sendto): Use create_address_port. Initialize APORT and deallocate
32199 it if not null.
32200
32201 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32202 with O_NOLINK passed to __file_name_lookup.
32203
32204 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32205 with O_NOLINK passed to __file_name_lookup.
32206
32207 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32208 negative N or less than NGIDS.
32209
32210 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32211 type to string_t. Set ERANGE as errno and return it if NAME is not big
32212 enough. Use memcpy instead of strncpy.
32213
32214 2012-07-20 Joseph Myers <joseph@codesourcery.com>
32215
32216 * elf/Makefile (check-data): Remove.
32217 (localplt.data): New vpath directive.
32218 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32219 instead of $(check-data).
32220 * scripts/data/localplt-generic.data: Move to ...
32221 * sysdeps/generic/localplt.data: ... here.
32222 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32223 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32224 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32226 ... here.
32227 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32229 ... here.
32230 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32232 ... here.
32233 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32235 ... here.
32236 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32238 ... here.
32239 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32241 ... here.
32242
32243 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32244
32245 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32246 PPC32 and PPC64 files.
32247 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32248 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32249
32250 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32251
32252 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32253 __makecontext_ret to ...
32254 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32255 ... here and call exit if uc_link is NULL. New file.
32256 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32257 __makecontext_ret.S.
32258 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32259 __makecontext_ret to ...
32260 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32261 ... here and call exit if uc_link is NULL. New file.
32262 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32263 __makecontext_ret.S.
32264
32265 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32266
32267 * elf/elf.h (R_390_IRELATIVE): New definition.
32268 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32269 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32270 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32271 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32272 (elf_machine_lazy_rel): Likewise.
32273 * sysdeps/s390/dl-irel.h: New file.
32274 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32275 * sysdeps/s390/s390-64/memset.S: New asm code.
32276 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32277 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32278 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32279 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32280 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32281 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32282 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32283 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32284 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32285 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32286 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32287 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32288 * sysdeps/s390/s390-32/memset.S: New asm code.
32289 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32290
32291 2012-07-17 Marek Polacek <polacek@redhat.com>
32292
32293 [BZ #14349]
32294 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32295 * sysdeps/s390/s390-64/configure.in: Likewise.
32296 * sysdeps/sparc/configure.in: Likewise.
32297 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32298 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32299 * sysdeps/i386/configure.in: Likewise.
32300 * sysdeps/x86_64/configure.in: Likewise.
32301 * sysdeps/sh/configure.in: Likewise.
32302 * sysdeps/s390/s390-32/configure: Regenerated.
32303 * sysdeps/s390/s390-64/configure: Likewise.
32304 * sysdeps/x86_64/configure: Likewise.
32305 * sysdeps/sh/configure: Likewise.
32306 * sysdeps/powerpc/powerpc64/configure: Likewise.
32307 * sysdeps/powerpc/powerpc32/configure: Likewise.
32308 * sysdeps/sparc/configure: Likwise.
32309 * sysdeps/i386/configure: Likewise.
32310
32311 * elf/dl-open.c: Comment fixes.
32312
32313 2012-07-17 Joseph Myers <joseph@codesourcery.com>
32314
32315 * Makefile [CXX] (check-data): Remove.
32316 [CXX] (c++-types.data): New vpath directive.
32317 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32318 vpath. Do not allow for C++ type data being missing.
32319 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32320 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32321 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32322 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32323 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32324 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32325 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32327 ... here.
32328 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32330 ... here.
32331 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32333 ... here.
32334 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32336 ... here.
32337 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32339 ... here.
32340 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32342 ... here.
32343 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32345 ... here.
32346 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32348
32349 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32350 definitions to architecture-specific files.
32351 (TLS_IE): Likewise.
32352 (TLS_LD): Likewise.
32353 (TLS_GD): Likewise.
32354 * sysdeps/i386/tls-macros.h: New file.
32355 * sysdeps/powerpc/tls-macros.h: Likewise.
32356 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32357 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32358 * sysdeps/sh/tls-macros.h: Likewise.
32359 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32360 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32361 * sysdeps/x86_64/tls-macros.h: Likewise.
32362
32363 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32364
32365 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32366 zero value for regular exit case.
32367
32368 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32369 (__start_context): Preserve zero value for regular exit case.
32370
32371 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32372 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32373
32374 * manual/setjmp.texi (setcontext): Clarify normal process
32375 termination when uc_link is the null pointer.
32376 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32377 exit call.
32378
32379 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32380
32381 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32382 preprocessor. Test for each exception mask separately.
32383
32384 2012-07-16 Andreas Jaeger <aj@suse.de>
32385
32386 * po/ru.po: Update from translation team.
32387
32388 2012-07-15 Joseph Myers <joseph@codesourcery.com>
32389
32390 * conform/data/string.h-data (NULL): Use macro-constant. Require
32391 equal to 0.
32392 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32393 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32394 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32395 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32396 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32397
32398 2012-07-13 Andreas Jaeger <aj@suse.de>
32399
32400 * po/fr.po: Update from translation team.
32401
32402 2012-07-12 Marek Polacek <polacek@redhat.com>
32403
32404 [BZ #14173]
32405 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32406 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32407 loop condition.
32408
32409 2012-07-12 Joseph Myers <joseph@codesourcery.com>
32410
32411 [BZ #13717]
32412 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32413 Change to 2.4.1 where previously 2.4.0.
32414 * sysdeps/unix/sysv/linux/configure: Regenerated.
32415 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32416 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32417 version.
32418 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32419 (__ASSUME_AT_CLKTCK): Remove.
32420 (__ASSUME_AT_PAGESIZE): Likewise.
32421 (__ASSUME_AT_XID): Likewise.
32422 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32423 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32424 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32425 unconditionally.
32426 (HAVE_AUX_PAGESIZE): Likewise.
32427 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32428 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32429 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32430
32431 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32432
32433 [BZ #14307]
32434 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32435 the temporary buffer used to invoke __gethostbyname2_r,
32436 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32437 host_data / struct gaih_addrtuple.
32438 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32439 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32440 header file nss/nsswitch.h.
32441 * nss/nsswitch.h (global scope): Add definition of implementation
32442 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32443 resolv/nss_dns/dns-host.c).
32444
32445 2012-07-11 Andreas Jaeger <aj@suse.de>
32446
32447 * po/fr.po: Update from translation team.
32448
32449 * po/sv.po: Update from translation team
32450 * po/fr.po: Another update from translation team.
32451
32452 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32453
32454 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32455 for subnormals or multiply small sinh result by itself.
32456 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32458
32459 2012-07-11 David S. Miller <davem@davemloft.net>
32460
32461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32462
32463 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32464
32465 [BZ #14347]
32466 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32467 (INTERNAL_MARK): Shift it here.
32468
32469 2012-07-10 Marek Polacek <polacek@redhat.com>
32470
32471 [BZ #14151]
32472 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32473 libc_cv_asm_global_directive with .globl.
32474 * configure: Regenerated.
32475 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32476 with .globl.
32477 * sysdeps/i386/configure: Regenerated.
32478 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32479 with .globl.
32480 * sysdeps/x86_64/configure: Regenerated.
32481 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32482 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32483 * elf/tst-unique2mod2.c: Likewise.
32484 * elf/tst-unique2mod1.c: Likewise.
32485 * elf/tst-unique1mod2.c: Likewise.
32486 * elf/tst-unique1mod1.c: Likewise.
32487 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32488 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32489 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32490 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32491 * sysdeps/mach/sysdep.h: Likewise.
32492 * sysdeps/i386/sysdep.h: Likewise.
32493 * sysdeps/i386/i386-mcount.S: Likewise.
32494 * sysdeps/x86_64/_mcount.S: Likewise.
32495 * sysdeps/x86_64/sysdep.h: Likewise.
32496 * sysdeps/sh/_mcount.S: Likewise.
32497 * sysdeps/sh/sysdep.h: Likewise.
32498 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32499 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32500 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32501 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32502 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32503 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32504 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32505 * locale/localeinfo.h: Likewise.
32506 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32507 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32508
32509 2012-07-09 Roland McGrath <roland@hack.frob.com>
32510
32511 [BZ #14336]
32512 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32513 system".
32514 * manual/message.texi (The Uniforum approach): Likewise.
32515 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32516 (glibc iconv Implementation): Likewise.
32517
32518 2012-07-09 Joseph Myers <joseph@codesourcery.com>
32519
32520 [BZ #14337]
32521 * math/s_clog.c (__clog): Avoid scaling a value down where that
32522 could result in underflow.
32523 * math/s_clog10.c (__clog10): Likewise.
32524 * math/s_clog10f.c (__clog10f): Likewise.
32525 * math/s_clog10l.c (__clog10l): Likewise.
32526 * math/s_clogf.c (__clogf): Likewise.
32527 * math/s_clogl.c (__clogl): Likewise.
32528 * math/libm-test.inc (clog_test): Add more tests.
32529 (clog10_test): Likewise.
32530 * sysdeps/i386/fpu/libm-test-ulps: Update.
32531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32532
32533 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
32534
32535 [BZ #14283]
32536 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32537 by 7 not 8 to examine high bit of fractional part.
32538
32539 [BZ #14042]
32540 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32541 for call to __mcount_internal.
32542 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32543 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32544 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32545
32546 2012-07-06 Joseph Myers <joseph@codesourcery.com>
32547
32548 [BZ #14154]
32549 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32550 approximation for values within 0x1p-13f of an odd multiple of
32551 pi/4.
32552 * math/libm-test.inc (tan_test): Do not allow spurious underflow
32553 exception. Add more tests.
32554 * sysdeps/i386/fpu/libm-test-ulps: Update.
32555
32556 [BZ #6778]
32557 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32558 inputs and return -1 for them. Do not check for +Inf in case not
32559 reachable for +Inf.
32560 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32561 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32562 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32563 and return -1 for them. Do not check for +Inf in case not
32564 reachable for +Inf.
32565 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32566 define.
32567 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32568 and return -1 for them. Do not check for +Inf in case not
32569 reachable for +Inf.
32570 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
32571 spurious underflow.
32572 * sysdeps/i386/fpu/libm-test-ulps: Update.
32573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32574
32575 2012-07-06 Mike Frysinger <vapier@gentoo.org>
32576
32577 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32578
32579 2012-07-05 Joseph Myers <joseph@codesourcery.com>
32580
32581 [BZ #14157]
32582 [BZ #14331]
32583 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32584 could result in spurious underflow. Scale down values above
32585 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32586 * math/s_csqrtf.c (__csqrtf): Likewise.
32587 * math/s_csqrtl.c (__csqrtl): Likewise.
32588 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
32589 spurious underflow.
32590 * sysdeps/i386/fpu/libm-test-ulps: Update.
32591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32592
32593 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
32594
32595 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32596 xopen-msg.sed.
32597 * catgets/xopen-msg.awk: New file.
32598 * catgets/xopen-msg.sed: Removed.
32599
32600 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32601 po2text.sed.
32602 * intl/po2test.awk: New file.
32603 * intl/po2test.sed: Removed.
32604
32605 2012-07-04 Joseph Myers <joseph@codesourcery.com>
32606
32607 [BZ #14328]
32608 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32609 or multiply small sinh result by itself.
32610 * math/s_ctanf.c (__ctanf): Likewise.
32611 * math/s_ctanh.c (__ctanh): Likewise.
32612 * math/s_ctanhf.c (__ctanhf): Likewise.
32613 * math/s_ctanhl.c (__ctanhl): Likewise.
32614 * math/s_ctanl.c (__ctanl): Likewise.
32615 * math/libm-test.inc (ctan_test_tonearest): New function.
32616 (ctan_test_towardzero): Likewise.
32617 (ctan_test_downward): Likewise.
32618 (ctan_test_upward): Likewise.
32619 (ctanh_test_tonearest): Likewise.
32620 (ctanh_test_towardzero): Likewise.
32621 (ctanh_test_downward): Likewise.
32622 (ctanh_test_upward): Likewise.
32623 (main): Call these new functions.
32624 * sysdeps/i386/fpu/libm-test-ulps: Update.
32625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32626
32627 2012-07-03 Mike Frysinger <vapier@gentoo.org>
32628
32629 * .gitignore: Delete /ports entry.
32630
32631 2012-07-03 Andreas Jaeger <aj@suse.de>
32632
32633 * po/bg.po: Update from translation team.
32634 * po/cs.po: Likewise.
32635 * po/de.po: Likewise.
32636 * po/hr.po: Likewise.
32637 * po/nl.pl: Likewise.
32638 * po/pl.po: Likewise.
32639 * po/vi.po: Likewise.
32640
32641 2012-07-03 Joseph Myers <joseph@codesourcery.com>
32642
32643 * Makeconfig [!+link] (+link-before-libc): New variable.
32644 [!+link] (+link-after-libc): Likewise.
32645 [!+link] (+link-tests): Likewise.
32646 [!+link] (+link): Define in terms of $(+link-before-libc) and
32647 $(+link-after-libc).
32648 [!+link-static] (+link-static-before-libc): New variable.
32649 [!+link-static] (+link-static-after-libc): Likewise.
32650 [!+link-static] (+link-static-tests): Likewise.
32651 [!+link-static] (+link-static): Define in terms of
32652 $(+link-static-before-libc) and $(+link-static-after-libc).
32653 [build-shared] (link-libc-before-gnulib): New variable.
32654 [build-shared] (link-libc-tests): Likewise.
32655 [build-shared] (link-libc): Define in terms of
32656 $(link-libc-before-gnulib).
32657 [!build-shared] (link-libc-tests): New variable.
32658 (link-libc-static-tests): New variable.
32659 [!gnulib] (gnulib-arch): New variable.
32660 [!gnulib] (gnulib-tests): Likewise.
32661 [!gnulib] (static-gnulib-arch): Likewise.
32662 [!gnulib] (static-gnulib-tests): Likewise.
32663 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
32664 Define with "=" instead of ":=".
32665 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
32666 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
32667 * Rules (binaries-all-notests): New variable.
32668 (binaries-all-tests): Likewise.
32669 (binaries-static-notests): Likewise.
32670 (binaries-static-tests): Likewise.
32671 (binaries-all): Define using $(binaries-all-notests) and
32672 $(binaries-all-tests).
32673 (binaries-static): Define using $(binaries-static-notests) and
32674 $(binaries-static-tests).
32675 (binaries-shared-tests): New variable.
32676 (binaries-shared-notests): Likewise.
32677 (binaries-shared): Remove variable.
32678 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
32679 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
32680 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
32681 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
32682 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
32683 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
32684 * elf/Makefile (sln-modules): New variable.
32685 (extra-objs): Add $(sln-modules:=.o).
32686 (ldconfig-modules): Add static-stubs.
32687 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
32688 * elf/static-stubs.c: New file.
32689
32690 [BZ #14283]
32691 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
32692 by 7 not 8 to examine high bit of fractional part. Use volatile
32693 variables when splitting into final array of floats if
32694 __FLT_EVAL_METHOD__ != 0.
32695 * math/libm-test.inc (cos_test): Add another test.
32696 (sin_test): Likewise.
32697 * sysdeps/i386/fpu/libm-test-ulps: Update.
32698
32699 [BZ #14273]
32700 * math/libm-test.inc (cosh_test): Add more tests.
32701
32702 * version.h (RELEASE): Set to "development".
32703 (VERSION): Set to "2.16.90".
32704
32705 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
32706
32707 * NEWS: Update copyright. Remove last-updated date.
32708 Mention math library bug fixes and timezone data changes.
32709 * README: Mention GNU/Hurd, x32, and HPPA support status.
32710
32711 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
32712
32713 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
32714
32715 2012-06-27 Andreas Jaeger <aj@suse.de>
32716
32717 * manual/contrib.texi (Contributors): Add Samuel Thibault.
32718
32719 2012-06-25 Andreas Jaeger <aj@suse.de>
32720
32721 * sysdeps/s390/fpu/libm-test-ulps: Update.
32722
32723 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
32724 Thomas Schwinge <thomas@codesourcery.com>
32725
32726 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
32727 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
32728 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
32729 fanotify_mark.
32730
32731 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
32732
32733 * sysdeps/mach/start.c: Remove file.
32734 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
32735 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
32736 * sysdeps/sh/init-first.c: Likewise.
32737
32738 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
32739 registers for frame unwinding purposes, add CFI directives.
32740 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32741 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
32742 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
32743 Likewise.
32744
32745 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
32746 __fortify_fail returning.
32747 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
32748
32749 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
32750 sysdeps/sh/____longjmp_chk.S.
32751 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
32752 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
32753 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
32754 (gen-as-const-headers): Append sigaltstack-offsets.sym.
32755
32756 * sysdeps/sh/abort-instr.h: New file.
32757 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
32758 process in case exit returns.
32759
32760 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
32761 initialize the GOT register before use.
32762
32763 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
32764 calculation of ARGC > 4.
32765
32766 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
32767 meaningful names to some local labels.
32768
32769 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32770 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32771
32772 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
32773 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
32774 (__arch_compare_and_exchange_val_16_acq): Likewise.
32775 (__arch_compare_and_exchange_val_32_acq): Likewise.
32776 (atomic_exchange_and_add): Fix gUSA sequence.
32777 (atomic_add): Likewise.
32778 (atomic_add_negative): Likewise.
32779 (atomic_add_zero): Likewise.
32780 (atomic_bit_test_set): Likewise.
32781
32782 2012-06-22 Andreas Schwab <schwab@redhat.com>
32783
32784 [BZ #13579]
32785 * include/link.h (struct link_map): Add l_free_initfini.
32786 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
32787 l_initfini.
32788 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
32789 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
32790 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
32791 set.
32792
32793 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
32794
32795 * configure.in: Use AC_LANG_SOURCE.
32796 * configure: Regenerate.
32797
32798 2012-06-22 Roland McGrath <roland@hack.frob.com>
32799
32800 * configure.in (libc_cv_localstatedir): New substituted variable.
32801 * configure: Regenerated.
32802 * config.make.in (localstatedir): New variable, substituted from
32803 libc_cv_localstatedir.
32804 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
32805 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
32806 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
32807 * sysdeps/gnu/configure: Regenerated.
32808
32809 2012-06-21 Jeff Law <law@redhat.com>
32810
32811 [BZ #14277]
32812 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
32813 free. Simplify list management for _LIBC case.
32814
32815 2012-06-21 Joseph Myers <joseph@codesourcery.com>
32816
32817 [BZ #14273]
32818 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32819 Clear sign bit of 64-bit integer value before comparing against
32820 overflow value.
32821
32822 * sysdeps/mach/configure: Regenerated.
32823
32824 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
32825
32826 [BZ #14278]
32827 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
32828
32829 2012-06-21 Jeff Law <law@redhat.com>
32830
32831 [BZ #13882]
32832 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
32833 uint16_t for elements in the "seen" array to avoid char overflows.
32834 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32835 * elf/dl-open.c (dl_open_worker): Likewise.
32836
32837 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
32838
32839 * scripts/list-sources.sh: Scan PORTS for translations.
32840 * po/libc.pot: Regenerated.
32841
32842 2012-06-21 Andreas Jaeger <aj@suse.de>
32843
32844 [BZ #12194]
32845 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
32846 warning.
32847 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
32848 * bits/byteswap-16.h (__bswap_16): Likewise.
32849 * bits/byteswap.h (__bswap_constant_16): Likewise.
32850
32851 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
32852
32853 [BZ #14117]
32854 * sysdeps/i386/fpu_control.h: Removed.
32855 * sysdeps/x86_64/fpu_control.h: Moved to ...
32856 * sysdeps/x86/fpu_control.h: Here.
32857
32858 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
32859 (_FPU_SETCW): Likewise.
32860
32861 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
32862
32863 [BZ #14117]
32864 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
32865 * sysdeps/x86/fpu/bits/mathinline.h: This.
32866 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
32867
32868 [BZ #14050]
32869 [BZ #14117]
32870 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
32871 functions if __x86_64__ is defined.
32872
32873 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
32874
32875 * string/endian.h: Add !__ASSEMBLER__ condition for including
32876 conversion interfaces.
32877
32878 2012-06-15 Joseph Myers <joseph@codesourcery.com>
32879
32880 [BZ #14241]
32881 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
32882 of ABS(x) in calculating zero to negative powers other than odd
32883 integers.
32884 * math/libm-test.inc (pow_test): Add more tests.
32885
32886 2012-06-15 Andreas Jaeger <aj@suse.de>
32887
32888 * manual/contrib.texi (Contributors): Update entry of Liubov
32889 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32890 Machado Filho.
32891
32892 2012-06-15 Cyril Hrubis <metan@ucw.cz>
32893
32894 * string/string.h: Add __wur to GNU version of strerror_r.
32895
32896 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32897
32898 [BZ #14229]
32899 * string/Makefile (tests): Add tst-strtok_r.
32900 * string/tst-strtok_r.c: New file.
32901 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32902 RAX_LP/RDX_LP on SAVE_PTR.
32903
32904 2012-06-14 Roland McGrath <roland@hack.frob.com>
32905
32906 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32907
32908 2012-06-14 Joseph Myers <joseph@codesourcery.com>
32909
32910 * libm_test.inc (csqrt_test): Allow more spurious underflow
32911 exceptions.
32912 (j0_test): Likewise.
32913 (j1_test): Likewise.
32914 (y0_test): Likewise.
32915 (y1_test): Likewise.
32916
32917 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32918
32919 * po/Makefile (libc.pot): Use UTF-8 charset.
32920
32921 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32922
32923 [BZ #14210]
32924 Suppress sign-conversion warning from FD_SET.
32925 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32926 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32927 not unsigned long int.
32928 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32929
32930 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32931
32932 [BZ #14050]
32933 [BZ #14117]
32934 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32935 __extern_always_inline instead of __extern_inline.
32936 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32937 (__signbit): Likewise.
32938 (__signbitl): Support C++ namespace.
32939 (lrintf): New inline function.
32940 (lrint): Likewise.
32941 (llrintf): Likewise.
32942 (llrint): Likewise.
32943 (fmaxf): Likewise.
32944 (fmax): Likewise.
32945 (fminf): Likewise.
32946 (fmin): Likewise.
32947 (rint): Likewise.
32948 (rintf): Likewise.
32949 (ceil): Likewise.
32950 (ceilf): Likewise.
32951 (floor): Likewise.
32952 (floorf): Likewise.
32953 (nearbyint): Likewise.
32954 (nearbyintf): Likewise.
32955
32956 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32957
32958 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32959 non-default versions.
32960
32961 2012-06-11 Roland McGrath <roland@hack.frob.com>
32962
32963 [BZ #14218]
32964 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32965
32966 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32967
32968 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32969 (FE_UPWARD, FE_DOWNWARD): Don't define.
32970 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32971 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32972
32973 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32974 reading it.
32975 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32976 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32977
32978 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32979
32980 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32981 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32982 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32983 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32984
32985 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32986
32987 [BZ #14117]
32988 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32989 * sysdeps/i386/fpu/Implies: New file.
32990 * sysdeps/x86_64/fpu/Implies: Likewise.
32991 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32992 * sysdeps/x86/fpu/bits/fenv.h: This.
32993
32994 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32995 __SSE_MATH__.
32996
32997 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32998
32999 [BZ #14134]
33000 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33001 character 0xffff that matches the last element of the
33002 conversion table.
33003
33004 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33005
33006 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33007 fmodl commit.
33008
33009 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33010
33011 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33012 values higher than 25.6283.
33013
33014 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33015
33016 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33017 subnormal exponent extraction and add some __builtin_expect.
33018 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33019 Fix for subnormal mantissa calculation.
33020
33021 2012-06-04 Mike Frysinger <vapier@gentoo.org>
33022
33023 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33024 cpu2 is -1 and errno is not ENOSYS.
33025
33026 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33027
33028 [BZ #14117]
33029 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33030 * sysdeps/x86/bits/string.h: This.
33031 * sysdeps/x86_64/bits/string.h: Removed.
33032
33033 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33034 if not compiling for x86-64, but compiling for >= i486.
33035
33036 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33037 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33038
33039 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33040 New macro from Linux kernel 3.4.0.
33041 (FP_XSTATE_MAGIC2): Likewise.
33042 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33043 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33044 (struct _fpx_sw_bytes): New struct.
33045 (struct _xsave_hdr): Likewise.
33046 (struct _ymmh_state): Likewise.
33047 (struct _xstate): Likewise.
33048
33049 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33050 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33051 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33052 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33053 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33054 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33055
33056 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33057 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33058 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33059 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33060 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33061 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33062
33063 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33064
33065 [BZ #13743]
33066 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33067 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33068 (sysdep_headers): Include sys/platform/ppc.h.
33069 * sysdeps/powerpc/test-gettimebase.c: Test for
33070 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33071 * manual/Makefile (appendices): Include platform.texi.
33072 * manual/contrib.texi (Contributors): Update @node pointers.
33073 * manual/maint.texi (Maintenance): Likewise.
33074 (Platform): New node.
33075 * manual/platform.texi: New file. Document the new features.
33076
33077 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33078 Jakub Jelinek <jakub@redhat.com>
33079
33080 [BZ #14188]
33081 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33082 where __builtin_expect is unavailable.
33083
33084 2012-06-03 David S. Miller <davem@davemloft.net>
33085
33086 * stdlib/longlong.h: Updated from GCC.
33087
33088 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33089
33090 [BZ #14042]
33091 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33092 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33093 __mcount_internal.
33094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33095 (GLIBC_2.16): Likewise.
33096
33097 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33098
33099 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33100
33101 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33102
33103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33104 (default-abi): New variable.
33105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33106 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33107 variable.
33108 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33109 Likewise.
33110 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33111 Likewise.
33112 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33113 Likewise.
33114
33115 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33116 definition. Document in comment.
33117
33118 2012-06-01 David S. Miller <davem@davemloft.net>
33119
33120 * stdlib/longlong.h: Updated from GCC.
33121
33122 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33123
33124 [BZ #14117]
33125 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33126 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33127 sys/debugreg.h sys/io.h here.
33128 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33129 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33130 sys/io.h.
33131 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33132 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33133 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33134 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33135 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33136 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33137
33138 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33139 Define only if __x86_64__ is defined.
33140
33141 2012-06-01 Joseph Myers <joseph@codesourcery.com>
33142
33143 [BZ #14048]
33144 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33145 Use int64_t for variable i.
33146 * math/libm-test.inc (fmod_test): Add more tests.
33147
33148 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33149 z computation is not scheduled after fetestexcept.
33150 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33151 Use math_force_eval instead of asm to ensure calculation scheduled
33152 before exception test.
33153 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33154 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33155
33156 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33157
33158 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33159 computation is not scheduled after fetestexcept.
33160
33161 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33162
33163 [BZ #14117]
33164 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33165 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33166
33167 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33168
33169 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33170 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33171
33172 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33173
33174 [BZ #14117]
33175 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33176 <bits/wordsize.h>.
33177 (__WCHAR_MIN): Support __WORDSIZE == 64.
33178 (__WCHAR_MAX): Likewise.
33179
33180 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33181 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33182
33183 [BZ #14183]
33184 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33185 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33186
33187 [BZ #14117]
33188 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33189 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33190
33191 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33192 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33193
33194 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33195 Defined to 1 if __x86_64__ isn't defined.
33196 (_STAT_VER_LINUX_OLD): New.
33197 (st_atime): Remove duplicate.
33198 (st_mtime): Likewise.
33199 (st_ctime): Likewise.
33200
33201 2012-05-31 David S. Miller <davem@davemloft.net>
33202
33203 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33204 entries.
33205
33206 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33207
33208 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33209 gen-libm-test.pl.
33210
33211 [BZ #14132]
33212 * elf/dl-reloc.c: Include <_itoa.h>.
33213 (_dl_reloc_bad_type): Remove use of INTUSE.
33214 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33215 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33216 * stdio-common/psiginfo.c (psiginfo): Likewise.
33217 * stdio-common/psignal.c (psignal): Likewise.
33218 * string/strsignal.c (strsignal): Likewise.
33219 * include/signal.h (_sys_siglist): Declare hidden proto.
33220 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33221 INTVARDEF with libc_hidden_data_def.
33222 * stdio-common/itoa-udigits.c: Likewise.
33223 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33224 (_itoa_lower_digits_internal): Remove declaration.
33225 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33226 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33227 (_sys_sigabbrev_internal): Remove aliases.
33228 (_sys_siglist): Define hidden alias.
33229
33230 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33231
33232 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33233 bits/sysctl.h.
33234
33235 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33236
33237 [BZ #14117]
33238 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33239 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33240
33241 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33242 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33243 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33244 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33245 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33246 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33247
33248 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33249 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33250 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33251
33252 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33253 with __addr.
33254 (insw): Likewise.
33255 (insl): Likewise.
33256 (outsb): Likewise.
33257 (outsw): Likewise.
33258 (outsl): Likewise.
33259
33260 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33261 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33262 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33263
33264 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33265 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33266 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33267 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33268 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33269 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33270
33271 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33272 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33273
33274 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33275 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33276
33277 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33278 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33279 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33280
33281 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33282 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33283 to ...
33284 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33285
33286 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33287 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33288 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33289
33290 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33291 for x86-64.
33292 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33293
33294 2012-05-31 Joseph Myers <joseph@codesourcery.com>
33295
33296 * math/math.h (M_El): Use two more decimal places.
33297 (M_LOG2El): Likewise.
33298 (M_LOG10El): Likewise.
33299 (M_LN2l): Likewise.
33300 (M_LN10l): Likewise.
33301 (M_PIl): Likewise.
33302 (M_PI_2l): Likewise.
33303 (M_PI_4l): Likewise.
33304 (M_1_PIl): Likewise.
33305 (M_2_PIl): Likewise.
33306 (M_2_SQRTPIl): Likewise.
33307 (M_SQRT2l): Likewise.
33308 (M_SQRT1_2l): Likewise.
33309
33310 2012-05-31 David S. Miller <davem@davemloft.net>
33311
33312 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33313 values between float registers.
33314 * sysdeps/sparc/sparc64/memset.S: Likewise.
33315 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33316
33317 2012-05-31 Mike Frysinger <vapier@gentoo.org>
33318
33319 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33320 -D_FORTIFY_SOURCE=1.
33321 (CPPFLAGS-tst-longjmp_chk.c): Define.
33322 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33323 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33324 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33325 CFLAGS-tst-wchar-h.c.
33326
33327 2012-05-31 Marek Polacek <polacek@redhat.com>
33328
33329 [BZ #14132]
33330 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33331 __endmntent_internal): Remove declaration.
33332 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33333 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33334 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33335
33336 2012-05-30 David S. Miller <davem@davemloft.net>
33337
33338 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33339 (___Q_simulate_exceptions): Use real FP ops rather than writing
33340 into the %fsr.
33341 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33342 Likewise.
33343
33344 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33345
33346 [BZ #14117]
33347 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33348 * sysdeps/x86/bits/xtitypes.h: This.
33349
33350 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33351 * sysdeps/x86/bits/wordsize.h: This.
33352
33353 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33354 * sysdeps/x86/bits/huge_vall.h: This.
33355
33356 * sysdeps/i386/bits/select.h: Removed.
33357 * sysdeps/x86_64/bits/select.h: Renamed to ...
33358 * sysdeps/x86/bits/select.h: This.
33359
33360 * sysdeps/i386/bits/setjmp.h: Removed.
33361 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33362 * sysdeps/x86/bits/setjmp.h: This.
33363
33364 * sysdeps/i386/bits/mathdef.h: Removed.
33365 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33366 * sysdeps/x86/bits/mathdef.h: This.
33367
33368 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33369
33370 [BZ #14132]
33371 * include/sys/socket.h (__connect_internal)
33372 (__libc_sa_len_internal): Remove declaration.
33373 (__connect, __libc_sa_len): Declare hidden_proto.
33374 (SA_LEN): Remove use of INTUSE.
33375 * socket/connect.c: Add libc_hidden_def.
33376 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33377 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33378 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33379 alias.
33380 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33381 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33382 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33383 of adding _internal alias.
33384
33385 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33386
33387 [BZ #14117]
33388 * sysdeps/i386/bits/link.h: Removed.
33389 * sysdeps/i386/bits/linkmap.h: Likewise.
33390 * sysdeps/x86_64/bits/link.h: Renamed to ...
33391 * sysdeps/x86/bits/link.h: This.
33392 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33393 * sysdeps/x86/bits/linkmap.h: This.
33394
33395 * sysdeps/i386/bits/endian.h: Removed.
33396 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33397 * sysdeps/x86/bits/endian.h: This.
33398
33399 * sysdeps/i386/bits/byteswap.h: Removed.
33400 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33401 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33402 * sysdeps/x86/bits/byteswap.h: This.
33403 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33404 * sysdeps/x86/bits/byteswap-16.h: This.
33405 * sysdeps/i386/Implies: Add x86.
33406 * sysdeps/x86_64/Implies: Likewise.
33407
33408 2012-05-30 David S. Miller <davem@davemloft.net>
33409
33410 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33411 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33412 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33413 (FP_TRAPPING_EXCEPTIONS): Define.
33414 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33415 (FP_TRAPPING_EXCEPTIONS): Define.
33416 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33417 subnormals only when inexact has been signalled or underflow
33418 exceptions are enabled.
33419 (_FP_PACK_CANONICAL): Likewise.
33420
33421 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33422
33423 [BZ #14183]
33424 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33425 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33426
33427 2012-05-30 Richard Henderson <rth@twiddle.net>
33428
33429 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33430 with #ifndef NOT_IN_libc.
33431
33432 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33433 marked to avoid plt entry.
33434
33435 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33436
33437 [BZ #14112]
33438 * Makeconfig (default-abi): New macro.
33439 (abi-includes): Likewise.
33440 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33441 $(abi-$(default-abi)-lib-soname) for soname if defined.
33442 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33443 abi-variants.
33444 * Makefile (installed-stubs): Likewise.
33445 * include/stubs-biarch.h: Removed.
33446 * scripts/lib-names.awk: Only handle one library at a time.
33447 * scripts/soversions.awk: Remove WORDSIZE support.
33448 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33449 entries.
33450 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33451 Removed.
33452 (syscall-list-default-condition): Likewise.
33453 (syscall-list-default-condition): Likewise.
33454 (syscall-list-includes): Likewise.
33455 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33456 syscall-list-* with abi-*. Handle undefined abi-variants.
33457 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33458 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33459 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33460 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33461 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33462 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33463 Removed.
33464 (syscall-list-32-options): Likewise.
33465 (syscall-list-32-condition): Likewise.
33466 (syscall-list-64-options): Likewise.
33467 (syscall-list-64-condition): Likewise.
33468 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33469 macro.
33470 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33471 Renamed to ...
33472 (abi-*): This.
33473 (abi-64-ld-soname): New macro.
33474 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33475 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33476 Renamed to ...
33477 (abi-*): This.
33478 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33479 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33480
33481 2012-05-30 Joseph Myers <joseph@codesourcery.com>
33482
33483 * sysdeps/unix/sysv/linux/kernel-features.h
33484 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33485 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33486 include <kernel-features.h>.
33487 [!__NR_ftruncate64]: Remove conditional code.
33488 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33489 [__NR_ftruncate64]: Make code unconditional.
33490 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33491 * sysdeps/unix/sysv/linux/truncate64.c: Do not
33492 include <kernel-features.h>.
33493 [!__NR_ftruncate64]: Remove conditional code.
33494 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33495 [__NR_ftruncate64]: Make code unconditional.
33496 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33498 include <kernel-features.h>.
33499 [!__NR_ftruncate64]: Remove conditional code.
33500 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33501 [__NR_ftruncate64]: Make code unconditional.
33502 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33504 include <kernel-features.h>.
33505 [!__NR_ftruncate64]: Remove conditional code.
33506 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33507 [__NR_ftruncate64]: Make code unconditional.
33508 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33509
33510 * configure.in (libc_cv_fpie): Weaken to a compile test using
33511 LIBC_TRY_CC_OPTION.
33512 * configure: Regenerated.
33513
33514 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33515
33516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33520 Refreshed.
33521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33527 Refreshed.
33528
33529 2012-05-27 David S. Miller <davem@davemloft.net>
33530
33531 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33532 (___Q_zero): New.
33533 (__Q_simulate_exceptions): Return void. Change to simulate
33534 exceptions by writing into the %fsr.
33535 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33536 (__Qp_handle_exceptions): Likewise.
33537 (numbers): Delete.
33538 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33539 __Qp_handle_exceptions.
33540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33541 __Qp_handle_exceptions.
33542 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33543 as unused and give dummy FP_RND_NEAREST initializer.
33544 (FP_INHIBIT_RESULTS): Define.
33545 (___Q_simulate_exceptions): Update declaration.
33546 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33547 formatting.
33548 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33549 as unused and give dummy FP_RND_NEAREST initializer.
33550 (__Qp_handle_exceptions): Update declaration.
33551 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33552 formatting.
33553
33554 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
33555
33556 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33557 the temporary FPU control word.
33558 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33559 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33560 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33561 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33562 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33563 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33564 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33565 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33566 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33567 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33568 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33569
33570 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33571
33572 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33573 fields.
33574
33575 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
33576
33577 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33578 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33579 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33580 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33581 Likewise.
33582 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33583 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33584 Likewise.
33585
33586 2012-05-27 Ulrich Drepper <drepper@gmail.com>
33587
33588 * po/h.po: Update from translation team.
33589
33590 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
33591
33592 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33593
33594 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33595 handling of denormals.
33596 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33597 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33598 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33599 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33600 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33601 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33602 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33603 Likewise.
33604
33605 2012-05-26 Marek Polacek <polacek@redhat.com>
33606
33607 [BZ #14152]
33608 * math/libm-test.inc (fma_test): Don't always expect underflow
33609 exception.
33610
33611 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33612
33613 [BZ #12416]
33614 * elf/tst-execstack.c: Include stackinfo.h.
33615 (do_test): Adjust test case to ensure that pthread_getattr_np
33616 behaviour remains the same after marking stack executable.
33617
33618 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33619
33620 * sysdeps/unix/sysv/linux/kernel-features.h
33621 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33622 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33623 kernel-features.h.
33624 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33625 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33626 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33627 kernel-features.h.
33628 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33629 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33630
33631 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
33632
33633 * configure.in: Define the default includes to being none.
33634 * configure: Regenerated.
33635
33636 2012-05-25 Roland McGrath <roland@hack.frob.com>
33637
33638 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33639 * sysdeps/x86_64/setjmp.S: Likewise.
33640 * sysdeps/i386/bsd-setjmp.S: Likewise.
33641 * sysdeps/i386/bsd-_setjmp.S: Likewise.
33642 * sysdeps/i386/setjmp.S: Likewise.
33643 * sysdeps/i386/__longjmp.S: Likewise.
33644 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33645 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
33646
33647 * include/stap-probe.h: New file.
33648 * configure.in: Handle --enable-systemtap.
33649 * configure: Regenerated.
33650 * config.h.in (USE_STAP_PROBE): New #undef.
33651 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
33652 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
33653 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33654
33655 2012-05-25 Joseph Myers <joseph@codesourcery.com>
33656
33657 [BZ #13717]
33658 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33659 to 2.4.0 where earlier.
33660 * sysdeps/unix/sysv/linux/configure: Regenerated.
33661 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33662 <kernel-features.h>.
33663 [__ASSUME_32BITUIDS]: Make code unconditional.
33664 [!__ASSUME_32BITUIDS]: Remove conditional code.
33665 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
33666 <kernel-features.h>.
33667 [__ASSUME_32BITUIDS]: Make code unconditional.
33668 [!__ASSUME_32BITUIDS]: Remove conditional code.
33669 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
33670 [__ASSUME_32BITUIDS]: Make code unconditional.
33671 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
33672 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
33673 <kernel-features.h>.
33674 [__ASSUME_32BITUIDS]: Make code unconditional.
33675 [!__ASSUME_32BITUIDS]: Remove conditional code.
33676 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
33677 <kernel-features.h>.
33678 [__ASSUME_32BITUIDS]: Make code unconditional.
33679 [!__ASSUME_32BITUIDS]: Remove conditional code.
33680 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
33681 <kernel-features.h>.
33682 [__ASSUME_32BITUIDS]: Make code unconditional.
33683 [!__ASSUME_32BITUIDS]: Remove conditional code.
33684 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
33685 <kernel-features.h>.
33686 [__ASSUME_32BITUIDS]: Make code unconditional.
33687 [!__ASSUME_32BITUIDS]: Remove conditional code.
33688 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33689 <kernel-features.h>.
33690 [__ASSUME_32BITUIDS]: Make code unconditional.
33691 [!__ASSUME_32BITUIDS]: Remove conditional code.
33692 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33693 <kernel-features.h>.
33694 [__ASSUME_32BITUIDS]: Make code unconditional.
33695 [!__ASSUME_32BITUIDS]: Remove conditional code.
33696 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
33697 <kernel-features.h>.
33698 [__ASSUME_32BITUIDS]: Make code unconditional.
33699 [!__ASSUME_32BITUIDS]: Remove conditional code.
33700 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33701 <kernel-features.h>.
33702 [__ASSUME_32BITUIDS]: Make code unconditional.
33703 [!__ASSUME_32BITUIDS]: Remove conditional code.
33704 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33705 <kernel-features.h>.
33706 [__ASSUME_32BITUIDS]: Make code unconditional.
33707 [!__ASSUME_32BITUIDS]: Remove conditional code.
33708 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
33709 <kernel-features.h>.
33710 [__ASSUME_32BITUIDS]: Make code unconditional.
33711 [!__ASSUME_32BITUIDS]: Remove conditional code.
33712 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
33713 <kernel-features.h>.
33714 [__NR_setresgid] (__setresgid): Do not declare.
33715 [__ASSUME_32BITUIDS]: Make code unconditional.
33716 [!__ASSUME_32BITUIDS]: Remove conditional code.
33717 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
33718 <kernel-features.h>.
33719 [__NR_setresuid] (__setresuid): Do not declare.
33720 [__ASSUME_32BITUIDS]: Make code unconditional.
33721 [!__ASSUME_32BITUIDS]: Remove conditional code.
33722 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
33723 <kernel-features.h>.
33724 [__ASSUME_32BITUIDS]: Make code unconditional.
33725 [!__ASSUME_32BITUIDS]: Remove conditional code.
33726 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
33727 <kernel-features.h>.
33728 [__ASSUME_32BITUIDS]: Make code unconditional.
33729 [!__ASSUME_32BITUIDS]: Remove conditional code.
33730 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
33731 <kernel-features.h>.
33732 [__ASSUME_32BITUIDS]: Make code unconditional.
33733 [!__ASSUME_32BITUIDS]: Remove conditional code.
33734 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
33735 <kernel-features.h>.
33736 [__ASSUME_32BITUIDS]: Make code unconditional.
33737 [!__ASSUME_32BITUIDS]: Remove conditional code.
33738 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
33739 <kernel-features.h>.
33740 [__ASSUME_32BITUIDS]: Make code unconditional.
33741 [!__ASSUME_32BITUIDS]: Remove conditional code.
33742 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
33743 <kernel-features.h>.
33744 [__ASSUME_32BITUIDS]: Make code unconditional.
33745 [!__ASSUME_32BITUIDS]: Remove conditional code.
33746 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
33747 <kernel-features.h>.
33748 [__ASSUME_32BITUIDS]: Make code unconditional.
33749 [!__ASSUME_32BITUIDS]: Remove conditional code.
33750 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
33751 <kernel-features.h>.
33752 [__ASSUME_32BITUIDS]: Make code unconditional.
33753 [!__ASSUME_32BITUIDS]: Remove conditional code.
33754 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
33755 <kernel-features.h>.
33756 [__ASSUME_32BITUIDS]: Make code unconditional.
33757 [!__ASSUME_32BITUIDS]: Remove conditional code.
33758 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33759 <kernel-features.h>.
33760 [__ASSUME_32BITUIDS]: Make code unconditional.
33761 [!__ASSUME_32BITUIDS]: Remove conditional code.
33762 * sysdeps/unix/sysv/linux/kernel-features.h
33763 (__ASSUME_SETRESUID_SYSCALL): Remove.
33764 (__ASSUME_SETRESGID_SYSCALL): Likewise.
33765 (__ASSUME_32BITUIDS): Likewise.
33766 (__ASSUME_LDT_WORKS): Likewise.
33767 (__ASSUME_O_DIRECTORY): Likewise.
33768 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
33769 architecture but not kernel version.
33770 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
33771 (__ASSUME_MMAP2_SYSCALL): Likewise.
33772 (__ASSUME_STAT64_SYSCALL): Likewise.
33773 (__ASSUME_IPC64): Likewise.
33774 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
33775 <kernel-features.h>.
33776 [__ASSUME_32BITUIDS]: Make code unconditional.
33777 [!__ASSUME_32BITUIDS]: Remove conditional code.
33778 * sysdeps/unix/sysv/linux/opendir.c: Do not include
33779 <kernel-features.h>.
33780 [__ASSUME_O_DIRECTORY]: Make code unconditional.
33781 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
33782 132096]: Remove conditional code.
33783 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
33784 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33785 <kernel-features.h>.
33786 [__ASSUME_32BITUIDS]: Make code unconditional.
33787 [!__ASSUME_32BITUIDS]: Remove conditional code.
33788 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33789 <kernel-features.h>.
33790 [__ASSUME_32BITUIDS]: Make code unconditional.
33791 [!__ASSUME_32BITUIDS]: Remove conditional code.
33792 * sysdeps/unix/sysv/linux/setegid.c: Do not include
33793 <kernel-features.h>.
33794 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
33795 unconditional.
33796 (__setresgid): Do not declare.
33797 [__ASSUME_32BITUIDS]: Make code unconditional.
33798 [!__ASSUME_32BITUIDS]: Remove conditional code.
33799 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
33800 <kernel-features.h>.
33801 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
33802 unconditional.
33803 (__setresuid): Do not declare.
33804 [__ASSUME_32BITUIDS]: Make code unconditional.
33805 [!__ASSUME_32BITUIDS]: Remove conditional code.
33806 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33807 <kernel-features.h>.
33808 [__ASSUME_32BITUIDS]: Make code unconditional.
33809 [!__ASSUME_32BITUIDS]: Remove conditional code.
33810 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
33811 <kernel-features.h>.
33812 [__ASSUME_32BITUIDS]: Make code unconditional.
33813 [!__ASSUME_32BITUIDS]: Remove conditional code.
33814
33815 2012-05-25 Richard Henderson <rth@twiddle.net>
33816
33817 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
33818 dl_hwcap to ifunc resolver.
33819 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
33820 elf_ifunc_invoke.
33821 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
33822 dl_hwcap to ifunc resolver.
33823 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
33824
33825 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33826
33827 [BZ #14153]
33828 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
33829 for |x| <= 2**-26, not 2**-57.
33830 * math/libm-test.inc (acos_test): Do not allow spurious underflow
33831 exception.
33832
33833 2012-05-24 Jeff Law <law@redhat.com>
33834
33835 * stdio-common/Makefile (tests): Add bug25.
33836 * stdio-common/bug25.c: New test.
33837
33838 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33839
33840 [BZ #13576]
33841 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
33842 multiple of MALLOC_ALIGNMENT in size.
33843 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
33844
33845 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33846
33847 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
33848 Require >= 256.
33849 (FILENAME_MAX): Use macro-int-constant.
33850 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
33851 (_IOFBF): Use macro-int-constant.
33852 (_IOLBF): Likewise.
33853 (_IONBF): Likewise.
33854 (SEEK_CUR): Likewise.
33855 (SEEK_END): Likewise.
33856 (SEEK_SET): Likewise.
33857 (TMP_MAX): Likewise.
33858 (EOF): Use macro-int-constant. Require < 0.
33859 (NULL): Use macro-constant. Require == 0.
33860 (stdin): Require type to be FILE *.
33861 (stdout): Likewise.
33862 (stderr): Likewise.
33863 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
33864 macro-int-constant.
33865 (EXIT_SUCCESS): Likewise.
33866 (NULL): Use macro-constant. Require == 0.
33867 (RAND_MAX): Use macro-int-constant.
33868 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
33869 [C99-based standards] (strtof): Require function.
33870 [C99-based standards] (strtold): Likewise.
33871 [C99-based standards] (strtoll): Likewise.
33872 [C99-based standards] (strtoull): Likewise.
33873 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
33874 [ISO || ISO99 || ISO11] (limits.h): Likewise.
33875 [ISO || ISO99 || ISO11] (math.h): Likewise.
33876 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
33877 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
33878 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33879
33880 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33881
33882 [BZ #14132]
33883 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33884 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33885 * intl/dgettext.c (DCGETTEXT): Likewise.
33886 * intl/gettext.c (DCGETTEXT): Likewise.
33887 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33888 * posix/regex_internal.h (gettext): Likewise.
33889 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33890 Remove declaration.
33891 * include/argz.h (__argz_count_internal)
33892 (__argz_stringify_internal): Remove declaration.
33893 (__argz_count, __argz_stringify): Declare hidden proto.
33894 * intl/dcgettext.c: Remove use of INTDEF.
33895 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33896 * string/argz-stringify.c: Likewise.
33897 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33898 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33899 Declare hidden proto.
33900 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33901 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33902 Declare hidden proto.
33903 * include/stdio.h (__asprintf_internal): Don't declare.
33904 (__asprintf): Don't define as macro. Declare hidden proto.
33905 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33906 (__fsetlocking): Declare hidden proto.
33907 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33908 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33909 hidden proto.
33910 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33911 (_IO_setlinebuf): Remove use of INTUSE.
33912 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33913 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33914 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33915 Remove declaration.
33916 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33917 (_IO_do_flush): Remove use of INTUSE.
33918 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33919 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33920 (_IO_adjust_column, _IO_least_wmarker)
33921 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33922 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33923 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33924 (_IO_default_doallocate, _IO_wdefault_doallocate)
33925 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33926 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33927 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33928 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33929 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33930 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33931 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33932 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33933 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33934 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33935 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33936 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33937 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33938 proto.
33939 (_IO_flush_all_internal, _IO_adjust_column_internal)
33940 (_IO_default_uflow_internal, _IO_default_finish_internal)
33941 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33942 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33943 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33944 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33945 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33946 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33947 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33948 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33949 (_IO_file_close_internal, _IO_file_close_it_internal)
33950 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33951 (_IO_file_init_internal, _IO_file_attach_internal)
33952 (_IO_file_fopen_internal, _IO_file_read_internal)
33953 (_IO_file_sync_internal, _IO_file_seek_internal)
33954 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33955 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33956 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33957 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33958 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33959 (_IO_list_all_internal, _IO_link_in_internal)
33960 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33961 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33962 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33963 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33964 (_IO_do_write_internal, _IO_padn_internal)
33965 (_IO_getline_info_internal, _IO_getline_internal)
33966 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33967 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33968 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33969 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33970 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33971 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33972 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33973 with libc_hidden_ver, remove use of INTUSE.
33974 * libio/genops.c: Likewise.
33975 * libio/freopen.c: Likewise.
33976 * libio/freopen64.c: Likewise.
33977 * libio/iofclose.c: Likewise.
33978 * libio/iofdopen.c: Likewise.
33979 * libio/iofflush.c: Likewise.
33980 * libio/iofflush_u.c: Likewise.
33981 * libio/iofgets.c: Likewise.
33982 * libio/iofgets_u.c: Likewise.
33983 * libio/iofopen.c: Likewise.
33984 * libio/iofopncook.c: Likewise.
33985 * libio/iofread.c: Likewise.
33986 * libio/iofread_u.c: Likewise.
33987 * libio/ioftell.c: Likewise.
33988 * libio/iofwrite.c: Likewise.
33989 * libio/iogetline.c: Likewise.
33990 * libio/iogets.c: Likewise.
33991 * libio/iogetwline.c: Likewise.
33992 * libio/iopadn.c: Likewise.
33993 * libio/iopopen.c: Likewise.
33994 * libio/ioseekoff.c: Likewise.
33995 * libio/ioseekpos.c: Likewise.
33996 * libio/iosetbuffer.c: Likewise.
33997 * libio/iosetvbuf.c: Likewise.
33998 * libio/ioungetc.c: Likewise.
33999 * libio/ioungetwc.c: Likewise.
34000 * libio/iovdprintf.c: Likewise.
34001 * libio/iovsprintf.c: Likewise.
34002 * libio/iovsscanf.c: Likewise.
34003 * libio/memstream.c: Likewise.
34004 * libio/obprintf.c: Likewise.
34005 * libio/oldfileops.c: Likewise.
34006 * libio/oldiofclose.c: Likewise.
34007 * libio/oldiofdopen.c: Likewise.
34008 * libio/oldiofopen.c: Likewise.
34009 * libio/oldiopopen.c: Likewise.
34010 * libio/oldstdfiles.c: Likewise.
34011 * libio/putc.c: Likewise.
34012 * libio/setbuf.c: Likewise.
34013 * libio/setlinebuf.c: Likewise.
34014 * libio/stdfiles.c: Likewise.
34015 * libio/strops.c: Likewise.
34016 * libio/vasprintf.c: Likewise.
34017 * libio/vscanf.c: Likewise.
34018 * libio/vsnprintf.c: Likewise.
34019 * libio/vswprintf.c: Likewise.
34020 * libio/wfiledoalloc.c: Likewise.
34021 * libio/wfileops.c: Likewise.
34022 * libio/wgenops.c: Likewise.
34023 * libio/wmemstream.c: Likewise.
34024 * libio/wstrops.c: Likewise.
34025 * libio/__fpurge.c: Likewise.
34026 * libio/__fsetlocking.c: Likewise.
34027 * assert/assert.c: Likewise.
34028 * debug/fgets_chk.c: Likewise.
34029 * debug/fgets_u_chk.c: Likewise.
34030 * debug/fread_chk.c: Likewise.
34031 * debug/fread_u_chk.c: Likewise.
34032 * debug/gets_chk.c: Likewise.
34033 * debug/obprintf_chk.c: Likewise.
34034 * debug/vasprintf_chk.c: Likewise.
34035 * debug/vdprintf_chk.c: Likewise.
34036 * debug/vsnprintf_chk.c: Likewise.
34037 * debug/vsprintf_chk.c: Likewise.
34038 * malloc/mtrace.c: Likewise.
34039 * misc/error.c: Likewise.
34040 * misc/syslog.c: Likewise.
34041 * stdio-common/asprintf.c: Likewise.
34042 * stdio-common/fxprintf.c: Likewise.
34043 * stdio-common/getw.c: Likewise.
34044 * stdio-common/isoc99_fscanf.c: Likewise.
34045 * stdio-common/isoc99_scanf.c: Likewise.
34046 * stdio-common/isoc99_vfscanf.c: Likewise.
34047 * stdio-common/isoc99_vscanf.c: Likewise.
34048 * stdio-common/isoc99_vsscanf.c: Likewise.
34049 * stdio-common/printf-prs.c: Likewise.
34050 * stdio-common/printf_fp.c: Likewise.
34051 * stdio-common/printf_fphex.c: Likewise.
34052 * stdio-common/printf_size.c: Likewise.
34053 * stdio-common/putw.c: Likewise.
34054 * stdio-common/scanf.c: Likewise.
34055 * stdio-common/sprintf.c: Likewise.
34056 * stdio-common/tmpfile.c: Likewise.
34057 * stdio-common/vfprintf.c: Likewise.
34058 * stdio-common/vfscanf.c: Likewise.
34059 * stdlib/strfmon_l.c: Likewise.
34060 * sunrpc/openchild.c: Likewise.
34061 * sunrpc/xdr_stdio.c: Likewise.
34062 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34063 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34064
34065 2012-05-24 Roland McGrath <roland@hack.frob.com>
34066
34067 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34068
34069 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34070 in the third column, to generate for the shared library an IFUNC
34071 that uses _dl_vdso_vsym.
34072 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34073 * Makeconfig (object-suffixes-noshared): New variable.
34074
34075 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34076 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34077 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34078 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34079
34080 [BZ #14132]
34081 * include/sys/time.h (__gettimeofday): Remove macro.
34082 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34083 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34084 Remove INTDEF.
34085 (__gettimeofday): Add libc_hidden_def.
34086 (gettimeofday): Add libc_hidden_weak.
34087 * sysdeps/mach/gettimeofday.c: Likewise.
34088 * sysdeps/posix/gettimeofday.c: Likewise.
34089 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34090 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34091 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34092 (__gettimeofday_internal): Remove strong_alias.
34093 (__gettimeofday): Add libc_hidden_def.
34094 (gettimeofday): Add libc_hidden_weak.
34095 * sysdeps/unix/syscalls.list (gettimeofday):
34096 Remove __gettimeofday_internal alias.
34097
34098 2012-05-24 Daniel Jacobowitz <drow@false.org>
34099 H.J. Lu <hongjiu.lu@intel.com>
34100
34101 [BZ #12495]
34102 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34103 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34104 (largebin_index_32_big): New.
34105 (largebin_index): Use it for 16-byte alignment.
34106 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34107 correction with front_misalign.
34108
34109 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34110
34111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34113 Likewise.
34114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34115 Likewise.
34116 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34117 Likewise.
34118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34119 Likewise.
34120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34121 Likewise.
34122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34123 Likewise.
34124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34125 Likewise.
34126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34127 Likewise.
34128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34129 Likewise.
34130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34131 Likewise.
34132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34133 Likewise.
34134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34135 Likewise.
34136
34137 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34138 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34139
34140 2012-05-24 Joseph Myers <joseph@codesourcery.com>
34141
34142 [BZ #10846]
34143 [BZ #14036]
34144 * math/libm-test.inc (exp_test): Add test from bug 14036.
34145 (pow_test): Add test from bug 10846.
34146
34147 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34148 and other flags.
34149 (special_function): Do not include flags in test name.
34150 (parse_args): Likewise.
34151 * sysdeps/i386/fpu/libm-test-ulps: Update.
34152 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34153 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34154 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34156
34157 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34158 exceptions.
34159 * math/libm-test.inc ("Philosophy"): Update comment about
34160 exception testing.
34161 (UNDERFLOW_EXCEPTION): New macro.
34162 (UNDERFLOW_EXCEPTION_OK): Likewise.
34163 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34164 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34165 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34166 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34167 (INVALID_EXCEPTION_OK): Update value.
34168 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34169 (OVERFLOW_EXCEPTION_OK): Likewise.
34170 (IGNORE_ZERO_INF_SIGN): Likewise.
34171 (test_exceptions): Handle underflow exceptions.
34172 (acos_test): Update for underflow exception expectations.
34173 (cexp_test): Likewise.
34174 (clog_test): Likewise.
34175 (clog10_test): Likewise.
34176 (csqrt_test): Likewise.
34177 (ctan_test): Likewise.
34178 (ctanh_test): Likewise.
34179 (exp_test): Likewise.
34180 (exp10_test): Likewise.
34181 (exp2_test): Likewise.
34182 (expm1_test): Likewise.
34183 (fma_test): Likewise.
34184 (j0_test): Likewise.
34185 (jn_test): Likewise.
34186 (nexttoward_test): Likewise.
34187 (pow_test): Likewise.
34188 (scalbn_test): Likewise.
34189 (scalbln_test): Likewise.
34190 (tan_test): Likewise.
34191 (y1_test): Likewise.
34192 * sysdeps/i386/fpu/libm-test-ulps: Update.
34193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34194
34195 2012-05-23 David S. Miller <davem@davemloft.net>
34196
34197 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34198 (__libc_sigaction): Remove unused local variables.
34199
34200 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34201
34202 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34203
34204 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34205
34206 mktime: avoid signed integer overflow
34207 * time/mktime.c (__mktime_internal): Do not mishandle the case
34208 where diff == INT_MIN.
34209
34210 mktime: simplify computation of average
34211 * time/mktime.c (ranged_convert): Use new time_t_avg function
34212 instead of rolling our own (probably-slower) code.
34213
34214 mktime: do not assume signed right shift propagates sign bit
34215 * time/mktime.c (isdst_differ): New static function.
34216 (__mktime_internal): No need to normalize tm_isdst now.
34217 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34218 tm_isdst values.
34219
34220 mktime: merge another wrapv change from gnulib
34221 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34222 from some compilers.
34223
34224 mktime: remove incorrect attempt at unusual arithmetics
34225 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34226 The code didn't really work on such machines anyway.
34227 (TYPE_MINIMUM): Assume two's complement.
34228 (twos_complement_arithmetic): Verify that long_int and time_t
34229 are two's complement (or unsigned, in the latter case).
34230
34231 mktime: check signed shifts on long_int and time_t, too
34232 * time/mktime.c (SHR): Check that shifts work as desired
34233 on the types long_int and time_t too, as SHR is used on
34234 such types.
34235
34236 mktime: do not assume 'long' is wide enough
34237 * time/mktime.c (verify): Move decl up.
34238 (long_int): New type.
34239 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34240 to remove assumption in the code that 'long' is wide enough to
34241 store year values. This assumption is not true on x32 and on
34242 some non-glibc platforms.
34243
34244 mktime: merge wrapv change from gnulib
34245 * time/mktime.c (WRAPV): New macro.
34246 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34247 (guess_time_tm, __mktime_internal): Do not assume that signed
34248 integer overflow wraps around; modern compilers generate code
34249 where this assumption is no longer valid.
34250
34251 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34252
34253 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34254 Replace "jmp L(pseudo_end)" with "ret".
34255 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34256 Likewise.
34257
34258 2012-05-23 Andreas Jaeger <aj@suse.de>
34259
34260 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34261 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34262
34263 2012-05-23 Andreas Jaeger <aj@suse.de>
34264 Maximilian Attems <max@stro.at>
34265
34266 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34267 New macros.
34268
34269 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34270
34271 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34272 code so that pseudo_end is just ret and the stack pointer is
34273 correct also for static library in error case.
34274
34275 2012-05-23 Joseph Myers <joseph@codesourcery.com>
34276
34277 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34278 move to syscalls.list.
34279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34283
34284 * manual/install.texi (Running make install): Do not mention Linux
34285 kernel version for which pt_chown is not needed.
34286 (Linux): Do not mention problems with nscd with 2.0 kernels.
34287 * INSTALL: Regenerated.
34288
34289 2012-05-23 Andreas Jaeger <aj@suse.de>
34290
34291 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34292 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34293 macro.
34294 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34295 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34296 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34297 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34298 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34299 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34300 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34301 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34302 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34303 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34304 * sysdeps/unix/sysv/linux/bits/in.h
34305 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34306
34307 2012-05-22 Roland McGrath <roland@hack.frob.com>
34308
34309 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34310 (PREPARE_VERSION): Just use assert instead, it will be elided
34311 under [NDEBUG] anyway.
34312
34313 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34314
34315 * sysdeps/unix/sysv/linux/Makefile: Include
34316 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34317 (sysdep_routines): Remove sysctl.
34318 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34319 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34320 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34321 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34322 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34323
34324 2012-05-22 Andreas Jaeger <aj@suse.de>
34325
34326 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34327 that pseudo_end is just ret and the stack pointer is correct also
34328 for static library in error case.
34329
34330 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34331
34332 [BZ #14122]
34333 * nss/nsswitch.c (defconfig_entries): New variable.
34334 (__nss_database_lookup): Don't leak defconfig entries.
34335 (nss_parse_service_list): Don't leak on error paths.
34336 (free_database_entries): New function.
34337 (free_defconfig): New function.
34338 (free_mem): Move common code to free_database_entries.
34339
34340 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34341
34342 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34343 Add arch_prctl.
34344 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34345
34346 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34347 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34348 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34349 New macro.
34350 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34351 (INTERNAL_SYSCALL_TYPES): Likewise.
34352 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34353 (LOAD_REGS_TYPES_[1-6]): Likewise.
34354 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34355 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34356
34357 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34358
34359 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34360 copysignl for GLIBC_2_0.
34361 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34362 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34363 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34364 logbl for GLIBC_2_0.
34365 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34366 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34367
34368 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34369
34370 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34371 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34372
34373 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34374 Use "neg %eax".
34375
34376 * time/mktime.c: Update copyright years.
34377
34378 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34379
34380 mktime: merge comment-quoting-style change from gnulib
34381 * time/mktime.c: Quote 'like this' in comments.
34382 The GNU coding standards suggest that we no longer quote `like this',
34383 as "`" and "'" are typically rendered asymmetrically nowadays.
34384 The typical gnulib style is to quote 'like this' when quoting
34385 code, and "like this" when quoting English.
34386
34387 * time/mktime.c (compile-command): Add "-I.".
34388
34389 mktime: merge mktime-internal.h change from gnulib
34390 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34391
34392 mktime: merge time_r change from gnulib
34393 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34394
34395 mktime: merge DEBUG change from gnulib
34396 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34397 case system <time.h> has a #define.
34398
34399 mktime: merge <sys/types.h> change from gnulib
34400 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34401 since <time.t> is now guaranteed to define time_t.
34402
34403 mktime: merge HAVE_CONFIG_H change from gnulib
34404 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34405
34406 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34407
34408 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34409 Use "neg %eax".
34410
34411 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34412 __rlim_t cast.
34413 (struct rusage): Use anonymous union to pad each field to
34414 __syscall_slong_t.
34415
34416 2012-05-21 David S. Miller <davem@davemloft.net>
34417
34418 * Makefules (o-iterator): Remove .s cases.
34419 (compile-command.s): Delete.
34420 (COMPILE.s): Delete.
34421 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34422
34423 2012-05-21 Joseph Myers <joseph@codesourcery.com>
34424
34425 * configure.in (libc_cv_predef_stack_protector): Only consider
34426 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34427 * configure: Regenerated.
34428
34429 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34430
34431 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34432 New macro. Use R*LP on int and pointer.
34433 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34434 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34435 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34436 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34437
34438 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34439 [__WORDSIZE_TIME64_COMPAT32] instead of
34440 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34441 (struct utmp): Likewise.
34442 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34443 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34444 Renamed to ...
34445 (__WORDSIZE_TIME64_COMPAT32): This.
34446 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34447 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34448 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34449 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34450 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34451 (__WORDSIZE_TIME64_COMPAT32): New macro.
34452
34453 2012-05-21 Andreas Jaeger <aj@suse.de>
34454
34455 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34456 only if [SHARED]. Add prototype for __wcschr_ia32.
34457
34458 2012-05-21 Roland McGrath <roland@hack.frob.com>
34459
34460 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34461 of %rbp unmolested in the jmp_buf while mangling the low bits.
34462 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34463 unmolested high bits of %rbp while demangling the low bits.
34464 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34465
34466 2012-05-21 Andreas Jaeger <aj@suse.de>
34467
34468 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34469 * sunrpc/svc_simple.c: Use it for registerrpc.
34470 * sunrpc/xcrypt.c: Use it for passwd2des.
34471
34472 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34473
34474 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34475
34476 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34477 Don't define if [__SYSCALL_WORDSIZE != 32].
34478 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34479 New macro.
34480
34481 2012-05-21 Bruno Haible <bruno@clisp.org>
34482 Andreas Jaeger <aj@suse.de>
34483
34484 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34485 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34486 inptr and inend for must_buffer_ch.
34487 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34488 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34489 * stdio-common/Makefile (tests): Remove bug15.
34490 (bug15-ENV): Remove macro.
34491 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34492 anymore.
34493
34494 2012-05-19 Andreas Jaeger <aj@suse.de>
34495 Roland McGrath <roland@hack.frob.com>
34496
34497 * manual/contrib.texi: Completely rewritten. It contains now an
34498 alphabetical list of contributors and their contributions.
34499
34500 2012-05-21 Richard Henderson <rth@twiddle.net>
34501
34502 * misc/getauxval.c (__getauxval): Use unsigned long int.
34503 * misc/sys/auxv.h: Include <sys/cdefs.h>.
34504 (getauxval): Use unsigned long int.
34505
34506 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34507
34508 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34509
34510 2012-05-21 Roland McGrath <roland@hack.frob.com>
34511
34512 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34513 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34514 __alignof__ (long double).
34515
34516 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34517
34518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34519
34520 2012-05-20 Richard Henderson <rth@twiddle.net>
34521
34522 * misc/getauxval.c: New file.
34523 * misc/sys/auxv.h: New file.
34524 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34525 (routines): Add getauxval.
34526 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34527 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34528 * elf/dl-sysdep.c (_dl_auxv): Remove.
34529 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34530 * elf/dl-support.c (_dl_auxv): New variable.
34531 (_dl_aux_init): Initialize it.
34532 * manual/startup.texi (Auxiliary Vector): New node.
34533 * sysdeps/generic/bits/hwcap.h: New file.
34534 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34535 * sysdeps/powerpc/sysdep.h: ... here. Include it.
34536 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34537 * sysdeps/sparc/sysdep.h: ... here. Include it.
34538 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34539 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34541 Update.
34542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34545 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34550
34551 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34552
34553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34554
34555 2012-05-19 David S. Miller <davem@davemloft.net>
34556
34557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34558
34559 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34560
34561 [BZ #14123]
34562 * math/s_ccosh.c: Include <float.h>
34563 (__ccosh): Avoid internal overflow calculating sinh and cosh
34564 values before multiplying by sin and cos values.
34565 * math/s_ccoshf.c: Likewise.
34566 * math/s_ccoshl.c: Likewise.
34567 * math/s_csin.c: Likewise.
34568 * math/s_csinf.c: Likewise.
34569 * math/s_csinl.c: Likewise.
34570 * math/s_csinh.c: Likewise.
34571 * math/s_csinhf.c: Likewise.
34572 * math/s_csinhl.c: Likewise.
34573 * math/libm-test.inc (ccos_test): Add more tests.
34574 (ccosh_test): Likewise.
34575 (csin_test): Likewise.
34576 (csinh_test): Likewise.
34577 * sysdeps/i386/fpu/libm-test-ulps: Update.
34578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34579
34580 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
34581
34582 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34583 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34584
34585 * sysdeps/x86_64/x32/_itoa.h: Add comment.
34586
34587 2012-05-19 Joseph Myers <joseph@codesourcery.com>
34588
34589 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34590 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34591 * sysdeps/powerpc/soft-fp/Versions: Likewise.
34592 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34593 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34594 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34595 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34596 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34597 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34598 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34599 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34600 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34601 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34602 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34603 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34604 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34605 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34606 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34607 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34608 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34609 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34610 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34611 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34612 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34613 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34614 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34615 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34616 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34617 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34618 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34619 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34620
34621 2012-05-18 Andreas Jaeger <aj@suse.de>
34622
34623 * csu/.gitignore: Delete.
34624
34625 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34626
34627 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34628 (timex): Use __syscall_slong_t.
34629
34630 2012-05-18 Andreas Jaeger <aj@suse.de>
34631 Carlos O'Donell <carlos_odonell@mentor.com>
34632
34633 * manual/install.texi (Configuring and compiling): Update
34634 description about files modified in the source directory.
34635 * INSTALL: Regenerated.
34636
34637 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34638
34639 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34640 value. Use "or" to set return value to -1.
34641 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34642 negate return value.
34643
34644 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34645
34646 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
34647 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
34648 failure if the compiler has Graphite support disabled.
34649 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
34650 Likewise.
34651 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
34652 (CFLAGS-memmove.c): Likewise.
34653 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
34654 Likewise.
34655
34656 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
34657
34658 * sysdeps/x86_64/x32/_itoa.h: New file.
34659
34660 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
34661 getdents system call only if kernel and user dirents have the
34662 same d_ino and d_off.
34663
34664 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34665 LLONG_MAX != LONG_MAX.
34666 (_itoa_word): Use _ITOA_WORD_TYPE on value.
34667 (_fitoa_word): Likewise.
34668
34669 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
34670 years.
34671 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
34672 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
34673 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
34674
34675 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
34676 include <bits/wordsize.h>. Check __x86_64__ instead of
34677 __WORDSIZE.
34678 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
34679 if __x86_64__ is defined. Use anonymous union on fpstate.
34680
34681 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
34682 anonymous union.
34683
34684 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
34685
34686 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34687 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
34688 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
34689 Refer to _rtld_local_ro instead of _rtld_global_ro.
34690 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
34691 Likewise.
34692 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
34693 Likewise.
34694 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
34695 Likewise.
34696 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
34697 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
34698 of _rtld_global, and rtld_progname instead of _dl_argv[0].
34699
34700 * sysdeps/powerpc/powerpc32/dl-machine.c
34701 (__elf_machine_runtime_setup) [PROF]: Don't reference
34702 _dl_prof_resolve.
34703
34704 2012-05-18 Andreas Jaeger <aj@suse.de>
34705
34706 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
34707 function only available for GCCs before 3.4 since GCC 3.4
34708 introduced a builtin.
34709 (lrint): Likewise.
34710 (llrintf): Likewise.
34711 (llrint): Likewise.
34712 (fmaxf): Likewise.
34713 (fmax): Likewise.
34714 (fminf): Likewise.
34715 (fmin): Likewise.
34716 (rint): Likewise.
34717 (rintf): Likewise.
34718 (nearbyint): Likewise.
34719 (nearbyintf): Likewise.
34720 (ceil): Likewise.
34721 (ceilf): Likewise.
34722 (floor): Likewise.
34723 (floorf): Likewise.
34724
34725 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34726
34727 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
34728 on both fields and cast pointer to __syscall_ulong_t.
34729
34730 * bits/types.h (__fsword_t): New type.
34731 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
34732 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
34733 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34734 (__FSWORD_T_TYPE): Likewise.
34735 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34736 (__FSWORD_T_TYPE): Likewise.
34737 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34738 (__FSWORD_T_TYPE): Likewise.
34739 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
34740 (__FSWORD_T_TYPE): Likewise.
34741 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
34742 __SWORD_TYPE with __fsword_t.
34743 (statfs64): Likewise.
34744
34745 2012-05-17 David S. Miller <davem@davemloft.net>
34746
34747 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
34748
34749 2012-05-17 Andreas Jaeger <aj@suse.de>
34750
34751 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
34752 warning.
34753
34754 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34755
34756 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
34757
34758 2012-05-17 Andreas Jaeger <aj@suse.de>
34759
34760 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
34761 when it is used.
34762
34763 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34764
34765 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
34766
34767 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
34768
34769 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
34770 * sysdeps/x86_64/tst-mallocalign1.c: New file.
34771
34772 2012-05-17 Andreas Jaeger <aj@suse.de>
34773 Carlos O'Donell <carlos_odonell@mentor.com>
34774
34775 [BZ #14059]
34776 * sysdeps/x86_64/multiarch/init-arch.h
34777 (bit_YMM_Usable): Rename to...
34778 (bit_AVX_Usable): ... this.
34779 (bit_FMA4_Usable): New macro.
34780 (bit_XMM_state): New macro.
34781 (bit_YMM_state): New macro.
34782 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
34783 [__ASSEMBLER__] (index_AVX_Usable): ... this.
34784 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
34785 (CPUID_OSXSAVE): New macro.
34786 (CPUID_AVX): New macro.
34787 (CPUID_FMA4): New macro.
34788 (index_YMM_Usable): Rename to...
34789 (index_AVX_Usable): ... this.
34790 (HAS_AVX): Use HAS_ARCH_FEATURE.
34791 (HAS_FMA4): Likewise.
34792 (HAS_YMM_USABLE): Remove.
34793 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34794 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
34795 are present.
34796 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
34797 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
34798 * sysdeps/x86_64/multiarch/Makefile: Likewise.
34799 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
34800 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
34801
34802 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
34803
34804 * math/libm-test.c: Support platforms without multiple rounding modes.
34805 * math/bug-nextafter.c: Support platforms without FP exceptions.
34806 * math/bug-nexttoward.c: Likewise.
34807 * math/test-fenv.c: Likewise.
34808 * math/test-misc.c: Likewise.
34809 * stdlib/bug-getcontext.c: Likewise.
34810
34811 2012-05-17 Andreas Jaeger <aj@suse.de>
34812
34813 * manual/examples/search.c (critter_cmp): Change signature to
34814 avoid warnings.
34815 * manual/string.texi (Collation Functions): Likewise.
34816
34817 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34818
34819 * bits/types.h: Fold copyright years.
34820 * bits/typesizes.h: Likewise.
34821 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
34822 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34823 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
34824 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
34825 * time/time.h: Likewise.
34826
34827 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
34828
34829 [BZ #208]
34830 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
34831 in instead of returning them. Return void.
34832 (__libc_mallinfo): Accumulate over all arenas.
34833 (__malloc_stats): Adjust for change in int_mallinfo interface.
34834
34835 2012-05-16 Roland McGrath <roland@hack.frob.com>
34836
34837 [BZ #10375]
34838 * configure.in (NM): Add AC_CHECK_TOOL for it.
34839 (libc_extra_cflags): New substituted variable.
34840 Check for -fstack-protector being used implicitly.
34841 * configure: Regenerated.
34842 * config.make.in (config-extra-cflags): New variable,
34843 gets @libc_extra_cflags@.
34844 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
34845
34846 [BZ #10375]
34847 * configure.in: Check for _FORTIFY_SOURCE being predefined.
34848 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
34849 * configure: Regenerated.
34850 * config.make.in (CPPUNDEFS): New substituted variable.
34851 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
34852 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
34853 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
34854
34855 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34856
34857 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
34858 (mq_attr): Use __syscall_slong_t.
34859
34860 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34861
34862 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
34863 Check __x86_64__ instead of __WORDSIZE.
34864 (_STAT_VER_LINUX): Likewise.
34865 (stat): Check __x86_64__ instead of __WORDSIZE. Use
34866 __syscall_ulong_t and __syscall_slong_t.
34867 (stat64): Likewise.
34868
34869 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34870
34871 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
34872
34873 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34874
34875 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
34876
34877 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34878
34879 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
34880 __syscall_ulong_t.
34881
34882 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34883 include <bits/wordsize.h>. Check __x86_64__ instead of
34884 __WORDSIZE.
34885 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34886 defined.
34887 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34888
34889 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34890 include <bits/wordsize.h>. Check __x86_64__ instead of
34891 __WORDSIZE.
34892 (user_regs_struct): Use "__extension__ unsigned long long"
34893 instead of "unsigned long" if __x86_64__ is defined.
34894 (user): Likewise. Pad after pointer field if __ILP32__ is
34895 defined.
34896
34897 2012-05-16 Joseph Myers <joseph@codesourcery.com>
34898
34899 * configure.in (makeinfo): Require version 4.5 or later. Allow
34900 versions 5 to 9.
34901 * configure: Regenerated.
34902 * manual/install.texi (texinfo): Increase version requirement to
34903 4.5 or later.
34904 * INSTALL: Regenerated.
34905
34906 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34907
34908 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34909
34910 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34911
34912 * sysdeps/x86_64/x32/ffs.c: New file.
34913
34914 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34915 __syscall_ulong_t.
34916 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34917 defined. Use __syscall_ulong_t.
34918 (shminfo): Use __syscall_ulong_t.
34919 (shm_info): Likewise.
34920
34921 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34922 __syscall_ulong_t.
34923
34924 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34925 <bits/wordsize.h>.
34926 (msgqnum_t): Use __syscall_ulong_t.
34927 (msglen_t): Likewise.
34928 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34929 __syscall_ulong_t.
34930
34931 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34932 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34933
34934 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34935
34936 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34937 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34938
34939 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34940 __syscall_slong_t.
34941
34942 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34943 include <bits/wordsize.h>. Check __x86_64__ instead of
34944 __WORDSIZE.
34945
34946 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34947 "unsigned long long int" if __x86_64__ is defined.
34948 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34949
34950 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34951 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34952 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34953
34954 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34955 <stdint.h>.
34956 (GET_PC): Cast to uintptr_t first.
34957 (GET_FRAME): Likewise.
34958 (GET_STACK): Likewise.
34959
34960 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34961 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34962 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34963 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34964 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34965 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34966 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34967 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34968 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34969 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34970 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34971 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34972 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34973 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34974 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34975 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34976 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34977 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34978 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34979 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34980 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34981 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34982 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34983 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34984 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34985 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34986 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34987 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34988 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34989
34990 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34991
34992 * Makerules (+depfiles): Also collect depfiles from .oS in
34993 $(extra-objs).
34994 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34995 .oS, $(libnldbl-routines)).
34996
34997 * Makerules (native-compile-mkdep-flags): Define.
34998 * sunrpc/Makefile (extra-objs): Add $(addprefix
34999 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35000 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35001 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35002 calling $(make-target-directory).
35003
35004 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35005
35006 * bits/types.h (__snseconds_t): Removed.
35007 * time/time.h (struct timespec): Replace __snseconds_t with
35008 __syscall_slong_t.
35009 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35010 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35011 Likewise.
35012 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35013 (__SNSECONDS_T_TYPE): Likewise.
35014 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35015 (__SNSECONDS_T_TYPE): Likewise.
35016 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35017 (__SNSECONDS_T_TYPE): Likewise.
35018
35019 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35020
35021 * sysdeps/mach/hurd/bits/typesizes.h
35022 (__SYSCALL_SLONG_TYPE): New macro.
35023 (__SYSCALL_ULONG_TYPE): Likewise.
35024
35025 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35026
35027 * bits/types.h (__syscall_slong_t): New type.
35028 (__syscall_ulong_t): Likewise.
35029
35030 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35031 (__SYSCALL_ULONG_TYPE): Likewise.
35032 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35033 (__SYSCALL_SLONG_TYPE): Likewise.
35034 (__SYSCALL_ULONG_TYPE): Likewise.
35035 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35036 (__SYSCALL_SLONG_TYPE): Likewise.
35037 (__SYSCALL_ULONG_TYPE): Likewise.
35038 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35039 (__SYSCALL_SLONG_TYPE): Likewise.
35040 (__SYSCALL_ULONG_TYPE): Likewise.
35041
35042 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35043
35044 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35045 Add sigaltstack-offsets.sym.
35046 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35047 <sigaltstack-offsets.h>.
35048 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35049 longjmp_msg pointer.
35050 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35051 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35052 signal stack.
35053 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35054
35055 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35056
35057 * elf/stackguard-macros.h: Remove file.
35058 * sysdeps/generic/stackguard-macros.h: New file.
35059 * sysdeps/i386/stackguard-macros.h: Likewise.
35060 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35061 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35062 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35063 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35064 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35065 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35066 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35067 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35068 <elf/stackguard-macros.h>.
35069
35070 [BZ #14109]
35071 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35072 __aligned__ in attribute.
35073 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35074 (gregset_t): Likewise.
35075
35076 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35077
35078 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35079 * sysdeps/x86_64/64/Implies-after: Here. New file.
35080 * sysdeps/x86_64/x32/Implies-after: New file.
35081
35082 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35083
35084 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35085 and access return value for _dl_profile_fixup. Use R10_LP to
35086 load frame size.
35087
35088 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35089
35090 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35091
35092 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35093
35094 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35095 * sysdeps/x86_64/x32/sysdep.h: New file.
35096
35097 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35098
35099 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35100 * sysdeps/x86_64/setjmp.S: Likewise.
35101
35102 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35103
35104 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35105 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35106 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35107 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35108 remove unused global constant.
35109
35110 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35111
35112 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35113 include of <not-cancel.h>.
35114
35115 2012-05-15 Roland McGrath <roland@hack.frob.com>
35116
35117 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35118
35119 2012-05-15 Jeff Law <law@redhat.com>
35120 Andreas Jaeger <aj@suse.de>
35121
35122 [BZ #13594]
35123 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35124 out from...
35125 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35126 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35127 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35128 code changing __hst_map_handle.map.
35129
35130 2012-05-15 Roland McGrath <roland@hack.frob.com>
35131
35132 * configure.in (sysnames): Look for Implies-before and Implies-after
35133 files.
35134 * configure: Regenerated.
35135
35136 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35137
35138 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35139 8-byte data alignment with LP_SIZE alignment.
35140
35141 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35142
35143 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35144 into R10_LP.
35145
35146 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35147
35148 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35149
35150 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35151
35152 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35153 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35154 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35155 Likewise.
35156 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35157
35158 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35159
35160 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35161 (stackinfo_sub_sp): Likewise.
35162
35163 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35164
35165 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35166 RAX_LP.
35167
35168 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35169
35170 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35171 into R*_LP.
35172
35173 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35174
35175 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35176 sizes into R*_LP.
35177
35178 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35179
35180 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35181
35182 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35183
35184 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35185 into R11_LP and load __x86_64_shared_cache_size_half into
35186 R8_LP.
35187
35188 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35189
35190 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35191 R8_LP.
35192
35193 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35194
35195 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35196 logb for POWER7.
35197 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35198 logbf for POWER7.
35199 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35200 logbl for POWER7.
35201 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35202 powerpc32/power7/fpu/s_logb.c via #include.
35203 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35204 powerpc32/power7/fpu/s_logbf.c via #include.
35205 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35206 powerpc32/power7/fpu/s_logbl.c via #include.
35207
35208 2012-05-15 Joseph Myers <joseph@codesourcery.com>
35209
35210 * README.libm: Remove file.
35211
35212 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35213
35214 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35215 count for x32. Use R*_LP and omit operand-size suffix.
35216
35217 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35218
35219 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35220 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35221 * sysdeps/x86_64/x32/shlib-versions: New file.
35222
35223 2012-05-14 Roland McGrath <roland@hack.frob.com>
35224
35225 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35226 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35227 Use _dl_fatal_printf instead.
35228
35229 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35230
35231 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35232 set if not set by the user. Do not allow for being unset.
35233 * sysdeps/unix/sysv/linux/configure: Regenerated.
35234
35235 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35236
35237 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35238 the `q' suffix from lea and replace .quad with ASM_ADDR.
35239
35240 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35241
35242 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35243 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35244 instead of $17.
35245 (PTR_DEMANGLE): Likewise.
35246
35247 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35248
35249 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35250 (LP_OP): Likewise.
35251 (ASM_ADDR): Likewise.
35252 (RAX_LP): Likewise.
35253 (RBP_LP): Likewise.
35254 (RBX_LP): Likewise.
35255 (RCX_LP): Likewise.
35256 (RDI_LP): Likewise.
35257 (RSI_LP): Likewise.
35258 (RSP_LP): Likewise.
35259 (R8_LP): Likewise.
35260 (R9_LP): Likewise.
35261 (R10_LP): Likewise.
35262 (R10_LP): Likewise.
35263 (R11_LP): Likewise.
35264 (R12_LP): Likewise.
35265 (R13_LP): Likewise.
35266 (R14_LP): Likewise.
35267 (R15_LP): Likewise.
35268
35269 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35270
35271 * sysdeps/x86_64/x32/dl-machine.h: New file.
35272
35273 2012-05-14 Andreas Jaeger <aj@suse.de>
35274
35275 * manual/Makefile (subdir): Remove export of subdir.
35276 (all): Remove target.
35277 (.PHONY): Remove all from list.
35278 (mkinstalldirs): Remove.
35279 (.PHONY): Remove installdirs from list.
35280 ($(inst_infodir)/libc.info): Use make-target-directory.
35281 (installdirs): Remove.
35282 (subdir_%): Remove.
35283 (glibc-targets): Remove.
35284 (lib): Remove.
35285 (stubs): Remove.
35286 ($(objpfx)stubs ../po/manual.pot): Remove.
35287 ($(objpfx)stamp%): Remove.
35288 (make-target-directory): Remove.
35289 (subdir_install): Remove.
35290 (routines): Remove.
35291 (aux): Remove.
35292 (sources): Remove.
35293 (objects): Remove.
35294 (headers): Remove.
35295
35296 [BZ #13750]
35297 * manual/.gitignore: Remove, it's not needed anymore.
35298 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35299 all files in it.
35300 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35301 directory.
35302 (texis): Renamed to $(objpfx)texis.
35303 (texis-path): New, contains path to generated files.
35304 (chapters.%): Use texis-path for complete path, add extra argument
35305 libc-texinfo.sh.
35306 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35307 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35308 (summary,texi, stamp-summary): Use complete path of
35309 files. Generate files in build dir.
35310 (dir-add.texi): Build in build dir.
35311 (libm-err.texi,stamp-libm-err): Likewise.
35312 (version.texi, stamp-version): Likewise.
35313 (.%c.texi): Likewise.
35314 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35315 (mostlyclean): Remove target.
35316 (realclean): Remove target.
35317 (generated): Add new variable with contents from mostlyclean and
35318 realclean, remove entries duplicated in common-mostlyclean, add
35319 stamp-libm-err and stamp-version.
35320 (generated-dirs): Add libc directory.
35321 ($(inst_infodir)/libc.info): Install files from build dir.
35322
35323 * manual/install.texi (Configuring and compiling): Adjust since
35324 the info files are not part of the tar ball anymore.
35325
35326 2012-05-14 Andreas Jaeger <aj@suse.de>
35327
35328 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35329 variable.
35330
35331 2012-05-14 Joseph Myers <joseph@codesourcery.com>
35332
35333 [BZ #13717]
35334 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35335 to 2.2.0 where earlier.
35336 * sysdeps/unix/sysv/linux/configure: Regenerated.
35337 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35338 Remove conditional code.
35339 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35340 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35341 Remove conditional code.
35342 [!__NR_lchown]: Likewise.
35343 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35344 [__NR_lchown]: Likewise.
35345 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35346 comment referencing __ASSUME_LCHOWN_SYSCALL.
35347 * sysdeps/unix/sysv/linux/i386/sigaction.c
35348 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35349 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35350 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35351 Remove conditional code.
35352 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35353 (__protocol_available): Remove #if 0 code.
35354 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35355 conditional code.
35356 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35357 * sysdeps/unix/sysv/linux/kernel-features.h
35358 (__ASSUME_GETCWD_SYSCALL): Don't define.
35359 (__ASSUME_REALTIME_SIGNALS): Likewise.
35360 (__ASSUME_PREAD_SYSCALL): Likewise.
35361 (__ASSUME_PWRITE_SYSCALL): Likewise.
35362 (__ASSUME_POLL_SYSCALL): Likewise.
35363 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35364 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35365 non-SPARC.
35366 (__ASSUME_SIOCGIFNAME): Don't define.
35367 (__ASSUME_MSG_NOSIGNAL): Likewise.
35368 (__ASSUME_SENDFILE): Define unconditionally.
35369 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35370 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35371 conditional code.
35372 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35373 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35374 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35375 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35376 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35377 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35378 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35380 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35381 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35383 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35384 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35386 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35387 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35389 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35390 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35392 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35393 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35395 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35396 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35398 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35399 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35401 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35402 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35403 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35404 Remove conditional code.
35405 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35406 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35407 Remove conditional code.
35408 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35409 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35410 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35411 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35412 Remove conditional code.
35413 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35414 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35415 Remove conditional code.
35416 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35417 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35418 Remove conditional code.
35419 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35420 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35421 Remove conditional code.
35422 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35423 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35424 Remove conditional code.
35425 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35426 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35427 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35428 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35429 * sysdeps/unix/sysv/linux/sigaction.c
35430 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35431 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35432 * sysdeps/unix/sysv/linux/sigpending.c
35433 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35434 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35435 * sysdeps/unix/sysv/linux/sigprocmask.c
35436 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35437 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35438 * sysdeps/unix/sysv/linux/sigsuspend.c
35439 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35440 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35441 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35442 (__libc_missing_rt_sigs): Remove.
35443 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35444 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35445 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35446 Remove conditional code.
35447 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35448 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35449 return 1.
35450 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35451 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35452 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35453 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35454
35455 2012-05-14 Andreas Jaeger <aj@suse.de>
35456
35457 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35458 it's not used in glibc.
35459 (__coshm1): Likewise.
35460 (__acosh1p): Likewise.
35461 (__sgn): Likewise.
35462
35463 * manual/string.texi (Copying and Concatenation): Add missing
35464 variable in concat example.
35465 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35466
35467 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35468
35469 [BZ #14103]
35470 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35471 __builtin_clzl with __builtin_clzll.
35472
35473 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35474
35475 [BZ #14104]
35476 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35477 libc_freeres_ptr.
35478
35479 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35480
35481 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35482 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35483 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35484 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35485
35486 2012-05-14 Mike Frysinger <vapier@gentoo.org>
35487
35488 * NEWS: Update ia64 info.
35489
35490 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
35491
35492 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35493 used as bcopy.
35494
35495 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
35496
35497 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35498 * sysdeps/unix/syscalls.list (dup3): Likewise.
35499 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35500 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35501
35502 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35503
35504 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35505 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35506
35507 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
35508
35509 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35510 thread pointer.
35511 (TLS_IE): Use mov/add instead of movq/addq to load thread
35512 pointer.
35513 (TLS_GD_PREFIX): New.
35514 (TLS_GD): Use it.
35515
35516 2012-05-11 David S. Miller <davem@davemloft.net>
35517
35518 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35519 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35520 (_FPU_SETCW): Likewise.
35521
35522 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35523
35524 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35525 is 32-byte aligned.
35526
35527 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
35528
35529 [BZ #11837]
35530 * iconvdata/gb18030.c: Update tables.
35531 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
35532 characters specially.
35533 (BODY for TO_LOOP): Add encoding of missing ranges.
35534
35535 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
35536
35537 [BZ #13673]
35538 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35539 * sysdeps/mach/hurd/dup3.c: Likewise.
35540 * sysdeps/mach/hurd/readlinkat.c: Likewise.
35541 * sysdeps/powerpc/memmove.c:: Likewise.
35542
35543 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35544
35545 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35546 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35547
35548 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35549
35550 * elf/elf.h (R_X86_64_RELATIVE64): New.
35551 (R_X86_64_NUM): Updated.
35552 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35553 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
35554 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35555 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35556 tst-quad1pie tst-quad2pie
35557 (modules-names): Add tst-quadmod1 tst-quadmod2.
35558 ($(objpfx)tst-quad1): New dependency.
35559 ($(objpfx)tst-quad2): Likewise.
35560 ($(objpfx)tst-quad1pie): Likewise.
35561 ($(objpfx)tst-quad2pie): Likewise.
35562 * sysdeps/x86_64/tst-quad1.c: New file.
35563 * sysdeps/x86_64/tst-quad1pie.c: New file.
35564 * sysdeps/x86_64/tst-quad2.c: Likewise.
35565 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35566 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35567 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35568 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35569 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35570
35571 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35572
35573 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35574 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35575 * streams/stropts.h (t_scalar_t): Define type.
35576
35577 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35578 (_PATH_PRESERVE): Set to "/var/lib".
35579 (_PATH_RWHODIR): Set to "/var/spool/rwho".
35580
35581 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35582 instead of int.
35583
35584 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35585 if __dir_mkfile succeeded.
35586
35587 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35588 checking for _hurd_dtablesize. Unlock it right after having
35589 finished _hurd_dtable allocation.
35590
35591 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35592
35593 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35594 * sysdeps/mach/hurd/configure: Regenerated.
35595 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35596 special-casing to...
35597 * sysdeps/gnu/configure.in: ... this new file.
35598 * sysdeps/unix/sysv/linux/configure: Regenerated.
35599 * sysdeps/gnu/configure: New generated file.
35600
35601 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35602 for Linux: use nsec instead of usec, as well as:
35603 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35604 members of type struct timespec.
35605 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35606 New macros.
35607 (struct stat64): Likewise.
35608 (_STATBUF_ST_NSEC): New macro.
35609 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35610
35611 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35612 __strtoul_internal rather than strtoul.
35613
35614 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35615
35616 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35617 and reject them.
35618
35619 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35620
35621 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35622 which preserves existing values.
35623 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35624
35625 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35626
35627 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35628 TIMEOUT values. Return EINVAL for NFDS values either negative or
35629 greater than FD_SETSIZE.
35630
35631 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35632
35633 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35634 allocated, call __vm_protect to finish enabling the existing space, and
35635 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35636 allocate the remainder.
35637
35638 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35639
35640 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35641 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
35642
35643 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35644
35645 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
35646 sysdeps/mach/hurd/readlink.c.
35647
35648 * posix/tst-sysconf.c (posix_options): Only use
35649 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
35650 _POSIX_SYNCHRONIZED_IO when they are defined
35651 * sysdeps/mach/hurd/bits/posix_opt.h:
35652 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
35653 (_XOPEN_REALTIME): Undefine macro.
35654 (_XOPEN_REALTIME_THREADS): Undefine macro.
35655 (_XOPEN_SHM): Undefine macro.
35656 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
35657 macro to -1.
35658 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
35659 macro to -1.
35660 (_POSIX_ASYNC_IO): Undefine macro.
35661 (_POSIX_PRIORITIZED_IO): Undefine macro.
35662 (_POSIX_SPIN_LOCKS): Define macro to -1.
35663
35664 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
35665 SA_NODEFER, SA_RESETHAND.
35666 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
35667 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
35668 F_DUPFD_CLOEXEC.
35669
35670 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35671
35672 * elf/Makefile (pldd-modules): Define unconditionally.
35673
35674 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35675
35676 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
35677
35678 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35679
35680 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
35681 Return ENOENT when name is empty.
35682 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
35683
35684 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35685
35686 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
35687
35688 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
35689
35690 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35691
35692 Fix mlock in all cases except non-readable pages.
35693 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
35694 instead of VM_PROT_ALL as parameter to __vm_wire function.
35695
35696 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
35697 (__mkdir): When path is `/', just fail with EEXIST.
35698 * sysdeps/mach/hurd/mkdirat.c: Likewise.
35699
35700 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35701
35702 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
35703 <sys/uio.h> (for writev).
35704 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
35705 and <sys/param.h> (for MIN).
35706
35707 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
35708
35709 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
35710 REQUESTED_TIME. Properly set the remaining time and return EINTR
35711 if interrupted.
35712
35713 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35714
35715 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
35716 Depend on against $(link-rpcuserlibs).
35717
35718 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35719
35720 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
35721 (__libc_stack_end): Do not use attribute_relro.
35722 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
35723 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
35724 to libthread-provided value.
35725 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
35726 attribute_relro.
35727
35728 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35729
35730 [BZ #3748]
35731 * bits/libc-lock.h (__libc_once_get): New macro.
35732 * sysdeps/mach/bits/libc-lock.h: Likewise.
35733 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
35734 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
35735 instead of using implementation details.
35736
35737 * libio/fileops.c: Unconditionally include <kernel-features.h>.
35738 * libio/freopen.c: Likewise.
35739 * libio/freopen64.c: Likewise.
35740 * misc/syslog.c: Likewise.
35741 * nscd/connections.c: Likewise.
35742 * nscd/netgroupcache.c: Likewise.
35743 * sysdeps/posix/getcwd.c: Likewise.
35744
35745 2012-05-10 Roland McGrath <roland@hack.frob.com>
35746
35747 * math/w_ilogbf.c: Add #include <limits.h>.
35748
35749 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35750
35751 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
35752 path instead of returning without unlocking.
35753
35754 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
35755 immediate-write ioctls.
35756 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
35757
35758 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35759
35760 * sysdeps/mach/hurd/i386/init-first.c (init): Use
35761 __builtin_frame_address instead of making assumptions about the
35762 location of the return address relative to DATA. Force early load of
35763 the return address.
35764 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
35765 __builtin_frame_address.
35766
35767 dup3 for GNU Hurd.
35768 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
35769 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
35770 implement dup3 and do some further code clean-ups.
35771 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
35772 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
35773
35774 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35775
35776 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
35777
35778 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
35779 HURD_CRITICAL_END around holding _hurd_dtable_lock.
35780 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
35781 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
35782 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
35783 d->port.lock.
35784
35785 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
35786 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
35787 when handler == SIG_ERR, not when handler != SIG_ERR.
35788
35789 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35790
35791 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
35792 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
35793 definitions.
35794
35795 accept4 for GNU Hurd.
35796 * include/sys/socket.h (__libc_accept4): New prototype.
35797 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
35798 to implement __libc_accept4.
35799 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
35800 __libc_accept4.
35801 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
35802
35803 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
35804 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
35805 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
35806 signal-defines.sym.
35807
35808 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35809
35810 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
35811
35812 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
35813
35814 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
35815 assertion on O_CLOEXEC flag.
35816 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
35817 * hurd/intern-fd.c: Likewise.
35818 * hurd/port2fd.c: Likewise.
35819
35820 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
35821
35822 [BZ #3906]
35823 * bits/in.h (IPV6_PKTINFO): Define new macro.
35824 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
35825
35826 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35827
35828 [BZ #13954]
35829 [BZ #13955]
35830 [BZ #13956]
35831 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
35832 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
35833 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
35834 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
35835 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35836 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
35837 * math/libm-test.inc (logb_test) : Additional logb tests.
35838
35839 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
35840 Andreas Jaeger <aj@suse.de>
35841
35842 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
35843 * configure: Regenerated.
35844 * config.h.in (LINK_OBSOLETE_RPC): New macro.
35845 * config.make.in (link-obsolete-rpc): New substituted variable.
35846 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
35847 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
35848 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35849 (shared-only-routines): Don't set it under [link-obsolete-rpc],
35850 so that libc.a contains the symbols.
35851 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
35852 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
35853 * sunrpc/auth_none.c: Likewise.
35854 * sunrpc/auth_unix.c: Likewise.
35855 * sunrpc/authdes_prot.c: Likewise.
35856 * sunrpc/authuxprot.c: Likewise.
35857 * sunrpc/clnt_gen.c: Likewise.
35858 * sunrpc/clnt_perr.c: Likewise.
35859 * sunrpc/clnt_raw.c: Likewise.
35860 * sunrpc/clnt_simp.c: Likewise.
35861 * sunrpc/clnt_tcp.c: Likewise.
35862 * sunrpc/clnt_udp.c: Likewise.
35863 * sunrpc/clnt_unix.c: Likewise.
35864 * sunrpc/des_crypt.c: Likewise.
35865 * sunrpc/des_soft.c: Likewise.
35866 * sunrpc/get_myaddr.c: Likewise.
35867 * sunrpc/key_call.c: Likewise.
35868 * sunrpc/key_prot.c: Likewise.
35869 * sunrpc/netname.c: Likewise.
35870 * sunrpc/pm_getmaps.c: Likewise.
35871 * sunrpc/pm_getport.c: Likewise.
35872 * sunrpc/pmap_clnt.c: Likewise.
35873 * sunrpc/pmap_prot.c: Likewise.
35874 * sunrpc/pmap_prot2.c: Likewise.
35875 * sunrpc/pmap_rmt.c: Likewise.
35876 * sunrpc/publickey.c: Likewise.
35877 * sunrpc/rpc_cmsg.c: Likewise.
35878 * sunrpc/rpc_common.c: Likewise.
35879 * sunrpc/rpc_dtable.c: Likewise.
35880 * sunrpc/rpc_prot.c: Likewise.
35881 * sunrpc/rpc_thread.c: Likewise.
35882 * sunrpc/rtime.c: Likewise.
35883 * sunrpc/svc.c: Likewise.
35884 * sunrpc/svc_auth.c: Likewise.
35885 * sunrpc/svc_raw.c: Likewise.
35886 * sunrpc/svc_run.c: Likewise.
35887 * sunrpc/svc_tcp.c: Likewise.
35888 * sunrpc/svc_udp.c: Likewise.
35889 * sunrpc/svc_unix.c: Likewise.
35890 * sunrpc/svcauth_des.c: Likewise.
35891 * sunrpc/xcrypt.c: Likewise.
35892 * sunrpc/xdr.c: Likewise.
35893 * sunrpc/xdr_array.c: Likewise.
35894 * sunrpc/xdr_float.c: Likewise.
35895 * sunrpc/xdr_intXX_t.c: Likewise.
35896 * sunrpc/xdr_mem.c: Likewise.
35897 * sunrpc/xdr_rec.c: Likewise.
35898 * sunrpc/xdr_ref.c: Likewise.
35899 * sunrpc/xdr_sizeof.c: Likewise.
35900 * sunrpc/xdr_stdio.c: Likewise.
35901
35902 2012-05-10 Roland McGrath <roland@hack.frob.com>
35903
35904 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35905 change. Update copyright years.
35906
35907 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35908
35909 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35910
35911 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35912 Joseph Myers <joseph@codesourcery.com>
35913 Paul Pluzhnikov <ppluzhnikov@google.com>
35914
35915 [BZ #14012]
35916 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35917 requiring rpcgen.
35918 [cross-compiling] (extra-libs): Likewise.
35919 [cross-compiling] (extra-libs-others): Likewise.
35920 [cross-compiling] (librpcsvc-routines): Likewise.
35921 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35922 [cross-compiling] (omit-deps): Likewise.
35923 (sunrpc-CPPFLAGS): New variable.
35924 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35925 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35926 (cross-rpcgen-objs): New variable.
35927 (extra-objs): Append $(cross-rpcgen-objs).
35928 ($(cross-rpcgen-objs)): New rule.
35929 ($(objpfx)cross-rpcgen): Likewise.
35930 (rpcgen-cmd): Define to use $(built-program-file). Expand
35931 comment.
35932 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35933 ($(objpfx)x%.stmp): Likewise.
35934 * sunrpc/proto.h [IS_IN_build] (_): Define.
35935 [IS_IN_build] (_libc_intl_domainname): Likewise.
35936
35937 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35938
35939 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35940 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35941 and R_X86_64_TPOFF64.
35942
35943 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35944
35945 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35946 sysdeps/unix/sysv/syscalls.list.
35947 (stime): Likewise.
35948 (utime): Likewise.
35949 * sysdeps/unix/sysv/syscalls.list: Remove file.
35950
35951 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35952
35953 [BZ #3440]
35954 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35955 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35956 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35957 (__LC_IDENTIFICATION): Make these macros useful in #if
35958 expressions, as required by C99.
35959
35960 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35961
35962 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35963 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35964 after this.
35965
35966 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35967
35968 * stdlib/longlong.h: Updated from GCC.
35969
35970 2012-05-09 Andreas Jaeger <aj@suse.de>
35971
35972 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35973 default is first entry.
35974 (run_mode): Set type.
35975 (main): Remove informal message about syslog.
35976 (options): Fix typo.
35977
35978 [BZ #14053]
35979 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35980 to asm.
35981 (lrint): Likewise.
35982 (llrintf): Likewise.
35983 (llrint): Likewise.
35984 (rint): Likewise.
35985 (rintf): Likewise.
35986 (nearbyint): Likewise.
35987 (nearbyintf): Likewise.
35988
35989 2012-05-09 Andreas Jaeger <aj@suse.de>
35990 Pedro Alves <palves@redhat.com>
35991
35992 * nscd/nscd.c (run_mode): Use enum.
35993 (main): Cleanup coding style issue.
35994
35995 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
35996 Andreas Jaeger <aj@suse.de>
35997
35998 * nscd/nscd.c (go_background): Replaced with...
35999 (run_mode): ... this.
36000 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36001 (options): Add -F --foreground.
36002 (main): Implement it.
36003 (parse_opt): Parse it.
36004
36005 2012-05-09 Andreas Jaeger <aj@suse.de>
36006
36007 [BZ #14083]
36008 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36009 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36010 -Wconversion warning.
36011 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36012 Likewise.
36013
36014 2012-05-09 Joseph Myers <joseph@codesourcery.com>
36015
36016 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36017 == 0.
36018 (LC_ALL): Use macro-int-constant.
36019 (LC_COLLATE): Likewise.
36020 (LC_CTYPE): Likewise.
36021 (LC_MESSAGES): Likewise.
36022 (LC_MONETARY): Likewise.
36023 (LC_NUMERIC): Likewise.
36024 (LC_TIME): Likewise.
36025 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36026 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36027 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36028 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36029 Specify type.
36030 [C99-based standards] (float_t): Expect type.
36031 [C99-based standards] (double_t): Expect type.
36032 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36033 type.
36034 [C99-based standards] (HUGE_VALL): Likewise.
36035 [C99-based standards] (INFINITY): Likewise.
36036 [C99-based standards] (NAN): Likewise.
36037 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36038 [C99-based standards] (FP_NAN): Likewise.
36039 [C99-based standards] (FP_NORMAL): Likewise.
36040 [C99-based standards] (FP_SUBNORMAL): Likewise.
36041 [C99-based standards] (FP_ZERO): Likewise.
36042 [C99-based standards] (FP_FAST_FMA): Use
36043 optional-macro-int-constant. Specify type. Require == 1.
36044 [C99-based standards] (FP_FAST_FMAF): Likewise.
36045 [C99-based standards] (FP_FAST_FMAL): Likewise.
36046 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36047 [C99-based standards] (FP_ILOGBNAN): Likewise.
36048 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36049 Specify type.
36050 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36051 [C99-based standards] (math_errhandling): Specify type.
36052 [ISO99 || ISO11] (signgam): Do not allow.
36053 [non-C99-based standards] (copysignf): Do not allow.
36054 [non-C99-based standards] (exp2f): Likewise.
36055 [non-C99-based standards] (log2f): Likewise.
36056 [non-C99-based standards] (modff): Allow.
36057 [non-C99-based standards] (erff): Do not allow.
36058 [non-C99-based standards] (erfcf): Likewise.
36059 [non-C99-based standards] (gammaf): Likewise.
36060 [non-C99-based standards] (hypotf): Likewise.
36061 [non-C99-based standards] (j0f): Likewise.
36062 [non-C99-based standards] (j1f): Likewise.
36063 [non-C99-based standards] (jnf): Likewise.
36064 [non-C99-based standards] (lgammaf): Likewise.
36065 [non-C99-based standards] (tgammaf): Likewise.
36066 [non-C99-based standards] (y0f): Likewise.
36067 [non-C99-based standards] (y1f): Likewise.
36068 [non-C99-based standards] (ynf): Likewise.
36069 [non-C99-based standards] (isnanf): Likewise.
36070 [non-C99-based standards] (acoshf): Likewise.
36071 [non-C99-based standards] (asinhf): Likewise.
36072 [non-C99-based standards] (atanhf): Likewise.
36073 [non-C99-based standards] (cbrtf): Likewise.
36074 [non-C99-based standards] (expm1f): Likewise.
36075 [non-C99-based standards] (ilogbf): Likewise.
36076 [non-C99-based standards] (log1pf): Likewise.
36077 [non-C99-based standards] (logbf): Likewise.
36078 [non-C99-based standards] (nextafterf): Likewise.
36079 [non-C99-based standards] (remainderf): Likewise.
36080 [non-C99-based standards] (rintf): Likewise.
36081 [non-C99-based standards] (scalbf): Likewise.
36082 [non-C99-based standards] (copysignl): Likewise.
36083 [non-C99-based standards] (exp2l): Likewise.
36084 [non-C99-based standards] (log2l): Likewise.
36085 [non-C99-based standards] (modfl): Allow.
36086 [non-C99-based standards] (erfl): Do not allow.
36087 [non-C99-based standards] (erfcl): Likewise.
36088 [non-C99-based standards] (gammal): Likewise.
36089 [non-C99-based standards] (hypotl): Likewise.
36090 [non-C99-based standards] (j0l): Likewise.
36091 [non-C99-based standards] (j1l): Likewise.
36092 [non-C99-based standards] (jnl): Likewise.
36093 [non-C99-based standards] (lgammal): Likewise.
36094 [non-C99-based standards] (tgammal): Likewise.
36095 [non-C99-based standards] (y0l): Likewise.
36096 [non-C99-based standards] (y1l): Likewise.
36097 [non-C99-based standards] (ynl): Likewise.
36098 [non-C99-based standards] (isnanl): Likewise.
36099 [non-C99-based standards] (acoshl): Likewise.
36100 [non-C99-based standards] (asinhl): Likewise.
36101 [non-C99-based standards] (atanhl): Likewise.
36102 [non-C99-based standards] (cbrtl): Likewise.
36103 [non-C99-based standards] (expm1l): Likewise.
36104 [non-C99-based standards] (ilogbl): Likewise.
36105 [non-C99-based standards] (log1pl): Likewise.
36106 [non-C99-based standards] (logbl): Likewise.
36107 [non-C99-based standards] (nextafterl): Likewise.
36108 [non-C99-based standards] (remainderl): Likewise.
36109 [non-C99-based standards] (rintl): Likewise.
36110 [non-C99-based standards] (scalbl): Likewise.
36111 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36112 [non-C99-based standards] (FP_*): Do not allow.
36113 [C99-based standards] (FP_*): Change to
36114 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36115 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36116 allow.
36117 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36118 (SIG_ERR): Likewise.
36119 [X/Open-based standards] (SIG_HOLD): Likewise.
36120 (SIG_IGN): Likewise.
36121 (SIGABRT): Use macro-int-constant. Specify type. Require
36122 positive value.
36123 (SIGFPE): Likewise.
36124 (SIGILL): Likewise.
36125 (SIGINT): Likewise.
36126 (SIGSEGV): Likewise.
36127 (SIGTER): Likewise.
36128 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36129 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36130 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36131 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36132 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36133 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36134 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36135 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36136 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36137 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36138 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36139 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36140 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36141 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36142 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36143 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36144 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36145 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36146 [X/Open-based standards] (SIGTRAP): Likewise.
36147 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36148 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36149 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36150 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36151 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36152 allow.
36153
36154 2012-05-08 Ian Wienand <ianw@vmware.com>
36155
36156 [BZ #14080]
36157 * time/tzset.c (__tzset_parse_tz): Update default rules for
36158 daylight time changes in the Energy Policy Act of 2005.
36159
36160 2012-05-09 Andreas Jaeger <aj@suse.de>
36161
36162 [BZ #13983]
36163 * elf/ldconfig.c (parse_conf): Change string to make clear that
36164 ldconfig only issued a warning if ld.so.conf does not exist.
36165
36166 2012-05-08 David S. Miller <davem@davemloft.net>
36167
36168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36169 movxtod instead of popping the value on the stack.
36170
36171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36172
36173 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36174
36175 * config.h.in: Add HAVE_ARM_PCS_VFP.
36176
36177 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
36178
36179 [BZ #13979]
36180 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36181 checking but the checks are disabled for any reason.
36182
36183 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36184
36185 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36186 and ELF64_R_TYPE with ELFW(R_TYPE).
36187
36188 2012-05-08 Joseph Myers <joseph@codesourcery.com>
36189
36190 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36191 (ulimit): Likewise.
36192
36193 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36194 (settimeofday): Likewise.
36195
36196 2012-05-08 Mike Frysinger <vapier@gentoo.org>
36197
36198 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36199 a struct th_u2 inside the union, and move tu_block/tu_code into
36200 a new th_u3 union of tu_block/tu_code inside of that. Move
36201 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36202 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36203 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36204 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36205 (th_stuff): Change to th_u1.tu_stuff.
36206 (th_data): Define.
36207 (th_msg): Change to th_u1.th_u2.tu_data.
36208
36209 2012-05-07 David S. Miller <davem@davemloft.net>
36210
36211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36212
36213 [BZ #14074]
36214 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36215 (SETUP_PIC_REG): Use it.
36216 (SETUP_PIC_REG_LEAF): Use it.
36217
36218 2012-05-07 Joseph Myers <joseph@codesourcery.com>
36219
36220 [BZ #13885]
36221 [BZ #13923]
36222 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36223 USE_AS_EXPM1L.
36224 (EXPL_FINITE): Likewise.
36225 (FLDLOG): Likewise.
36226 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36227 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36228 e_expl.S.
36229 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36230 USE_AS_EXPM1L.
36231 (EXPL_FINITE): Likewise.
36232 (FLDLOG): Likewise.
36233 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36234 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36235 e_expl.S.
36236 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36237 test of -max_value argument for long double.
36238 * sysdeps/i386/fpu/libm-test-ulps: Update.
36239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36240
36241 2012-05-06 David S. Miller <davem@davemloft.net>
36242
36243 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36244 quad soft-float symbols whose references which are compiler
36245 generated.
36246 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36247
36248 2012-05-06 Joseph Myers <joseph@codesourcery.com>
36249
36250 [BZ #13884]
36251 [BZ #13914]
36252 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36253 USE_AS_EXP10L.
36254 (EXPL_FINITE): Likewise.
36255 (FLDLOG): Likewise.
36256 (c0): Likewise.
36257 (c1): Likewise.
36258 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36259 Adjust comments for base varying.
36260 (__expl_finite): Change alias to EXPL_FINITE.
36261 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36262 e_expl.S.
36263 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36264 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36265 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36266 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36267 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36268 USE_AS_EXP10L.
36269 (EXPL_FINITE): Likewise.
36270 (FLDLOG): Likewise.
36271 (c0): Likewise.
36272 (c1): Likewise.
36273 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36274 Adjust comments for base varying.
36275 (__expl_finite): Change alias to EXPL_FINITE.
36276 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36277 tests for bugs.
36278 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36279
36280 [BZ #14064]
36281 * math/libm-test.inc (check_float_internal): Correct ulp
36282 calculation for subnormal expected results.
36283
36284 2012-05-06 Andreas Jaeger <aj@suse.de>
36285
36286 * Makeconfig (+math-flags): New, set to -frounding-math.
36287 (+cflags): Add +math-flags so that all of glibc gets compiled with
36288 it.
36289
36290 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36291
36292 2012-05-05 Joseph Myers <joseph@codesourcery.com>
36293
36294 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36295 Disable one test.
36296
36297 [BZ #13787]
36298 [BZ #13922]
36299 [BZ #14036]
36300 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36301 (__ieee754_expl): Allow for and saturate large arguments.
36302 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36303 (u_threshold): Likewise.
36304 (__exp): Call __ieee754_exp before checking for overflow and
36305 underflow.
36306 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36307 (u_threshold): Likewise.
36308 (__expf): Call __ieee754_expf before checking for overflow and
36309 underflow.
36310 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36311 (u_threshold): Likewise.
36312 (__expl): Call __ieee754_expl before checking for overflow and
36313 underflow.
36314 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36315 (__ieee754_expl): Allow for and saturate large arguments.
36316 * math/libm-test.inc (exp_test): Add another test. Do not allow
36317 missing overflow exception on overflow.
36318 (expm1_test): Do not allow missing overflow exception on overflow.
36319
36320 * sysdeps/i386/fpu/e_expl.c: Move to ...
36321 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36322 rather than using inline asm.
36323 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36324 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36325 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36326
36327 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36328 (nice): Likewise.
36329 (poll): Likewise.
36330 (signal): Likewise.
36331 (time): Likewise.
36332 (times): Likewise.
36333
36334 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36335
36336 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36337 sysdeps/unix/common/syscalls.list.
36338 (fchmod): Likewise.
36339 (fchown): Likewise.
36340 (ftruncate): Likewise.
36341 (getrusage): Likewise.
36342 (gettimeofday): Likewise.
36343 (setpgid): Likewise.
36344 (setregid): Likewise.
36345 (setreuid): Likewise.
36346 (sigaction): Likewise.
36347 (truncate): Likewise.
36348 (vhangup): Likewise.
36349 * sysdeps/unix/common/syscalls.list: Remove file.
36350 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36351 * sysdeps/unix/sysv/linux/Implies: Likewise.
36352
36353 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36354
36355 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36357 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36358 Moved to ...
36359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36360 Here.
36361 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36362 to ...
36363 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36364 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36365 to ...
36366 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36367 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36368 to ...
36369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36370 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36371 to ...
36372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36373 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36374 to ...
36375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36376 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36377 to ...
36378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36379 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36380 to ...
36381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36382 Here.
36383 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36384 to ...
36385 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36386 Here.
36387 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36388 to ...
36389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36390 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36391 Moved to ...
36392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36393 Here.
36394 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36395 to ...
36396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36397
36398 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36399
36400 * sysdeps/unix/common/bits/dirent.h: Remove file.
36401 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36402
36403 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36404 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36405 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36406 * sysdeps/unix/bsd/isatty.c: Likewise.
36407 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36408 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36409 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36410
36411 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36412
36413 [BZ #13563]
36414 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36415 long double comparison inaccuracies.
36416 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36418
36419 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36420
36421 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36422 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36423
36424 2012-05-04 Joseph Myers <joseph@codesourcery.com>
36425
36426 [BZ #14049]
36427 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36428 nonzero digits before rounding a hex value.
36429 * stdlib/tst-strtod.c (tests): Add another test.
36430
36431 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36432
36433 * sysdeps/s390/fpu/libm-test-ulps: Update.
36434
36435 2012-05-03 Andreas Jaeger <aj@suse.de>
36436
36437 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36438 does not get optimized out.
36439 (malloc_opt_barrier): New.
36440
36441 2012-05-03 Andreas Jaeger <aj@suse.de>
36442 Roland McGrath <roland@hack.frob.com>
36443
36444 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36445 intermediate file deletion.
36446 (generated): Add .symlist files.
36447
36448 2012-05-03 Joseph Myers <joseph@codesourcery.com>
36449
36450 [BZ #13775]
36451 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36452 Redirect under this condition.
36453 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36454 [__USE_GNU] (__dprintf_chk): Not under this condition.
36455 [__USE_GNU] (__vdprintf_chk): Likewise.
36456 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36457 under this condition.
36458 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36459 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36460 [__USE_XOPEN2K8] (vdprintf): Likewise.
36461 [__USE_GNU] (__dprintf_chk): Not under this condition.
36462 [__USE_GNU] (__vdprintf_chk): Likewise.
36463 [__USE_GNU] (dprintf): Likewise.
36464 [__USE_GNU] (vdprintf): Likewise.
36465
36466 2012-05-03 Roland McGrath <roland@hack.frob.com>
36467
36468 * elf/Makefile (common-generated): Set this instead of generated for
36469 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36470 $(all-built-dso)-derived lists.
36471
36472 2012-05-03 Andreas Jaeger <aj@suse.de>
36473
36474 * sysdeps/i386/fpu/libm-test-ulps: Update.
36475
36476 * FAQ: Removed.
36477 * FAQ.in: Likewise.
36478 * scripts/gen-FAQ.pl: Likewise.
36479 * manual/install.texi (Installation): Point to online location of
36480 FAQ.
36481 * Makefile (files-for-dist): Remove FAQ.
36482 (FAQ): Remove.
36483
36484 2012-05-02 Allan McRae <allan@archlinux.org>
36485
36486 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36487 (LDFLAGS-reldepmod5.so): Likewise.
36488 (LDFLAGS-reldep6mod1.so): Likewise.
36489 (LDFLAGS-reldep6mod4.so): Likewise.
36490 (LDFLAGS-reldep8mod3.so): Likewise.
36491 (LDFLAGS-unload4mod1.so): Likewise.
36492 (LDFLAGS-unload4mod2.so): Likewise.
36493 (LDFLAGS-tst-initorder): Likewise.
36494 (LDFLAGS-tst-initordera2.so): Likewise.
36495 (LDFLAGS-tst-initordera3.so): Likewise.
36496 (LDFLAGS-tst-initordera4.so): Likewise.
36497 (LDFLAGS-tst-initorderb2.so): Likewise.
36498 (LDFLAGS-noload): Likewise.
36499 (LDFLAGS-next): Likewise.
36500 (LDFLAGS-order2mod1.so): Likewise.
36501 (LDFLAGS-order2mod2.so): Likewise.
36502 (LDFLAGS-tst-initorder2): Likewise.
36503 (LDFLAGS-tst-initorder2a.so): Likewise.
36504 (LDFLAGS-tst-initorder2b.so): Likewise.
36505 (LDFLAGS-tst-initorder2c.so): Likewise.
36506 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36507
36508 2012-05-02 David S. Miller <davem@davemloft.net>
36509
36510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36511
36512 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
36513
36514 [BZ #14055]
36515 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36516
36517 2012-05-02 Andreas Jaeger <aj@suse.de>
36518
36519 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36520 since we manipulate rounding mode.
36521 (CPPFLAGS-test-idouble.c): Likewise.
36522 (CPPFLAGS-test-ifloat.c): Likewise.
36523 (CFLAGS-test-ldouble.c): Likewise.
36524 (CFLAGS-test-double.c): Likewise.
36525 (CFLAGS-test-float.c): Likewise.
36526 (CFLAGS-test-misc.c): Likewise.
36527 (CFLAGS-test-test-fenv.c): Likewise.
36528
36529 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36530
36531 [BZ #2550]
36532 [BZ #2570]
36533 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36534 comparisons to determine direction to adjust input.
36535
36536 2012-05-01 Roland McGrath <roland@hack.frob.com>
36537
36538 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36539 output to the target.
36540
36541 * scripts/localplt.awk: New file.
36542 * elf/Makefile ($(objpfx)check-localplt): Target removed.
36543 (check-localplt-CFLAGS): Variable removed.
36544 ($(all-built-dso:=.jmprel)): New static pattern rule.
36545 (generated): Add those targets.
36546 (localplt-built-dso): New variable.
36547 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36548
36549 * elf/check-localplt.c: File removed.
36550
36551 * scripts/check-execstack.awk: New file.
36552 * elf/Makefile ($(objpfx)check-execstack): Target removed.
36553 (check-execstack-CFLAGS): Variable removed.
36554 ($(objpfx)check-execstack.h): Target removed.
36555 ($(objpfx)execstack-default): New target.
36556 (generated): Add that instead of check-execstack.h.
36557 ($(all-built-dso:=.phdr)): New static pattern rule.
36558 (generated): Add those targets.
36559 * elf/check-execstack.c: File removed.
36560
36561 * scripts/check-textrel.awk: New file.
36562 * elf/Makefile ($(objpfx)check-textrel): Target removed.
36563 (check-textrel-CFLAGS): Variable removed.
36564 (all-built-dso): Use := to define.o
36565 ($(all-built-dso:=.dyn)): New static pattern rule.
36566 (generated): Add those targets.
36567 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36568 * config.make.in (READELF): New substituted variable.
36569 * elf/check-textrel.c: File removed.
36570
36571 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36572
36573 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36574 allow.
36575 * conform/data/ctype.h-data [C99-based standards] (isblank):
36576 Expect function.
36577 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36578 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36579 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36580 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36581 Specify type. Require positive value.
36582 (EILSEQ): Likewise.
36583 (ERANGE): Likewise.
36584 [ISO || POSIX] (EILSEQ): Do not expect.
36585 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36586 Specify type. Require positive value.
36587 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36588 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36589 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36590 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36591 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36592 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36593 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36594 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36595 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36596 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36597 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36598 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36599 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36600 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36601 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36602 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36603 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36604 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36605 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36606 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36607 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36608 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36609 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36610 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36611 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36612 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36613 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36614 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36615 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36616 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36617 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36618 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36619 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36620 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36621 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36622 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36623 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36624 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36625 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36626 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36627 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36628 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36629 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36630 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36631 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36632 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36633 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36634 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36635 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36636 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36637 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36638 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36639 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36640 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36641 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36642 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36643 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36644 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
36645 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
36646 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
36647 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
36648 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
36649 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
36650 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
36651 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
36652 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
36653 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
36654 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
36655 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
36656 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
36657 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
36658 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
36659 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
36660 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
36661 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
36662 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
36663 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
36664 Require >= 2.
36665 (FLT_ROUNDS): Expect as macro, not constant.
36666 (FLT_MANT_DIG): Use macro-int-constant.
36667 (DBL_MANT_DIG): Likewise.
36668 (LDBL_MANT_DIG): Likewise.
36669 (FLT_DIG): Likewise.
36670 (DBL_DIG): Likewise.
36671 (LDBL_DIG): Likewise.
36672 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
36673 (DBL_MIN_EXP): Likewise.
36674 (LDBL_MIN_EXP): Likewise.
36675 (FLT_MAX_EXP): Use macro-int-constant.
36676 (DBL_MAX_EXP): Likewise.
36677 (LDBL_MAX_EXP): Likewise.
36678 (FLT_MAX_10_EXP): Likewise.
36679 (DBL_MAX_10_EXP): Likewise.
36680 (LDBL_MAX_10_EXP): Likewise.
36681 (FLT_MAX): Use macro-constant.
36682 (DBL_MAX): Likewise.
36683 (LDBL_MAX): Likewise.
36684 (FLT_EPSILON): Use macro-constant. Give upper bound.
36685 (DBL_EPSILON): Likewise.
36686 (LDBL_EPSILON): Likewise.
36687 (FLT_MIN): Likewise.
36688 (DBL_MIN): Likewise.
36689 (LDBL_MIN): Likewise.
36690 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
36691 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
36692 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
36693 [ISO11] (FLT_HAS_SUBNORM): Likewise.
36694 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
36695 [ISO11] (DBL_DECIMAL_DIG): Likewise.
36696 [ISO11] (FLT_DECIMAL_DIG): Likewise.
36697 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
36698 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
36699 [ISO11] (FLT_TRUE_MIN): Likewise.
36700 [ISO11] (LDBL_TRUE_MIN): Likewise.
36701 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36702 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
36703 (SCHAR_MIN): Use macro-int-constant. Specify type.
36704 (SCHAR_MAX): Likewise.
36705 (UCHAR_MAX): Likewise.
36706 (CHAR_MIN): Likewise.
36707 (CHAR_MAX): Likewise.
36708 (MB_LEN_MAX): Use macro-int-constant.
36709 (SHRT_MIN): Use macro-int-constant. Specify type.
36710 (SHRT_MAX): Likewise.
36711 (USHRT_MAX): Likewise.
36712 (INT_MAX): Likewise.
36713 (INT_MIN): Use macro-int-constant. Specify type. Make upper
36714 bound negative.
36715 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
36716 bound with "U".
36717 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36718 bound with "L".
36719 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
36720 bound negative. Suffix upper bound with "L".
36721 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
36722 bound with "UL".
36723 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
36724 Specify type.
36725 [C99-based standards] (LLONG_MAX): Likewise.
36726 [C99-based standards] (ULLONG_MAX): Likewise.
36727 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
36728 == 0.
36729 [ISO11] (max_align_t): Require type.
36730 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36731
36732 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
36733 from $CFLAGS, without defining away __attribute__ calls.
36734 (checknamespace): Use $CFLAGS_namespace.
36735
36736 * conform/conformtest.pl (@keywords): Only include C99 keywords
36737 for standards based on C99 or C11.
36738
36739 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
36740 Disable tests.
36741 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
36742 UNIX98]: Likewise.
36743
36744 * conform/conformtest.pl: Handle "macro-int-constant" and test for
36745 usability of symbols in #if.
36746
36747 * conform/conformtest.pl: If macro or constant types start
36748 "promoted:", expect the symbol to be of the following type
36749 promoted by the integer promotions.
36750
36751 * conform/conformtest.pl: Parse all "constant" and "macro" lines
36752 in one place. Also handle "macro-constant".
36753
36754 * conform/conformtest.pl: Only accept expected macro values with
36755 "==". Parse all "macro" lines in one place.
36756 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
36757
36758 * conform/conformtest.pl: Handle braced types on "constant" lines
36759 instead of handling "typed-constant".
36760 * conform/data/signal.h-data: Use "constant" instead of
36761 "typed-constant".
36762
36763 * conform/conformtest.pl: Handle "optional-" at start of lines in
36764 one place rather than duplicating several cases. Handle each
36765 format of "macro" line with initial "optional-".
36766
36767 * conform/conformtest.pl: Only accept expected constant or
36768 optional-constant values with "==". Parse all "constant" lines in
36769 one place. Parse all "optional-constant" lines in one place.
36770 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
36771 * conform/data/fmtmsg.h-data: Likewise.
36772 * conform/data/netinet/in.h-data: Likewise.
36773 * conform/data/tar.h-data: Likewise.
36774 * conform/data/limits.h-data: Use "==" form on "constant" and
36775 "optional-constant" lines.
36776
36777 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
36778 Use -std=c99 for XOPEN2K.
36779 (@knownproblems): Remove.
36780 (newtoken): Don't check %isknown.
36781
36782 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
36783 Do not expect macro.
36784 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
36785 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
36786 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
36787 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
36788 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
36789 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
36790 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
36791 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
36792 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
36793 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
36794 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
36795 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
36796 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
36797 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
36798 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
36799 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
36800 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
36801 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
36802 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
36803 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
36804 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
36805 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
36806 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
36807 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
36808 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
36809 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
36810 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
36811 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
36812 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
36813 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
36814 [XPG3] (acosh): Likewise.
36815 [XPG3] (asinh): Likewise.
36816 [XPG3] (atanh): Likewise.
36817 [XPG3] (cbrt): Likewise.
36818 [XPG3] (expm1): Likewise.
36819 [XPG3] (ilogb): Likewise.
36820 [XPG3] (log1p): Likewise.
36821 [XPG3] (logb): Likewise.
36822 [XPG3] (nextafter): Likewise.
36823 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
36824 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
36825 [XPG3] (remainder): Likewise.
36826 [XPG3] (rint): Likewise.
36827 [XPG3 || XPG4 || UNIX98] (round): Likewise.
36828 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
36829 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
36830 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
36831 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
36832 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
36833 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
36834 [UNIX98 || XOPEN2K] (scalb): Expect.
36835 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
36836 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
36837 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
36838 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
36839 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
36840 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
36841 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
36842 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
36843 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
36844 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
36845 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
36846 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
36847 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
36848 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
36849 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
36850 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
36851 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
36852 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
36853 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
36854 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
36855 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
36856 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
36857 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
36858 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
36859 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
36860 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
36861 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
36862 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
36863 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
36864 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
36865 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
36866 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
36867 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
36868 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
36869 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
36870 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
36871 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
36872 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
36873 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
36874 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
36875 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
36876 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
36877 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
36878 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
36879 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
36880 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
36881 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
36882 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36883 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36884 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36885 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36886 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36887 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36888 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36889 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36890 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36891 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36892 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36893 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36894 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36895 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36896 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36897 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36898 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36899 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36900 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36901 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36902 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36903 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36904 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36905 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36906 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36907 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36908 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36909 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36910 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36911 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36912 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36913 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36914 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36915 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36916 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36917 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36918 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36919 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36920 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36921 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36922 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36923 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36924 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36925 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36926 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36927 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36928 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36929 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36930 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36931 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36932 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36933 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36934 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36935 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36936 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36937 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36938 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36939 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36940 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36941 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36942 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36943 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36944 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36945 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36946 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36947 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36948 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36949 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36950 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36951 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36952 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36953 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36954 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36955 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36956 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36957 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36958 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36959 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36960 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36961 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36962 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36963 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36964 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36965 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36966 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36967 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36968 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36969 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36970 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36971 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36972
36973 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36974 _XOPEN_SOURCE_EXTENDED for XPG4.
36975
36976 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36977
36978 * Makeconfig (localtime): Remove variable.
36979 (inst_localtime-file): Likewise.
36980
36981 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36982
36983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36984 Update.
36985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36986 Update.
36987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36988 Update.
36989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36990 Update.
36991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36992 Update.
36993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36994 Update.
36995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36996 Update.
36997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36998 Update.
36999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37000 Update.
37001
37002 2012-05-01 Joseph Myers <joseph@codesourcery.com>
37003
37004 [BZ #2550]
37005 [BZ #2570]
37006 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37007 comparisons to determine direction to adjust input.
37008 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37009 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37010 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37011 Likewise.
37012 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37013 Likewise.
37014 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37015 Likewise.
37016 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37017 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37018 Likewise.
37019 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37020 Likewise.
37021 * math/libm-test.inc (nexttoward_test): Add more tests.
37022
37023 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37024
37025 [BZ #14040]
37026 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37027 in version GLIBC_2.1, not GLIBC_2.0.
37028 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37029 Likewise.
37030
37031 2012-04-30 Joseph Myers <joseph@codesourcery.com>
37032
37033 [BZ #13942]
37034 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37035 (1 - x) * (1 + x).
37036 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37037 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37038 * math/libm-test.inc (acos_test): Add more tests.
37039 (asin_test): Likewise.
37040 * sysdeps/i386/fpu/libm-test-ulps: Update.
37041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37042
37043 [BZ #14034]
37044 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37045 of square root.
37046 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37047 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37048 * math/libm-test.inc (acos_test_tonearest): New function.
37049 (acos_test_towardzero): Likewise.
37050 (acos_test_downward): Likewise.
37051 (acos_test_upward): Likewise.
37052 (asin_test_tonearest): Likewise.
37053 (asin_test_towardzero): Likewise.
37054 (asin_test_downward): Likewise.
37055 (asin_test_upward): Likewise.
37056 (main): Call the new functions.
37057 * sysdeps/i386/fpu/libm-test-ulps: Update.
37058 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37059
37060 [BZ #13884]
37061 [BZ #13924]
37062 * math/e_exp10.c: Include <float.h>.
37063 (__ieee754_exp10): Handle underflow here rather than multiplying
37064 large negative argument by M_LN10.
37065 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37066 of __ieee754_expf.
37067 * math/e_exp10l.c: Include <float.h>.
37068 (__ieee754_exp10l): Handle underflow here rather than multiplying
37069 large negative argument by M_LN10l.
37070 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37071 spurious overflow exception on underflow.
37072
37073 2012-04-29 Marek Polacek <polacek@redhat.com>
37074
37075 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37076 (__fortify_function): New macro.
37077 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37078 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37079 __extern_always_inline.
37080 * libio/bits/stdio2.h: Likewise.
37081 * libio/bits/stdio.h: Likewise.
37082 * string/string.h: Likewise.
37083 * string/bits/string3.h: Likewise.
37084 * include/stdio.h: Likewise.
37085 * stdlib/bits/stdlib.h: Likewise.
37086 * stdlib/stdlib.h: Likewise.
37087 * rt/bits/mqueue2.h: Likewise.
37088 * rt/mqueue.h: Likewise.
37089 * posix/bits/unistd.h: Likewise.
37090 * posix/unistd.h: Likewise.
37091 * io/bits/poll2.h: Likewise.
37092 * io/bits/fcntl2.h: Likewise.
37093 * io/fcntl.h: Likewise.
37094 * io/sys/poll.h: Likewise.
37095 * misc/bits/syslog.h: Likewise.
37096 * misc/bits/syslog-ldbl.h: Likewise.
37097 * misc/sys/syslog.h: Likewise.
37098 * socket/bits/socket2.h: Likewise.
37099 * socket/sys/socket.h: Likewise.
37100 * debug/tst-chk1.c: Likewise.
37101 * wcsmbs/bits/wchar2.h: Likewise.
37102 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37103 * wcsmbs/wchar.h: Likewise.
37104
37105 2012-04-29 Andreas Jaeger <aj@suse.de>
37106
37107 * Makerules (tests): Remove enable-check-abi protection.
37108 (check-abi-warn): Remove.
37109 (check-abi-%): Remove check-abi-warn usage.
37110
37111 * configure.in: Remove check-abi configure option.
37112 * configure: Regenerated.
37113 * config.make.in (enable-check-abi): Remove.
37114
37115 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37116
37117 [BZ #14033]
37118 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37119 double functions to double *_finite functions.
37120
37121 [BZ #13941]
37122 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37123 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37124 LDBL_MIN_EXP.
37125 * stdio-common/Makefile (tests): Add tst-sprintf3.
37126 * stdio-common/tst-sprintf3.c: New file.
37127
37128 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37129 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37130
37131 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37132
37133 * conform/conformtest.pl: Remove duplicate typed-constant
37134 handling.
37135
37136 2012-04-28 David S. Miller <davem@davemloft.net>
37137
37138 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37139 (check-abi-%): Remove AWK script prerequisite and explicit
37140 abilist directory.
37141 (check-abi): Rewrite to just diff the symlist with the abilist.
37142 (config-tls, config-abi-config): Delete, no longer used.
37143 (update-abi-%): Remove AWK script and explicit abilist directory.
37144 (update-abi): Rewrite to simply compare and conditionally copy the
37145 symlist and the sysdep abilist file. Remove update-abi-config
37146 checks.
37147 * abilist/ld.abilist: Remove.
37148 * abilist/libBrokenLocale.abilist: Remove.
37149 * abilist/libanl.abilist: Remove.
37150 * abilist/libcrypt.abilist: Remove.
37151 * abilist/libdl.abilist: Remove.
37152 * abilist/librt.abilist: Remove.
37153 * abilist/libthread_db.abilist: Remove.
37154 * abilist/libutil.abilist: Remove.
37155 * scripts/extract-abilist.awk: Remove.
37156 * scripts/merge-abilist.awk: Remove.
37157 * sysdeps/generic/libcidn.abilist: New file.
37158 * sysdeps/generic/libnss_compat.abilist: New file.
37159 * sysdeps/generic/libnss_db.abilist: New file.
37160 * sysdeps/generic/libnss_dns.abilist: New file.
37161 * sysdeps/generic/libnss_files.abilist: New file.
37162 * sysdeps/generic/libnss_hesiod.abilist: New file.
37163 * sysdeps/generic/libnss_nis.abilist: New file.
37164 * sysdeps/generic/libnss_nisplus.abilist: New file.
37165 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37166 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37167 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37168 file.
37169 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37170 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37171 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37172 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37173 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37174 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37175 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37176 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37177 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37178 file.
37179 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37180 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37181 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37182 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37183 file.
37184 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37185 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37186 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37187 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37188 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37189 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37190 file.
37191 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37192 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37193 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37194 file.
37195 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37196 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37197 New file.
37198 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37199 New file.
37200 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37201 New file.
37202 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37203 New file.
37204 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37205 New file.
37206 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37207 New file.
37208 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37209 New file.
37210 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37211 New file.
37212 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37213 New file.
37214 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37215 New file.
37216 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37217 New file.
37218 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37219 New file.
37220 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37221 New file.
37222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37223 file.
37224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37225 New file.
37226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37227 New file.
37228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37229 file.
37230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37231 New file.
37232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37233 New file.
37234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37235 file.
37236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37237 New file.
37238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37239 New file.
37240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37241 New file.
37242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37243 New file.
37244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37245 New file.
37246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37247 New file.
37248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37250 file.
37251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37252 New file.
37253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37254 file.
37255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37256 file.
37257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37258 file.
37259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37260 file.
37261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37262 file.
37263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37264 New file.
37265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37266 file.
37267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37268 file.
37269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37270 New file.
37271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37272 file.
37273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37275 file.
37276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37277 New file.
37278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37279 file.
37280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37281 file.
37282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37283 file.
37284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37285 file.
37286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37287 file.
37288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37289 New file.
37290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37291 file.
37292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37293 file.
37294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37295 New file.
37296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37297 file.
37298 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37299 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37300 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37301 file.
37302 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37303 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37304 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37305 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37306 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37307 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37308 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37309 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37310 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37311 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37314 file.
37315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37316 New file.
37317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37318 file.
37319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37320 file.
37321 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37322 file.
37323 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37324 file.
37325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37326 file.
37327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37328 New file.
37329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37330 New file.
37331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37332 file.
37333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37334 New file.
37335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37336 file.
37337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37339 file.
37340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37341 New file.
37342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37343 file.
37344 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37345 file.
37346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37347 file.
37348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37349 file.
37350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37351 file.
37352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37353 New file.
37354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37355 New file.
37356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37357 file.
37358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37359 New file.
37360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37361 file.
37362
37363 2012-04-28 Joseph Myers <joseph@codesourcery.com>
37364
37365 * conform/conformtest.pl: Fix typo in handling typed-constant from
37366 allow-header.
37367
37368 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37369
37370 * README: Cut down references to pre-2.6 Linux kernels and
37371 Linuxthreads. Update lists of configurations in libc and ports
37372 and sort alphabetically. Say "or newer" with Linux kernel version
37373 requirements.
37374
37375 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37376
37377 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37378
37379 [BZ #887]
37380 * math/libm-test.inc (logb_test_downward): New test to expose
37381 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37382 rounding mode.
37383
37384 2012-04-27 Joseph Myers <joseph@codesourcery.com>
37385
37386 [BZ #14027]
37387 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37388 to be done.
37389 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37390 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37391
37392 2012-04-26 Joseph Myers <joseph@codesourcery.com>
37393
37394 * sysdeps/unix/i386/brk.S: Remove file.
37395 * sysdeps/unix/i386/dl-brk.S: Likewise.
37396 * sysdeps/unix/i386/pipe.S: Likewise.
37397 * sysdeps/unix/i386/sigreturn.S: Likewise.
37398 * sysdeps/unix/i386/syscall.S: Likewise.
37399 * sysdeps/unix/i386/vfork.S: Likewise.
37400 * sysdeps/unix/i386/wait.S: Likewise.
37401
37402 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37403 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37404
37405 * configure.in (arm*-none*): Do not allow without
37406 --enable-hacker-mode.
37407 (netbsd*): Remove case setting base_os.
37408 (386bsd*): Likewise.
37409 (freebsd*): Likewise.
37410 (bsdi*): Likewise.
37411 (osf*): Likewise.
37412 (sunos*): Likewise.
37413 (ultrix*): Likewise.
37414 (newsos*): Likewise.
37415 (dynix*): Likewise.
37416 (*bsd*): Likewise.
37417 (sysv*): Likewise.
37418 (isc*): Likewise.
37419 (esix*): Likewise.
37420 (sco*): Likewise.
37421 (minix*): Likewise.
37422 (irix4*): Likewise.
37423 (irix6*): Likewise.
37424 (solaris[2-9]*): Likewise.
37425 (none): Likewise.
37426 * configure: Regenerated.
37427
37428 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37429
37430 [BZ #11521]
37431 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37432 overflow or cancellation in calculating denominator.
37433 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37434 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37435 down expression to avoid unexpected rounding in newer GCCs.
37436 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37437
37438 2012-04-26 David S. Miller <davem@davemloft.net>
37439
37440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37441 long-double compat symbols.
37442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37455
37456 2012-04-25 David S. Miller <davem@davemloft.net>
37457
37458 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37459 HWCAP_* values only after the memory barriers have been defined.
37460 (atomic_full_barrier): Define.
37461 (atomic_read_barrier): Define.
37462 (atomic_write_barrier): Define.
37463
37464 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37465
37466 * shlib-versions: Add libgcc_s version information.
37467 * sysdeps/generic/libgcc_s.h: Remove.
37468 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37469 libgcc_s.h.
37470 * sysdeps/gnu/unwind-resume.c: Likewise.
37471 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37472
37473 2012-04-25 David S. Miller <davem@davemloft.net>
37474
37475 * sysdeps/unix/sparc/brk.S: Delete.
37476 * sysdeps/unix/sparc/dl-brk.S: Delete.
37477 * sysdeps/unix/sparc/pipe.S: Delete.
37478 * sysdeps/unix/sparc/sysdep.S: Delete.
37479 * sysdeps/unix/sparc/sysdep.h: Delete.
37480 * sysdeps/unix/sparc/vfork.S: Delete.
37481 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37482 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37483 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37484 (ret_ERRVAL, r0, r1, MOVE): Define.
37485 (JUMPTARGET): Remove.
37486 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37487 sysdeps/unix/sparc/sysdep.h
37488 (ENTRY, END): Remove.
37489 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37490
37491 2012-04-25 Joseph Myers <joseph@codesourcery.com>
37492
37493 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37494 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37495 -DIS_IN_build.
37496
37497 * timezone/README: Update upstream location and email address for
37498 tzcode and tzdata.
37499 * timezone/zdump.c: Update from tzcode 2012b.
37500 * timezone/zic.c: Likewise.
37501
37502 * configure.in (libc_cv_as_needed): Remove test.
37503 * configure: Regenerated.
37504 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37505 conditional definition.
37506 [$(have-as-needed) != yes] (no-as-needed): Likewise.
37507 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37508 * config.make.in (have-as-needed): Remove variable.
37509
37510 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37511 Paul Pluzhnikov <ppluzhnikov@google.com>
37512
37513 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37514 strings correctly.
37515
37516 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
37517
37518 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37519 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37520 * sysdeps/sh/strlen.S: Likewise.
37521
37522 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37523
37524 * sysdeps/unix/fork.S: Remove file.
37525 * sysdeps/unix/i386/fork.S: Likewise.
37526 * sysdeps/unix/sparc/fork.S: Likewise.
37527
37528 * sysdeps/unix/system.c: Remove file.
37529 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37530
37531 * sysdeps/unix/getegid.S: Remove file.
37532 * sysdeps/unix/geteuid.S: Likewise.
37533
37534 2012-04-24 Roland McGrath <roland@hack.frob.com>
37535
37536 * scripts/check-localplt.awk: New file.
37537 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37538 of diff.
37539 * scripts/data/localplt-generic.data: Add a comment.
37540
37541 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37542 NODE when __dir_mkfile failed.
37543 * sysdeps/mach/hurd/symlinkat.c: Likewise.
37544 Reported by Ludovic Courtès <ludo@gnu.org>.
37545
37546 2012-04-24 Andreas Jaeger <aj@suse.de>
37547
37548 * Makerules (common-clean): Also remove gen-as-const-headers
37549 files.
37550
37551 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37552
37553 * Makerules (native-compile): Do not change working directory for
37554 build. Use $(OUTPUT_OPTION) in command.
37555 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37556
37557 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37558
37559 [BZ #13886]
37560 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37561 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37562 * math/libm-test.inc (floor_test): Add more tests.
37563 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37564
37565 2012-04-24 Joseph Myers <joseph@codesourcery.com>
37566
37567 * sysdeps/unix/getdents.c: Remove file.
37568 * sysdeps/unix/sysv/getdents.c: Likewise.
37569 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37570
37571 * sysdeps/unix/syscalls.list (madvise): Add syscall from
37572 sysdeps/unix/mman/syscalls.list.
37573 (mmap): Likewise.
37574 (mprotect): Likewise.
37575 (msync): Likewise.
37576 (munmap): Likewise.
37577 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37578 * sysdeps/unix/mman/syscalls.list: Remove.
37579 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37580
37581 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37582 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37583 * configure: Regenerated.
37584 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37585 $(libgcc_s_suffix).
37586 * config.make.in (libgcc_s_suffix): Remove variable.
37587
37588 2012-04-23 Joseph Myers <joseph@codesourcery.com>
37589
37590 * sysdeps/unix/sysv/gethostname.c: Move to ...
37591 * sysdeps/posix/gethostname.c: ... here.
37592
37593 * sysdeps/unix/execve.S: Remove file.
37594
37595 * sysdeps/unix/_exit.S: Remove file.
37596
37597 2012-04-23 Andreas Jaeger <aj@suse.de>
37598
37599 [BZ #13739]
37600 * manual/Makefile: Remove make dist support, there's no
37601 need for a stand-alone documentation tar ball.
37602 (TEXI2DVI): Define always, it's not in Makeconfig.
37603 (dist): Removed.
37604 (tar-it): Removed.
37605 (edition): Removed.
37606 (glibc-doc-$(edition).tar): Removed
37607 (%.Z): Removed.
37608 (%.gz): Removed.
37609 (%.uu): Removed.
37610 (ETAGS): Remove, it's in Makeconfig.
37611 (move-if-change): Remove, it's in Makeconfig.
37612
37613 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
37614
37615 [BZ #13970]
37616 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37617 (strtod, strtof, strtold, strtol, strtoul, strtoq)
37618 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37619 (strtod_l, strtof_l, strtold_l): Remove __wur.
37620 It is not necessarily an error to ignore strtol's return value.
37621 One can reliably look at the stored endptr to decide whether
37622 the number had valid syntax.
37623
37624 2012-04-21 Andreas Jaeger <aj@suse.de>
37625
37626 [BZ #13739]
37627 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37628
37629 2012-04-21 Joseph Myers <joseph@codesourcery.com>
37630
37631 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37632 * sysdeps/unix/sysv/Versions: Remove file.
37633
37634 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
37635
37636 [BZ #13927]
37637 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37638
37639 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
37640
37641 [BZ #7064]
37642 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37643 version from __vm86.
37644
37645 2012-04-20 Joseph Myers <joseph@codesourcery.com>
37646
37647 * sysdeps/unix/common/lxstat.c: Remove file.
37648 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
37649
37650 * sysdeps/unix/sysv/Makefile: Remove file.
37651
37652 * sysdeps/unix/sysv/direct.h: Remove file.
37653
37654 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
37655 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
37656 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
37657 * sysdeps/unix/sysv/bits/signum.h: Likewise.
37658 * sysdeps/unix/sysv/bits/stat.h: Likewise.
37659 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
37660 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
37661
37662 * sysdeps/unix/sysv/setrlimit.c: Remove file.
37663
37664 * sysdeps/unix/xmknod.c: Remove file.
37665 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
37666
37667 * sysdeps/unix/sysv/settimeofday.c: Remove file.
37668
37669 * sysdeps/unix/sysv/i386/time.S: Remove file.
37670
37671 * sysdeps/unix/fxstat.c: Remove file.
37672 * sysdeps/unix/xstat.c: Likewise.
37673 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
37674
37675 * sysdeps/unix/sysv/sigaction.c: Remove file.
37676
37677 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
37678 (sysdep_headers): Remove variable.
37679 [termio.h not in sysdep_headers] (generated): Likewise.
37680 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
37681 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
37682 * sysdeps/unix/sysv/tcdrain.c: Likewise.
37683 * sysdeps/unix/sysv/tcflow.c: Likewise.
37684 * sysdeps/unix/sysv/tcflush.c: Likewise.
37685 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
37686 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
37687 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
37688 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
37689 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
37690
37691 * sysdeps/unix/siglist.c: Remove file.
37692
37693 * sysdeps/unix/getppid.S: Remove file.
37694
37695 * sysdeps/unix/mkdir.c: Remove file.
37696 * sysdeps/unix/rmdir.c: Likewise.
37697
37698 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
37699
37700 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
37701 ERR_MAX value.
37702 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
37703 errlist-compat value.
37704
37705 2012-04-18 David S. Miller <davem@davemloft.net>
37706
37707 * sysdeps/generic/memcopy.h (reg_char): Delete.
37708 * debug/strcat_chk.c: Use char, not reg_char.
37709 * debug/strcpy_chk.c: Likewise.
37710 * debug/strncat_chk.c: Likewise.
37711 * debug/strncpy_chk.c: Likewise.
37712 * string/memchr.c: Likewise.
37713 * string/memrchr.c: Likewise.
37714 * string/rawmemchr.c: Likewise.
37715 * string/strcat.c: Likewise.
37716 * string/strchr.c: Likewise.
37717 * string/strchrnul.c: Likewise.
37718 * string/strcmp.c: Likewise.
37719 * string/strcpy.c: Likewise.
37720 * string/strncat.c: Likewise.
37721 * string/strncmp.c: Likewise.
37722 * string/strncpy.c: Likewise.
37723
37724 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37725
37726 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
37727 __builtin_memcopy is called when src and dest ranges are known to not
37728 overlap.
37729
37730 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37731
37732 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
37733 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37734 fwd_align_merge macro call.
37735 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
37736 bwd_align_merge macro call.
37737 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37738
37739 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37740
37741 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
37742 bwd_align_merge macros.
37743 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
37744 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
37745 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
37746
37747 2012-04-18 David S. Miller <davem@davemloft.net>
37748
37749 * sysdeps/sparc/sparc64/memcopy.h: Delete.
37750
37751 2012-04-18 Andreas Jaeger <aj@suse.de>
37752
37753 [BZ# 6794]
37754 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
37755 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
37756 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37757
37758 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
37759 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
37760 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37761
37762 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
37763 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
37764 Adjust for changed ldbl-128 files.
37765
37766 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
37767 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
37768 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
37769
37770 2012-04-17 David S. Miller <davem@davemloft.net>
37771
37772 * sysdeps/sparc/sparc32/memcopy.h: Delete.
37773
37774 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37775
37776 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
37777 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
37778 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
37779 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
37780 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37781 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
37782
37783 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37784
37785 [BZ #6794]
37786 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
37787 * math/libm-test.inc: Add ilogb errno and exception tests.
37788 * math/w_ilogb.c: New file: ilogb wrapper.
37789 * math/w_ilogbf.c: New file: ilogbf wrapper.
37790 * math/w_ilogbl.c: New file: ilogbl wrapper.
37791 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
37792 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
37793 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
37794 exception being thrown with 0.0 as argument.
37795 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
37796 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
37797 exception being thrown with 0.0 as argument.
37798 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
37799 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37800 exception being thrown with 0.0 as argument.
37801 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
37802 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
37803 exception being thrown with 0.0 as argument.
37804 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
37805 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
37806 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
37807 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
37808 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
37809 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
37810 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
37811 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
37812 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
37813
37814 2012-04-17 Petr Baudis <pasky@ucw.cz>
37815
37816 * include/sys/uio.h: Change __vector to __iovec to avoid clash
37817 with altivec.
37818
37819 2012-04-16 Marek Polacek <polacek@redhat.com>
37820
37821 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
37822
37823 2012-04-16 Marek Polacek <polacek@redhat.com>
37824
37825 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
37826 operands of fdivp instruction.
37827
37828 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37829
37830 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
37831 * elf/tst-auditmod3b.c: Likewise.
37832 * elf/tst-auditmod4b.c: Likewise.
37833 * elf/tst-auditmod5b.c: Likewise.
37834 * elf/tst-auditmod6b.c: Likewise.
37835 * elf/tst-auditmod6c.c: Likewise.
37836 * elf/tst-auditmod7b.c: Likewise.
37837 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
37838 * sysdeps/x86_64/preconfigure.in: Likewise.
37839 * sysdeps/x86_64/preconfigure: Regenerated.
37840
37841 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
37842
37843 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
37844 __ILP32__.
37845
37846 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
37847
37848 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37849 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
37850
37851 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
37852
37853 [BZ #13973]
37854 * locale/iso-639.def: Fix gl language name. Spotted by
37855 Yaron Shahrabani.
37856
37857 2012-04-12 Roland McGrath <roland@hack.frob.com>
37858
37859 [BZ #2074]
37860 * libio/libio.h (__io_write_fn): Update comment.
37861
37862 2012-04-12 Petr Baudis <pasky@ucw.cz>
37863
37864 [BZ #2074]
37865 * stdio.texi (Hook Functions): The user provided writer function
37866 is not allowed to return -1.
37867
37868 2012-04-11 David S. Miller <davem@davemloft.net>
37869
37870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37871
37872 2012-04-11 Mike Frysinger <vapier@gentoo.org>
37873
37874 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
37875 Add a leading slash to rtkaio.
37876
37877 2012-04-11 Jim Meyering <meyering@redhat.com>
37878
37879 [BZ #11959]
37880 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
37881 It is not necessarily an error to ignore fwrite's return
37882 value. One can reliably use ferror to test for errors after
37883 the fact.
37884
37885 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37886
37887 * bits/types.h (__snseconds_t): New type.
37888 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37889
37890 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37891 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37892 (__SNSECONDS_T_TYPE): Likewise.
37893 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37894 (__SNSECONDS_T_TYPE): Likewise.
37895 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37896 (__SNSECONDS_T_TYPE): Likewise.
37897
37898 2012-04-10 Andreas Jaeger <aj@suse.de>
37899
37900 [BZ #2636]
37901 * manual/time.texi (Processor Time): Return type of times is
37902 elapsed real time since an arbitrary point in the past.
37903 (CPU Time): Move CLK_TCK from here...
37904 (Processor Time): ...to here. Correct description.
37905 * manual/conf.texi (Constants for Sysconf): Correct description of
37906 _SC_CLK_TCK.
37907
37908 2012-04-10 David S. Miller <davem@davemloft.net>
37909
37910 [BZ #13967]
37911 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37912 where the is a gap between DT_REL(A) and DT_JMPREL.
37913
37914 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37915
37916 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37917 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37918 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37919
37920 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37921
37922 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37923 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37924 (dl_main): Handle --inhibit-cache.
37925 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37926 _dl_inhibit_cache.
37927 * elf/dl-load.c (_dl_map_object): Use it.
37928 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37929
37930 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37931
37932 [BZ #13872]
37933 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37934 (__ieee754_powl): Saturate large exponents rather than testing for
37935 overflow of y*log2(x).
37936 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37937 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37938 exceptions.
37939
37940 [BZ #11521]
37941 * math/s_ctan.c: Include <float.h>.
37942 (__ctan): Avoid internal overflow or cancellation in calculating
37943 denominator.
37944 * math/s_ctanf.c: Likewise.
37945 * math/s_ctanl.c: Likewise.
37946 * math/s_ctanh.c: Likewise.
37947 * math/s_ctanhf.c: Likewise.
37948 * math/s_ctanhl.c: Likewise.
37949 * math/libm-test.inc (ctan_test): Add more tests.
37950 (ctanh_test): Likewise.
37951 * sysdeps/i386/fpu/libm-test-ulps: Update.
37952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37953
37954 2012-04-09 Andreas Jaeger <aj@suse.de>
37955
37956 [BZ #6894]
37957 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37958 is an optional BSD extension.
37959
37960 [BZ #10254]
37961 * manual/stdio.texi (Opening Streams): Document additional fopen
37962 parameters.
37963
37964 2012-04-09 Roland McGrath <roland@hack.frob.com>
37965
37966 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37967 %eax without telling the compiler.
37968
37969 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37970
37971 [BZ # 13963]
37972 * manual/install.texi: Use sourceware.org.
37973
37974 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37975
37976 [BZ #13873]
37977 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37978 (__ieee754_pow): Generate overflow and underflow using huge*huge
37979 and tiny*tiny rather than just returning constant infinity or zero
37980 for large exponents.
37981 * math/libm-test.inc (pow_test): Require overflow exceptions for
37982 applicable cases of large exponents.
37983
37984 [BZ #706]
37985 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37986 (__ieee754_pow): Use iterative multiplication algorithm only for
37987 integer exponents with absolute value below 1024. Check for odd
37988 integer exponents when using algorithm for real exponents.
37989 * math/libm-test.inc (pow_test): Add more tests.
37990 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37991
37992 2012-04-08 Joseph Myers <joseph@codesourcery.com>
37993
37994 [BZ #13705]
37995 * math/libm-test.inc (exp_test): Do not allow overflow exception
37996 on underflow test.
37997
37998 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37999
38000 [BZ #13705]
38001 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38002 instead of __kernel_standard_f.
38003
38004 2012-04-08 Mike Frysinger <vapier@gentoo.org>
38005
38006 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38007 * sysdeps/x86_64/memset_chk.S: Likewise.
38008
38009 2012-04-08 Andreas Jaeger <aj@suse.de>
38010
38011 [BZ #10153]
38012 * manual/startup.texi (Environment Access): Describe return value
38013 for putenv and setenv.
38014
38015 [BZ #6895]
38016 * manual/filesys.texi (Directory Entries): Add description for
38017 DT_LNK.
38018
38019 [BZ #6890]
38020 * manual/filesys.texi (Directory Entries): Clarify that it's file
38021 system not operating system in the description of DT_UNKNOWN.
38022
38023 [BZ #6578]
38024 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38025
38026 2012-04-08 Stephen Compall <s11@member.fsf.org>
38027
38028 [BZ #6649]
38029 * manual/llio.texi (Opening and Closing Files): Add cross
38030 reference to explain mode argument.
38031
38032 2012-04-07 Mike Frysinger <vapier@gentoo.org>
38033
38034 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38035 * sysdeps/x86_64/memset_chk.S: Likewise.
38036
38037 2012-04-07 David S. Miller <davem@davemloft.net>
38038
38039 * elf/elf.h (R_SPARC_WDISP10): Define.
38040 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38041 R_SPARC_SIZE32.
38042 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38043 R_SPARC_SIZE64 and R_SPARC_H34.
38044
38045 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38046
38047 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38048 conditions and remove no longer applicable assertion.
38049
38050 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38051
38052 * bits/byteswap.h: Include <features.h>.
38053 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38054 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38055
38056 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38057
38058 * bits/byteswap.h (__bswap_16): Removed.
38059 Include <bits/byteswap-16.h> to get __bswap_16.
38060 * sysdeps/i386/bits/byteswap.h: Likewise.
38061 * sysdeps/s390/bits/byteswap.h: Likewise.
38062 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38063 * bits/byteswap-16.h: New file.
38064 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38065 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38066 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38067 * string/Makefile (headers): Add bits/byteswap-16.h.
38068
38069 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38070
38071 [BZ #13895]
38072 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38073 extra indirection.
38074 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38075 * nss/tst-nss-static.c: New.
38076
38077 2012-04-06 Robert Millan <rmh@gnu.org>
38078
38079 [BZ #6486]
38080 * manual/llio.texi (File Position Primitive): lseek
38081 refers to WHENCE when it really means OFFSET.
38082
38083 2012-04-06 Andreas Jaeger <aj@suse.de>
38084
38085 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38086 strncmp declarations.
38087
38088 * abilist/libc.abilist: Add __poll and __ppoll.
38089
38090 2012-04-05 David S. Miller <davem@davemloft.net>
38091
38092 * scripts/check-local-headers.sh: Accept a host triplet in the
38093 path matched by the exclude regexp.
38094
38095 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38096 definition.
38097 * sysdeps/powerpc/powerpc32/dl-machine.h
38098 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38099 * sysdeps/s390/s390-32/dl-machine.h
38100 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38101 * sysdeps/sparc/sparc32/dl-machine.h
38102 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38103 * sysdeps/sparc/sparc64/dl-machine.h
38104 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38105
38106 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38107 lazy binding.
38108 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38109 undefined symbol errors.
38110
38111 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38112 DT_NEEDED entries.
38113
38114 2012-04-05 Michael Matz <matz@suse.de>
38115
38116 [BZ #13592]
38117 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38118
38119 2012-04-05 Andreas Jaeger <aj@suse.de>
38120
38121 [BZ #13908]
38122 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38123 comment.
38124
38125 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38126
38127 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38128 which ROUND is no valid rounding mode.
38129
38130 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38131
38132 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38133 read again.
38134 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38135
38136 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38137
38138 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38139 an exception using FPU order intentionally.
38140
38141 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38142
38143 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38144 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38145 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38146 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38147
38148 2012-04-05 Simon Josefsson <simon@josefsson.org>
38149
38150 [BZ #12340]
38151 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38152 EINVAL when BUFLEN is too smal.
38153
38154 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38155
38156 [BZ #13553]
38157 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38158 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38159
38160 2012-04-03 Andreas Jaeger <aj@suse.de>
38161
38162 [BZ #13938]
38163 * manual/setjmp.texi (System V contexts): Fix sentence.
38164
38165 [BZ #13926]
38166 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38167 New macro for this case.
38168 [!__GNUC__] (__bswap_64): New inline function for this case.
38169 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38170 * bits/byteswap.h: Likewise.
38171 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38172 ull, guard with __GLIBC_HAVE_LONG_LONG.
38173
38174 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38175 __GLIBC_HAVE_LONG_LONG.
38176
38177 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38178 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38179
38180 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38181
38182 [BZ #13691]
38183 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38184 inptr and inend, rather than using last_ch.
38185
38186 2012-04-02 David S. Miller <davem@davemloft.net>
38187
38188 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38189 * stdio-common/printf-parse.h (read_int): Change return type to
38190 'int', return -1 on INT_MAX overflow.
38191 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38192 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38193 overflows INT_MAX. Check for overflow of in-format-string precision
38194 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38195 SIZE_MAX not INT_MAX for integer overflow test.
38196 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38197 skip the construct in the format string but do not record anything.
38198 * stdio-common/bug22.c: Adjust to test both width/prevision
38199 INT_MAX overflow as well as total length INT_MAX overflow. Check
38200 explicitly for proper errno values.
38201
38202 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38203
38204 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38205 CHAR_MAX.
38206 * string/test-strcmp.c [! WIDE]: Likewise.
38207 * time/tst-mktime2.c: Likewise for INT_MAX.
38208 * string/test-string.h: #include <sys/param.h> for MIN.
38209
38210 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38211 * sysdeps/i386/init-first.c (init): Likewise.
38212 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38213 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38214 * sysdeps/sh/init-first.c (init): Likewise.
38215
38216 2012-04-01 Ulrich Drepper <drepper@gmail.com>
38217
38218 * po/ru.po: Update from translation team.
38219 * po/vi.po: Likewise.
38220
38221 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38222
38223 * resolv/nss_dns/dns-host.c: Merge copyright years.
38224
38225 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38226
38227 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38228 Optimize memcpy with prefetch if
38229 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38230 src, dst pointers have unequal 16 byte alignments.
38231
38232 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38233
38234 [BZ #13928]
38235 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38236 from a CNAME entry and return the minimum ttl for the query.
38237 (gaih_getanswer_slice): Likewise.
38238
38239 2012-03-30 Jeff Law <law@redhat.com>
38240
38241 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38242 due to long keys.
38243 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38244 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38245
38246 * resolv/nss_dns/dns-host.c: Update copyright year.
38247
38248 2012-03-30 Ulrich Drepper <drepper@gmail.com>
38249
38250 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38251 requests to save a system call. Fix check that all bytes are sent.
38252
38253 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38254 comments for sendmmsg.
38255
38256 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38257
38258 [BZ #13691]
38259 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38260 with only 1 character between 0x0041 and 0x01b0.
38261 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38262 * wcsmbs/tst-mbsnrtowcs.c: New file.
38263
38264 2012-03-29 David S. Miller <davem@davemloft.net>
38265
38266 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38267 small copies by hand.
38268
38269 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38270
38271 [BZ #13761]
38272 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38273 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38274 group memberships.
38275
38276 2012-03-28 David S. Miller <davem@davemloft.net>
38277
38278 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38279 that branches into memcpy.
38280 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38281 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38282 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38283 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38284 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38285 bits.
38286 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38287 implementation too.
38288 * sysdeps/sparc/mempcpy.S: New file.
38289
38290 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38291 the IFUNC routine in the libc case.
38292 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38293
38294 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38295 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38296 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38297 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38298 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38299 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38300 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38301 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38302
38303 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38304 loop to 256 bytes instead of 64 bytes and fix test signedness.
38305
38306 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38307 * sysdeps/sparc/sparc32/Makefile: rather than here...
38308 * sysdeps/sparc/sparc64/Makefile: and here.
38309
38310 2012-03-28 Ulrich Drepper <drepper@gmail.com>
38311
38312 * malloc/mallocbug.c: Avoid warnings about unused variables.
38313
38314 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38315
38316 [BZ #13760]
38317 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38318 in the right place. Discard and retry query if response is
38319 larger than input buffer size.
38320
38321 2012-03-28 Joseph Myers <joseph@codesourcery.com>
38322
38323 [BZ #369]
38324 [BZ #2678]
38325 [BZ #3866]
38326 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38327 x for large integer exponent.
38328 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38329 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38330 sign of result as needed afterwards.
38331 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38332 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38333 result for underflowing pow the same as for overflow.
38334 (__kernel_standard_l): Handle powl overflow and underflow here
38335 rather than calling __kernel_standard.
38336 * math/libm-test.inc (pow_test): Add more tests.
38337
38338 [BZ #3868]
38339 [BZ #13879]
38340 [BZ #13910]
38341 [BZ #13911]
38342 [BZ #13912]
38343 [BZ #13913]
38344 [BZ #13915]
38345 [BZ #13916]
38346 [BZ #13917]
38347 [BZ #13918]
38348 [BZ #13919]
38349 [BZ #13920]
38350 [BZ #13921]
38351 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38352 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38353 (__kernel_standard_l): New function.
38354 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38355 __kernel_standard.
38356 * math/w_acosl.c (__acosl): Likewise.
38357 * math/w_asinl.c (__asinl): Likewise.
38358 * math/w_atan2l.c (__atan2l): Likewise.
38359 * math/w_atanhl.c (__atanhl): Likewise.
38360 * math/w_coshl.c (__coshl): Likewise.
38361 * math/w_exp10l.c (__exp10l): Likewise.
38362 * math/w_exp2l.c (__exp2l): Likewise.
38363 * math/w_fmodl.c (__fmodl): Likewise.
38364 * math/w_hypotl.c (__hypotl): Likewise.
38365 * math/w_j0l.c (__j0l, __y0l): Likewise.
38366 * math/w_j1l.c (__j1l, __y1l): Likewise.
38367 * math/w_jnl.c (__jnl, __ynl): Likewise.
38368 * math/w_lgammal.c (__lgammal): Likewise.
38369 * math/w_log10l.c (__log10l): Likewise.
38370 * math/w_log2l.c (__log2l): Likewise.
38371 * math/w_logl.c (__logl): Likewise.
38372 * math/w_powl.c (__powl): Likewise.
38373 * math/w_remainderl.c (__remainderl): Likewise.
38374 * math/w_scalbl.c (sysv_scalbl): Likewise.
38375 * math/w_sinhl.c (__sinhl): Likewise.
38376 * math/w_sqrtl.c (__sqrtl): Likewise.
38377 * math/w_tgammal.c (__tgammal): Likewise.
38378 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38379 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38380 * math/libm-test.inc (acos_test): Add more tests.
38381 (acosh_test): Likewise.
38382 (asin_test): Likewise.
38383 (atanh_test): Likewise.
38384 (exp_test): Likewise.
38385 (exp10_test): Likewise.
38386 (exp2_test): Likewise.
38387 (expm1_test): Likewise.
38388 (lgamma_test): Likewise.
38389 (log_test): Likewise.
38390 (log10_test): Likewise.
38391 (log1p_test): Likewise.
38392 (log2_test): Likewise.
38393 (pow_test): Do not allow some spurious overflow exceptions.
38394 (sqrt_test): Add more tests.
38395 (tgamma_test): Likewise.
38396 (y0_test): Likewise.
38397 (y1_test): Likewise.
38398 (yn_test): Likewise.
38399
38400 2012-03-27 Anton Blanchard <anton@samba.org>
38401
38402 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38403 MAP_HUGETLB.
38404 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38405 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38406 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38407
38408 2012-03-27 David S. Miller <davem@davemloft.net>
38409
38410 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38411
38412 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38413 have-as-vis3 check.
38414
38415 2012-03-27 Andreas Jaeger <aj@suse.de>
38416
38417 * sysdeps/x86_64/elf/configure.in: Moved to ...
38418 * sysdeps/x86_64/configure.in: ... here.
38419 * sysdeps/x86_64/elf/start.S: Moved to ...
38420 * sysdeps/x86_64/start.S: ... here.
38421 * sysdeps/x86_64/elf/configure: Delete.
38422
38423 * sysdeps/x86_64/configure.in: Merge contents from
38424 sysdeps/i386/configure.in (without i686 check).
38425
38426 * sysdeps/i386/elf/Versions: Merge into ...
38427 * sysdeps/i386/Versions: ... this.
38428 * sysdeps/i386/elf/Versions: Delete file.
38429 * sysdeps/i386/elf/start.S: Moved to ...
38430 * sysdeps/i386/start.S: ...here.
38431 * sysdeps/i386/elf/configure.in: Merge into...
38432 * sysdeps/i386/configure.in: ...here.
38433 * sysdeps/i386/elf/configure.in: Delete file.
38434 * sysdeps/i386/elf/configure: Delete file.
38435
38436 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38437 * debug/backtracesyms.c: ... here.
38438 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38439 * debug/backtracesymsfd.c: ... here.
38440 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38441 * sysdeps/generic/ifunc-sel.h: ... here.
38442
38443 * sysdeps/unix/i386/start.c: Delete file.
38444 * sysdeps/unix/sparc/start.c: Delete file.
38445 * sysdeps/unix/start.c: Delete file.
38446
38447 * sysdeps/sh/elf/configure.in: Moved to ...
38448 * sysdeps/sh/configure.in: ... here.
38449 * sysdeps/sh/elf/start.S: Moved to ...
38450 * sysdeps/sh/start.S: ... here.
38451 * sysdeps/sh/elf/configure: Delete file.
38452
38453 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38454 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38455 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38456 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38457 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38458 * sysdeps/powerpc/powerpc64/start.S: here.
38459 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38460 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38461 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38462 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38463 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38464
38465 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38466 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38467 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38468 * sysdeps/powerpc/powerpc32/start.S: ... here.
38469 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38470 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38471 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38472
38473 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38474 * sysdeps/powerpc/ifunc-sel.h: ... here.
38475 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38476 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38477
38478 * sysdeps/sparc/elf/configure.in: Moved to ...
38479 * sysdeps/sparc/configure.in: ... here.
38480 * sysdeps/sparc/elf/configure: Delete file.
38481 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38482 * sysdeps/sparc/sparc32/start.S: ... here.
38483 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38484 * sysdeps/sparc/sparc64/start.S: ... here.
38485 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38486 * sysdeps/sparc/sparc32/Makefile: ... this.
38487 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38488 * sysdeps/sparc/sparc64/Makefile: ... this.
38489
38490 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38491 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38492 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38493 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38494 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38495 * sysdeps/s390/s390-32/setjmp.S: ... here.
38496 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38497 * sysdeps/s390/s390-32/configure.in: ... here.
38498 * sysdeps/s390/s390-32/elf/configure: Delete file.
38499 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38500 * sysdeps/s390/s390-32/start.S: ... here.
38501
38502 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38503 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38504 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38505 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38506 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38507 * sysdeps/s390/s390-64/setjmp.S: ... here.
38508 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38509 * sysdeps/s390/s390-64/configure.in: ... here
38510 * sysdeps/s390/s390-64/elf/configure: Delete file.
38511 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38512 * sysdeps/s390/s390-64/start.S: ... here.
38513 * sysdeps/s390/s390-64/elf/configure: Delete.
38514
38515 * configure.in: Remove support for elf directories in sysdeps.
38516
38517 * configure: Regenerated.
38518 * sysdeps/i386/configure: Regenerated.
38519 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38520 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38521 * sysdeps/s390/s390-32/configure: Regenerated.
38522 * sysdeps/s390/s390-64/configure: Regenerated.
38523 * sysdeps/sh/configure: Regenerated.
38524 * sysdeps/sparc/configure: Regenerated.
38525 * sysdeps/x86_64/configure: Regenerated.
38526
38527 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
38528
38529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38530
38531 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38532 denormal result into account.
38533
38534 2012-03-25 Roland McGrath <roland@hack.frob.com>
38535
38536 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38537 Reported by Allan McRae <allan@archlinux.org>.
38538
38539 2012-03-23 Jeff Law <law@redhat.com>
38540
38541 * nss/getnssent.c (__nss_getent): Fix typo.
38542
38543 2012-03-23 David S. Miller <davem@davemloft.net>
38544
38545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38546
38547 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
38548
38549 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38550 to pad to uint64_t for each field.
38551 (dl_tls_index): Replace unsigned long with uint64_t.
38552
38553 2012-03-23 Daniel Jacobowitz <dmj@google.com>
38554 Paul Pluzhnikov <ppluzhnikov@google.com>
38555
38556 [BZ #6528]
38557 * grp/Makefile (otherlibs): Don't set it.
38558 * inet/Makefile (otherlibs): Likewise.
38559 * login/Makefile (otherlibs): Likewise.
38560 * nscd/Makefile (otherlibs): Likewise.
38561 * posix/Makefile (otherlibs): Likewise.
38562 * pwd/Makefile (otherlibs): Likewise.
38563 * rt/Makefile (otherlibs): Likewise.
38564 * sunrpc/Makefile (otherlibs): Likewise.
38565 * nss/Makefile (otherlibs): Likewise.
38566 Add libnss_files to routines and static-only-routines.
38567 ($(objpfx)getent): Remove rule.
38568 * resolv/Makefile: Add libnss_dns and libresolv to routines and
38569 static-only-routines.
38570
38571 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38572
38573 [BZ #13892]
38574 * math/s_cexp.c: Include <float.h>.
38575 (__cexp): Handle exp result overflowing not necessarily
38576 overflowing both real and imaginary parts of result.
38577 * math/s_cexpf.c: Likewise.
38578 * math/s_cexpl.c: Likewise.
38579 * math/libm-test.inc (cexp_test): Add more tests.
38580 * sysdeps/i386/fpu/libm-test-ulps: Update.
38581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38582
38583 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38584
38585 * include/link.h (ELFW): New macro.
38586 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38587 Replace ELF64_R_TYPE with ELFW(R_TYPE).
38588
38589 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38590
38591 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38592 with uint64_t.
38593
38594 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38595
38596 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38597 declaration.
38598 (struct La_x32_retval): Likewise.
38599
38600 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
38601
38602 * sysdeps/x86_64/preconfigure.in: New file.
38603 * sysdeps/x86_64/preconfigure: New generated file.
38604
38605 2012-03-22 Joseph Myers <joseph@codesourcery.com>
38606
38607 [BZ #13824]
38608 * math/e_exp2l.c: Include <float.h>.
38609 (__ieee754_exp2l): Handle overflow and underflow cases
38610 separately. Only pass fractional part of argument to
38611 __ieee754_expl.
38612 * math/libm-test.inc (exp2_test): Add more tests.
38613
38614 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38615 negating x to take absolute value.
38616 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38617 Likewise.
38618 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38619 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38620 Likewise.
38621 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38622 computing low part if x was negated.
38623 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38624
38625 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38626
38627 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38628 la_x32_gnu_pltexit.
38629 (pltexit): Cast int_retval to ptrdiff_t.
38630 * elf/tst-auditmod3b.c: Likewise.
38631 * elf/tst-auditmod4b.c: Likewise.
38632 * elf/tst-auditmod5b.c: Likewise.
38633 * elf/tst-auditmod6b.c: Likewise.
38634 * elf/tst-auditmod6c.c: Likewise.
38635 * elf/tst-auditmod7b.c: Likewise.
38636
38637 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38638 and x32_gnu_pltexit.
38639
38640 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38641 __ELF_NATIVE_CLASS.
38642 (La_x32_regs): New macro.
38643 (La_x32_retval): Likewise.
38644 (la_x32_gnu_pltenter): New function prototype.
38645 (la_x32_gnu_pltexit): Likewise.
38646
38647 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
38648
38649 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
38650 exponent.
38651
38652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38653
38654 * configure.in (libc_cv_cc_nofma): Check for option to disable
38655 generation of FMA instructions.
38656 * configure: Regenerate.
38657 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
38658 * sysdeps/ieee754/dbl-64/Makefile: New file.
38659 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
38660 Remove brandred-fma4.
38661 (CFLAGS-brandred-fma4.c): Remove.
38662 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
38663 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
38664 define.
38665 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
38666 define.
38667
38668 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38669
38670 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38671 LLONG_MAX != LONG_MAX.
38672 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38673 (_fitoa_word): Likewise.
38674 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
38675 LLONG_MAX != LONG_MAX.
38676 * stdio-common/_itowa.h: Include <_itoa.h>.
38677 (_itowa_word): Use _ITOA_WORD_TYPE on value.
38678 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
38679 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
38680 only if not defined.
38681 (_ITOA_WORD_TYPE): Likewise.
38682 (_itoa_word): Use _ITOA_WORD_TYPE on value.
38683 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
38684
38685 2012-03-21 David S. Miller <davem@davemloft.net>
38686
38687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38688
38689 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
38690
38691 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
38692 of x86_64 when setting libc_cv_slibdir, libdir and
38693 libc_cv_localedir.
38694 * sysdeps/unix/sysv/linux/configure: Regenerated.
38695
38696 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38697
38698 * manual/lang.texi (Old Varargs): Remove section.
38699 (How Variadic): Update menu.
38700 (va_start): Do not mention varargs.h.
38701
38702 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38703 Joseph Myers <joseph@codesourcery.com>
38704
38705 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
38706 link test.
38707 * configure: Regenerated.
38708
38709 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
38710
38711 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
38712 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
38713 conformtest.pl
38714
38715 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38716
38717 * NOTES: Remove.
38718 * Makefile (files-for-dist): Remove NOTES.
38719 (NOTES): Remove rule.
38720 * README: Don't refer to NOTES.
38721 * manual/creature.texi: Don't include macros.texi.
38722 * manual/intro.texi (creature.texi): Remove comment referring to
38723 NOTES.
38724
38725 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
38726 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
38727 * configure: Regenerated.
38728 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
38729 LIBC_TRY_CC_OPTION.
38730 (libc_cv_as_i686): Likewise.
38731 (libc_cv_cc_avx): Likewise.
38732 (libc_cv_cc_sse2avx): Likewise.
38733 (libc_cv_cc_fma4): Likewise.
38734 (libc_cv_cc_novzeroupper): Likewise.
38735 * sysdeps/i386/configure: Regenerated.
38736
38737 [BZ #13883]
38738 * sysdeps/i386/fpu/s_cexp.S: Remove.
38739 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38740 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38741 * math/libm-test.inc (cexp_test): Add more tests.
38742 * sysdeps/i386/fpu/libm-test-ulps: Update.
38743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38744
38745 2012-03-21 Allan McRae <allan@archlinux.org>
38746
38747 * timezone/Makefile: Do not install iso3166.tab and zone.tab
38748
38749 2012-03-21 Joseph Myers <joseph@codesourcery.com>
38750
38751 [BZ #13871]
38752 * math/w_exp2.c: Do not include <float.h>.
38753 (o_threshold, u_threshold): Remove.
38754 (__exp2): Calculate result before checking finiteness and calling
38755 __kernel_standard.
38756 * math/w_exp2f.c: Likewise.
38757 * math/w_exp2l.c: Likewise.
38758 * math/libm-test.inc (exp2_test): Require overflow exception for
38759 1e6 input.
38760
38761 [BZ #3866]
38762 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
38763 range of signed 64-bit integers before using fistpll. Remove
38764 checks for whether integers fit in mantissa bits.
38765 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
38766 the range of signed 32-bit integers before using fistpl. Remove
38767 checks for whether integers fit in mantissa bits.
38768 * sysdeps/i386/fpu/e_powl.S (p64): New object.
38769 (__ieee754_powl): Test for y outside the range of signed 64-bit
38770 integers before using fistpll. Reduce 64-bit values to 63-bit
38771 ones as needed.
38772 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
38773 divide-by-zero is raised for zero to large negative powers.
38774 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
38775 (__ieee754_powl): Test for y outside the range of signed 64-bit
38776 integers before using fistpll. Reduce 64-bit values to 63-bit
38777 ones as needed.
38778 * math/libm-test.inc (pow_test): Add more tests.
38779
38780 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38781
38782 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
38783 <stdio-common/_itoa.h>.
38784 * debug/segfault.c: Likewise.
38785 * elf/dl-cache.c: Likewise.
38786 * elf/dl-minimal.c: Likewise.
38787 * elf/dl-misc.c: Likewise.
38788 * elf/dl-sysdep.c: Likewise.
38789 * elf/dl-version.c: Likewise.
38790 * elf/rtld.c: Likewise.
38791 * hurd/hurdsock.c: Likewise.
38792 * hurd/lookup-retry.c: Likewise.
38793 * malloc/malloc.c: Likewise.
38794 * malloc/mtrace.c: Likewise.
38795 * nscd/nscd_getgr_r.c: Likewise.
38796 * nscd/nscd_getpw_r.c: Likewise.
38797 * nscd/nscd_getserv_r.c: Likewise.
38798 * posix/getopt_init.c: Likewise.
38799 * posix/wordexp.c: Likewise.
38800 * stdio-common/_itoa.c: Likewise.
38801 * stdio-common/printf_fphex.c: Likewise.
38802 * stdio-common/vfprintf.c: Likewise.
38803 * string/_strerror.c: Likewise.
38804 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
38805 * sysdeps/i386/i686/hp-timing.h: Likewise.
38806 * sysdeps/mach/_strerror.c: Likewise.
38807 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
38808 * sysdeps/mach/hurd/sethostid.c: Likewise.
38809 * sysdeps/mach/hurd/xmknodat.c: Likewise.
38810 * sysdeps/mach/xpg-strerror.c: Likewise.
38811 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38812 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38813 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
38814 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
38815 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38816 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
38817 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
38818 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
38819 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
38820 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
38821 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
38822 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
38823 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
38824 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
38825 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
38826 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
38827 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
38828 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
38829 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38830 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38831 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
38832
38833 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
38834
38835 * stdio-common/_itoa.h: Moved to ...
38836 * sysdeps/generic/_itoa.h: Here.
38837
38838 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
38839
38840 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
38841 instead of "_itoa.h" and "_itowa.h".
38842 * stdio-common/vfprintf.: Likewise.
38843
38844 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38845
38846 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
38847 <bits/wordsize.h>.
38848 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
38849 (__signbit): Likwise.
38850 (llrintf): Likwise.
38851 (llrint): Likwise.
38852
38853 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
38854
38855 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
38856 __WORDSIZE != 64.
38857
38858 2012-03-20 Joseph Myers <joseph@codesourcery.com>
38859
38860 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
38861 OVERFLOW_EXCEPTION_OK.
38862 * math/libm-test.inc ("Philosophy"): Update comment about
38863 exception testing.
38864 (OVERFLOW_EXCEPTION): Define.
38865 (OVERFLOW_EXCEPTION_OK): Likewise.
38866 (INVALID_EXCEPTION_OK): Renumber.
38867 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38868 (IGNORE_ZERO_INF_SIGN): Likewise.
38869 (test_exceptions): Handle FE_OVERFLOW.
38870 (exp10_test): Expect overflow exceptions.
38871 (exp2_test): Likewise.
38872 (expm1_test): Likewise.
38873 (nextafter_test): Likewise.
38874 (pow_test): Likewise.
38875 (scalbn_test): Likewise.
38876 (scalbln_test): Likewise.
38877
38878 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38879
38880 * sysdeps/x86_64/bits/atomic.h
38881 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38882 64bit integer.
38883 (atomic_exchange_acq): Likewise.
38884 (__arch_exchange_and_add_body): Likewise.
38885 (__arch_add_body): Likewise.
38886 (atomic_add_negative): Likewise.
38887 (atomic_add_zero): Likewise.
38888
38889 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38890
38891 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38892 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38893
38894 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38895
38896 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38897 Check __x86_64__ instead of __WORDSIZE.
38898
38899 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38900
38901 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38902
38903 2012-03-19 David S. Miller <davem@davemloft.net>
38904
38905 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38906
38907 * sysdeps/sparc/fpu/fenv_private.h: New file.
38908 * sysdeps/sparc/fpu/math_private.h: Use it.
38909 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38910 Remove.
38911 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38912 (libc_feholdexcept_setroundl): Remove.
38913 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38914 Remove.
38915 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38916 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38917
38918 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38919
38920 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38921 int64_t instead of long int.
38922 (INSERT_WORDS64): Likwise.
38923
38924 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38925
38926 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38927 _Unwind_GetCFA return to _Unwind_Ptr first.
38928
38929 2012-03-19 Joseph Myers <joseph@codesourcery.com>
38930
38931 [BZ #13629]
38932 * math/s_clog.c: Include <float.h>.
38933 (__clog): Scale large or subnormal inputs.
38934 * math/s_clogf.c: Likewise.
38935 * math/s_clogl.c: Likewise.
38936 * math/s_clog10.c: Include <float.h>.
38937 (M_LOG10_2): Define.
38938 (__clog10): Scale large or subnormal inputs.
38939 * math/s_clog10f.c: Likewise.
38940 * math/s_clog10l.c: Likewise.
38941 * math/libm-test.inc (clog_test): Add more tests.
38942 (clog10_test): Likewise.
38943 * sysdeps/i386/fpu/libm-test-ulps: Update.
38944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38945
38946 [BZ #11451]
38947 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38948 x and y.
38949 * math/libm-test.inc (atan2_test): Add another test.
38950
38951 * Makerules (common-objdir-compile): Remove.
38952 * sysdeps/unix/Makefile (config-generated): Do not add
38953 $(unix-generated) to variable.
38954 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38955 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38956 Remove rule.
38957 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38958 Likewise.
38959 [generic bits/local_lim.h] (before-compile): Do not append to
38960 variable.
38961 [generic bits/local_lim.h] (common-generated): Likewise.
38962 [generic sys/param.h] (before-compile): Do not append to variable.
38963 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38964 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38965 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38966 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38967 include.
38968 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38969 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38970 [generic sys/param.h] ($(addprefix
38971 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38972 [generic sys/param.h] (common-generated): Do not append to
38973 variable.
38974 [generic sys/param.h] (sysdep_headers): Likewise.
38975 [generic bits/errno.h] (before-compile): Do not append to
38976 variable.
38977 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38978 rule.
38979 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38980 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38981 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38982 [generic bits/errno.h] (common-generated): Do not append to
38983 variable.
38984 [generic bits/ioctls.h] (before-compile): Do not append to
38985 variable.
38986 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38987 rule.
38988 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38989 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38990 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38991 rule.
38992 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38993 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38994 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38995 [generic bits/ioctls.h] (common-generated): Do not append to
38996 variable.
38997 [generic sys/syscall.h] (syscall.h): Remove variable.
38998 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38999 rule.
39000 [generic sys/syscall.h] (before-compile): Do not append to
39001 variable.
39002 [generic sys/syscall.h] (common-generated): Likewise.
39003 * sysdeps/unix/errnos-tmpl.c: Remove file.
39004 * sysdeps/unix/errnos.awk: Likewise.
39005 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39006 * sysdeps/unix/ioctls.awk: Likewise.
39007 * sysdeps/unix/mk-local_lim.c: Likewise.
39008 * sysdeps/unix/snarf-ioctls: Likewise.
39009
39010 2012-03-19 Richard Henderson <rth@twiddle.net>
39011
39012 * sysdeps/i386/fpu/fenv_private.h: New file.
39013 * sysdeps/i386/fpu/math_private.h: Use it.
39014 (math_opt_barrier, math_force_eval): Remove.
39015 (libc_feholdexcept_setround_53bit): Remove.
39016 (libc_feupdateenv_53bit): Remove.
39017 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39018 (math_opt_barrier, math_force_eval): Remove.
39019 (libc_feholdexcept): Remove.
39020 (libc_feholdexcept_setround): Remove.
39021 (libc_fetestexcept, libc_fesetenv): Remove.
39022 (libc_feupdateenv_test): Remove.
39023 (libc_feupdateenv, libc_feholdsetround): Remove.
39024 (libc_feresetround): Remove.
39025
39026 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39027 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39028
39029 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39030 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39031 (libc_feupdateenv_testl): New.
39032 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39033 (libc_feupdateenv_testf): New.
39034 (libc_feupdateenv): Use libc_feupdateenv_test.
39035 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39036 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39037
39038 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39039 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39040 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39041 (libc_feresetround_noex): New.
39042 (libc_feresetround_noexf): New.
39043 (libc_feresetround_noexl): New.
39044 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39045 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39046 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39047 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39048 SET_RESTORE_ROUND.
39049 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39050 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39051 (__cos): Likewise.
39052 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39053 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39054 SET_RESTORE_ROUND_NOEX.
39055 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39056 SET_RESTORE_ROUND_NOEXF.
39057 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39058 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39059 (libc_feholdsetroundf): New.
39060 (libc_feresetround, libc_feresetroundf): New.
39061
39062 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39063 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39064 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39065
39066 * sysdeps/generic/math_private.h: Include <fenv.h>.
39067 (default_libc_feholdexcept): New.
39068 (default_libc_feholdexcept_setround): New.
39069 (default_libc_fesetenv, default_libc_feupdateenv): New.
39070 (libc_feholdexcept): Only define if undefined.
39071 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39072 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39073 (libc_feholdexcept_setroundl): Likewise.
39074 (libc_feholdexcept_setround_53bit): Likewise.
39075 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39076 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39077 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39078 (libc_feupdateenv_53bit): Likewise.
39079 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39080 (libc_feholdexcept): Convert from macro to inline function.
39081 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39082 (libc_fesetenv, libc_feupdateenv): Likewise.
39083
39084 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39085 not previously defined.
39086 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39087 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39088 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39089 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39090 * sysdeps/ieee754/flt-32/math_private.h: New file.
39091 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39092 math_private.h below SET_FLOAT_WORD.
39093 (__isnan, __isinf_ns, __finite): Remove.
39094 (__isnanf, __isinf_nsf, __finitef): Remove.
39095
39096 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39097
39098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39099
39100 2012-03-17 David S. Miller <davem@davemloft.net>
39101
39102 [BZ #6471]
39103 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39104 for 2.16.
39105
39106 2012-03-16 David S. Miller <davem@davemloft.net>
39107
39108 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39109 warnings.
39110
39111 [BZ #6471]
39112 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39113 properly.
39114 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39115 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39116 sysdep_routines when subdir is sysvipc.
39117 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39118 __getshmlba helper.
39119
39120 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39121
39122 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39123
39124 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39125 [__LP64__].
39126
39127 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39128
39129 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39130 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39131 (__lround): Renamed to ...
39132 (__llround): This. Replace long int with long long int.
39133 Define lround functions as aliases of llround functions.
39134 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39135
39136 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39137
39138 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39139 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39140 adresses to uintptr_t. Replace "long int" and "unsigned long
39141 int" with "greg_t" on va_arg.
39142
39143 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39144
39145 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39146 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39147
39148 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39149 Move e_machine check before EI_CLASS check. Handle x32
39150 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39151 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39152 SKIP_EM_IA_64 and include
39153 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39154
39155 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39156 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39157 (add_system_dir): New macro.
39158
39159 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39160 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39161
39162 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39163
39164 [BZ #2551]
39165 [BZ #2552]
39166 [BZ #2553]
39167 [BZ #2554]
39168 [BZ #2562]
39169 [BZ #2563]
39170 [BZ #2565]
39171 [BZ #2566]
39172 [BZ #2576]
39173 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39174 (y0): Likewise.
39175 * math/w_j0f.c (j0f): Likewise.
39176 (y0f): Likewise.
39177 * math/w_j0l.c (__j0l): Likewise.
39178 (__y0l): Likewise.
39179 * math/w_j1.c (j1): Likewise.
39180 (y1): Likewise.
39181 * math/w_j1f.c (j1f): Likewise.
39182 (y1f): Likewise.
39183 * math/w_j1l.c (__j1l): Likewise.
39184 (__y1l): Likewise.
39185 * math/w_jn.c (jn): Likewise.
39186 (yn): Likewise.
39187 * math/w_jnf.c (jnf): Likewise.
39188 (ynf): Likewise.
39189 * math/w_jnl.c (__jnl): Likewise.
39190 (__ynl): Likewise.
39191 * math/libm-test.inc (j0_test): Add more tests.
39192 (j1_test): Likewise.
39193 (jn_test): Likewise. Add trailing semicolon to existing test.
39194 (y0_test): Likewise.
39195 (y1_test): Likewise.
39196 * sysdeps/i386/fpu/libm-test-ulps: Update.
39197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39198
39199 [BZ #13851]
39200 [BZ #13854]
39201 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39202 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39203 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39204 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39205 (__tanl): Set errno for infinite argument.
39206 * sysdeps/i386/fpu/mptan.c: Remove.
39207 * sysdeps/i386/fpu/s_tan.S: Likewise.
39208 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39209 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39210 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39211 * math/libm-test.inc (tan_test): Add more tests and enable more
39212 tests for double and long double.
39213 * sysdeps/i386/fpu/libm-test-ulps: Update.
39214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39215
39216 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39217
39218 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39219 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39220
39221 2012-03-16 Roland McGrath <roland@hack.frob.com>
39222
39223 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39224 * configure.in: Use it for both main tree and add-ons.
39225 * configure: Regenerated.
39226
39227 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39228
39229 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39230
39231 2012-03-16 Joseph Myers <joseph@codesourcery.com>
39232
39233 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39234 in comment.
39235
39236 [BZ #13851]
39237 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39238 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39239 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39240 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39241 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39242 infinite argument.
39243 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39244 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39245 != 0 for prec == 2.
39246 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39247 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39248 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39249 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39250 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39251 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39252 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39253 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39254 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39255 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39256 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39257 * math/libm-test.inc (cos_test): Add more tests and enable more
39258 tests for long double.
39259 (sin_test): Likewise.
39260 (sincos_test): Likewise.
39261 * sysdeps/i386/fpu/libm-test-ulps: Update.
39262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39263
39264 2012-03-16 David S. Miller <davem@davemloft.net>
39265
39266 * sysdeps/sparc/fpu/math_private.h: New file.
39267
39268 2012-03-15 David S. Miller <davem@davemloft.net>
39269
39270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39271 file.
39272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39274 file.
39275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39280 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39281 sysdep routines.
39282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39283
39284 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39285 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39286
39287 * sysdeps/sparc/sparc-ifunc.h: New file.
39288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39289 sparc-ifunc.h
39290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39292 Likewise.
39293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39294 Likewise.
39295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39299 Likewise.
39300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39305 Likewise.
39306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39307 Likewise.
39308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39312 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39313 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39314 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39315 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39316 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39317 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39318 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39320 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39321 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39324 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39325 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39326 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39327 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39328 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39329 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39330 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39331 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39332
39333 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39334
39335 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39336 scaling.
39337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39338
39339 2012-03-15 Andreas Jaeger <aj@suse.de>
39340
39341 [BZ #13852]
39342 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39343 ieee754/flt-32 implementation for sin, cos and sincos.
39344 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39345 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39346 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39347 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39348 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39349 ieee754/flt-32 implementation for tan.
39350
39351 * math/libm-test.inc (cos_test): Enable some large input tests for
39352 float as well
39353 (sin_test): Likewise.
39354 (sincos_test): Likewise.
39355 (tan_test): Add tests for large input.
39356
39357 * sysdeps/i386/fpu/libm-test-ulps: Update.
39358
39359 2012-03-15 Andreas Jaeger <aj@suse.de>
39360
39361 [BZ #13658]
39362 * math/libm-test.inc (cos_test): Add more test cases.
39363 (sin_test): Likewise.
39364 (sincos_test): Likewise.
39365
39366 2012-03-15 Andreas Jaeger <aj@suse.de>
39367
39368 [BZ #13837]
39369 * math/libm-test.inc (cos_test): Add a test case for large input
39370 value.
39371 (sin_test): Likewise.
39372 (sincos_test): Likewise.
39373
39374 2012-03-15 Andreas Jaeger <aj@suse.de>
39375 Joseph Myers <joseph@codesourcery.com>
39376
39377 [BZ #13658]
39378 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39379 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39380 * sysdeps/i386/fpu/branred.c: Likewise.
39381 * sysdeps/i386/fpu/dosincos.c: Likewise.
39382 * sysdeps/i386/fpu/mpa.c: Likewise.
39383 * sysdeps/i386/fpu/s_cos.S: Likewise.
39384 * sysdeps/i386/fpu/s_sin.S: Likewise.
39385 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39386 * sysdeps/i386/fpu/sincos32.c: Likewise.
39387
39388 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39389 Define.
39390 (libc_feupdateenv_53bit): Define.
39391 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39392 Define.
39393 (libc_feupdateenv_53bit): Define.
39394
39395 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39396 53 bit (without extend i386 double precision).
39397
39398 * math/libm-test.inc (sincos_test): Add tests for large input.
39399 (sin): Likewise.
39400 (cos): Likewise.
39401
39402 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39403
39404 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39405
39406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39407
39408 2012-03-15 David S. Miller <davem@davemloft.net>
39409
39410 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39411 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39412 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39413 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39421 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39422 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39424 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39426 file.
39427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39429 file.
39430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39432 file.
39433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39435 file.
39436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39437 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39438 fmin/fmax sysdep routines.
39439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39440
39441 2012-03-14 David S. Miller <davem@davemloft.net>
39442
39443 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39444 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39445 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39446 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39447 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39448 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39449 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39450 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39451 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39452 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39453 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39454 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39460 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39461 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39462 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39463 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39464 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39465 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39466 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39467 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39468 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39469 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39470 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39471 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39472 routines.
39473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39474 file.
39475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39477 file.
39478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39480 file.
39481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39483 file.
39484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39486 file.
39487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39489 file.
39490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39491 file.
39492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39493 file.
39494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39495 file.
39496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39497 New file.
39498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39499 file.
39500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39501 file.
39502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39504 file.
39505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39507 file.
39508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39510 file.
39511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39513 VIS3 routines.
39514
39515 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39516 New file.
39517
39518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39519
39520 * sysdeps/sparc/configure.in: New file.
39521 * sysdeps/sparc/configure: Generate.
39522 * configure.in (libc_cv_sparc_as_vis3): Substitute.
39523 * configure: Regenerate.
39524 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39525 * config.make.in (have-as-vis3): New.
39526 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39527 available use -Av9d instead of -Av9a.
39528 * sysdeps/sparc/sparc64/Makefile: Likewise.
39529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39531 New file.
39532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39533 file.
39534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39535 New file.
39536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39537 file.
39538 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39539 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39540 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39541 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39542 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39543
39544 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39545 fzeros/fnegs to load 0x80000000 into a float register instead of
39546 using the stack.
39547 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39548
39549 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39550
39551 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39552 bits/syscall.h.
39553 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39554 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39555 ($(inst_includedir)/bits/syscall.h): Remove rule.
39556 ($(objpfx)bits/syscall.d): Include instead of
39557 $(objpfx)syscall-list.d.
39558 (generated): Change syscall-list.h and syscall-list.d to
39559 bits/syscall.h and bits/syscall.d.
39560
39561 2012-03-14 Roland McGrath <roland@hack.frob.com>
39562
39563 [BZ #13846]
39564 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39565
39566 2012-03-14 Joseph Myers <joseph@codesourcery.com>
39567
39568 [BZ #13841]
39569 * math/s_csqrt.c: Include <float.h>.
39570 (__csqrt): Scale large or subnormal inputs.
39571 * math/s_csqrtf.c: Likewise.
39572 * math/s_csqrtl.c: Likewise.
39573 * math/libm-test.inc (csqrt_test): Add more tests.
39574 * sysdeps/i386/fpu/libm-test-ulps: Update.
39575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39576
39577 [BZ #13840]
39578 * math/libm-test.inc (hypot_test): Add more tests.
39579
39580 2012-03-13 David S. Miller <davem@davemloft.net>
39581
39582 [BZ #13840]
39583 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39584 double-precision for the calculation instead of scaling.
39585
39586 2012-03-13 Joseph Myers <joseph@codesourcery.com>
39587
39588 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39589 manipulate bits before adding and subtracting TWO52[sx].
39590 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39591 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39592 Likewise.
39593 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39594
39595 2012-03-13 David S. Miller <davem@davemloft.net>
39596
39597 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39598 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39599 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39600 rtld-global-offsets.h
39601 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39602
39603 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39604 large parameters.
39605
39606 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39607
39608 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39609 'err' in the ifdef scope in which it is actually used.
39610
39611 * nss/nss_db/db-init.c: Include string.h
39612
39613 2012-03-12 David S. Miller <davem@davemloft.net>
39614
39615 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39616 masking out of the most significant byte of random value used.
39617 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39618 Fix coding style in previous change.
39619
39620 * sysdeps/unix/sysv/linux/kernel-features.h
39621 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39622 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39623 expression.
39624 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39625 later.
39626
39627 2012-03-11 David S. Miller <davem@davemloft.net>
39628
39629 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39630 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39631 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39632 for 'resultvar' otherwise things get truncated on 64-bit.
39633
39634 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39635 Fix masking out of the most significant byte of random value used.
39636
39637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39638
39639 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
39640
39641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39642
39643 2012-03-09 David S. Miller <davem@davemloft.net>
39644
39645 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
39646 variables with appropriate CPP guards.
39647 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
39648 from the frame pointer, not the stack pointer. Correct layout
39649 comments. Fix test on resulting framesize and the management of
39650 the outregs buffer for pltexit. Preserve floating point return
39651 values across _dl_call_pltexit call.
39652 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
39653 framesize and the management of the outregs buffer for pltexit.
39654 Preserve floating point return values across _dl_call_pltexit
39655 call.
39656 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
39657 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
39658 (la_sparc64_gnu_pltexit): New functions.
39659 (print_exit): Fix format string for return register value.
39660
39661 2012-03-10 Joseph Myers <joseph@codesourcery.com>
39662
39663 * sunrpc/Makefile (others): Add rpcgen.
39664 ($(objpfx)rpcgen): Remove special build rule and dependency on
39665 libc.
39666 * sunrpc/rpcgen.c: New file.
39667
39668 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
39669
39670 [BZ #13673]
39671 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
39672 * stdio-common/bug-vfprintf-nargs.c: Likewise.
39673 * sysdeps/i386/crti.S: Likewise.
39674 * sysdeps/i386/crtn.S: Likewise.
39675 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
39676 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
39677 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
39678 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
39679 * sysdeps/sh/crti.S: Likewise.
39680 * sysdeps/sh/crtn.S: Likewise.
39681 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39682
39683 [BZ #13673]
39684 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
39685 with URL.
39686 * locale/programs/locfile-kw.gperf: Likewise.
39687 * locale/programs/charmap-kw.h: Regenerated.
39688 * locale/programs/locfile-kw.h: Likewise.
39689
39690 [BZ #13673]
39691 * intl/plural.y: Replace FSF snail mail address with URL.
39692 * intl/plural.c: Regenerated.
39693
39694 2012-03-09 Richard Henderson <rth@twiddle.net>
39695
39696 * include/math_private.h: Remove file.
39697 * math/math_private.h: Move file ...
39698 * sysdeps/generic/math_private.h: ... here.
39699
39700 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
39701 * sysdeps/powerpc/fpu/math_private.h: Likewise.
39702 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39703
39704 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
39705 and <math_private.h>.
39706 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39707 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39708 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39709 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39710 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39711 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
39712 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39713 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39714 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39715 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39716 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39717 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39718 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39719 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39720 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39721 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39722 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39723 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39724 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39725 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39726 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39727 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39728 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39729 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39730 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
39731 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39732 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39733 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39734 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39735 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39736 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39737 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39738 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
39739 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
39740 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39741 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39742 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
39743 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39744 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39745 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39746 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
39747 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39748 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39749 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
39750 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
39751 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39752 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
39753 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
39754 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
39755 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39756 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
39757 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
39758 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
39759 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39760 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
39761 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39762 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
39763 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39764 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
39765 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
39766 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39767 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
39768 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39769 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39770 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
39771 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39772 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39773 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39774 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
39775 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
39776 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
39777 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39778 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
39779 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39780 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
39781 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
39782 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
39783 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39784 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
39785 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
39786 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
39787 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
39788 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
39789 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39790 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
39791 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39792 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
39793 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
39794 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39795 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39796 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39797 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39798 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39799 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39800 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39801 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39802 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39803 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39804 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39805 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39806 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39807 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39808 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39809 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39810 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39811 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39812 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39813 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39814 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39815 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39816 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39817 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39818 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39819 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39820 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
39821 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39822 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39823 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39824 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39825 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
39826 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39827 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39828 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39829 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
39830 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39831 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39832 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39833 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
39834 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39835 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
39836 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
39837 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
39838 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39839 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
39840 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
39841 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39842 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39843 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39844 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
39845 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39846 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
39847 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39848 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39849 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
39850 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
39851 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39852 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39853 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39854 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
39855 * sysdeps/ieee754/k_standard.c: Likewise.
39856 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39857 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39858 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39859 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39860 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39861 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39862 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39863 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39864 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39865 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39866 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39867 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39868 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39869 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39870 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39871 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39872 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39873 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39874 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39875 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
39876 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
39877 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
39878 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39879 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39880 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39881 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
39882 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39883 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39884 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39885 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39886 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39887 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39888 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39889 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39890 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39891 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39892 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39893 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39894 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39895 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39896 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39897 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39898 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39899 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39900 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39901 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39902 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39903 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39904 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39905 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39906 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39907 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39908 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39909 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39910 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39911 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39912 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39913 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39914 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39915 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39916 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39917 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39918 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39919 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39920 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39921 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39922 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39923 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39924 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39925 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39926 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39927 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39928 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39929 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39930 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39931 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39932 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39933 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39934 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39935 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39936 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39937 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39938 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39939 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39940 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39941 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39942 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39943 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39944 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39945 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39946 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39947 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39948 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39949 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39950 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39951 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39952 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39953 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39954 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39955 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39956 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39957 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39958 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39959 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39960 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39961 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39962 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39963 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39964 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39965 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39966 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39967 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39968 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39969 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39970 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39971 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39972 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39973 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39974 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39975 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39976 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39977 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39978 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39979 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39980 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39981 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39982 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39983 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39984 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39985 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39986 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39987 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39988 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39989 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39990 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39991 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39992 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39993 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39994 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39995 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39996 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39997 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39998 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39999 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40000 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40001 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40002 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40003 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40004 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40005 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40006 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40007 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40008 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40009 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40010 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40011 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40012 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40013 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40014 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40015 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40016 * sysdeps/ieee754/s_lib_version.c: Likewise.
40017 * sysdeps/ieee754/s_matherr.c: Likewise.
40018 * sysdeps/ieee754/s_signgam.c: Likewise.
40019 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40020 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40021 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40022 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40023 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40024 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40025 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40026 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40027 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40028 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40029 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40030 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40031 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40032 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40033 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40034 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40035 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40036 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40037 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40038 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40039 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40040
40041 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40042
40043 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40044 * sunrpc/rpc_main.c: Likewise.
40045 * sunrpc/rpc_svcout.c: Likewise.
40046
40047 2012-03-09 David S. Miller <davem@davemloft.net>
40048
40049 * include/math_private.h: New file.
40050
40051 2012-03-09 Joseph Myers <joseph@codesourcery.com>
40052
40053 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40054 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40055 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40056 from <bits/socket_type.h>.
40057 (enum __socket_type): Don't define here.
40058 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40059 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40060 bits/socket_type.h.
40061
40062 [BZ #13566]
40063 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40064 checking __USE_GNU.
40065
40066 * Makerules ($(inst_includedir)/%.h): New rule.
40067 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40068 (install-others): Remove variable setting.
40069 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40070
40071 2012-03-08 Richard Henderson <rth@twiddle.net>
40072
40073 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40074 from macro to inline function; merge with the
40075 !__LIBC_INTERNAL_MATH_INLINES version.
40076 (__ieee754_sqrtf): Likewise.
40077
40078 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40079 to inline function.
40080 (__rintf, __floor, __floorf): Likewise.
40081
40082 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40083 macro to inline function.
40084 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40085
40086 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40087 not <math/math_private.h>.
40088
40089 2012-03-08 David S. Miller <davem@davemloft.net>
40090
40091 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40092 copyright year.
40093 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40094
40095 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40096
40097 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40098 normalization.
40099 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40100 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40101
40102 2012-03-08 Ulrich Drepper <drepper@gmail.com>
40103
40104 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40105 be defined individually, they must be defined as a block. Define
40106 S for printing a string instead of hidint the different by using a
40107 macro for adding the 'l'.
40108 * stdio-common/tst-fphex-wide.c: Adjust.
40109
40110 2012-03-07 Marek Polacek <polacek@redhat.com>
40111
40112 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40113
40114 2012-03-08 Marek Polacek <polacek@redhat.com>
40115
40116 [BZ #13806]
40117 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40118 * stdio-common/tst-fphex.c: Define a few macros to make the
40119 test reusable. Use them.
40120 * stdio-common/tst-fphex-wide.c: New file.
40121
40122 2012-03-08 Joseph Myers <joseph@codesourcery.com>
40123
40124 [BZ #6911]
40125 * manual/macros.texi (gnusystems): New macro.
40126 (nongnusystems): Likewise.
40127 (gnulinuxhurdsystems): Likewise.
40128 (gnuhurdsystems): Likewise..
40129 (gnulinuxsystems): Likewise.
40130 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40131 variants of the GNU system, not "GNU system".
40132 * manual/conf.texi: Likewise.
40133 * manual/errno.texi: Likewise. Update example of errno macro
40134 expansion.
40135 * manual/filesys.texi: Likewise.
40136 (getumask): Document as specific to GNU/Hurd.
40137 * manual/install.texi: Likewise. Reword some references to
40138 GNU/Linux.
40139 * manual/intro.texi: Likewise.
40140 * manual/io.texi: Likewise.
40141 (File Name Portability): Detail which constraints are inapplicable
40142 to all GNU systems and which are only inapplicable to GNU/Hurd.
40143 * manual/job.texi: Likewise.
40144 * manual/llio.texi: Likewise.
40145 (O_NOCTTY): Document as present on GNU/Linux.
40146 * manual/maint.texi: Likewise.
40147 * manual/memory.texi: Likewise.
40148 * manual/pattern.texi: Likewise.
40149 * manual/pipe.texi: Likewise.
40150 * manual/process.texi: Likewise.
40151 * manual/resource.texi: Likewise.
40152 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40153 child on GNU/Hurd.
40154 * manual/setjmp.texi: Likewise.
40155 * manual/signal.texi: Likewise.
40156 * manual/startup.texi: Likewise.
40157 * manual/stdio.texi: Likewise.
40158 * manual/terminal.texi: Likewise.
40159 (ONLCR): Document as POSIX.
40160 (OXTABS): Document availability on GNU/Linux as XTABS.
40161 (ONOEOT): Document availability separately from other bits.
40162 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40163 * manual/time.texi: Likewise.
40164 * manual/users.texi: Likewise.
40165 * INSTALL: Regenerated.
40166 * sysdeps/gnu/errlist.c: Regenerated.
40167
40168 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40169 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40170 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40171 puts.
40172 * configure: Regenerated.
40173
40174 2012-03-07 Joseph Myers <joseph@codesourcery.com>
40175
40176 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40177 default includes instead of AC_HEADER_CHECK.
40178 * sysdeps/i386/configure: Regenerated.
40179
40180 [BZ #10716]
40181 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40182 * math/s_cacoshf.c (__cacoshf): Likewise.
40183 * math/s_cacoshl.c (__cacoshl): Likewise.
40184 * math/s_casinh.c (__casinh): Set signs of result from argument.
40185 * math/s_casinhf.c (__casinhf): Likewise.
40186 * math/s_casinhl.c (__casinhl): Likewise.
40187 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40188 (casinh_test): Add more tests.
40189 * sysdeps/i386/fpu/libm-test-ulps: Update.
40190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40191
40192 2012-03-07 Ulrich Drepper <drepper@gmail.com>
40193
40194 * po/zh_TW.po: Update from translation team.
40195
40196 * login/Makefile (distribute): Remove variable.
40197 * catgets/Makefile: Likewise.
40198 * mach/Makefile: Likewise.
40199 * malloc/Makefile: Likewise.
40200 * misc/Makefile: Likewise.
40201 * iconv/Makefile: Likewise.
40202 * nscd/Makefile: Likewise.
40203 * hurd/Makefile: Likewise.
40204 * manual/Makefile: Likewise.
40205 * locale/Makefile: Likewise.
40206 * intl/Makefile: Likewise.
40207 * conform/Makefile: Likewise.
40208 * nss/Makefile: Likewise.
40209 * time/Makefile: Likewise.
40210 * soft-fp/Makefile: Likewise.
40211 * dirent/Makefile: Likewise.
40212 * gmon/Makefile: Likewise.
40213 * po/Makefile: Likewise.
40214 * rt/Makefile: Likewise.
40215 * socket/Makefile: Likewise.
40216 * math/Makefile: Likewise.
40217 * signal/Makefile: Likewise.
40218 * debug/Makefile: Likewise.
40219 * elf/Makefile: Likewise.
40220 * timezone/Makefile: Likewise.
40221 * stdlib/Makefile: Likewise.
40222 * iconvdata/Makefile: Likewise.
40223 * sunrpc/Makefile: Likewise.
40224 * io/Makefile: Likewise.
40225 * argp/Makefile: Likewise.
40226 * inet/Makefile: Likewise.
40227 * hesiod/Makefile: Likewise.
40228 * grp/Makefile: Likewise.
40229 * csu/Makefile: Likewise.
40230 * wctype/Makefile: Likewise.
40231 * crypt/Makefile: Likewise.
40232 * libio/Makefile: Likewise.
40233 * string/Makefile: Likewise.
40234 * nis/Makefile: Likewise.
40235 * resolv/Makefile: Likewise.
40236 * stdio-common/Makefile: Likewise.
40237 * wcsmbs/Makefile: Likewise.
40238 * dlfcn/Makefile: Likewise.
40239 * posix/Makefile: Likewise.
40240
40241 [BZ #6959]
40242 * timezone/Makefile: Don't install timezone files, just the programs
40243 and scripts.
40244
40245 2012-03-06 Ulrich Drepper <drepper@gmail.com>
40246
40247 * nss/databases.def: Add missing gshadow entry.
40248
40249 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40250
40251 2012-03-06 Marek Polacek <polacek@redhat.com>
40252
40253 [BZ #13726]
40254 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40255 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40256 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40257 * stdio-common/tst-long-dbl-fphex.c: New file.
40258
40259 2012-03-06 David S. Miller <davem@davemloft.net>
40260
40261 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40262 (set_obp_int): New function.
40263 (get_obp_int): New function.
40264 (__get_clockfreq_via_dev_openprom): Likewise.
40265 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40266 Avoid unused variable warnings on 'val' and use builtin_expect.
40267 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40268 __builtin_expect.
40269 (INLINE_CLONE_SYSCALL): Likewise.
40270
40271 2012-03-05 David S. Miller <davem@davemloft.net>
40272
40273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40274
40275 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40276
40277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40278
40279 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40280 only for |x| >= 40.
40281 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40282
40283 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
40284
40285 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40286 Replace gettimeofday with __vdso_gettimeofday.
40287
40288 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40289 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40290 __vdso_clock_gettime and __vdso_getcpu.
40291
40292 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40293 time with __vdso_time.
40294
40295 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40296
40297 * manual/lang.texi (size_t): Note types to which size_t may be
40298 equivalent with the GNU C Library, but do not describe when
40299 differences between them are significant.
40300
40301 2012-03-05 Andreas Jaeger <aj@suse.de>
40302
40303 * sysdeps/i386/fpu/libm-test-ulps: Update.
40304
40305 2012-03-05 Joseph Myers <joseph@codesourcery.com>
40306
40307 [BZ #3976]
40308 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40309 (__ieee754_pow): Save and restore rounding mode and use
40310 round-to-nearest for main computations.
40311 * math/libm-test.inc (pow_test_tonearest): New function.
40312 (pow_test_towardzero): Likewise.
40313 (pow_test_downward): Likewise.
40314 (pow_test_upward): Likewise.
40315 (main): Call the new functions.
40316 * sysdeps/i386/fpu/libm-test-ulps: Update.
40317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40318
40319 [BZ #3976]
40320 * math/libm-test.inc (cosh_test_tonearest): New function.
40321 (cosh_test_towardzero): Likewise.
40322 (cosh_test_downward): Likewise.
40323 (cosh_test_upward): Likewise.
40324 (sinh_test_tonearest): Likewise.
40325 (sinh_test_towardzero): Likewise.
40326 (sinh_test_downward): Likewise.
40327 (sinh_test_upward): Likewise.
40328 (main): Call the new functions.
40329 * sysdeps/i386/fpu/libm-test-ulps: Update.
40330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40331
40332 2012-03-05 Tom de Vries <tom@codesourcery.com>
40333
40334 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40335 default stack guard is set in last bytes.
40336 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40337
40338 2012-03-05 Kees Cook <keescook@chromium.org>
40339
40340 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40341
40342 [BZ #13656]
40343 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40344 possibly allocate from heap instead of stack.
40345 * stdio-common/bug-vfprintf-nargs.c: New file.
40346 * stdio-common/Makefile (tests): Add nargs overflow test.
40347
40348 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40349
40350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40351
40352 2012-03-03 Marek Polacek <polacek@redhat.com>
40353
40354 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40355 * math/math_private.h: Likewise.
40356 * stdlib/tst-strtod.c: Likewise.
40357 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40358 * sysdeps/x86_64/bits/atomic.h: Likewise.
40359
40360 2012-03-02 David S. Miller <davem@davemloft.net>
40361
40362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40366 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40367 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40368 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40369 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40370
40371 2012-03-02 Roland McGrath <roland@hack.frob.com>
40372
40373 [BZ #13792]
40374 * manual/examples/README: New file, says the example source files
40375 can be used under GPL>=2.
40376 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40377 line containing just "*/".
40378 * manual/examples/add.c: Add copyright header (GPL>=2).
40379 * manual/examples/argp-ex1.c: Likewise.
40380 * manual/examples/argp-ex2.c: Likewise.
40381 * manual/examples/argp-ex3.c: Likewise.
40382 * manual/examples/argp-ex4.c: Likewise.
40383 * manual/examples/atexit.c: Likewise.
40384 * manual/examples/db.c: Likewise.
40385 * manual/examples/dir.c: Likewise.
40386 * manual/examples/dir2.c: Likewise.
40387 * manual/examples/execinfo.c: Likewise.
40388 * manual/examples/filecli.c: Likewise.
40389 * manual/examples/filesrv.c: Likewise.
40390 * manual/examples/fmtmsgexpl.c: Likewise.
40391 * manual/examples/genpass.c: Likewise.
40392 * manual/examples/inetcli.c: Likewise.
40393 * manual/examples/inetsrv.c: Likewise.
40394 * manual/examples/isockad.c: Likewise.
40395 * manual/examples/longopt.c: Likewise.
40396 * manual/examples/memopen.c: Likewise.
40397 * manual/examples/memstrm.c: Likewise.
40398 * manual/examples/mkfsock.c: Likewise.
40399 * manual/examples/mkisock.c: Likewise.
40400 * manual/examples/mygetpass.c: Likewise.
40401 * manual/examples/pipe.c: Likewise.
40402 * manual/examples/popen.c: Likewise.
40403 * manual/examples/rprintf.c: Likewise.
40404 * manual/examples/search.c: Likewise.
40405 * manual/examples/select.c: Likewise.
40406 * manual/examples/setjmp.c: Likewise.
40407 * manual/examples/sigh1.c: Likewise.
40408 * manual/examples/sigusr.c: Likewise.
40409 * manual/examples/stpcpy.c: Likewise.
40410 * manual/examples/strdupa.c: Likewise.
40411 * manual/examples/strftim.c: Likewise.
40412 * manual/examples/strncat.c: Likewise.
40413 * manual/examples/subopt.c: Likewise.
40414 * manual/examples/swapcontext.c: Likewise.
40415 * manual/examples/termios.c: Likewise.
40416 * manual/examples/testopt.c: Likewise.
40417 * manual/examples/testpass.c: Likewise.
40418 * manual/examples/timeval_subtract.c: Likewise.
40419
40420 [BZ #13792]
40421 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40422 function to ...
40423 * manual/timeval_subtract.c.texi: ... here, new file.
40424
40425 2012-03-02 David S. Miller <davem@davemloft.net>
40426
40427 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40428
40429 2012-03-02 Joseph Myers <joseph@codesourcery.com>
40430
40431 [BZ #3976]
40432 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40433 (__sin): Save and restore rounding mode and use round-to-nearest
40434 for all computations.
40435 (__cos): Save and restore rounding mode and use round-to-nearest
40436 for all computations.
40437 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40438 <fenv.h>.
40439 (tan): Save and restore rounding mode and use round-to-nearest for
40440 all computations.
40441 * math/libm-test.inc (cos_test_tonearest): New function.
40442 (cos_test_towardzero): Likewise.
40443 (cos_test_downward): Likewise.
40444 (cos_test_upward): Likewise.
40445 (sin_test_tonearest): Likewise.
40446 (sin_test_towardzero): Likewise.
40447 (sin_test_downward): Likewise.
40448 (sin_test_upward): Likewise.
40449 (tan_test_tonearest): Likewise.
40450 (tan_test_towardzero): Likewise.
40451 (tan_test_downward): Likewise.
40452 (tan_test_upward): Likewise.
40453 (main): Call the new functions.
40454 * sysdeps/i386/fpu/libm-test-ulps: Update.
40455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40456
40457 [BZ #10135]
40458 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40459 small n, then large n, before computing and testing k+n.
40460 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40461 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40462 Likewise.
40463 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40464 Likewise.
40465 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40466 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40467 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40468 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40469 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40470 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40471 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40472 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40473 * math/libm-test.inc (scalbn_test): Add more tests.
40474 (scalbln_test): Likewise.
40475
40476 * manual/filesys.texi (mode_t): Describe constraints on size and
40477 signedness, not exact equivalence to a particular type.
40478 (ino_t): Likewise.
40479 (ino64_t): Likewise.
40480 (dev_t): Likewise.
40481 (nlink_t): Likewise.
40482 (blkcnt_t): Likewise.
40483 (blkcnt64_t): Likewise.
40484 * manual/llio.texi (off_t): Likewise.
40485
40486 [BZ #3976]
40487 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40488 (__ieee754_exp): Save and restore rounding mode and use
40489 round-to-nearest for all computations.
40490 * math/libm-test.inc (exp_test_tonearest): New function.
40491 (exp_test_towardzero): Likewise.
40492 (exp_test_downward): Likewise.
40493 (exp_test_upward): Likewise.
40494 (main): Call the new functions.
40495 * sysdeps/i386/fpu/libm-test-ulps: Update.
40496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40497
40498 2012-03-01 Chris Demetriou <cgd@google.com>
40499
40500 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40501 have predictable order.
40502
40503 2012-03-01 David S. Miller <davem@davemloft.net>
40504
40505 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40506
40507 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40508 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40509 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40510 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40511
40512 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40513 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40514 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40516 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40517 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40518 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40519 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40520 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40521
40522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40523
40524 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40525 * sysdeps/sparc/fpu/libm-test-ulps: to here.
40526 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40527
40528 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40529 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40530 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40531 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40532 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40533 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40534 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40535 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40536 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40537 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40538 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40539 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40540 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40541 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40542 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40543 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40544 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40545 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40546 * sysdeps/sparc/elf/configure: Regenerated.
40547
40548 2012-03-01 Joseph Myers <joseph@codesourcery.com>
40549
40550 * configure.in (AS, LD): Require binutils 2.20 or later.
40551 * configure: Regenerated.
40552 * manual/install.texi (Tools for Compilation): Give binutils 2.20
40553 as required minimum version.
40554 * INSTALL: Regenerated.
40555
40556 [BZ #2541]
40557 [BZ #4108]
40558 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40559 before squaring exponent.
40560 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40561 bottom long double and 27 bits of top long double before squaring
40562 exponent.
40563 * math/libm-test.inc (erfc_test): Add more tests.
40564 * sysdeps/i386/fpu/libm-test-ulps: Update.
40565 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40567
40568 2012-03-01 Kai Tietz <ktietz@redhat.com>
40569
40570 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40571 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40572 containing bit-fields.
40573 * soft-fp/extended.h (_FP_UNION_E): Likewise.
40574 * soft-fp/single.h (_FP_UNION_S): Likewise.
40575 * soft-fp/double.h (_FP_UNION_D): Likewise.
40576
40577 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40578
40579 [BZ #13786]
40580 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40581 not include ../strcmp.S.
40582 [USE_AS_STRNCASECMP_L]: Likewise.
40583 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40584 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40585 * sysdeps/i386/i686/multiarch/strncase_l-c.c
40586 (__strncasecmp_l_ia32): Define as alias to
40587 __strncasecmp_l_nonascii.
40588
40589 [BZ #5794]
40590 * math/libm-test.inc (expm1_test): Add test for bug 5794.
40591 * sysdeps/i386/fpu/libm-test-ulps: Update.
40592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40593
40594 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40596
40597 2012-02-29 Jeff Law <law@redhat.com>
40598
40599 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40600 out of bounds read.
40601
40602 2012-02-29 Marek Polacek <polacek@redhat.com>
40603
40604 [BZ #13706]
40605 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40606 * elf/Makefile: Add rules to run tst-unused-dep.out.
40607
40608 2012-02-28 David S. Miller <davem@davemloft.net>
40609
40610 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40611 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40612 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40613 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40614 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40615 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40616
40617 2012-02-29 Joseph Myers <joseph@codesourcery.com>
40618
40619 * math/libm-test.inc (llround_test): Move one test from
40620 lround_test. Use TEST_f_L in moved test.
40621 (lround_test): Move misplaced test to llround_test. Add testcase
40622 from bug 2561.
40623
40624 2012-02-28 Ulrich Drepper <drepper@gmail.com>
40625
40626 * sysdeps/x86_64/fpu/e_expf.S: New file.
40627 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40628
40629 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
40630
40631 [BZ #13637]
40632 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40633 of remain_len that may cause incomplete multi-byte character and
40634 false match.
40635 * posix/bug-regex33.c: New file.
40636 * posix/Makefile (tests): Add bug-regex33.
40637
40638 2012-02-28 Joseph Myers <joseph@codesourcery.com>
40639
40640 * manual/macros.texi: New file.
40641 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40642 * manual/libc.texinfo: Include macros.texi.
40643 * manual/creatute.texi: Likewise.
40644 * manual/install.texi: Likewise.
40645 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
40646 @glibcadj{} in references to the GNU C Library.
40647 * manual/charset.texi: Likewise.
40648 * manual/conf.texi: Likewise.
40649 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
40650 when not using those macros.
40651 * manual/creature.texi: Likewise.
40652 * manual/crypt.texi: Likewise.
40653 * manual/errno.texi: Likewise.
40654 * manual/filesys.texi: Likewise.
40655 * manual/header.texi: Likewise.
40656 * manual/install.texi: Likewise.
40657 * manual/intro.texi: Likewise.
40658 * manual/io.texi: Likewise.
40659 * manual/job.texi: Likewise.
40660 * manual/lang.texi: Likewise.
40661 * manual/libc.texiinfo: Likewise.
40662 * manual/llio.texi: Likewise.
40663 * manual/locale.texi: Likewise.
40664 * manual/maint.texi: Likewise.
40665 * manual/math.texi: Likewise.
40666 * manual/memory.texi: Likewise.
40667 * manual/message.texi: Likewise.
40668 * manual/nss.texi: Likewise.
40669 * manual/pattern.texi: Likewise.
40670 * manual/process.texi: Likewise.
40671 * manual/resource.texi: Likewise.
40672 * manual/search.texi: Likewise.
40673 * manual/setjmp.texi: Likewise.
40674 * manual/signal.texi: Likewise.
40675 * manual/socket.texi: Likewise.
40676 * manual/startup.texi: Likewise.
40677 * manual/stdio.texi: Likewise.
40678 * manual/string.texi: Likewise.
40679 * manual/sysinfo.texi: Likewise.
40680 * manual/syslog.texi: Likewise.
40681 * manual/terminal.texi: Likewise.
40682 * manual/time.texi: Likewise.
40683 * manual/users.texi: Likewise.
40684 * INSTALL: Regenerated.
40685 * NOTES: Regenerated.
40686 * sysdeps/gnu/errlist.c: Regenerated.
40687
40688 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
40689
40690 * include/dirent.h: Include <dirstream.h> before
40691 <dirent/dirent.h>.
40692
40693 2012-02-28 David S. Miller <davem@davemloft.net>
40694
40695 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
40696 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
40697 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
40698 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
40699
40700 2012-02-27 David S. Miller <davem@davemloft.net>
40701
40702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
40703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
40704 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
40705 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
40706
40707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
40708 frame pointer instead of stack pointer relative arg slot.
40709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40710 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40711 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40712
40713 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
40714
40715 [BZ #3992]
40716 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
40717
40718 2012-02-27 David S. Miller <davem@davemloft.net>
40719
40720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
40721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
40722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
40724 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
40725 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
40726 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
40727 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
40728
40729 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40730
40731 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
40732 later. Allow versions 5-9.
40733 * configure: Regenerated.
40734 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
40735 required minimum version and 4.6 as recommended version. Do not
40736 mention bugs in GCC 2.7 and 2.8.
40737 * INSTALL: Regenerated.
40738
40739 2012-02-27 David S. Miller <davem@davemloft.net>
40740
40741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
40742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
40743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
40744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
40745 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
40746 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
40747 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
40748 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
40749
40750 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
40751 manipulate bits before adding and subtracting TWO112[sx].
40752 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
40753
40754 2012-02-27 Roland McGrath <roland@hack.frob.com>
40755
40756 [BZ #13775]
40757 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
40758 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
40759 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
40760 being in POSIX, because they are in 1003.1-2008.
40761
40762 * rt/tst-aio.c: Include <fcntl.h>.
40763 * rt/tst-aio7.c: Likewise.
40764 * rt/tst-aio64.c: Likewise.
40765
40766 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
40767
40768 2012-02-27 Joseph Myers <joseph@codesourcery.com>
40769
40770 * manual/install.texi (--with-headers): Describe headers as
40771 interface headers, not private headers.
40772 (Specific advice for GNU/Linux systems): Describe use of headers
40773 from "make headers_install", not private headers from older
40774 kernels.
40775 * INSTALL: Regenerated.
40776 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
40777 Change to 2.6.19.
40778 * sysdeps/unix/sysv/linux/configure: Regenerated.
40779
40780 * manual/llio.texi (fclean): Remove documentation.
40781
40782 * manual/Makefile (libc-texi-generated): New variable. Include
40783 version.texi.
40784 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
40785 $(libc-texi-generated), not duplicated list of files.
40786 (version.texi, stamp-version): New rules.
40787 (realclean): Remove $(libc-texi-generated), not individual files
40788 from that list. Do not remove dir-add.texinfo.
40789 * manual/libc.texinfo: Comment out uses of edition numbers and
40790 references to printed manual. Remove last-updated dates.
40791 (EDITION): Comment out.
40792 (ISBN): Likewise.
40793 (VERSION, UPDATED): Remove.
40794 (version.texi): Include.
40795
40796 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
40797
40798 * sysdeps/posix/spawni.c: Include <signal.h>.
40799 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
40800 * sysdeps/pthread/aio_fsync.c: Likewise.
40801
40802 2012-02-26 Ulrich Drepper <drepper@gmail.com>
40803
40804 * conform/Makefile (tests): Run only when not cross-compiling and
40805 when fast-check is not defined.
40806
40807 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
40808 * conform/data/limits.h-data: Fixes for POSIX2008.
40809 * conform/run-conformtest.sh: Run all tests.
40810 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
40811 headers.
40812 * include/bits/dlfcn.h: Likewise.
40813 * include/langinfo.h: Likewise.
40814 * include/monetary.h: Likewise.
40815 * include/sys/poll.h: Likewise.
40816
40817 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
40818 for __USE_GNU.
40819 * posix/spawn.h: Define __need_sigset_t.
40820 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
40821 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
40822 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
40823 to get sigevent_t only.
40824 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
40825 only for __USE_GNU.
40826 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40827 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40828 process_vm_writev only for __USE_GNU.
40829 * termios/termios.h: Declare tcgetsid also for POSIX2008.
40830
40831 * conform/Makefile: For now ignore errors from run-conformtest.
40832 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
40833 POSIX to avoid namespace pollution. Don't prepend headers.
40834 * conform/data/aio.h-data: Fixes for POSIX testing.
40835 * conform/data/fcntl.h-data: Likewise.
40836 * conform/data/glob.h-data: Likewise.
40837 * conform/data/grp.h-data: Likewise.
40838 * conform/data/pthread.h-data: Likewise.
40839 * conform/data/pwd.h-data: Likewise.
40840 * conform/data/signal.h-data: Likewise.
40841 * conform/data/spawn.h-data: Likewise.
40842 * conform/data/stdio.h-data: Likewise.
40843 * conform/data/stdlib.h-data: Likewise.
40844 * conform/data/stropts.h-data: Likewise.
40845 * conform/data/sys/mman.h-data: Likewise.
40846 * conform/data/sys/stat.h-data: Likewise.
40847 * conform/data/sys/types.h-data: Likewise.
40848 * conform/data/sys/wait.h-data: Likewise.
40849 * conform/data/time.h-data: Likewise.
40850 * conform/data/unistd.h-data: Likewise.
40851 * conform/data/utime.h-data: Likewise.
40852
40853 * io/sys/stat.h: fchmod was always in POSIX.
40854 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
40855 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
40856 * rt/aio.h: Define __need_timespec before including <time.h>.
40857 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
40858 struct. Add forward declaration of pthread_attr_t and use it in
40859 sigevent.
40860 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40861 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40862 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
40863 always remove CLK_TCK definition.
40864
40865 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
40866
40867 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
40868
40869 2012-02-25 Ulrich Drepper <drepper@gmail.com>
40870
40871 * conform/run-conformtest.sh: New file.
40872 * conform/Makefile: Run run-conformtest for tests.
40873 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
40874 support.
40875
40876 * conform/data/uchar.h-data: New file.
40877 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
40878 * conform/data/arpa/inet.h-data: Likewise.
40879 * conform/data/assert.h-data: Likewise.
40880 * conform/data/complex.h-data: Likewise.
40881 * conform/data/cpio.h-data: Likewise.
40882 * conform/data/ctype.h-data: Likewise.
40883 * conform/data/dirent.h-data: Likewise.
40884 * conform/data/dlfcn.h-data: Likewise.
40885 * conform/data/errno.h-data: Likewise.
40886 * conform/data/fcntl.h-data: Likewise.
40887 * conform/data/float.h-data: Likewise.
40888 * conform/data/fmtmsg.h-data: Likewise.
40889 * conform/data/fnmatch.h-data: Likewise.
40890 * conform/data/ftw.h-data: Likewise.
40891 * conform/data/glob.h-data: Likewise.
40892 * conform/data/grp.h-data: Likewise.
40893 * conform/data/iconv.h-data: Likewise.
40894 * conform/data/inttypes.h-data: Likewise.
40895 * conform/data/langinfo.h-data: Likewise.
40896 * conform/data/libgen.h-data: Likewise.
40897 * conform/data/limits.h-data: Likewise.
40898 * conform/data/locale.h-data: Likewise.
40899 * conform/data/math.h-data: Likewise.
40900 * conform/data/monetary.h-data: Likewise.
40901 * conform/data/mqueue.h-data: Likewise.
40902 * conform/data/ndbm.h-data: Likewise.
40903 * conform/data/net/if.h-data: Likewise.
40904 * conform/data/netdb.h-data: Likewise.
40905 * conform/data/netinet/in.h-data: Likewise.
40906 * conform/data/nl_types.h-data: Likewise.
40907 * conform/data/poll.h-data: Likewise.
40908 * conform/data/pthread.h-data: Likewise.
40909 * conform/data/pwd.h-data: Likewise.
40910 * conform/data/regex.h-data: Likewise.
40911 * conform/data/sched.h-data: Likewise.
40912 * conform/data/search.h-data: Likewise.
40913 * conform/data/semaphore.h-data: Likewise.
40914 * conform/data/setjmp.h-data: Likewise.
40915 * conform/data/signal.h-data: Likewise.
40916 * conform/data/spawn.h-data: Likewise.
40917 * conform/data/stdarg.h-data: Likewise.
40918 * conform/data/stdio.h-data: Likewise.
40919 * conform/data/stdlib.h-data: Likewise.
40920 * conform/data/string.h-data: Likewise.
40921 * conform/data/strings.h-data: Likewise.
40922 * conform/data/stropts.h-data: Likewise.
40923 * conform/data/sys/ipc.h-data: Likewise.
40924 * conform/data/sys/mman.h-data: Likewise.
40925 * conform/data/sys/msg.h-data: Likewise.
40926 * conform/data/sys/resource.h-data: Likewise.
40927 * conform/data/sys/select.h-data: Likewise.
40928 * conform/data/sys/sem.h-data: Likewise.
40929 * conform/data/sys/shm.h-data: Likewise.
40930 * conform/data/sys/socket.h-data: Likewise.
40931 * conform/data/sys/stat.h-data: Likewise.
40932 * conform/data/sys/statvfs.h-data: Likewise.
40933 * conform/data/sys/time.h-data: Likewise.
40934 * conform/data/sys/timeb.h-data: Likewise.
40935 * conform/data/sys/times.h-data: Likewise.
40936 * conform/data/sys/types.h-data: Likewise.
40937 * conform/data/sys/uio.h-data: Likewise.
40938 * conform/data/sys/un.h-data: Likewise.
40939 * conform/data/sys/utsname.h-data: Likewise.
40940 * conform/data/sys/wait.h-data: Likewise.
40941 * conform/data/syslog.h-data: Likewise.
40942 * conform/data/tar.h-data: Likewise.
40943 * conform/data/termios.h-data: Likewise.
40944 * conform/data/utime.h-data: Likewise.
40945 * conform/data/utmpx.h-data: Likewise.
40946 * conform/data/varargs.h-data: Likewise.
40947 * conform/data/wchar.h-data: Likewise.
40948 * conform/data/wctype.h-data: Likewise.
40949 * conform/data/wordexp.h-data: Likewise.
40950
40951 * include/stropts.h: New file.
40952 * include/uchar.h: New file.
40953 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40954 * include/assert.h: Likewise.
40955 * include/ctype.h: Likewise.
40956 * include/dirent.h: Likewise.
40957 * include/dlfcn.h: Likewise.
40958 * include/fcntl.h: Likewise.
40959 * include/fnmatch.h: Likewise.
40960 * include/glob.h: Likewise.
40961 * include/grp.h: Likewise.
40962 * include/libio.h: Likewise.
40963 * include/locale.h: Likewise.
40964 * include/math.h: Likewise.
40965 * include/net/if.h: Likewise.
40966 * include/netdb.h: Likewise.
40967 * include/netinet/in.h: Likewise.
40968 * include/pthread.h: Likewise.
40969 * include/pwd.h: Likewise.
40970 * include/regex.h: Likewise.
40971 * include/sched.h: Likewise.
40972 * include/search.h: Likewise.
40973 * include/setjmp.h: Likewise.
40974 * include/signal.h: Likewise.
40975 * include/stdio.h: Likewise.
40976 * include/stdlib.h: Likewise.
40977 * include/string.h: Likewise.
40978 * include/sys/cdefs.h: Likewise.
40979 * include/sys/mman.h: Likewise.
40980 * include/sys/msg.h: Likewise.
40981 * include/sys/resource.h: Likewise.
40982 * include/sys/select.h: Likewise.
40983 * include/sys/socket.h: Likewise.
40984 * include/sys/stat.h: Likewise.
40985 * include/sys/statvfs.h: Likewise.
40986 * include/sys/time.h: Likewise.
40987 * include/sys/times.h: Likewise.
40988 * include/sys/uio.h: Likewise.
40989 * include/sys/utsname.h: Likewise.
40990 * include/sys/wait.h: Likewise.
40991 * include/termios.h: Likewise.
40992 * include/time.h: Likewise.
40993 * include/ulimit.h: Likewise.
40994 * include/unistd.h: Likewise.
40995 * include/utime.h: Likewise.
40996 * include/wchar.h: Likewise.
40997 * include/wctype.h: Likewise.
40998 * include/wordexp.h: Likewise.
40999
41000 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41001
41002 * time/time.h: TIME_UTC must be a macro.
41003 Make timespec_get available for ISO C11 only as well.
41004
41005 2012-02-24 Ulrich Drepper <drepper@gmail.com>
41006
41007 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41008 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41009
41010 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41011
41012 * configure.in: Use -o not -a in test for unsupported multi-arch.
41013
41014 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41015
41016 * manual/texinfo.tex: Update to version 2012-01-19.16.
41017
41018 2012-02-24 Joseph Myers <joseph@codesourcery.com>
41019
41020 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41021
41022 2012-02-24 Roland McGrath <roland@hack.frob.com>
41023
41024 [BZ #13738]
41025 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41026 * manual/fdl-1.3.texi: New file.
41027 * manual/fdl-1.1.texi: File removed.
41028
41029 [BZ #13738]
41030 * manual/libc.texinfo (FDL_VERSION): New @set.
41031 Use it for mention of FDL in cover text.
41032 (Documentation License): Use it in @include file name.
41033
41034 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41035 Roland McGrath <roland@hack.frob.com>
41036
41037 [BZ #5461]
41038 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41039 (not LONG_LONG_MAX and LONG_LONG_MIN.
41040 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41041 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41042 name.
41043 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41044
41045 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41046
41047 [BZ #2547]
41048 [BZ #11365]
41049 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41050 manipulate bits before adding and subtracting TWO23[sx].
41051 * math/libm-test.inc (nearbyint_test): Add more tests.
41052
41053 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41054
41055 [BZ #2548]
41056 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41057 bits before adding and subtracting TWO23[sx].
41058 * math/libm-test.inc (rint_test): Add more tests.
41059 (rint_test_tonearest): Likewise.
41060 (rint_test_towardzero): Likewise.
41061 (rint_test_downward): Likewise.
41062 (rint_test_upward: Likewise.
41063
41064 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41065
41066 [BZ #10110]
41067 * include/stdc-predef.h: New file. Extracted from features.h.
41068 * include/features.h: Include stdc-predef.h.
41069 * Makefile (headers): Add stdc-predef.h.
41070 * CONFORMANCE (Compiler limitations): Update.
41071
41072 2012-02-22 Joseph Myers <joseph@codesourcery.com>
41073
41074 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41075
41076 2012-02-21 David S. Miller <davem@davemloft.net>
41077
41078 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41079 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41080
41081 2012-02-20 David S. Miller <davem@davemloft.net>
41082
41083 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41084 using a normal save/restore sequence, rather than allocating a
41085 dummy stack frame just to store a frame pointer and restore.
41086 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41087
41088 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41089
41090 * manual/install.texi: Fix stray word in line-wrapped comment.
41091
41092 2012-02-20 David S. Miller <davem@davemloft.net>
41093
41094 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41095 both binutils and gcc support GOTDATA.
41096
41097 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41098 "rd %pc" in the PIC register setup sequences.
41099
41100 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41101 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41102 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41103 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41104 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41105 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41106 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41107 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41108 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41109 (SYSCALL_ERROR_HANDLER): Likewise.
41110 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41111 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41112 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41113 (SYSCALL_ERROR_HANDLER): Likewise.
41114
41115 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41116 (HAVE_GCC_GOTDATA): New.
41117 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41118 relocation support in both binutils and gcc.
41119 * sysdeps/sparc/elf/configure: Regenerate.
41120
41121 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41122 * sysdeps/sparc/sparc32/elf/configure: Delete.
41123 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41124 * sysdeps/sparc/sparc64/elf/configure: Delete.
41125 * sysdeps/sparc/elf/configure.in: New file.
41126 * sysdeps/sparc/elf/configure: Generate.
41127
41128 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41129 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41130 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41131 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41132 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41133
41134 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41135
41136 * manual/install.texi: Do not mention specific glibc version
41137 numbers.
41138 * manual/libc.texinfo (VERSION, UPDATED): Update.
41139 (@copying): Use @copyright{} and range of years.
41140
41141 2012-02-21 Joseph Myers <joseph@codesourcery.com>
41142
41143 [BZ #13695]
41144 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41145 [crti.S not in sysdirs] (generated): Do not append.
41146 [crti.S not in sysdirs] (omit-deps): Likewise.
41147 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41148 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41149 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41150 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41151 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41152 Likewise.
41153 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41154 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41155 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41156 * csu/defs.awk: Remove file.
41157 * sysdeps/generic/initfini.c: Likewise.
41158 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41159 variable.
41160 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41161 Likewise.
41162
41163 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41164
41165 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41166 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41167 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41168 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41169 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41170 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41171 <bits/epoll.h>.
41172 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41173 (__EPOLL_PACKED): Define to empty if not defined by
41174 <bits/epoll.h>.
41175 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41176 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41177 bits/epoll.h.
41178
41179 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41180
41181 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41182 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41183 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41184 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41185 <bits/timerfd.h>.
41186 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41187 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41188 bits/timerfd.h.
41189
41190 2012-02-20 Joseph Myers <joseph@codesourcery.com>
41191
41192 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41193 in C locale.
41194 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41195 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41196 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41198
41199 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41200
41201 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41202 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41203
41204 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41205
41206 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41207 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41208 defined.
41209 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41210 Likewise.
41211 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41212 entry for 2.16.
41213
41214 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41215
41216 * math/w_acos.c: Use non-signaling floating-point comparisons.
41217 * math/w_acosf.c: Likewise.
41218 * math/w_acosh.c: Likewise.
41219 * math/w_acoshf.c: Likewise.
41220 * math/w_acoshl.c: Likewise.
41221 * math/w_acosl.c: Likewise.
41222 * math/w_asin.c: Likewise.
41223 * math/w_asinf.c: Likewise.
41224 * math/w_asinl.c: Likewise.
41225 * math/w_atanh.c: Likewise.
41226 * math/w_atanhf.c: Likewise.
41227 * math/w_atanhl.c: Likewise.
41228 * math/w_exp2.c: Likewise.
41229 * math/w_exp2f.c: Likewise.
41230 * math/w_exp2l.c: Likewise.
41231 * math/w_j0.c: Likewise.
41232 * math/w_j0f.c: Likewise.
41233 * math/w_j0l.c: Likewise.
41234 * math/w_j1.c: Likewise.
41235 * math/w_j1f.c: Likewise.
41236 * math/w_j1l.c: Likewise.
41237 * math/w_jn.c: Likewise.
41238 * math/w_jnf.c: Likewise.
41239 * math/w_log.c: Likewise.
41240 * math/w_log10.c: Likewise.
41241 * math/w_log10f.c: Likewise.
41242 * math/w_log10l.c: Likewise.
41243 * math/w_log2.c: Likewise.
41244 * math/w_log2f.c: Likewise.
41245 * math/w_log2l.c: Likewise.
41246 * math/w_logf.c: Likewise.
41247 * math/w_logl.c: Likewise.
41248 * math/w_sqrt.c: Likewise.
41249 * math/w_sqrtf.c: Likewise.
41250 * math/w_sqrtl.c: Likewise.
41251 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41252 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41253 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41254 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41255 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41256
41257 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41258
41259 [BZ #9739]
41260 * manual/string.texi (strnlen): Use correct parameter name in
41261 equivalent expression.
41262
41263 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41264
41265 [BZ #11174]
41266 * manual/users.texi (seteuid): Consistently use neweuid for
41267 argument name.
41268
41269 2012-02-19 Joseph Myers <joseph@codesourcery.com>
41270
41271 [BZ #13704]
41272 * manual/nss.texi (Services in the NSS configuration): Correct
41273 list of services in example configuration file.
41274
41275 2012-02-19 Nick Bowler <nbowler@draconx.ca>
41276
41277 [BZ #11322]
41278 * manual/arith.texi: Remove statements about negative zero
41279 behaving identically to zero.
41280
41281 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41282
41283 [BZ #5993]
41284 * manual/install.texi: Do not document upgrading from libc5.
41285
41286 2012-02-18 Joseph Myers <joseph@codesourcery.com>
41287
41288 [BZ #4596]
41289 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41290
41291 2012-02-18 David S. Miller <davem@davemloft.net>
41292
41293 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41294 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41295 %o7 across the call.
41296 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41297 instead.
41298 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41299 SETUP_PIC_REG_LEAF.
41300 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41301 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41302 * sysdeps/sparc/crtn.S: Likewise.
41303
41304 2012-02-17 Ulrich Drepper <drepper@gmail.com>
41305
41306 * aout/Makefile: Remove.
41307
41308 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41309
41310 [BZ #13058]
41311 * manual/examples/argp-ex1.c (main): Format definition in GNU
41312 style.
41313 * manual/examples/argp-ex2.c (main): Likewise.
41314 * manual/examples/argp-ex3.c (main): Likewise.
41315 * manual/examples/argp-ex4.c (main): Likewise.
41316 * manual/examples/longopt.c (main): Use new-style prototype
41317 definition.
41318 * manual/examples/strncat.c (main): Specify return type and use
41319 (void) for arguments.
41320 * manual/examples/subopt.c (main): Use char **argv argument.
41321
41322 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41323
41324 [BZ #5077]
41325 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41326 rounding modes.
41327
41328 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41329
41330 [BZ #6907]
41331 * manual/string.texi (strchr): Change when strchrnul is
41332 recommended.
41333
41334 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41335
41336 [BZ #174]
41337 * manual/locale.texi (setlocale): Document LOCPATH.
41338
41339 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41340
41341 [BZ #10210]
41342 * manual/process.texi (execle): Move @dots{} before last argument.
41343
41344 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
41345
41346 [BZ #12047]
41347 * manual/charset.texi (Generic Charset Conversion): Fix typo
41348 (LC_TYPE -> LC_CTYPE).
41349
41350 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41351
41352 [BZ #5805]
41353 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41354 (scalbnf): Likewise.
41355 (scalbnl): Likewise.
41356 (scalbln): Likewise.
41357 (scalblnf): Likewise.
41358 (scalblnl): Likewise.
41359 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41360 (vwarnx): Likewise.
41361 (verr): Likewise.
41362 (verrx): Likewise.
41363 * manual/filesys.texi (telldir): Use braces around return type.
41364 * manual/llio.texi (mmap): Add space after comma.
41365 (mmap64): Likewise.
41366 * manual/math.texi (jn): Use @var{} on parameter names.
41367 (jnf): Likewise.
41368 (jnl): Likewise.
41369 (yn): Likewise.
41370 (ynf): Likewise.
41371 (ynl): Likewise.
41372 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41373 line.
41374 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41375 "...".
41376 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41377 (sched_get_priority_max): Likewise.
41378 * manual/signal.texi (sigvec): Add space after comma.
41379 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41380 names.
41381 (if_indextoname): Likewise.
41382 (if_freenameindex): Likewise.
41383 (sendto): Use ',' instead of '.' in prototype.
41384 * manual/startup.texi (syscall): Use @dots{} instead of literal
41385 "...".
41386 * manual/stdio.texi (__fpending): Separate initial words of
41387 paragraph from @deftypefun line.
41388 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41389 "...".
41390 (vsyslog): Use @var{} on parameter names.
41391 * manual/terminal.texi (stty): Use @var{} on parameter names.
41392 * manual/users.texi (getutmp): Use @var{} on parameter names.
41393 (getutmpx): Likewise.
41394
41395 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41396
41397 [BZ #6884]
41398 * manual/stdio.texi (fopen): Fix typos in description of
41399 ",ccs=STRING".
41400
41401 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41402
41403 [BZ #4026]
41404 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41405 get clock_id definition.
41406
41407 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
41408
41409 [BZ #4822]
41410 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41411 (madvise): Cast every argument to void on its own.
41412
41413 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41414
41415 [BZ #9902]
41416 * manual/startup.texi (Exit Status): Fix typo.
41417
41418 2012-02-17 Joseph Myers <joseph@codesourcery.com>
41419
41420 [BZ #10140]
41421 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41422 * manual/examples/argp-ex2.c: Likewise.
41423 * manual/examples/argp-ex3.c: Likewise.
41424
41425 2012-02-16 Richard Henderson <rth@redhat.com>
41426
41427 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41428 * sysdeps/s390/s390-32/initfini.c: Remove.
41429 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41430 * sysdeps/s390/s390-64/initfini.c: Remove.
41431
41432 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41433
41434 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41435 compiler output for sysdeps/generic/initfini.c.
41436 * sysdeps/sh/elf/initfini.c: Remove file.
41437
41438 2012-02-16 David S. Miller <davem@davemloft.net>
41439
41440 [BZ #11494]
41441 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41442
41443 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41444 * sysdeps/sparc/crti.S: New file.
41445 * sysdeps/sparc/crtn.S: New file.
41446 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41447 * sysdeps/sparc/sparc64/Makefile: Likewise.
41448
41449 2012-02-15 Mike Frysinger <vapier@gentoo.org>
41450
41451 [BZ #3335]
41452 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41453
41454 2012-02-15 Roland McGrath <roland@hack.frob.com>
41455
41456 [BZ #4822]
41457 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41458
41459 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41460 (write, read, close): Likewise.
41461 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41462
41463 2012-02-15 Joseph Myers <joseph@codesourcery.com>
41464
41465 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41466 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41467 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41468 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41469 <bits/signalfd.h>.
41470 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41472 bits/signalfd.h.
41473
41474 2012-02-14 Marek Polacek <polacek@redhat.com>
41475
41476 * sysdeps/x86_64/crti.S: New file.
41477 * sysdeps/x86_64/crtn.S: New file.
41478 * sysdeps/x86_64/elf/initfini.c: Remove file.
41479
41480 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41481
41482 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41483 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41484 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41485 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41486 <bits/inotify.h>.
41487 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41488 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41489 bits/inotify.h.
41490
41491 2012-02-13 Joseph Myers <joseph@codesourcery.com>
41492
41493 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41494 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41495 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41496 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41497 <bits/eventfd.h>.
41498 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41499 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41500 bits/eventfd.h.
41501
41502 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
41503
41504 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41505 __feraiseexcept instead of feraiseexcept.
41506
41507 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41508 nanosleep invocations.
41509 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41510 strings, and add error checking for a nanosleep invocations.
41511
41512 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
41513
41514 Replace FSF snail mail address with URLs, as per GNU coding standards.
41515 Most of the snail mail addresses were wrong anyway, and omitting
41516 them makes the source code easier to maintain. Almost all of the
41517 changes are to license notices and to locale LC_IDENTIFICATION
41518 addresses, except for this one:
41519 * manual/libc.texinfo: In "Published by", give the FSF's URL,
41520 not its snail mail address.
41521
41522 2012-02-09 Richard Henderson <rth@twiddle.net>
41523
41524 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41525 of kernel-features.h.
41526
41527 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41528
41529 2012-02-08 Marek Polacek <polacek@redhat.com>
41530
41531 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41532 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41533 * sysdeps/gnu/_G_config.h: Likewise.
41534 * sysdeps/generic/_G_config.h: Likewise.
41535
41536 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
41537
41538 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41539 tests.
41540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41541
41542 * sysdeps/powerpc/powerpc32/crti.S: New file.
41543 * sysdeps/powerpc/powerpc32/crtn.S: New file.
41544 * sysdeps/powerpc/powerpc64/crti.S: New file.
41545 * sysdeps/powerpc/powerpc64/crtn.S: New file.
41546
41547 * Makeconfig (have-initfini): Don't set.
41548 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41549 * configure.in (nopic_initfini): Don't substitute.
41550 * config.h.in (HAVE_INITFINI): Don't #undef.
41551 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41552 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41553
41554 2012-02-08 Joseph Myers <joseph@codesourcery.com>
41555
41556 Support crti.S and crtn.S provided directly by architectures.
41557 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41558 [crti.S in sysdirs] (omit-deps): Likewise.
41559 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41560 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41561 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41562 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41563 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41564 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41565 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41566 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41567 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41568 compiler output for sysdeps/generic/initfini.c.
41569 * sysdeps/i386/elf/Makefile: Remove file.
41570 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41571
41572 2012-02-07 Marek Polacek <polacek@redhat.com>
41573
41574 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41575 * sysdeps/gnu/_G_config.h: Likewise.
41576 * sysdeps/mach/hurd/_G_config.h: Likewise.
41577
41578 2012-02-07 Marek Polacek <polacek@redhat.com>
41579
41580 * math/Makefile (tests): Add tst-CMPLX2.
41581 * math/tst-CMPLX2.c: New file.
41582
41583 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
41584
41585 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41586
41587 * math/libm-test.inc (jn_test): Add missing L suffix.
41588
41589 2012-02-06 Marek Polacek <polacek@redhat.com>
41590
41591 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41592 * sysdeps/i386/fpu/e_powf.S: Likewise.
41593 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41594 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41595 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41596 * sysdeps/i386/fpu/e_pow.S: Likewise.
41597 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41598 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41599 * sysdeps/i386/fpu/s_expm1.S: Likewise.
41600 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41601 * sysdeps/i386/fpu/e_log2.S: Likewise.
41602 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41603 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41604 * sysdeps/i386/fpu/e_powl.S: Likewise.
41605 * sysdeps/i386/fpu/s_log1p.S: Likewise.
41606 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41607 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41608 * sysdeps/i386/fpu/e_logl.S: Likewise.
41609 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41610 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41611 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41612 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41613 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41614 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41615 * sysdeps/i386/fpu/e_log.S: Likewise.
41616 * sysdeps/i386/fpu/s_cexp.S: Likewise.
41617 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41618 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41619 * sysdeps/i386/fpu/e_logf.S: Likewise.
41620 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41621 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41622 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41623 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41624 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41625 * sysdeps/i386/fpu/e_log10.S: Likewise.
41626 * sysdeps/i386/fpu/s_frexp.S: Likewise.
41627 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41628 * sysdeps/i386/fpu/s_asinh.S: Likewise.
41629 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41630 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41631 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41632 * sysdeps/i386/asm-syntax.h: Likewise.
41633 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41634 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41635 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41636 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41637 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41638 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41639 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41640 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41641 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41642 * sysdeps/powerpc/sysdep.h: Likewise.
41643 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41644 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41645
41646 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41647
41648 [BZ #411]
41649 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
41650
41651 2012-02-06 Joseph Myers <joseph@codesourcery.com>
41652
41653 * sysdeps/i386/sysdep.h: Include <features.h>.
41654 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
41655 version.
41656
41657 2012-02-05 Joseph Myers <joseph@codesourcery.com>
41658
41659 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
41660 Define.
41661 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
41662 LOAD_PIC_REG_STR.
41663
41664 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41665
41666 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
41667 (SETUP_PIC_REG): Use GET_PC_THUNK.
41668 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
41669 macro.
41670
41671 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41672
41673 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
41674 for non-PIC compilation.
41675 (SETUP_PIC_REG): Add .p2align directive.
41676 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
41677 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41678 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41679 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41680 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41681 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41682 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41683 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41684 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41685 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41686 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41687 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41688 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41689 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41690 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41691 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41692 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41693 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41694 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41695 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41696 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41697 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41698 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41699 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41700 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41701 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41702 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41703 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41704 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41705 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41706 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41707 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41708 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41709 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41710 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41711 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41712 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41713 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41714 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41715 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41716 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41717
41718 2012-02-03 Joseph Myers <joseph@codesourcery.com>
41719
41720 * math/tst-CMPLX.c: Include <stdio.h>.
41721
41722 2012-01-31 Joseph Myers <joseph@codesourcery.com>
41723
41724 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
41725 float.
41726 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41727 * sysdeps/sparc/bits/mathdef.h: Likewise.
41728
41729 2012-01-31 Marek Polacek <polacek@redhat.com>
41730
41731 * libio/libio.h: Don't define _PARAMS.
41732 * locale/programs/config.h: Don't define PARAMS.
41733 * stdlib/strtol_l.c: Likewise.
41734 (__strtol_l): Remove PARAMS from the prototype.
41735
41736 2012-01-31 Ulrich Drepper <drepper@gmail.com>
41737
41738 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
41739 names. Just use the correct names. Remove unnecessary wrapper
41740 functions.
41741 * malloc/arena.c: Likewise.
41742 * malloc/hooks.c: Likewise.
41743
41744 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
41745 ARENA_TEST says not to. Simplify test for creation of a new arena.
41746 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
41747
41748 2012-01-30 Ulrich Drepper <drepper@gmail.com>
41749
41750 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
41751 into tail calls.
41752 (update_get_addr): New function.
41753 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
41754 GET_ADDR_MODULE parameter.
41755
41756 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41757
41758 * crypt/cert.c: Remove __STDC__ conditionals.
41759 * crypt/crypt-entry.c: Likewise.
41760 * crypt/crypt_util.c: Likewise.
41761 * libio/filedoalloc.c: Likewise.
41762 * libio/fileops.c: Likewise.
41763 * libio/genops.c: Likewise.
41764 * libio/iofclose.c: Likewise.
41765 * libio/iofdopen.c: Likewise.
41766 * libio/iofopen.c: Likewise.
41767 * libio/iofopen64.c: Likewise.
41768 * libio/iogetdelim.c: Likewise.
41769 * libio/iopopen.c: Likewise.
41770 * libio/obprintf.c: Likewise.
41771 * libio/oldfileops.c: Likewise.
41772 * libio/oldiofclose.c: Likewise.
41773 * libio/oldiofdopen.c: Likewise.
41774 * libio/oldiofopen.c: Likewise.
41775 * libio/oldiopopen.c: Likewise.
41776 * libio/wfiledoalloc.c: Likewise.
41777 * libio/wgenops.c: Likewise.
41778 * locale/programs/xmalloc.c: Likewise.
41779 * misc/syslog.c: Likewise.
41780 * stdio-common/xbug.c: Likewise.
41781 * string/memchr.c: Likewise.
41782 * string/memcmp.c: Likewise.
41783 * string/memrchr.c: Likewise.
41784 * string/rawmemchr.c: Likewise.
41785 * sysdeps/posix/getcwd.c: Likewise.
41786 * time/strftime_l.c: Likewise.
41787
41788 2012-01-30 Joseph Myers <joseph@codesourcery.com>
41789
41790 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
41791 * config.make.in (config-cflags-sse2avx): Define.
41792 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
41793 Fix typo.
41794
41795 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
41796
41797 * scripts/config.guess: Update from upstream config git repository.
41798 * scripts/config.sub: Likewise.
41799
41800 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
41801
41802 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
41803 (EM_NUM): Update.
41804 (R_TILEPRO_*, R_TILEGX_*): New macros.
41805
41806 * scripts/firstversions.awk: Fix bug in version range handling.
41807
41808 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
41809
41810 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
41811
41812 * include/sys/epoll.h: New file.
41813 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
41814 libc_hidden_def.
41815
41816 2012-01-28 Ulrich Drepper <drepper@gmail.com>
41817
41818 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
41819 Avoid unnecessary __WORDSIZE == 64 test.
41820 (fmaxf): Use VEX format if possible.
41821 (fmax): Likewise.
41822 (fminf): Likewise.
41823 (fmin): Likewise.
41824
41825 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
41826 * math/math_private.h: Remove libc_fegetround* and
41827 libc_fesetround*.
41828 * sysdeps/i386/configure.in: Check for -msse2avx.
41829 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
41830 also if SSE2AVX is defined.
41831 Remove libc_fegetround* and libc_fesetround*.
41832 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
41833 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
41834 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
41835 of HAS_YMM_USABLE.
41836 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41837 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41838 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41839 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41840 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41841
41842 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
41843
41844 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41845
41846 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
41847 size is not set.
41848 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41849
41850 2012-01-27 Ulrich Drepper <drepper@gmail.com>
41851
41852 [BZ #13618]
41853 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
41854 relocation.
41855 * Makeconfig (libm): Define.
41856 * elf/Makefile: Add rules to build and run tst-relsort1.
41857 * elf/tst-relsort1.c: New file.
41858 * elf/tst-relsort1mod1.c: New file.
41859 * elf/tst-relsort1mod2.c: New file.
41860
41861 2012-01-27 Joseph Myers <joseph@codesourcery.com>
41862
41863 * math/s_ldexp.c: Remove __STDC__ conditionals.
41864 * math/s_ldexpf.c: Likewise.
41865 * math/s_ldexpl.c: Likewise.
41866 * math/s_nextafter.c: Likewise.
41867 * math/s_nexttowardf.c: Likewise.
41868 * math/s_significand.c: Likewise.
41869 * math/s_significandf.c: Likewise.
41870 * math/s_significandl.c: Likewise.
41871 * math/w_jnl.c: Likewise.
41872 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
41873 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
41874 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
41875 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
41876 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
41877 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41878 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
41879 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41880 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41881 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41882 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41883 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41884 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41885 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41886 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41887 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41888 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41889 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41890 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41891 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41892 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41893 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41894 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41895 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41896 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41897 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41898 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41899 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41900 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41901 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41902 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41903 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41904 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41905 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41906 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41907 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41908 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41909 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41910 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41911 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41912 * sysdeps/ieee754/k_standard.c: Likewise.
41913 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41914 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41915 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41916 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41917 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41918 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41919 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41920 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41921 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41922 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41923 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41924 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41925 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41926 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41927 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41928 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41929 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41930 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41931 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41932 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41933 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41934 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41935 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41936 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41937 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41938 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41939 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41940 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41941 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41942 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41943 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41944 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41945 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41946 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41947 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41948 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41949 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41950 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41951 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41952 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41953 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41954 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41955 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41956 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41957 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41958 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41959 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41960 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41961 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41962 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41963 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41964 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41965 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41966 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41967 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41968 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41969 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41970 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41971 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41972 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41973 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41974 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41975 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41976 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41977 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41978 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41979 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41980 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41981 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41982 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41983 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41984 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41985 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41986 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41987 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41988 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41989 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41990 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41991 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41992 * sysdeps/ieee754/s_matherr.c: Likewise.
41993 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41994 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41995 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41996 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41997
41998 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41999
42000 * crypt/md5.h: Remove __STDC__ conditionals.
42001 * libio/libioP.h: Likewise.
42002 * locale/programs/config.h: Likewise.
42003 * sysdeps/generic/sysdep.h: Likewise.
42004 * sysdeps/i386/asm-syntax.h: Likewise.
42005 * sysdeps/s390/asm-syntax.h: Likewise.
42006 * sysdeps/unix/sysdep.h: Likewise.
42007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42009
42010 2012-01-26 Joseph Myers <joseph@codesourcery.com>
42011
42012 * libio/libio.h: Remove __STDC__ conditionals.
42013 * malloc/obstack.h: Likewise.
42014 * math/complex.h: Likewise.
42015 * math/math.h: Likewise.
42016 * sysdeps/generic/_G_config.h: Likewise.
42017 * sysdeps/gnu/_G_config.h: Likewise.
42018 * sysdeps/mach/hurd/_G_config.h: Likewise.
42019 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42020 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42021 * sysdeps/sparc/bits/mathdef.h: Likewise.
42022
42023 2012-01-26 Ulrich Drepper <drepper@gmail.com>
42024
42025 [BZ #13583]
42026 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42027 Clean up HAS_* macros.
42028 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42029 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42030 possible.
42031 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42032 HAS_AVX.
42033 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42034 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42035 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42036 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42037 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42038
42039 2012-01-25 Joseph Myers <joseph@codesourcery.com>
42040
42041 * elf/tst-unique3.cc (gets): Remove declaration.
42042 * elf/tst-unique3lib.cc (gets): Likewise.
42043 * elf/tst-unique3lib2.cc (gets): Likewise.
42044 * elf/tst-unique4.cc (gets): Likewise.
42045
42046 2012-01-24 Ulrich Drepper <drepper@gmail.com>
42047
42048 * include/stdio.h: Add C++ protection. Add gets declarations and
42049 definitions.
42050 * debug/tst-chk1.c: Don't declare gets here.
42051 * stdio-common/tst-gets.c: Likewise.
42052
42053 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42054
42055 * posix/glob: Remove directory.
42056
42057 2012-01-24 Joseph Myers <joseph@codesourcery.com>
42058
42059 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42060
42061 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42062
42063 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42064 of the non-standard EPFNOSUPPORT.
42065
42066 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42067
42068 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42069 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42070 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42071
42072 2012-01-21 Ulrich Drepper <drepper@gmail.com>
42073
42074 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42075
42076 2012-01-20 Ulrich Drepper <drepper@gmail.com>
42077
42078 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42079 transient errors.
42080 * nscd/grpcache.c (cache_addgr): Likewise.
42081 * nscd/hstcache.c (cache_addhst): Likewise.
42082 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42083 * nscd/pwdcache.c (cache_addpw): Likewise.
42084 * nscd/servicescache.c (cache_addserv): Likewise.
42085
42086 2012-01-16 Ulrich Drepper <drepper@gmail.com>
42087
42088 * malloc/malloc.c: Various cleanups.
42089 * malloc/hooks.c: Likewise.
42090
42091 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42092 * stdlib/bug-fmtmsg1.c: New file.
42093
42094 * stdlib/fmtmsg.c (init): Add missing unlock.
42095 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42096
42097 2012-01-12 Marek Polacek <polacek@redhat.com>
42098
42099 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42100 and _GNU_SOURCE.
42101
42102 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42103
42104 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42105 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42106 macro to ensure uniqueness of label name.
42107 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42108 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42109
42110 2012-01-11 Ulrich Drepper <drepper@gmail.com>
42111
42112 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42113
42114 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42115 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42116 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42117 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42118
42119 2012-01-10 Ulrich Drepper <drepper@gmail.com>
42120
42121 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42122
42123 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42124 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42125 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42126
42127 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42128
42129 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42130 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42131 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42132 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42133
42134 * math/bits/math-finite.h: Add ldexp support.
42135
42136 2012-01-10 Marek Polacek <polacek@redhat.com>
42137
42138 * locale/programs/localedef.h (show_archive_content): Add noreturn
42139 attribute.
42140
42141 2012-01-09 Ulrich Drepper <drepper@gmail.com>
42142
42143 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42144
42145 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42146
42147 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42148
42149 * io/Makefile (headers): Add bits/poll2.h.
42150
42151 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42152
42153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42154 typo #include statement.
42155
42156 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42157
42158 * include/sys/cdefs.h: Define __attribute_alloc_size.
42159 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42160 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42161 * elf/pldd.c: Likewise.
42162 * iconv/iconv_charmap.c: Likewise.
42163 * iconv/iconvconfig.c: Likewise.
42164 * iconv/strtab.c: Likewise.
42165 * locale/programs/locale.c: Likewise.
42166 * locale/programs/localedef.h: Likewise.
42167 * locale/programs/simple-hash.c: Likewise.
42168 * nscd/nscd.h: Likewise.
42169 * nss/makedb.c: Likewise.
42170 * sysdeps/generic/ldconfig.h: Likewise.
42171 * locale/programs/localedef.c: Remove xmalloc prototype.
42172 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42173
42174 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42175
42176 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42177 appropriate.
42178
42179 2012-01-08 Ulrich Drepper <drepper@gmail.com>
42180
42181 * math/Makefile (tests): Add tst-CMPLX.
42182 * math/tst-CMPLX.c: New file.
42183
42184 * math/complex.h (CMPLXL): Fix typo.
42185
42186 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42187 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42188 GLIBC_2.16.
42189 * debug/tst-chk1.c: Add poll and ppoll tests.
42190 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42191 * include/sys/poll.h: Add hidden proto for ppoll.
42192 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42193 * sysdeps/mach/hurd/ppoll.c: Likewise.
42194 * io/ppoll.c: Likewise.
42195 * debug/poll_chk.c: New file.
42196 * debug/ppoll_chk.c: New file.
42197 * include/bits/poll2.h: New file.
42198 * io/bits/poll2.h: New file.
42199
42200 [BZ #1350]
42201 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42202
42203 * configure.in: static is always set to yes. Remove.
42204 * config.make.in: Don't set build-static.
42205 * Makeconfig: Remove use of build-static.
42206 * dlfcn/Makefile: Likewise.
42207 * elf/Makefile: Likewise.
42208 * math/Makefile: Likewise.
42209 * misc/Makefile: Likewise.
42210 * nptl/Makefile: Likewise.
42211 * sysdeps/mach/hurd/Makefile: Likewise.
42212
42213 * configure.in: PWD_P is not used anymore.
42214 * config.make.in: Remove PWD_P entry.
42215
42216 * configure.in: Remove last remnants of RANLIB.
42217 No need to check for signed size_t anymore.
42218 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42219 and IA-64.
42220 Remove __builtin_expect test because we require at least gcc 3.4.
42221 * aclocal.m4: Likewise.
42222
42223 * wcsmbs/mbrtoc16.c: Implement using towc function.
42224 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42225 * wcsmbs/wcsmbsload.c: Likewise.
42226 * iconv/gconv_simple.c: Likewise.
42227 * iconv/gconv_int.h: Likewise.
42228 * iconv/gconv_builtin.h: Likewise.
42229 * iconv/iconv_prog.c: Remove CHAR16 handling.
42230
42231 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42232
42233 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42234
42235 * configure.in: Remove --with-elf and --enable-bounded options.
42236 Dont set base_machine for ia64. More non-ELF conditions removed.
42237 Remove testing and setting of leading underscore information.
42238 * config.make.in (build-bounded): Set to no.
42239 * config.h.in: Remove NO_UNDERSCORES entry.
42240 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42241 them.
42242 * csu/start.c: Remove !NO_UNDERSCORE code.
42243 * locale/localeinfo.h: Likewise.
42244 * sysdeps/generic/machine-gmon.h: Likewise.
42245 * sysdeps/generic/sysdep.h: Likewise.
42246 * sysdeps/i386/sysdep.h: Likewise.
42247 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42248 * sysdeps/mach/sysdep.h: Likewise.
42249 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42250 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42251 * sysdeps/sh/sysdep.h: Likewise.
42252 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42253 * sysdeps/unix/i386/sysdep.S: Likewise.
42254 * sysdeps/unix/sparc/start.c: Likewise.
42255 * sysdeps/unix/sparc/sysdep.S: Likewise.
42256 * sysdeps/unix/sparc/sysdep.h: Likewise.
42257 * sysdeps/unix/start.c: Likewise.
42258 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42259 * sysdeps/x86_64/sysdep.h: Likewise.
42260
42261 2012-01-07 Ulrich Drepper <drepper@gmail.com>
42262
42263 [BZ #13553]
42264 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42265 for non-gcc.
42266 * argp/argp-fmtstream.h: Use const instead __const.
42267 * argp/argp.h: Likewise.
42268 * assert/assert.h: Likewise.
42269 * bits/fenv.h: Likewise.
42270 * bits/sched.h: Likewise.
42271 * bits/sigset.h: Likewise.
42272 * bits/sigthread.h: Likewise.
42273 * catgets/nl_types.h: Likewise.
42274 * conform/data/pthread.h-data: Likewise.
42275 * crypt/crypt-private.h: Likewise.
42276 * crypt/crypt.h: Likewise.
42277 * crypt/crypt_util.c: Likewise.
42278 * ctype/ctype.h: Likewise.
42279 * debug/execinfo.h: Likewise.
42280 * debug/mbsnrtowcs_chk.c: Likewise.
42281 * debug/mbsrtowcs_chk.c: Likewise.
42282 * debug/wcsnrtombs_chk.c: Likewise.
42283 * debug/wcsrtombs_chk.c: Likewise.
42284 * debug/wcstombs_chk.c: Likewise.
42285 * dirent/dirent.h: Likewise.
42286 * dlfcn/dlfcn.h: Likewise.
42287 * elf/neededtest4.c: Likewise.
42288 * grp/grp.h: Likewise.
42289 * gshadow/gshadow.h: Likewise.
42290 * iconv/gconv.h: Likewise.
42291 * iconv/gconv_int.h: Likewise.
42292 * iconv/gconv_simple.c: Likewise.
42293 * iconv/iconv.h: Likewise.
42294 * iconv/loop.c: Likewise.
42295 * iconv/skeleton.c: Likewise.
42296 * include/aio.h: Likewise.
42297 * include/aliases.h: Likewise.
42298 * include/argz.h: Likewise.
42299 * include/arpa/inet.h: Likewise.
42300 * include/assert.h: Likewise.
42301 * include/dirent.h: Likewise.
42302 * include/dlfcn.h: Likewise.
42303 * include/execinfo.h: Likewise.
42304 * include/fcntl.h: Likewise.
42305 * include/fenv.h: Likewise.
42306 * include/glob.h: Likewise.
42307 * include/grp.h: Likewise.
42308 * include/libintl.h: Likewise.
42309 * include/mntent.h: Likewise.
42310 * include/netdb.h: Likewise.
42311 * include/pwd.h: Likewise.
42312 * include/rpc/netdb.h: Likewise.
42313 * include/sched.h: Likewise.
42314 * include/search.h: Likewise.
42315 * include/shadow.h: Likewise.
42316 * include/signal.h: Likewise.
42317 * include/stdio.h: Likewise.
42318 * include/stdlib.h: Likewise.
42319 * include/string.h: Likewise.
42320 * include/sys/socket.h: Likewise.
42321 * include/sys/stat.h: Likewise.
42322 * include/sys/statfs.h: Likewise.
42323 * include/sys/statvfs.h: Likewise.
42324 * include/sys/syslog.h: Likewise.
42325 * include/sys/time.h: Likewise.
42326 * include/sys/uio.h: Likewise.
42327 * include/time.h: Likewise.
42328 * include/unistd.h: Likewise.
42329 * include/utmp.h: Likewise.
42330 * include/wchar.h: Likewise.
42331 * include/wctype.h: Likewise.
42332 * inet/aliases.h: Likewise.
42333 * inet/arpa/inet.h: Likewise.
42334 * inet/netinet/ether.h: Likewise.
42335 * inet/netinet/in.h: Likewise.
42336 * intl/libintl.h: Likewise.
42337 * io/bits/fcntl2.h: Likewise.
42338 * io/fcntl.h: Likewise.
42339 * io/ftw.h: Likewise.
42340 * io/sys/poll.h: Likewise.
42341 * io/sys/stat.h: Likewise.
42342 * io/sys/statfs.h: Likewise.
42343 * io/sys/statvfs.h: Likewise.
42344 * io/utime.h: Likewise.
42345 * libio/bits/stdio.h: Likewise.
42346 * libio/bits/stdio2.h: Likewise.
42347 * libio/libio.h: Likewise.
42348 * libio/libioP.h: Likewise.
42349 * libio/stdio.h: Likewise.
42350 * locale/lc-ctype.c: Likewise.
42351 * locale/locale.h: Likewise.
42352 * login/utmp.h: Likewise.
42353 * malloc/arena.c: Likewise.
42354 * malloc/malloc.c: Likewise.
42355 * malloc/malloc.h: Likewise.
42356 * malloc/mcheck.c: Likewise.
42357 * malloc/mtrace.c: Likewise.
42358 * math/bits/mathcalls.h: Likewise.
42359 * math/fenv.h: Likewise.
42360 * math/math_private.h: Likewise.
42361 * misc/bits/error.h: Likewise.
42362 * misc/bits/syslog.h: Likewise.
42363 * misc/err.h: Likewise.
42364 * misc/error.h: Likewise.
42365 * misc/fstab.h: Likewise.
42366 * misc/mntent.h: Likewise.
42367 * misc/regexp.h: Likewise.
42368 * misc/search.h: Likewise.
42369 * misc/sgtty.h: Likewise.
42370 * misc/sys/mman.h: Likewise.
42371 * misc/sys/syslog.h: Likewise.
42372 * misc/sys/uio.h: Likewise.
42373 * misc/sys/xattr.h: Likewise.
42374 * misc/ttyent.h: Likewise.
42375 * nis/rpcsvc/ypclnt.h: Likewise.
42376 * nss/nss.h: Likewise.
42377 * posix/bits/unistd.h: Likewise.
42378 * posix/fnmatch.h: Likewise.
42379 * posix/glob.h: Likewise.
42380 * posix/sched.h: Likewise.
42381 * posix/spawn.h: Likewise.
42382 * posix/sys/wait.h: Likewise.
42383 * posix/unistd.h: Likewise.
42384 * posix/wordexp.h: Likewise.
42385 * pwd/pwd.h: Likewise.
42386 * resolv/netdb.h: Likewise.
42387 * resource/sys/resource.h: Likewise.
42388 * rt/aio.h: Likewise.
42389 * rt/bits/mqueue2.h: Likewise.
42390 * rt/mqueue.h: Likewise.
42391 * shadow/shadow.h: Likewise.
42392 * signal/signal.h: Likewise.
42393 * socket/send.c: Likewise.
42394 * socket/sendto.c: Likewise.
42395 * socket/sys/socket.h: Likewise.
42396 * stdio-common/printf.h: Likewise.
42397 * stdlib/bits/stdlib.h: Likewise.
42398 * stdlib/fmtmsg.h: Likewise.
42399 * stdlib/monetary.h: Likewise.
42400 * stdlib/stdlib.h: Likewise.
42401 * stdlib/ucontext.h: Likewise.
42402 * streams/stropts.h: Likewise.
42403 * string/argz.h: Likewise.
42404 * string/bits/string2.h: Likewise.
42405 * string/string.h: Likewise.
42406 * string/strings.h: Likewise.
42407 * sunrpc/rpc/auth.h: Likewise.
42408 * sunrpc/rpc/auth_des.h: Likewise.
42409 * sunrpc/rpc/clnt.h: Likewise.
42410 * sunrpc/rpc/netdb.h: Likewise.
42411 * sunrpc/rpc/pmap_clnt.h: Likewise.
42412 * sunrpc/rpc/xdr.h: Likewise.
42413 * sysdeps/generic/inttypes.h: Likewise.
42414 * sysdeps/generic/net/if.h: Likewise.
42415 * sysdeps/generic/sys/swap.h: Likewise.
42416 * sysdeps/gnu/net/if.h: Likewise.
42417 * sysdeps/gnu/utmpx.h: Likewise.
42418 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42419 * sysdeps/i386/i486/bits/string.h: Likewise.
42420 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42421 * sysdeps/s390/bits/string.h: Likewise.
42422 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42423 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42424 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42425 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42426 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42427 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42428 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42429 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42430 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42431 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42432 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42433 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42434 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42435 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42436 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42437 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42438 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42439 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42440 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42441 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42442 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42443 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42444 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42445 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42446 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42447 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42448 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42449 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42450 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42451 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42452 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42453 * sysvipc/sys/ipc.h: Likewise.
42454 * sysvipc/sys/msg.h: Likewise.
42455 * sysvipc/sys/sem.h: Likewise.
42456 * sysvipc/sys/shm.h: Likewise.
42457 * termios/termios.h: Likewise.
42458 * time/sys/time.h: Likewise.
42459 * time/time.h: Likewise.
42460 * wcsmbs/bits/wchar2.h: Likewise.
42461 * wcsmbs/uchar.h: Likewise.
42462 * wcsmbs/wchar.h: Likewise.
42463 * wctype/wctype.h: Likewise.
42464
42465 [BZ #13551]
42466 * Makeconfig: Remove all but ELF support including AIX support.
42467 * Makerules: Likewise.
42468 * config.h.in: Likewise.
42469 * config.make.in: Likewise.
42470 * configure: Likewise.
42471 * configure.in: Likewise.
42472 * csu/Makefile: Likewise.
42473 * csu/version.c: Likewise.
42474 * debug/Makefile: Likewise.
42475 * dlfcn/Makefile: Likewise.
42476 * elf/Makefile: Likewise.
42477 * extra-lib.mk: Likewise.
42478 * iconv/Makefile: Likewise.
42479 * include/libc-symbols.h: Likewise.
42480 * include/shlib-compat.h: Likewise.
42481 * resolv/Makefile: Likewise.
42482 * resolv/res_libc.c: Likewise.
42483 * rt/Makefile: Likewise.
42484 * sysdeps/i386/asm-syntax.h: Likewise.
42485 * sysdeps/i386/sysdep.h: Likewise.
42486 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42487 * sysdeps/mach/sysdep.h: Likewise.
42488 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42489 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42490 * sysdeps/s390/asm-syntax.h: Likewise.
42491 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42492 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42493 * sysdeps/sh/sysdep.h: Likewise.
42494 * sysdeps/unix/sparc/sysdep.h: Likewise.
42495 * sysdeps/wordsize-32/divdi3.c: Likewise.
42496 * sysdeps/x86_64/sysdep.h: Likewise.
42497
42498 * argp/Versions: Remove _argp_unlock_xxx.
42499
42500 [BZ #13559]
42501 * abilist/ld.abilist: Update. Adjust for removal of tls option.
42502 * abilist/libBrokenLocale.abilist: Likewise.
42503 * abilist/libanl.abilist: Likewise.
42504 * abilist/libc.abilist: Likewise.
42505 * abilist/libcrypt.abilist: Likewise.
42506 * abilist/libdl.abilist: Likewise.
42507 * abilist/libm.abilist: Likewise.
42508 * abilist/libnsl.abilist: Likewise.
42509 * abilist/libpthread.abilist: Likewise.
42510 * abilist/libresolv.abilist: Likewise.
42511 * abilist/librt.abilist: Likewise.
42512 * abilist/libthread_db.abilist: Likewise.
42513 * abilist/libutil.abilist: Likewise.
42514 * abilist/libnss_db.abilist: New file.
42515
42516 * scripts/abilist.awk: Add support for indirect functions.
42517
42518 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42519
42520 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42521
42522 * shlib-versions: Remove entries for ports architectures.
42523
42524 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
42525 files in ports.
42526 * elf/stackguard-macros.h: Remove support for IA-64.
42527 * elf/tst-auditmod1.c: Likewise.
42528 * sysdeps/generic/ldsodefs.h: Likewise.
42529
42530 * sysdeps/unix/sysv/linux/configure.in: Ports should define
42531 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42532 configure files.
42533
42534 [BZ #13552]
42535 * configure.in: Remove --enable-omitfp support.
42536 * FAQ.in: Adjust.
42537 * config.make.in: Likewise.
42538 * Makeconfig: Likewise.
42539 * manual/install.texi: Likewise.
42540
42541 In case anyone cares, the IA-64 architecture could move to ports.
42542 * sysdeps/ia64/*: Removed.
42543 * sysdeps/unix/sysv/linux/ia64/*: Removed.
42544 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42545
42546 [BZ #13555]
42547 * configure.in: Remove entries for unsupported architectures.
42548
42549 [BZ #13533]
42550 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42551 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
42552 routines.
42553 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42554 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42555 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
42556 fall back to using wcrtomb.
42557 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42558 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
42559 renaming.
42560 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42561 * wcsmbs/tst-c16c32-1.c: New file.
42562
42563 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42564 local variable.
42565
42566 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42567
42568 * elf/tst-unique3.cc: Add explicit declaration of gets.
42569 * elf/tst-unique3lib.cc: Likewise.
42570 * elf/tst-unique3lib2.cc: Likewise.
42571 * elf/tst-unique4.cc: Likewise.
42572
42573 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42574
42575 2012-01-06 Joseph Myers <joseph@codesourcery.com>
42576
42577 [BZ #13566]
42578 * assert/assert.h (static_assert): Don't define for C++.
42579 * libio/stdio.h (gets): Do declare for C++ <= C++11.
42580 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42581
42582 2012-01-03 Ulrich Drepper <drepper@gmail.com>
42583
42584 * iconv/loop.c (single loop): Fix assertion in storing of
42585 remaining bytes.
42586
42587 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42588
42589 2012-01-01 Ulrich Drepper <drepper@gmail.com>
42590
42591 * posix/getconf.c: Update copyright year.
42592 * nss/getent.c: Likewise.
42593 * nss/makedb.c: Likewise.
42594 * iconv/iconvconfig.c: Likewise.
42595 * iconv/iconv_prog.c: Likewise.
42596 * elf/ldconfig.c: Likewise.
42597 * elf/pldd.c: Likewise.
42598 * elf/sotruss.ksh: Likewise.
42599 * catgets/gencat.c: Likewise.
42600 * csu/version.c: Likewise.
42601 * elf/ldd.bash.in: Likewise.
42602 * elf/sprof.c (print_version): Likewise.
42603 * locale/programs/locale.c: Likewise.
42604 * locale/programs/localedef.c: Likewise.
42605 * login/programs/pt_chown.c: Likewise.
42606 * nscd/nscd.c (print_version): Likewise.
42607 * debug/xtrace.sh: Likewise.
42608 * malloc/memusage.sh: Likewise.
42609 * malloc/mtrace.pl: Likewise.
42610 * debug/catchsegv.sh: Likewise.
42611
42612 2011-12-30 Jakub Jelinek <jakub@redhat.com>
42613
42614 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42615 pure attribute.
42616
42617 2011-12-24 Ulrich Drepper <drepper@gmail.com>
42618
42619 [BZ #13533]
42620 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42621 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42622 transformations.
42623 * iconv/gconv_int.h: Likewise.
42624 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42625 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42626 from libc for GLIBC_2.16.
42627 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42628 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42629 * wcsmbs/uchar.h: Really define mbstate_t.
42630 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42631 * wcsmbs/c16rtomb.c: New file.
42632 * wcsmbs/mbrtoc16.c: New file.
42633 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42634 for C/POSIX locale.
42635 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42636 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42637
42638 * wcsmbs/wchar.h: Add missing __restrict.
42639
42640 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42641
42642 [BZ #13532]
42643 * time/Makefile (routines): Add timespec_get.
42644 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
42645 * time/time.h: Define TIME_UTC and declare timespec_get. Define
42646 timespec for ISO C11.
42647 * time/timespec_get.c: New file.
42648 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
42649 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
42650
42651 [BZ #13531]
42652 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
42653 * stdlib/stdlib.h: Declare aligned_alloc.
42654 * Versions.def: Add GLIBC_2.16 for libc.
42655 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
42656
42657 [BZ 13527]
42658 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
42659 ISO C11.
42660
42661 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
42662 code.
42663
42664 [BZ #13528]
42665 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
42666
42667 [BZ #13529]
42668 * assert/assert.h (static_assert): Define.
42669
42670 * version.h: Update for 2.16 development version.
42671
42672 [BZ #13526]
42673 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
42674 _ISOC11_SOURCE.
42675
42676 * version.h (RELEASE): Bump for 2.15 release.
42677 * include/features.h (__GLIBC_MINOR__): Bump to 15.
42678
42679 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
42680 Patch by Marek Polacek <mpolacek@redhat.com>.
42681
42682 * bits/byteswap.h: Protect long long constants with __extension__.
42683 * sysdeps/i386/bits/byteswap.h: Likewise.
42684 * sysdeps/ia64/bits/byteswap.h: Likewise.
42685 * sysdeps/s390/bits/byteswap.h: Likewise.
42686 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42687
42688 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42689
42690 [BZ #13540]
42691 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
42692 destination buffer.
42693 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42694
42695 2011-12-23 Marek Polacek <polacek@redhat.com>
42696
42697 * elf/dl-addr.c (determine_info): Add inline keyword.
42698 * elf/tst-auditmod4b.c (check_avx): Likewise.
42699 * elf/tst-auditmod6b.c (check_avx): Likewise.
42700 * elf/tst-auditmod6c.c (check_avx): Likewise.
42701 * elf/tst-auditmod7b.c (check_avx): Likewise.
42702
42703 2011-12-23 Ulrich Drepper <drepper@gmail.com>
42704
42705 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
42706 !__SSE_MATH__.
42707
42708 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42709
42710 [BZ #13540]
42711 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
42712 processing for last bytes.
42713
42714 2011-08-06 Bruno Haible <bruno@clisp.org>
42715
42716 [BZ #13061]
42717 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
42718 U+0385, not to U+1FEE.
42719
42720 [BZ #13062]
42721 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
42722 entry for U+00A5 U+0301.
42723
42724 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42725
42726 [BZ #13166]
42727 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
42728 buffer for the output is too small.
42729
42730 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
42731 optimization.
42732
42733 [BZ #13185]
42734 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
42735 SSE flags if possible.
42736
42737 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42738
42739 [BZ #13540]
42740 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
42741 processing for last bytes.
42742
42743 2011-12-22 Joseph Myers <joseph@codesourcery.com>
42744
42745 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
42746 (syscall-list-default-options, syscall-list-default-condition)
42747 (syscall-list-includes): Define.
42748 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
42749 list of ABIs and options and #if conditions for each ABI. Do not
42750 handle common syscalls between ABIs specially.
42751 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
42752 Remove.
42753 (syscall-list-variants, syscall-list-32bit-options)
42754 (syscall-list-32bit-condition, syscall-list-64bit-options)
42755 (syscall-list-64bit-condition): Define.
42756 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
42757 (syscall-list-variants, syscall-list-32bit-options)
42758 (syscall-list-32bit-condition, syscall-list-64bit-options)
42759 (syscall-list-64bit-condition): Define.
42760 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
42761 Remove.
42762 (syscall-list-variants, syscall-list-32bit-options)
42763 (syscall-list-32bit-condition, syscall-list-64bit-options)
42764 (syscall-list-64bit-condition): Define.
42765 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
42766 Remove.
42767 (syscall-list-variants, syscall-list-32bit-options)
42768 (syscall-list-32bit-condition, syscall-list-64bit-options)
42769 (syscall-list-64bit-condition): Define.
42770
42771 2011-12-22 Ulrich Drepper <drepper@gmail.com>
42772
42773 * locale/iso-639.def: Add brx entry.
42774
42775 [BZ #13328]
42776 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
42777 Proposed by Mariusz_Cukr <marcukr@op.pl>.
42778
42779 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
42780 __feraiseexcept_renamed.
42781
42782 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42783
42784 [BZ #13538]
42785 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
42786 EPOLLET with unsigned values.
42787 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42788 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42789
42790 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
42791 to large cancellation.
42792 * math/s_cacoshf.c: Likewise.
42793 * math/s_cacoshl.c: Likewise.
42794
42795 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
42796
42797 [BZ #13305]
42798 [BZ #12786]
42799 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
42800 * math/s_cacoshf.c: Likewise.
42801 * math/s_cacoshl.c: Likewise.
42802
42803 2011-12-21 Ulrich Drepper <drepper@gmail.com>
42804
42805 [BZ #13439]
42806 * iconv/gconv.h: Define __GCONV_SWAP.
42807 * iconvdata/unicode.c: The swap bit must be stored in __flags.
42808 * iconvdata/utf-16.c: Likewise.
42809 * iconvdata/utf-32.c: Likewise.
42810
42811 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
42812
42813 [BZ #13524]
42814 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
42815 numerator after shifting it by one limb.
42816
42817 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
42818
42819 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
42820 under [__USE_EXTERN_INLINES].
42821
42822 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42823
42824 [BZ #13446]
42825 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
42826
42827 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42828
42829 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
42830 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
42831 optimized code.
42832 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
42833 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
42834 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
42835 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
42836 for strncasecmp/strncasecmp_l compilation.
42837 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
42838 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
42839
42840 2011-12-08 Marek Polacek <mpolacek@redhat.com>
42841
42842 [BZ #13484]
42843 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
42844 of __asm__.
42845
42846 2011-12-17 Ulrich Drepper <drepper@gmail.com>
42847
42848 [BZ #13506]
42849 * time/tzfile.c (__tzfile_read): Check values from file header.
42850
42851 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
42852
42853 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
42854 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
42855 * powerpc/powerpc32/dl-start.S: Likewise.
42856 * powerpc/powerpc32/elf/start.S: Likewise.
42857 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42858 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
42859 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
42860 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
42861 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42862 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
42863 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
42864 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42865 * powerpc/powerpc32/fpu/s_round.S: Likewise.
42866 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42867 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42868 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42869 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42870 * powerpc/powerpc32/memset.S: Likewise.
42871 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42872 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42873 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42874 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42875 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42876 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42877 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42878 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42879 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
42880 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
42881 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
42882 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42883 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42884
42885 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42886
42887 * math/libm-test.inc: Added more nearbyint tests.
42888 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42889 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42890 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42891 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42892
42893 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42894
42895 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42896 FD_CLOEXEC.
42897
42898 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42899
42900 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42901 Add wcscpy-ssse3 wcscpy-c.
42902 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42903 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42904 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42905 * sysdeps/x86_64/wcschr.S: New file.
42906 * sysdeps/x86_64/wcsrchr.S: New file.
42907 * string/test-strcmp.c: Remove checking of wcscmp function for
42908 wrong alignments.
42909 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42910 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42911 wcsrchr-sse2 wcsrchr-c.
42912 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42913 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42914 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42915 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42916 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42917 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42918 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42919 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42920 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42921 * wcsmbc/wcschr.c (WCSCHR): New macro.
42922
42923 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42924
42925 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42926 * wcsmbs/test-wcsrchr.c: New file.
42927 * string/test-strrchr.c: Add wcsrchr support.
42928 (WIDE): New macro.
42929 * wcsmbs/test-wcscpy.c: New file.
42930 * string/test-strcpy.c: Add wcscpy support.
42931 (WIDE): New macro.
42932
42933 2011-12-10 Ulrich Drepper <drepper@gmail.com>
42934
42935 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42936 the inner loop.
42937
42938 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42939
42940 [BZ #13472]
42941 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42942
42943 2011-12-04 Ulrich Drepper <drepper@gmail.com>
42944
42945 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42946 Minor optimizations.
42947
42948 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42949 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42950 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42951
42952 2011-12-03 Ulrich Drepper <drepper@gmail.com>
42953
42954 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42955 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42956 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42957 for gcc to avoid warnings.
42958 * inet/Makefile (tests): Add tst-checks.
42959 * inet/tst-checks.c: New file.
42960
42961 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42962 warning.
42963
42964 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42965 __wmemcmp_sse2.
42966
42967 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42968 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42969
42970 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42971
42972 2011-12-02 Ulrich Drepper <drepper@gmail.com>
42973
42974 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42975 problem.
42976
42977 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42978
42979 2011-11-29 Joseph Myers <joseph@codesourcery.com>
42980
42981 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42982 conditional on GCC version.
42983 (__arch_compare_and_exchange_val_8_acq)
42984 (__arch_compare_and_exchange_val_16_acq)
42985 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42986 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42987 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42988
42989 2011-12-02 Joseph Myers <joseph@codesourcery.com>
42990
42991 * sysdeps/sh/backtrace.c: New file.
42992
42993 2011-12-02 Andreas Schwab <schwab@redhat.com>
42994
42995 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42996 parenthesis.
42997
42998 2011-12-01 Andreas Schwab <schwab@redhat.com>
42999
43000 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43001 falling back to utime.
43002
43003 2011-11-30 Andreas Schwab <schwab@redhat.com>
43004
43005 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43006 expectations for float.
43007
43008 2011-11-29 Andreas Schwab <schwab@redhat.com>
43009
43010 * locale/weight.h (findidx): Add parameter len.
43011 * locale/weightwc.h (findidx): Likewise.
43012 * posix/fnmatch_loop.c (FCT): Adjust caller.
43013 * posix/regcomp.c (build_equiv_class): Likewise.
43014 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43015 * posix/regexec.c (check_node_accept_bytes): Likewise.
43016 * string/strcoll_l.c (STRCOLL): Likewise.
43017 * string/strxfrm_l.c (STRXFRM): Likewise.
43018
43019 2011-11-17 Ulrich Drepper <drepper@gmail.com>
43020
43021 * Makefile.in: Remove CVSOPT handling.
43022 * configure.in: Remove use of AC_REVISION.
43023 * iconvdata/Makefile (distribute): No need to filter out CVS.
43024 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43025 handling.
43026
43027 2011-11-16 Andreas Schwab <schwab@redhat.com>
43028
43029 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43030 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43031 [USE_AS_STRNCASECMP_L]: Likewise.
43032 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43033 NO_TLS_DIRECT_SEG_REFS.
43034 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43035 Fix argument offsets for non-PIC.
43036 [USE_AS_STRNCASECMP_L]: Likewise.
43037 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43038 NO_TLS_DIRECT_SEG_REFS.
43039
43040 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43041
43042 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43043 O_CLOEXEC.
43044 * locale/loadlocale.c (_nl_load_locale): Likewise.
43045
43046 2011-11-15 Andreas Schwab <schwab@redhat.com>
43047
43048 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43049 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43050 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43051 (SYSCALL_GETTIME): Set errno on error.
43052
43053 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43054 count references to noai6ai_cached.
43055
43056 2011-11-15 Ulrich Drepper <drepper@gmail.com>
43057
43058 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43059
43060 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43061 FD_CLOEXEC for /proc/self/maps.
43062
43063 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43064 FD_CLOEXEC for /proc/meminfo.
43065
43066 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43067 gai.conf.
43068
43069 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43070 FD_CLOEXEC for given file.
43071
43072 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43073
43074 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43075 FD_CLOEXEC for /etc/hosts.
43076 (_gethtent): Likewise.
43077
43078 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43079
43080 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43081 cancellation and set FD_CLOEXEC for /etc/netgroup.
43082
43083 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43084 reading /etc/publickey.
43085
43086 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43087 allow cancellation when reading /etc/group.
43088
43089 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43090 cancellation.
43091 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43092
43093 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43094 when using data file.
43095
43096 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43097
43098 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43099 (write_nis_obj): Use "c" and "e" in fopen.
43100
43101 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43102
43103 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43104
43105 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43106
43107 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43108
43109 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43110 locale.alias.
43111
43112 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43113
43114 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43115
43116 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43117
43118 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43119 file parsing and set FD_CLOEXEC.
43120
43121 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43122
43123 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43124
43125 2011-11-14 Andreas Schwab <schwab@redhat.com>
43126
43127 * malloc/arena.c (arena_get2): Don't call reused_arena when
43128 _int_new_arena failed.
43129
43130 2011-11-14 Ulrich Drepper <drepper@gmail.com>
43131
43132 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43133 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43134 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43135 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43136 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43137 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43138 to compile strcasecmp and strncasecmp.
43139 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43140 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43141
43142 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43143
43144 2011-11-13 Ulrich Drepper <drepper@gmail.com>
43145
43146 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43147 locale-defines.sym to gen-as-const-headers.
43148 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43149 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43150 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43151 to compile strcasecmp and strncasecmp.
43152 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43153 strcasecmp_l and strncasecmp_l.
43154 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43155 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43156 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43157 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43158 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43159 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43160 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43161 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43162 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43163 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43164 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43165
43166 2011-11-12 Ulrich Drepper <drepper@gmail.com>
43167
43168 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43169 result of SYSDEP_GETTIME_CPU to retval.
43170 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43171 parameter list to macro. Remove trailing semicolon. Adjust users.
43172
43173 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43174 variable.
43175
43176 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43177 mantissa words.
43178 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43179
43180 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43181 from unused variable.
43182
43183 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43184 DWARF definitions.
43185 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43186 for assembling.
43187
43188 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43189 over namespaces.
43190
43191 * sunrpc/rpc_prot.c (rejected): Fix case value.
43192
43193 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43194 unsigned long long int to avoid warnings in shift.
43195
43196 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43197 of use of trans.
43198 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43199 variable tmp.
43200
43201 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43202 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43203 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43204
43205 * nis/nis_table.c (nis_list): Use variable of correct type for
43206 result of __follow_path call.
43207
43208 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43209
43210 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43211 of math functions ceil, trunc, floor, round, and sqrt, when
43212 avaliable on the platform.
43213 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43214 name clash.
43215 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43216 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43217 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43218
43219 2011-10-30 Marek Polacek <mpolacek@redhat.com>
43220
43221 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43222 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43223
43224 2011-11-11 Roland McGrath <roland@hack.frob.com>
43225
43226 * include/unistd.h: Fix __readlink return type.
43227 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43228
43229 2011-11-11 Ulrich Drepper <drepper@gmail.com>
43230
43231 * stdlib/ucontext.h: Undo last change for makecontext.
43232
43233 2011-11-11 Andreas Schwab <schwab@redhat.com>
43234
43235 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43236
43237 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43238 * setjmp/setjmp.h: Mark functions as non-leaf.
43239 * setjmp/bits/setjmp2.h: Likewise.
43240 * stdlib/ucontext.h: Likewise.
43241
43242 2011-11-10 Andreas Schwab <schwab@redhat.com>
43243
43244 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43245 (reused_arena): Don't check arena limit.
43246 (arena_get2): Atomically check arena limit.
43247
43248 2011-11-08 Ulrich Drepper <drepper@gmail.com>
43249
43250 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43251 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43252
43253 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43254 instructions.
43255
43256 2011-11-07 Andreas Schwab <schwab@redhat.com>
43257
43258 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43259 handler when locking.
43260
43261 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43262 Fix size of allocated buffer.
43263
43264 2011-11-04 Andreas Schwab <schwab@redhat.com>
43265
43266 [BZ #10103]
43267 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43268 declarations for long double functions.
43269 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43270
43271 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43272
43273 2011-11-03 Andreas Schwab <schwab@redhat.com>
43274
43275 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43276 installed.
43277
43278 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43279 is disabled.
43280
43281 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43282
43283 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43284
43285 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43286
43287 * include/alloca.h (stackinfo_alloca_round): Define.
43288 (extend_alloca): Use it.
43289 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43290 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43291 here.
43292
43293 * scripts/check-local-headers.sh: Ignore libaudit.h.
43294
43295 * nscd/Makefile (extra-objs): Make recursively expanded.
43296
43297 2011-11-01 Ulrich Drepper <drepper@gmail.com>
43298
43299 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43300 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43301
43302 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43303 * posix/tst-rfc3484-2.c: Likewise.
43304 * posix/tst-rfc3484-3.c: Likewise.
43305
43306 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43307 process_vm_writev.
43308 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43309 process_vm_writev.
43310 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43311 process_vm_writev from libc using GLIBC_2.15 version.
43312
43313 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43314
43315 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43316
43317 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43318 stack usage.
43319
43320 2011-10-31 Ulrich Drepper <drepper@gmail.com>
43321
43322 [BZ #13367]
43323 * nss/getent.c (initgroups_keys): Show error message in case no group
43324 names are given.
43325
43326 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43327 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43328 __bump_nl_timestamp.
43329 * nscd/connections (nscd_init): When host database is served open
43330 netlink socket and request notification about configuration changes.
43331 (main_loop_poll): Track netlink file descriptor and bump timestamp
43332 in case data becomes available.
43333 (main_loop_epoll): Likewise.
43334 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43335 (database_pers_head): Add extra_data fileds.
43336 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43337 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43338 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43339 Adjust caller.
43340 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43341 in6ai data, call __free_in6ai.
43342 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43343 Add -DHAVE_NETLINK.
43344 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43345 interface information. Reuse previous data if netlink timestamp
43346 is not changed.
43347 (__bump_nl_timestamp): New function.
43348 (__free_in6ai): New function.
43349
43350 2011-10-30 Ulrich Drepper <drepper@gmail.com>
43351
43352 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43353 close_not_cancel_no_status here.
43354 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43355
43356 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43357
43358 [BZ #13276]
43359 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43360 return value.
43361
43362 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43363 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43364 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43365
43366 2011-07-03 Andreas Jaeger <aj@suse.de>
43367
43368 [BZ #10709]
43369 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43370 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43371 * math/libm-test.inc (sin_test): Add test case.
43372
43373 2011-10-29 Ulrich Drepper <drepper@gmail.com>
43374
43375 [BZ #13337]
43376 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43377 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43378
43379 * elf/chroot_canon.c (chroot_canon): Cleanups.
43380
43381 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43382
43383 [BZ #13335]
43384 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43385 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43386
43387 * string/test-strchr.c: Make usable for strchrnul testing.
43388 * string/test-strchrnul.c: New file.
43389 * string/Makefile (strop-tests): Add strchrnul.
43390
43391 * po/it.po: Update from translation team.
43392 * po/es.po: Likewise.
43393
43394 2011-10-28 Ulrich Drepper <drepper@gmail.com>
43395
43396 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43397 the three constants needed as parameters. Drop the others.
43398 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43399 __m128i_strloadu_tolower.
43400 Create and initialize variable zero and use it in all the places
43401 where _mm_setzero_si128 was used.
43402
43403 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43404 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43405 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43406 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43407 anymore.
43408 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43409 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43410 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43411 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43412 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43413 __mpranred, __mptan.
43414 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43415 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43416 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43417 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43418 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43419 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43420 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43421 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43422 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43423
43424 2011-10-28 Andreas Schwab <schwab@redhat.com>
43425
43426 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43427 redefine if SHARED.
43428 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43429
43430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43431 wide char related routines to wcsmbs subdir.
43432
43433 2011-10-27 Andreas Schwab <schwab@redhat.com>
43434
43435 [BZ #13344]
43436 * misc/sys/cdefs.h (__THROWNL): Define.
43437 * posix/unistd.h: Use __THREADNL instead of __THREAD
43438 for memory synchronization functions.
43439
43440 2011-10-26 Roland McGrath <roland@hack.frob.com>
43441
43442 [BZ #13349]
43443 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43444 doesn't exist.
43445 * manual/stdio.texi (Obstack Streams): Node removed.
43446
43447 2011-10-26 Andreas Schwab <schwab@redhat.com>
43448
43449 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43450 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43451 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43452
43453 * math/math_private.h (math_force_eval): Allow non-addressable
43454 arguments.
43455 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43456
43457 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43458
43459 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43460 file is not needed.
43461
43462 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43463 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43464 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43465 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43466 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43467 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43468 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43469 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43470 Add AVX variants.
43471 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43472 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43473 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43474 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43475 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43476 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43477 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43478 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43479 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43480 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43481 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43482 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43483 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43484 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43485 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43486 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43487 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43488 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43489 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43490
43491 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43492 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
43493
43494 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43495 place. Use VEX encoding when compiling for AVX.
43496
43497 2011-10-25 Andreas Schwab <schwab@redhat.com>
43498
43499 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43500 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43501
43502 * string/test-strchr.c (do_test): Don't generate NUL bytes.
43503
43504 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43505
43506 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43507 useless if() expression.
43508 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43509 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43510 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43511 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43512 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43513 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43514 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43515 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43516 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43517 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43518 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43519 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43520 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43521 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43522 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43523 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43524 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43525 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43526 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43527
43528 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43529
43530 2011-10-25 Andreas Schwab <schwab@redhat.com>
43531
43532 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43533 condition.
43534 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43535
43536 2011-10-25 Ulrich Drepper <drepper@gmail.com>
43537
43538 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43539 .text section. Avoid duplicate constants.
43540 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43541 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43542 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43543 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43544 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43545 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43546 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43547 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43548 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43549 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43550 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43551 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43552 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43553 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43554 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43555 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43556 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43557 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43558 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43559 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43560 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43561 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43562 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43563 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43564 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43565 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43566 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43567 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43568 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43569 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43570 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43571 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43572 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43573 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43574 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43575 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43576 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43577 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43578 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43579 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43580 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43581 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43582 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43583 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43584 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43585
43586 2011-10-24 Ulrich Drepper <drepper@gmail.com>
43587
43588 * sysdeps/x86_64/dla.h: Move to ...
43589 * sysdeps/x86_64/fpu/dla.h: ...here.
43590 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43591 situations. Use __builtin_fma only for gcc 4.6 and up.
43592
43593 * config.make.in: Add have-mfma4 entry.
43594 * configure.in: Substitute libc_cv_cc_fma4.
43595 * math/Makefile (dbl-only-routines): Add sincostab.
43596 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43597 Use __sincostab not sincos.
43598 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43599 name is a macro.
43600 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43601 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43602 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43603 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
43604 using __copysign.
43605 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
43606 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
43607 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43608 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43609 and __inv.
43610 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43611 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43612 __copysign.
43613 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
43614 define aliases when function name is a macro.
43615 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43616 sysdeps/ieee754/dbl-64/sincos.tbl.
43617 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43618 fma4-enabled routines.
43619 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43620 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43621 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43622 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43623 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43624 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43625 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43626 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43627 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43628 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43629 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43630 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43631 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43632 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43633 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43634 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43635 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43636 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43637 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43638 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43639 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43640 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43641 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43642 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43643 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43644 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
43645 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
43646 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
43647 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
43648 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
43649
43650 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
43651 rename.
43652 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43653 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43654 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43655 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43656 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43657 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43658 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43659 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43660
43661 2011-10-24 Andreas Schwab <schwab@redhat.com>
43662
43663 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
43664
43665 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43666
43667 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
43668
43669 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
43670 prediction.
43671 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
43672
43673 * string/strnlen.c: Don't define STRNLEN, reverse logic.
43674 Remove unused variable magic_bits.
43675 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
43676
43677 * string/strnlen.c: Define and use STRNLEN macro.
43678 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
43679 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
43680 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
43681 * wcsmbs/wcslen.c: Define and use WCSLEN.
43682 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
43683 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
43684 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
43685 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
43686 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
43687 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
43688 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43689
43690 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43691
43692 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43693 strnlen-sse2-no-bsf.
43694 Rename strlen-no-bsf to strlen-sse2-no-bsf.
43695 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
43696 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
43697 Add strnlen support.
43698 (USE_AS_STRNLEN): New macro.
43699 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
43700 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
43701 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
43702 * sysdeps/x86_64/wcslen.S: New file.
43703
43704 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
43705
43706 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43707 XMM-moves are used for copying on small sizes.
43708
43709 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43710
43711 * wcsmbs/Makefile (strop-tests): Add wcschr.
43712 * wcsmbs/test-wcschr.c: New file.
43713 * string/test-strchr.c: Update.
43714 Add wcschr support.
43715 (WIDE): New macro.
43716
43717 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43718
43719 * wcsmbs/Makefile (strop-tests): Add wcslen.
43720 * wcsmbs/test-wcslen.c: New file.
43721 * string/test-strlen.c: Update.
43722 Add wcslen support.
43723 (WIDE): New macro.
43724
43725 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43726
43727 * po/it.po: Update from translation team.
43728
43729 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43730
43731 * sysdeps/x86_64/wcscmp.S: Update.
43732 Fix wrong comparison semantics.
43733 wcscmp shall use signed comparison not unsigned.
43734 Don't use substraction to avoid overflow bug.
43735 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43736 * wcsmbc/wcscmp.c: Likewise.
43737 * string/test-strcmp.c: Likewise.
43738 Add new tests to check cases with negative values.
43739
43740 2011-10-23 Ulrich Drepper <drepper@gmail.com>
43741
43742 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
43743 * sysdeps/x86_64/dla.h: ...here. New file.
43744 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
43745 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43746 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43747 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43748 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43749 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43750 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43751 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43752 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43753
43754 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
43755
43756 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
43757 __ynl_finite aliases.
43758
43759 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43760
43761 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43762
43763 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
43764 define DLA_FMA.
43765 [DLA_FMA] (EMULV): Use DLA_FMA.
43766 [DLA_FMA] (MUL12): Use EMULV.
43767 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
43768 that are not needed.
43769 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43770 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43771 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43772 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43773 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43774 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43775 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43776
43777 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
43778
43779 * math/s_nan.c: Undef __nan.
43780 * math/s_nanf.c: Undef __nanf.
43781 * math/s_nanl.c: Undef __nanl.
43782 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
43783 "math_private.h".
43784
43785 2011-10-22 Ulrich Drepper <drepper@gmail.com>
43786
43787 * math/s_catan.c: Add branch predictions.
43788 * math/s_catanf.c: Likewise.
43789 * math/s_catanh.c: Likewise.
43790 * math/s_catanhf.c: Likewise.
43791 * math/s_catanhl.c: Likewise.
43792 * math/s_catanl.c: Likewise.
43793 * math/s_cexp.c: Likewise.
43794 * math/s_cexpf.c: Likewise.
43795 * math/s_cexpl.c: Likewise.
43796 * math/s_clog.c: Likewise.
43797 * math/s_clog10.c: Likewise.
43798 * math/s_clog10f.c: Likewise.
43799 * math/s_clog10l.c: Likewise.
43800 * math/s_clogf.c: Likewise.
43801 * math/s_clogl.c: Likewise.
43802 * math/s_csqrt.c: Likewise.
43803 * math/s_csqrtf.c: Likewise.
43804 * math/s_csqrtl.c: Likewise.
43805 * math/s_ctanf.c: Likewise.
43806 * math/s_ctanh.c: Likewise.
43807 * math/s_ctanhf.c: Likewise.
43808 * math/s_ctanhl.c: Likewise.
43809 * math/s_ctanl.c: Likewise.
43810
43811 * math/math_private.h: Define __nan, __nanf, __nanl.
43812 * math/s_cacosh.c: Include <math_private.h>.
43813 * math/s_cacoshl.c: Likewise.
43814 * math/s_casinh.c: Likewise.
43815 * math/s_casinhf.c: Likewise.
43816 * math/s_casinhl.c: Likewise.
43817 * math/s_ccos.c: Rely entire on ccosh.
43818 * math/s_ccosf.c: Rely entire on ccoshf.
43819 * math/s_ccosl.c: Rely entirely on ccoshl.
43820 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
43821 Remove tests for FE_INVALID.
43822 * math/s_ccoshf.c: Likewise.
43823 * math/s_ccoshl.c: Likewise.
43824 * math/s_csin.c: Likewise.
43825 * math/s_csinf.c: Likewise.
43826 * math/s_csinh.c Likewise.
43827 * math/s_csinhf.c: Likewise.
43828 * math/s_csinhl.c: Likewise.
43829 * math/s_csinl.c: Likewise.
43830 * math/s_ctan.c: Likewise.
43831 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
43832 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
43833 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
43834
43835 2011-10-21 Ulrich Drepper <drepper@gmail.com>
43836
43837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
43838 compilation problems.
43839
43840 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
43841 __builtin_expect.
43842
43843 2011-10-20 Ulrich Drepper <drepper@gmail.com>
43844
43845 * sysdeps/i386/configure.in: Test for -mfma4 option.
43846 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
43847 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
43848 COMMON_CPUID_INDEX_80000001.
43849 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
43850 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
43851 use it if FMA3 is not supported.
43852 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
43853
43854 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
43855 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43856
43857 2011-10-20 Andreas Schwab <schwab@redhat.com>
43858
43859 [BZ #12892]
43860 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
43861 it would create a cycle with a link time dependency.
43862
43863 2011-10-19 Ulrich Drepper <drepper@gmail.com>
43864
43865 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
43866 instruction.
43867 * string/Makefile (strop-tests): Add rawmemchr.
43868 * string/test-rawmemchr.c: New file.
43869
43870 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
43871 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
43872 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
43873 when compiling str{,n}casecmp and when AVX is available. Hook up
43874 new optimized code in initializers.
43875
43876 2011-10-19 Andreas Schwab <schwab@redhat.com>
43877
43878 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
43879 __feraiseexcept instead of feraiseexcept.
43880
43881 2011-10-18 Ulrich Drepper <drepper@gmail.com>
43882
43883 * math/math_private.h: Define defaults for libc_fetestexcept and
43884 libc_feupdateenv.
43885 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43886 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43887 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43888 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43889 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43890 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43891 libc_fetestexcept and libc_feupdateenv.
43892
43893 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43894 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43895 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43896 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43897 libc_feholdexcept_setround.
43898
43899 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43900 Add s_nearbyint-c and s_nearbyintf-c.
43901 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43902 nearbyintf inlines.
43903 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43904 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43905 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43906 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43907
43908 * math/math_private.h: Define defaults for libc_fegetround,
43909 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43910 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43911 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43912 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43913 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43914 standard functions.
43915 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43916 Remove comments and hacks for old compiler versions.
43917 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43918 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43919 libc_feholdexceptl.
43920
43921 2011-10-18 Andreas Schwab <schwab@redhat.com>
43922
43923 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43924 (__feraiseexcept_renamed): Add __NTH.
43925 (feraiseexcept): Add __NTH. Rename local variables to fix
43926 namespace violations.
43927
43928 2011-10-17 Ulrich Drepper <drepper@gmail.com>
43929
43930 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43931
43932 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43933
43934 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43935 recently added interfaces.
43936 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43937
43938 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43939 about macro parameter expansion.
43940
43941 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43942 __NO_MATH_INLINES is defined. Cleanups.
43943
43944 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43945 and __floorf is target has SSE4.1.
43946 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43947 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43948 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43949 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43950
43951 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43952 name.
43953 (floorf): Likewise.
43954
43955 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43956
43957 2011-10-17 Andreas Schwab <schwab@redhat.com>
43958
43959 * misc/sys/cdefs.h: Fix last change.
43960
43961 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43962 database lookup.
43963
43964 2011-10-16 Ulrich Drepper <drepper@gmail.com>
43965
43966 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43967
43968 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43969 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43970 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43971 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43972 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43973 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43974 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43975 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43976 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43977 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43978 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43979 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43980 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43981 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43982 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43983 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43984 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43985 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43986 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43987 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43988 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43989 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43990
43991 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43992 ceil, ceilf, floor, floorf.
43993
43994 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43995 Perform IRELATIVE relocations last.
43996
43997 * elf/do-rel.h: Add another parameter nrelative, replacing the
43998 local variable with the same name. Change name of the function
43999 to end in Rel or Rela (uppercase).
44000 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44001 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44002 elf_dynamic_do_##reloc function.
44003
44004 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44005
44006 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44007 is sufficient, at least on modern CPUs.
44008
44009 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44010
44011 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44012 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44013
44014 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44015 __expl_finite.
44016 * math/bits/math-finite.h: Add entries for exp.
44017 * math/e_expl.c: Add __*_finite alias.
44018 * sysdeps/i386/fpu/e_exp.S: Likewise.
44019 * sysdeps/i386/fpu/e_expf.S: Likewise.
44020 * sysdeps/i386/fpu/e_expl.c: Likewise.
44021 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44022 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44023 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44024 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44025 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44026 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44027 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44028
44029 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44030 is sufficient, at least on modern CPUs.
44031
44032 * ctype/ctype-info.c (__ctype_init): Define.
44033 * include/ctype.h (__ctype_init): Declare.
44034 (__ctype_b_loc): The variable is always initialized.
44035 (__ctype_toupper_loc): Likewise.
44036 (__ctype_tolower_loc): Likewise.
44037 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44038 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44039
44040 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44041
44042 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44043
44044 * configure.in: Also look in $cxxmachine/include for C++ system
44045 headers.
44046
44047 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44048
44049 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44050 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44051 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44052 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44053 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44054 (USE_AS_WMEMCMP): New macro.
44055 Fixing indents.
44056 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44057 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44058 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44059 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44060 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44061 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44062 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44063 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44064 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44065 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44066 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44067 (USE_AS_WMEMCMP): New macro.
44068 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44069 * sysdeps/string/test-memcmp.c: Update.
44070 Fix simple_wmemcmp.
44071 Add new tests.
44072 * wcsmbs/wmemcmp.c: Update.
44073 (WMEMCMP): New macro.
44074 Fix overflow bug.
44075
44076 2011-10-12 Andreas Jaeger <aj@suse.de>
44077
44078 [BZ #13268]
44079 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44080
44081 2011-10-15 Ulrich Drepper <drepper@gmail.com>
44082
44083 * libio/iofwide.c (do_length): Avoid warning.
44084
44085 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44086
44087 2011-10-14 Ulrich Drepper <drepper@gmail.com>
44088
44089 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44090
44091 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44092 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44093 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44094 * sysdeps/i386/i686/fpu/e_log.S: New file.
44095 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44096 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44097
44098 * ctype/ctype.h: Add support for inlined isXXX functions when
44099 compiling C++ code.
44100
44101 2011-10-14 Andreas Schwab <schwab@redhat.com>
44102
44103 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44104
44105 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44106
44107 2011-10-13 Roland McGrath <roland@hack.frob.com>
44108
44109 [BZ #13291]
44110 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44111
44112 2011-10-13 Andreas Schwab <schwab@redhat.com>
44113
44114 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44115 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44116 feraiseexcept.
44117
44118 * sysdeps/x86_64/memrchr.S: Check for zero size.
44119
44120 * string/stratcliff.c: Add memrchr tests.
44121
44122 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44123
44124 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44125 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44126 rawmemchr-sse2 rawmemchr-sse2-bsf.
44127 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44128 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44129 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44130 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44131 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44132 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44133 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44134 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44135 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44136 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44137 * string/memrchr.c (MEMRCHR): New macro.
44138
44139 2011-10-12 Ulrich Drepper <drepper@gmail.com>
44140
44141 Add integration with gcc's -ffinite-math-only and optimize wrapper
44142 functions in libm.
44143 * Versions.def: Define GLIBC_2.15 version for libm.
44144 * math/Makefile (headers): Add bits/math-finite.h.
44145 * math/bits/math-finite.h: New file.
44146 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44147 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44148 * math/e_acoshl.c: Add __*_finite alias.
44149 * math/e_acosl.c: Likewise.
44150 * math/e_asinl.c: Likewise.
44151 * math/e_atan2l.c: Likewise.
44152 * math/e_atanhl.c: Likewise.
44153 * math/e_coshl.c: Likewise.
44154 * math/e_exp10.c: Likewise.
44155 * math/e_exp10f.c: Likewise.
44156 * math/e_exp10l.c: Likewise.
44157 * math/e_exp2l.c: Likewise.
44158 * math/e_fmodl.c: Likewise.
44159 * math/e_gammal_r.c: Likewise.
44160 * math/e_hypotl.c: Likewise.
44161 * math/e_j0l.c: Likewise.
44162 * math/e_j1l.c: Likewise.
44163 * math/e_jnl.c: Likewise.
44164 * math/e_lgammal_r.c: Likewise.
44165 * math/e_log10l.c: Likewise.
44166 * math/e_log2l.c: Likewise.
44167 * math/e_logl.c: Likewise.
44168 * math/e_powl.c: Likewise.
44169 * math/e_sinhl.c: Likewise.
44170 * math/e_sqrtl.c: Likewise.
44171 * math/e_scalb.c: Completely rewritten and optimized.
44172 * math/e_scalbf.c: Likewise.
44173 * math/e_scalbl.c: Likewise.
44174 * math/w_acos.c: Likewise.
44175 * math/w_acosf.c: Likewise.
44176 * math/w_acosl.c: Likewise.
44177 * math/w_acosh.c: Likewise.
44178 * math/w_acoshf.c: Likewise.
44179 * math/w_acoshl.c: Likewise.
44180 * math/w_asin.c: Likewise.
44181 * math/w_asinf.c: Likewise.
44182 * math/w_asinl.c: Likewise.
44183 * math/w_atan2.c: Likewise.
44184 * math/w_atan2f.c: Likewise.
44185 * math/w_atan2l.c: Likewise.
44186 * math/w_atanh.c: Likewise.
44187 * math/w_atanhf.c: Likewise.
44188 * math/w_atanhl.c: Likewise.
44189 * math/w_exp10.c: Likewise.
44190 * math/w_exp10f.c: Likewise.
44191 * math/w_exp10l.c: Likewise.
44192 * math/w_fmod.c: Likewise.
44193 * math/w_fmodf.c: Likewise.
44194 * math/w_fmodl.c: Likewise.
44195 * math/w_j0.c: Likewise.
44196 * math/w_j0f.c: Likewise.
44197 * math/w_j0l.c: Likewise.
44198 * math/w_j1.c: Likewise.
44199 * math/w_j1f.c: Likewise.
44200 * math/w_j1l.c: Likewise.
44201 * math/w_jn.c: Likewise.
44202 * math/w_jnf.c: Likewise.
44203 * math/w_log.c: Likewise.
44204 * math/w_logf.c: Likewise.
44205 * math/w_logl.c: Likewise.
44206 * math/w_log10.c: Likewise.
44207 * math/w_log10f.c: Likewise.
44208 * math/w_log10l.c: Likewise.
44209 * math/w_log2.c: Likewise.
44210 * math/w_log2f.c: Likewise.
44211 * math/w_log2l.c: Likewise.
44212 * math/w_pow.c: Likewise.
44213 * math/w_powf.c: Likewise.
44214 * math/w_powl.c: Likewise.
44215 * math/w_remainder.c: Likewise.
44216 * math/w_remainderf.c: Likewise.
44217 * math/w_remainderl.c: Likewise.
44218 * math/w_scalb.c: Likewise.
44219 * math/w_scalbf.c: Likewise.
44220 * math/w_scalbl.c: Likewise.
44221 * math/w_sqrt.c: Likewise.
44222 * math/w_sqrtf.c: Likewise.
44223 * math/w_sqrtl.c: Likewise.
44224 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44225 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44226 used.
44227 * math/math_private.h: Declare __kernel_standard_f.
44228 * math/w_cosh.c: Remove cruft and optimize a bit.
44229 * math/w_coshf.c: Likewise.
44230 * math/w_coshl.c: Likewise.
44231 * math/w_exp2.c: Likewise.
44232 * math/w_exp2f.c: Likewise.
44233 * math/w_exp2l.c: Likewise.
44234 * math/w_hypot.c: Likewise.
44235 * math/w_hypotf.c: Likewise.
44236 * math/w_hypotl.c: Likewise.
44237 * math/w_lgamma.c: Likewise.
44238 * math/w_lgamma_r.c: Likewise.
44239 * math/w_lgammaf.c: Likewise.
44240 * math/w_lgammaf_r.c: Likewise.
44241 * math/w_lgammal.c: Likewise.
44242 * math/w_lgammal_r.c: Likewise.
44243 * math/w_sinh.c: Likewise.
44244 * math/w_sinhf.c: Likewise.
44245 * math/w_sinhl.c: Likewise.
44246 * math/w_tgamma.c: Likewise.
44247 * math/w_tgammaf.c: Likewise.
44248 * math/w_tgammal.c: Likewise.
44249 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44250 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44251 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44252 Minor optimizations. Pretty printing. Remove cruft.
44253 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44254 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44255 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44256 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44257 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44258 * sysdeps/i386/fpu/e_asin.S: Likewise.
44259 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44260 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44261 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44262 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44263 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44264 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44265 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44266 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44267 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44268 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44269 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44270 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44271 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44272 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44273 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44274 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44275 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44276 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44277 * sysdeps/i386/fpu/e_log.S: Likewise.
44278 * sysdeps/i386/fpu/e_log10.S: Likewise.
44279 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44280 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44281 * sysdeps/i386/fpu/e_log2.S: Likewise.
44282 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44283 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44284 * sysdeps/i386/fpu/e_logf.S: Likewise.
44285 * sysdeps/i386/fpu/e_logl.S: Likewise.
44286 * sysdeps/i386/fpu/e_pow.S: Likewise.
44287 * sysdeps/i386/fpu/e_powf.S: Likewise.
44288 * sysdeps/i386/fpu/e_powl.S: Likewise.
44289 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44290 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44291 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44292 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44293 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44294 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44295 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44296 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44297 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44298 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44299 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44300 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44301 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44302 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44303 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44304 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44305 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44306 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44307 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44308 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44309 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44310 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44311 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44312 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44313 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44314 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44315 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44316 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44317 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44318 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44319 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44320 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44321 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44322 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44323 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44324 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44325 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44326 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44327 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44328 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44329 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44330 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44331 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44332 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44333 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44334 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44335 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44336 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44337 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44338 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44339 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44340 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44341 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44342 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44343 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44344 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44345 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44346 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44347 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44348 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44349 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44350 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44351 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44352 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44353 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44354 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44355 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44356 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44357 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44358 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44359 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44360 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44361 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44362 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44363 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44364 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44365 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44366 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44367 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44368 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44369 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44370 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44371 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44372 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44373 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44374 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44375 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44376 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44377 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44378 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44379 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44380 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44381 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44382 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44383 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44384 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44385 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44386 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44387 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44388 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44389 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44390 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44391 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44392 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44393 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44394 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44395 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44396 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44397 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44398 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44399 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44400 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44401 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44402 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44403 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44404 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44405 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44406 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44407 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44408 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44409 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44410 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44411 (__isnanf): Likewise.
44412 (__isinf_ns): Likewise.
44413 (__isinf_nsf): Likewise.
44414 (__finite): Likewise.
44415 (__finitef): Likewise.
44416 (__ieee754_sqrt): Define as macro.
44417 (__ieee754_sqrtf): Define as macro.
44418 (__ieee754_sqrtl): Define as macro.
44419 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44420 inlined copy.
44421 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44422 __FINITE_MATH_ONLY__ consistent.
44423 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44424
44425 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44426
44427 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44428 of rawmemchr.
44429
44430 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44431
44432 2011-10-09 Ulrich Drepper <drepper@gmail.com>
44433
44434 * po/ja.po: Update from translation team.
44435
44436 2011-10-08 Roland McGrath <roland@hack.frob.com>
44437
44438 * locale/programs/locarchive.c (prepare_address_space): New function.
44439 (create_archive, enlarge_archive, open_archive): Use it.
44440
44441 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44442 inside [SHARED], where it is used.
44443
44444 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44445
44446 * nss/getent.c (netgroup_keys): Remove unused variable.
44447 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44448
44449 2011-10-08 Ulrich Drepper <drepper@gmail.com>
44450
44451 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44452 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44453 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44454 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44455 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44456 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44457 * math/Makefile (libm-calls): Add s_isinf_ns.
44458 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44459 * math/multc3.c: Likewise.
44460 * math/s_casin.c: Likewise.
44461 * math/s_casinf.c: Likewise.
44462 * math/s_casinl.c: Likewise.
44463 * math/s_ccos.c: Likewise.
44464 * math/s_ccosf.c: Likewise.
44465 * math/s_ccosl.c: Likewise.
44466 * math/s_ctan.c: Likewise.
44467 * math/s_ctanf.c: Likewise.
44468 * math/s_ctanh.c: Likewise.
44469 * math/s_ctanhf.c: Likewise.
44470 * math/s_ctanhl.c: Likewise.
44471 * math/s_ctanl.c: Likewise.
44472 * math/w_fmod.c: Likewise.
44473 * math/w_fmodf.c: Likewise.
44474 * math/w_fmodl.c: Likewise.
44475 * math/w_remainder.c: Likewise.
44476 * math/w_remainderf.c: Likewise.
44477 * math/w_remainderl.c: Likewise.
44478 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44479 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44480 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44481 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44482 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44483 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44484 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44485 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44486
44487 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44488 of the number.
44489 * stdio-common/printf_fphex.c: Likewise.
44490 * stdio-common/printf_size.c: Likewise.
44491
44492 * math/e_exp10.c: Include math_private.h using <...> not "...".
44493 * math/e_exp10f.c: Likewise.
44494 * math/e_exp10l.c: Likewise.
44495 * math/e_exp2l.c: Likewise.
44496 * math/e_j0l.c: Likewise.
44497 * math/e_j1l.c: Likewise.
44498 * math/e_jnl.c: Likewise.
44499 * math/e_lgammal_r.c: Likewise.
44500 * math/e_rem_pio2l.c: Likewise.
44501 * math/e_scalb.c: Likewise.
44502 * math/e_scalbf.c: Likewise.
44503 * math/e_scalbl.c: Likewise.
44504 * math/k_cosl.c: Likewise.
44505 * math/k_sinl.c: Likewise.
44506 * math/k_tanl.c: Likewise.
44507 * math/s_cacoshf.c: Likewise.
44508 * math/s_catan.c: Likewise.
44509 * math/s_catanf.c: Likewise.
44510 * math/s_catanh.c: Likewise.
44511 * math/s_catanhf.c: Likewise.
44512 * math/s_catanhl.c: Likewise.
44513 * math/s_catanl.c: Likewise.
44514 * math/s_ccosh.c: Likewise.
44515 * math/s_ccoshf.c: Likewise.
44516 * math/s_ccoshl.c: Likewise.
44517 * math/s_cexp.c: Likewise.
44518 * math/s_cexpf.c: Likewise.
44519 * math/s_cexpl.c: Likewise.
44520 * math/s_clog.c: Likewise.
44521 * math/s_clog10.c: Likewise.
44522 * math/s_clog10f.c: Likewise.
44523 * math/s_clog10l.c: Likewise.
44524 * math/s_clogf.c: Likewise.
44525 * math/s_clogl.c: Likewise.
44526 * math/s_csin.c: Likewise.
44527 * math/s_csinf.c: Likewise.
44528 * math/s_csinh.c: Likewise.
44529 * math/s_csinhf.c: Likewise.
44530 * math/s_csinhl.c: Likewise.
44531 * math/s_csinl.c: Likewise.
44532 * math/s_csqrt.c: Likewise.
44533 * math/s_csqrtf.c: Likewise.
44534 * math/s_csqrtl.c: Likewise.
44535 * math/s_ctan.c: Likewise.
44536 * math/s_ctanf.c: Likewise.
44537 * math/s_ctanh.c: Likewise.
44538 * math/s_ctanhf.c: Likewise.
44539 * math/s_ctanhl.c: Likewise.
44540 * math/s_ctanl.c: Likewise.
44541 * math/s_ldexp.c: Likewise.
44542 * math/s_ldexpf.c: Likewise.
44543 * math/s_ldexpl.c: Likewise.
44544 * math/s_significand.c: Likewise.
44545 * math/s_significandf.c: Likewise.
44546 * math/s_significandl.c: Likewise.
44547 * math/w_acos.c: Likewise.
44548 * math/w_acosf.c: Likewise.
44549 * math/w_acosh.c: Likewise.
44550 * math/w_acoshf.c: Likewise.
44551 * math/w_acoshl.c: Likewise.
44552 * math/w_acosl.c: Likewise.
44553 * math/w_asin.c: Likewise.
44554 * math/w_asinf.c: Likewise.
44555 * math/w_asinl.c: Likewise.
44556 * math/w_atan2.c: Likewise.
44557 * math/w_atan2f.c: Likewise.
44558 * math/w_atan2l.c: Likewise.
44559 * math/w_atanh.c: Likewise.
44560 * math/w_atanhf.c: Likewise.
44561 * math/w_atanhl.c: Likewise.
44562 * math/w_cosh.c: Likewise.
44563 * math/w_coshf.c: Likewise.
44564 * math/w_coshl.c: Likewise.
44565 * math/w_dremf.c: Likewise.
44566 * math/w_exp10.c: Likewise.
44567 * math/w_exp10f.c: Likewise.
44568 * math/w_exp10l.c: Likewise.
44569 * math/w_exp2.c: Likewise.
44570 * math/w_exp2f.c: Likewise.
44571 * math/w_fmod.c: Likewise.
44572 * math/w_fmodf.c: Likewise.
44573 * math/w_fmodl.c: Likewise.
44574 * math/w_hypot.c: Likewise.
44575 * math/w_hypotf.c: Likewise.
44576 * math/w_hypotl.c: Likewise.
44577 * math/w_j0.c: Likewise.
44578 * math/w_j0f.c: Likewise.
44579 * math/w_j0l.c: Likewise.
44580 * math/w_j1.c: Likewise.
44581 * math/w_j1f.c: Likewise.
44582 * math/w_j1l.c: Likewise.
44583 * math/w_jn.c: Likewise.
44584 * math/w_jnf.c: Likewise.
44585 * math/w_jnl.c: Likewise.
44586 * math/w_lgamma.c: Likewise.
44587 * math/w_lgamma_r.c: Likewise.
44588 * math/w_lgammaf.c: Likewise.
44589 * math/w_lgammaf_r.c: Likewise.
44590 * math/w_lgammal.c: Likewise.
44591 * math/w_lgammal_r.c: Likewise.
44592 * math/w_log.c: Likewise.
44593 * math/w_log10.c: Likewise.
44594 * math/w_log10f.c: Likewise.
44595 * math/w_log10l.c: Likewise.
44596 * math/w_log2.c: Likewise.
44597 * math/w_log2f.c: Likewise.
44598 * math/w_log2l.c: Likewise.
44599 * math/w_logf.c: Likewise.
44600 * math/w_logl.c: Likewise.
44601 * math/w_pow.c: Likewise.
44602 * math/w_powf.c: Likewise.
44603 * math/w_powl.c: Likewise.
44604 * math/w_remainder.c: Likewise.
44605 * math/w_remainderf.c: Likewise.
44606 * math/w_remainderl.c: Likewise.
44607 * math/w_scalb.c: Likewise.
44608 * math/w_scalbf.c: Likewise.
44609 * math/w_scalbl.c: Likewise.
44610 * math/w_sinh.c: Likewise.
44611 * math/w_sinhf.c: Likewise.
44612 * math/w_sinhl.c: Likewise.
44613 * math/w_sqrt.c: Likewise.
44614 * math/w_sqrtf.c: Likewise.
44615 * math/w_sqrtl.c: Likewise.
44616 * math/w_tgamma.c: Likewise.
44617 * math/w_tgammaf.c: Likewise.
44618 * math/w_tgammal.c: Likewise.
44619
44620 * po/ja.po: Update from translation team.
44621
44622 2011-09-29 Andreas Jaeger <aj@suse.de>
44623
44624 [BZ #13179]
44625 * sunrpc/netname.c (netname2host): Fix logic.
44626
44627 [BZ #6779]
44628 [BZ #6783]
44629 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44630 correctly.
44631 * math/w_remainder.c (__remainder): Likewise.
44632 * math/w_remainderf.c (__remainderf): Likewise.
44633 * math/libm-test.inc (remainder_test): Add test cases.
44634
44635 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44636
44637 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
44638 sdiv_qrnnd.
44639
44640 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44641
44642 * string/test-memcmp.c: Avoid unncessary #defines.
44643 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44644
44645 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44646
44647 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
44648 Use new sse2 version for core i3 - i7 as it's faster
44649 than sse42 version.
44650 (bit_Prefer_PMINUB_for_stringop): New.
44651 * sysdeps/x86_64/rawmemchr.S: Update.
44652 Replace with faster SSE2 version.
44653 * sysdeps/x86_64/memrchr.S: New file.
44654 * sysdeps/x86_64/memchr.S: Update.
44655 Replace with faster SSE2 version.
44656
44657 2011-09-12 Marek Polacek <mpolacek@redhat.com>
44658
44659 * elf/dl-load.c (lose): Add cast to avoid warning.
44660
44661 2011-10-07 Ulrich Drepper <drepper@gmail.com>
44662
44663 * po/ca.po: Update from translation team.
44664
44665 * inet/getnetgrent_r.c: Hook up nscd.
44666 * nscd/Makefile (routines): Add nscd_netgroup.
44667 (nscd-modules): Add netgroupcache.
44668 (CFLAGS-netgroupcache.c): Define.
44669 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
44670 (cache_search): Add const to second parameter.
44671 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
44672 INNETGR.
44673 (dbs): Add netgrdb entry.
44674 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
44675 (verify_persistent_db): Handle netgrdb.
44676 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
44677 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
44678 GETFDNETGR.
44679 (netgroup_response_header): Define.
44680 (innetgroup_response_header): Define.
44681 (datahead): Add netgroup_response_header and innetgroup_response_header
44682 elements.
44683 * nscd/nscd.conf: Add entries for netgroup cache.
44684 * nscd/nscd.h (dbtype): Add netgrdb.
44685 (_PATH_NSCD_NETGROUP_DB): Define.
44686 (netgroup_iov_disabled): Declare.
44687 (xmalloc, xcalloc, xrealloc): Move declarations here.
44688 (cache_search): Adjust prototype.
44689 Add netgroup-related prototypes.
44690 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
44691 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
44692 (__nscd_innetgr): Declare.
44693 * nscd/selinux.c (perms): Use access_vector_t as element type and
44694 add netgroup-related initializers.
44695 * nscd/netgroupcache.c: New file.
44696 * nscd/nscd_netgroup.c: New file.
44697 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
44698 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
44699 For four parameters use innetgr.
44700 * nss/nss_files/files-init.c: Add definition and callback for netgr.
44701 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
44702 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
44703 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
44704
44705 * nscd/connections.c (register_traced_file): Don't register file
44706 for disabled databases.
44707
44708 2011-10-06 Ulrich Drepper <drepper@gmail.com>
44709
44710 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
44711
44712 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
44713 from tree and freeing node.
44714
44715 2011-09-25 Jiri Olsa <jolsa@redhat.com>
44716
44717 * nss/nsswitch.c (__nss_database_lookup): Handle
44718 nss_parse_service_list out of memory case.
44719
44720 2011-09-15 Jiri Olsa <jolsa@redhat.com>
44721
44722 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
44723 out of memory case.
44724
44725 2011-10-04 Andreas Schwab <schwab@redhat.com>
44726
44727 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
44728 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
44729 pass it down.
44730 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
44731 elf_machine_rela, elf_machine_lazy_rel.
44732 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
44733 (ELF_DYNAMIC_DO_REL): Likewise.
44734 (ELF_DYNAMIC_DO_RELA): Likewise.
44735 (ELF_DYNAMIC_RELOCATE): Likewise.
44736 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
44737 to ELF_DYNAMIC_DO_REL.
44738 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
44739 (dl_main): In trace mode always set __RTLD_NOIFUNC.
44740 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
44741 elf_machine_rela.
44742 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
44743 skip_ifunc, don't call ifunc function if non-zero.
44744 (elf_machine_rela): Likewise.
44745 (elf_machine_lazy_rel): Likewise.
44746 (elf_machine_lazy_rela): Likewise.
44747 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
44748 (elf_machine_lazy_rel): Likewise.
44749 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
44750 Likewise.
44751 (elf_machine_lazy_rel): Likewise.
44752 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44753 Likewise.
44754 (elf_machine_lazy_rel): Likewise.
44755 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
44756 (elf_machine_lazy_rel): Likewise.
44757 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
44758 (elf_machine_lazy_rel): Likewise.
44759 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44760 (elf_machine_lazy_rel): Likewise.
44761 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
44762 (elf_machine_lazy_rel): Likewise.
44763 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
44764 (elf_machine_lazy_rel): Likewise.
44765 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44766 (elf_machine_lazy_rel): Likewise.
44767
44768 2011-09-28 Ulrich Drepper <drepper@gmail.com>
44769
44770 * nss/nss_files/files-init.c (_nss_files_init): Use static
44771 initialization for all the *_traced_file variables.
44772
44773 2011-09-28 Andreas Schwab <schwab@redhat.com>
44774
44775 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44776
44777 2011-09-27 Roland McGrath <roland@hack.frob.com>
44778
44779 [BZ #13226]
44780 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
44781
44782 2011-09-27 Andreas Schwab <schwab@redhat.com>
44783
44784 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
44785 Reread the line before reparsing it.
44786
44787 2011-09-26 Andreas Schwab <schwab@redhat.com>
44788
44789 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
44790
44791 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
44792 Maxim Kuvyrkov <maxim@codesourcery.com>
44793 Joseph Myers <joseph@codesourcery.com>
44794
44795 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
44796 if needed for __stack_chk_guard.
44797
44798 2011-09-19 Roland McGrath <roland@hack.frob.com>
44799
44800 * sysdeps/posix/spawni.c (script_execute): Always define it.
44801 It will be optimized away if unused.
44802 (maybe_script_execute): New function.
44803 (__spawni): Call it.
44804
44805 * Makerules: Don't include tls.make.
44806 (config-tls): Always set to thread.
44807 * tls.make.c: File removed.
44808
44809 2011-09-19 Mike Frysinger <vapier@gentoo.org>
44810
44811 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
44812 * config.make.in (CPPFLAGS-config): New substituted variable.
44813
44814 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44815
44816 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
44817
44818 [BZ #13192]
44819 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
44820 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
44821
44822 2011-09-15 Roland McGrath <roland@hack.frob.com>
44823
44824 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
44825 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
44826 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44827 (CALL_FAIL): Likewise.
44828 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
44829 (CALL_FAIL): Macro removed.
44830 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
44831
44832 2011-09-15 Ulrich Drepper <drepper@gmail.com>
44833
44834 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
44835 for __FINITE_MATH_ONLY__ == 1.
44836
44837 2011-09-15 Andreas Schwab <schwab@redhat.com>
44838
44839 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
44840 __ieee754_sqrt instead of sqrt.
44841 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
44842 __ieee754_sqrtf instead of sqrtf.
44843 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
44844 __floorf instead of floorf.
44845 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
44846 __floorf, __truncf instead of floorf, truncf.
44847
44848 2011-09-14 Ulrich Drepper <drepper@gmail.com>
44849
44850 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
44851
44852 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
44853 __extern_always_inline.
44854 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
44855 32-bit.
44856
44857 2011-09-14 Andreas Schwab <schwab@redhat.com>
44858
44859 * elf/rtld.c (dl_main): Also relocate in dependency order when
44860 doing symbol dependency testing.
44861
44862 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
44863
44864 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44865 Always define `refsym'.
44866
44867 2011-09-13 Andreas Schwab <schwab@redhat.com>
44868
44869 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
44870 (__FD_ELT): Renamed from __FDELT.
44871 * misc/bits/select2.h (__FD_ELT): Likewise.
44872 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
44873 __FD_MASK instead of __FDELT, __FDMASK.
44874 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44875 Likewise.
44876 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
44877 Likewise.
44878
44879 * elf/Makefile (gen-ldd): Fix pattern.
44880
44881 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
44882 (init_tls): Likewise.
44883
44884 2011-09-12 Ulrich Drepper <drepper@gmail.com>
44885
44886 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44887
44888 2011-09-12 Andreas Schwab <schwab@redhat.com>
44889
44890 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44891 `struct cmsghdr *' instead of `void *'.
44892 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44893 Likewise.
44894
44895 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44896
44897 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44898 if non-absolute.
44899 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44900 ldd_rewrite_script.
44901
44902 2011-09-11 Ulrich Drepper <drepper@gmail.com>
44903
44904 * configure.in: Remove --with-tls option.
44905 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44906 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44907 out in case it is missing.
44908 * sysdeps/ia64/elf/configure.in: Likewise.
44909 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44910 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44911 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44912 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44913 * sysdeps/sh/elf/configure.in: Likewise.
44914 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44915 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44916 * sysdeps/x86_64/elf/configure.in: Likewise.
44917 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44918 * sysdeps/mach/hurd/tls.h: Likewise.
44919
44920 [BZ #13067]
44921 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44922
44923 [BZ #13090]
44924 * configure.in: Fix use of AC_INIT.
44925
44926 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44927
44928 2011-09-10 Ulrich Drepper <drepper@gmail.com>
44929
44930 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44931 __set_errno.
44932 * malloc/hooks.c: Likewise.
44933
44934 [BZ #11929]
44935 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44936 variables statically.
44937 (narenas): Initialize.
44938 (list_lock): Initialize.
44939 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44940 initializtion of main_arena and list_lock. Small cleanups.
44941 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44942 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44943 Add initializers to main_arena and mp_.
44944 (malloc_state): Remove pagesize member. Change all users to use
44945 GLRO(dl_pagesize).
44946
44947 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44948 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44949 is always initialized.
44950
44951 * malloc/malloc.c: Removed unused configurations and dead code.
44952 * malloc/arena.c: Likewise.
44953 * malloc/hooks.c: Likewise.
44954 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44955
44956 * include/tls.h: Removed. USE___THREAD must always be defined.
44957 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44958 * elf/dl-libc.c: Likewise.
44959 * elf/dl-tsd.c: Likewise.
44960 * include/errno.h: Likewise.
44961 * include/netdb.h: Likewise.
44962 * include/resolv.h: Likewise.
44963 * inet/herrno-loc.c: Likewise.
44964 * inet/herrno.c: Likewise.
44965 * malloc/arena.c: Likewise.
44966 * malloc/hooks.c: Likewise.
44967 * malloc/malloc.c: Likewise.
44968 * resolv/res-state.c: Likewise.
44969 * resolv/res_libc.c: Likewise.
44970 * sysdeps/i386/dl-machine.h: Likewise.
44971 * sysdeps/ia64/dl-machine.h: Likewise.
44972 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44973 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44974 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44975 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44976 * sysdeps/sh/dl-machine.h: Likewise.
44977 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44978 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44979 * sysdeps/unix/i386/sysdep.S: Likewise.
44980 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44981 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44982 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44983 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44984 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44985 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44986 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44987 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44988 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44989 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44990 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44991 * sysdeps/x86_64/dl-machine.h: Likewise.
44992 * tls.make.c: Likewise.
44993
44994 * configure.in: Remove --with-__thread option. Make tests for
44995 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44996 tls_model attribute fail if no support is available. Remove
44997 USE_IN_LIBIO.
44998 * Makeconfig: Adjust for dropped configure option. All features are
44999 now mandatory.
45000 * Makerules: Likewise.
45001 * Versions.def: Likewise.
45002 * argp/argp-fmtstream.c: Likewise.
45003 * argp/argp-fmtstream.h: Likewise.
45004 * argp/argp-help.c: Likewise.
45005 * assert/assert.c: Likewise.
45006 * config.h.in: Likewise.
45007 * config.make.in: Likewise.
45008 * configure: Likewise.
45009 * configure.in: Likewise.
45010 * csu/Versions: Likewise.
45011 * csu/init.c: Likewise.
45012 * elf/tst-audit2.c: Likewise.
45013 * elf/tst-tls10.c: Likewise.
45014 * elf/tst-tls10.h: Likewise.
45015 * elf/tst-tls11.c: Likewise.
45016 * elf/tst-tls12.c: Likewise.
45017 * elf/tst-tls14.c: Likewise.
45018 * elf/tst-tlsmod11.c: Likewise.
45019 * elf/tst-tlsmod12.c: Likewise.
45020 * elf/tst-tlsmod13.c: Likewise.
45021 * elf/tst-tlsmod13a.c: Likewise.
45022 * elf/tst-tlsmod14a.c: Likewise.
45023 * elf/tst-tlsmod15b.c: Likewise.
45024 * elf/tst-tlsmod16a.c: Likewise.
45025 * elf/tst-tlsmod16b.c: Likewise.
45026 * elf/tst-tlsmod7.c: Likewise.
45027 * elf/tst-tlsmod8.c: Likewise.
45028 * elf/tst-tlsmod9.c: Likewise.
45029 * gmon/gmon.c: Likewise.
45030 * grp/fgetgrent_r.c: Likewise.
45031 * grp/putgrent.c: Likewise.
45032 * hurd/fopenport.c: Likewise.
45033 * include/libc-symbols.h: Likewise.
45034 * include/tls.h: Likewise.
45035 * intl/gettextP.h: Likewise.
45036 * intl/loadinfo.h: Likewise.
45037 * locale/global-locale.c: Likewise.
45038 * locale/localeinfo.h: Likewise.
45039 * mach/devstream.c: Likewise.
45040 * malloc/arena.c: Likewise.
45041 * malloc/set-freeres.c: Likewise.
45042 * misc/err.c: Likewise.
45043 * misc/getttyent.c: Likewise.
45044 * misc/mntent_r.c: Likewise.
45045 * posix/getopt.c: Likewise.
45046 * posix/wordexp.c: Likewise.
45047 * pwd/fgetpwent_r.c: Likewise.
45048 * resolv/Versions: Likewise.
45049 * resolv/res_hconf.c: Likewise.
45050 * shadow/fgetspent_r.c: Likewise.
45051 * shadow/putspent.c: Likewise.
45052 * stdio-common/printf_fphex.c: Likewise.
45053 * stdio-common/tmpfile.c: Likewise.
45054 * stdlib/abort.c: Likewise.
45055 * stdlib/fmtmsg.c: Likewise.
45056 * sunrpc/auth_unix.c: Likewise.
45057 * sunrpc/clnt_perr.c: Likewise.
45058 * sunrpc/clnt_tcp.c: Likewise.
45059 * sunrpc/clnt_udp.c: Likewise.
45060 * sunrpc/clnt_unix.c: Likewise.
45061 * sunrpc/openchild.c: Likewise.
45062 * sunrpc/svc_simple.c: Likewise.
45063 * sunrpc/svc_tcp.c: Likewise.
45064 * sunrpc/svc_udp.c: Likewise.
45065 * sunrpc/svc_unix.c: Likewise.
45066 * sunrpc/xdr.c: Likewise.
45067 * sunrpc/xdr_array.c: Likewise.
45068 * sunrpc/xdr_rec.c: Likewise.
45069 * sunrpc/xdr_ref.c: Likewise.
45070 * sunrpc/xdr_stdio.c: Likewise.
45071
45072 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45073
45074 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45075
45076 2011-07-03 Andreas Jaeger <aj@suse.de>
45077
45078 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45079 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45080 regenerate with gen-libm-tests.pl.
45081
45082 2010-05-12 Petr Baudis <pasky@suse.cz>
45083
45084 [BZ #11589]
45085 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45086 around j0() zero points by switching to j1().
45087 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45088 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45089 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45090 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45091
45092 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45093
45094 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45095 instead of 0.
45096 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45097 instead of 0.
45098 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45099 Patch in part by Pavel Roskin <proski@gnu.org>.
45100
45101 [BZ #13138]
45102 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45103 realloc.
45104 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45105 Free memory block if necessary.
45106
45107 [BZ #12847]
45108 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45109 be NULL. Don't lock in this case.
45110
45111 2011-09-09 Roland McGrath <roland@hack.frob.com>
45112
45113 * elf/elf.h (ELFOSABI_GNU): New macro.
45114 (ELFOSABI_LINUX): Define to that.
45115
45116 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45117
45118 * string/strncat.c (strncat): Undef the symbol in case it has been
45119 defined in bits/string.h.
45120
45121 2011-09-09 Ulrich Drepper <drepper@gmail.com>
45122
45123 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45124
45125 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45126 link map.
45127
45128 2011-08-17 Andreas Jaeger <aj@suse.de>
45129
45130 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45131
45132 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45133 Ian Lance Taylor <iant@google.com>
45134
45135 * math/libm-test.inc (lround_test): New testcase.
45136 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45137
45138 2011-09-08 Ulrich Drepper <drepper@gmail.com>
45139
45140 * Makefile: Remove support for automatic cvs check-ins.
45141 * Makerules: Likewise.
45142 * config.make.in: Likewise.
45143 * configure.in: Likewise.
45144 * intl/Makefile: Likewise.
45145 * locale/Makefile: Likewise.
45146 * po/Makefile: Likewise.
45147 * posix/Makefile: Likewise.
45148 * sysdeps/gnu/Makefile: Likewise.
45149 * sysdeps/mach/hurd/Makefile: Likewise.
45150 * sysdeps/sparc/sparc32/Makefile: Likewise.
45151
45152 [BZ #13118]
45153 * posix/Makefile (bug-regex32-ENV): Define.
45154 Patch by John Stanley <jpsinthemix@verizon.net>.
45155
45156 * misc/Makefile (headers): Add bits/select2.h.
45157 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45158 * misc/bits/select2.h: New file.
45159 * include/bits/select2.h: New file.
45160 * debug/Makefile (routines): Add fdelt_chk.
45161 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45162 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45163 FD_ISSET.
45164 * debug/fdelt_chk.c: New file.
45165
45166 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45167 * wcsmbs/test-wmemcmp.c: Likewise.
45168 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45169 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45170
45171 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45172
45173 * string/Makefile (strop-tests): Add memcmp.
45174 * string/test-wmemcmp.c: New file.
45175 * string/test-memcmp.c: Add wmemcmp support.
45176
45177 2011-09-08 Roland McGrath <roland@hack.frob.com>
45178
45179 [BZ #13153]
45180 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45181 2011-07-19 change.
45182
45183 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45184 garbage value in a __mach_port_mod_refs call in the cases of the
45185 task-self and thread-self ports.
45186
45187 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45188
45189 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45190
45191 2011-09-08 Andreas Schwab <schwab@redhat.com>
45192
45193 * elf/dl-load.c (lose): Check for non-null L.
45194
45195 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45196
45197 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45198
45199 * elf/dl-libc.c (dlerror_run): Pass back error code from
45200 dl_catch_error.
45201
45202 [BZ #13123]
45203 * elf/dl-load.c (lose): Free l_origin if it is valid.
45204
45205 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45206 names.
45207 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45208 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45209 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45210 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45211 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45212 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45213
45214 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45215
45216 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45217 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45218 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45219 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45220 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45221 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45222 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45223 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45224 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45225 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45226
45227 2011-08-15 Alan Modra <amodra@gmail.com>
45228
45229 [BZ #13092]
45230 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45231 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45232 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45233 ppc_mcount to static-only-routines.
45234 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45235 __mcount_internal.
45236 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45237 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45238
45239 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45240
45241 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45242 for finite and infinity parameters.
45243
45244 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45245
45246 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45247 and add nop instructions for throughput optimization.
45248 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45249
45250 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45251
45252 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45253 aligned copy for power7 with vector-scalar instructions.
45254 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45255
45256 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45257
45258 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45259 AVX check.
45260
45261 2011-09-07 Andreas Schwab <schwab@redhat.com>
45262
45263 [BZ #13144]
45264 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45265 last change.
45266
45267 2011-09-07 Ulrich Drepper <drepper@gmail.com>
45268
45269 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45270 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45271 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45272 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45273 clock_gettime.
45274
45275 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45276
45277 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45278 Forgot to demangle the pointer.
45279
45280 * sysdeps/i386/sysdep.h: Define atom_text_section.
45281 * sysdeps/x86_64/sysdep.h: Likewise.
45282 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45283 section with atom_text_section.
45284 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45285 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45286 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45287 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45288 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45289
45290 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45291 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45292 already be defined. Change to take two parameters and don't assign
45293 result to variable. Adjust all users.
45294 Define INTERNAL_GETTIME if not already defined.
45295 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45296 call.
45297 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45298 HAVE_CLOCK_GETTIME_VSYSCALL.
45299 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45300
45301 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45302 gettimeofday vsyscall, just use time.
45303
45304 2011-09-06 Andreas Schwab <schwab@redhat.com>
45305
45306 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45307 <errno.h>.
45308
45309 2011-09-06 Ulrich Drepper <drepper@gmail.com>
45310
45311 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45312 syscall on x86-64.
45313 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45314 syscall.
45315 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45316 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45317 syscall if possible.
45318
45319 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45320
45321 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45322 e_ident. Don't pass to find_mapsXX.
45323 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45324
45325 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45326
45327 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45328 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45329 * sysdeps/x86_64/multiarch/strchr.S: Update.
45330 Check bit_slow_BSF bit.
45331 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45332 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45333 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45334
45335 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45336
45337 [BZ #13134]
45338 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45339 before glibc 2.15.
45340 (tryshell): Define.
45341 (__spawni): Change last parameter to be flag. Test
45342 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45343 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45344 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45345 * posix/spawni.c: Likewise.
45346 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45347 * posix/spawnp.c: Likewise. Change normal version to use
45348 SPAWN_XFLAGS_USE_PATH.
45349 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45350 SPAWN_XFLAGS_TRY_SHELL.
45351
45352 [BZ #13150]
45353 * posix/glob.h: Remove gcc 1.x support.
45354
45355 [BZ #13068]
45356 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45357
45358 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45359
45360 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45361 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45362 strrchr-sse2-bsf
45363 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45364 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45365 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45366 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45367 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45368 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45369
45370 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45371
45372 * sysdeps/x86_64/wcscmp.S: New file.
45373
45374 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45375 wcscmp-c wcscmp-sse2
45376 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45377 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45378 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45379 * wcsmbs/wcscmp.c: Allow renaming.
45380
45381 2011-09-05 David S. Miller <davem@davemloft.net>
45382
45383 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45384 stack slot, rather than the struct return pointer slot.
45385 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45386 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45388 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45389
45390 2011-09-05 Ulrich Drepper <drepper@gmail.com>
45391
45392 * po/ja.po: Update from translation team.
45393
45394 [BZ #13144]
45395 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45396 kernel in 64-bit binaries.
45397
45398 2011-09-01 David S. Miller <davem@davemloft.net>
45399
45400 * elf/elf.h (HWCAP_SPARC_*): Move to..
45401 * sysdeps/sparc/sysdep.h: this new file and add new values.
45402 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45403 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45404 _DL_HWCAP_COUNT to 24.
45405 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45406 entries.
45407 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45408 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45409 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45410 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45411 instead of magic constants.
45412 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45413
45414 2011-08-31 David S. Miller <davem@davemloft.net>
45415
45416 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45417 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45418 Reimplement to do errno handling inline.
45419 (SYSCALL_ERROR_HANDLER): New macro.
45420 (__SYSCALL_STRING): Do not do errno handling in asm.
45421 (__CLONE_SYSCALL_STRING): Delete.
45422 (__INTERNAL_SYSCALL_STRING): Delete.
45423 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45424 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45425 (PSEUDO): Reimplement to do errno handling inline.
45426 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45427 (SYSCALL_ERROR_HANDLER): New macro.
45428 (__SYSCALL_STRING): Do not do errno handling in asm.
45429 (__CLONE_SYSCALL_STRING): Delete.
45430 (__INTERNAL_SYSCALL_STRING): Delete.
45431 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45432 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45433 i386.
45434 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45435 (inline_syscall*): Add 'err' argument.
45436 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45437 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45438 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45439 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45440
45441 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45442 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45443
45444 2011-08-30 Andreas Schwab <schwab@redhat.com>
45445
45446 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45447
45448 2011-08-29 Jiri Olsa <jolsa@redhat.com>
45449
45450 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45451 directive.
45452
45453 2011-08-24 David S. Miller <davem@davemloft.net>
45454
45455 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45456
45457 2011-08-24 Andreas Schwab <schwab@redhat.com>
45458
45459 * elf/Makefile: Add rules to build and run unload8 test.
45460 * elf/unload8.c: New file.
45461 * elf/unload8mod1.c: New file.
45462 * elf/unload8mod1x.c: New file.
45463 * elf/unload8mod2.c: New file.
45464 * elf/unload8mod3.c: New file.
45465
45466 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45467 it wasn't used.
45468
45469 2011-08-23 David S. Miller <davem@davemloft.net>
45470
45471 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45472 subtract stack bias.
45473 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45474 %sp not %fp in calculations.
45475 (_JMPBUF_UNWINDS_ADJ): Likewise.
45476
45477 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45478 (aio_suspend): Call it to force an exception region around the
45479 AIO_MISC_WAIT() invocation.
45480
45481 2011-08-23 Andreas Schwab <schwab@redhat.com>
45482
45483 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45484 backslash.
45485
45486 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45487
45488 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45489 protection macro.
45490 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45491 and <dl-machine.h>.
45492 (Elf64_FuncDesc): Remove.
45493
45494 2011-08-22 David S. Miller <davem@davemloft.net>
45495
45496 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45497 sigaltstack check, add missing cfi directives.
45498 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45499 missing cfi directives, and sigaltstack handling.
45500
45501 2011-08-16 Andreas Schwab <schwab@redhat.com>
45502
45503 [BZ #11724]
45504 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45505 object is seen twice.
45506 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45507
45508 * elf/Makefile (distribute): Add tst-initorder2.c.
45509 (tests): Add tst-initorder2.
45510 (modules-names): Add tst-initorder2a tst-initorder2b
45511 tst-initorder2c tst-initorder2d. Add rules to build them.
45512 ($(objpfx)tst-initorder2.out): New rule.
45513 * elf/tst-initorder2.c: New file.
45514 * elf/tst-initorder2.exp: New file.
45515
45516 2011-08-22 Andreas Schwab <schwab@redhat.com>
45517
45518 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45519
45520 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45521 dependencies back to end of function.
45522
45523 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45524 $(elfobjdir)/ld.so.
45525
45526 2011-08-21 Ulrich Drepper <drepper@gmail.com>
45527
45528 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45529 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45530 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45531 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45532 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45533 of __vdso_gettimeofday.
45534 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45535 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
45536 attribute_hidden.
45537 (_libc_vdso_platform_setup): Remove initialization of
45538 __vdso_gettimeofday and __vdso_time.
45539
45540 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45541
45542 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45543 and fgetc_unlocked.
45544 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45545 getc_unlocked.
45546
45547 * elf/dl-open.c (add_to_global): Report additions to the global scope
45548 for LD_DEBUG=scopes.
45549 (dl_open_worker): Also print scope of newly loaded dependencies.
45550 (_dl_show_scope): Indicate if there is no scope.
45551
45552 [BZ #13114]
45553 * stdio-common/Makefile (tests): Add bug24.
45554 * stdio-common/bug24.c: New file.
45555
45556 2011-08-19 Andreas Jaeger <aj@suse.de>
45557
45558 [BZ #13114]
45559 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45560 non-existant file when using close-on-exec mode.
45561
45562 2011-08-20 Ulrich Drepper <drepper@gmail.com>
45563
45564 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45565 the very first instruction.
45566
45567 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45568 the CFI state in the end.
45569 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45570 inclusion of dl-trampoline.h.
45571 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45572
45573 2011-08-19 Andreas Schwab <schwab@redhat.com>
45574
45575 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45576 expectations for long double.
45577
45578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45579 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45580
45581 2011-08-14 David S. Miller <davem@davemloft.net>
45582
45583 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45584 artificual limit depends upon the system page size.
45585
45586 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45587
45588 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45589 * resolv/Makefile: Define CFLAGS-libresolv.
45590
45591 2011-08-17 Andreas Schwab <schwab@redhat.com>
45592
45593 * nss/makedb.c (compute_tables): Make variables used in nested
45594 function static.
45595
45596 2011-08-17 Ulrich Drepper <drepper@gmail.com>
45597
45598 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45599 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45600 if buffer was too small.
45601
45602 * elf/pldd.c (main): Attach to all threads in the process.
45603 Rewrite /proc handling to use *at functions.
45604
45605 2011-08-16 Ulrich Drepper <drepper@gmail.com>
45606
45607 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45608 specifies first scope to show.
45609 (dl_open_worker): Update callers. Move printing scope of new
45610 object to before the relocation.
45611 * elf/rtld.c (dl_main): Update _dl_show_scope call.
45612 * sysdeps/generic/ldsodefs.h: Update declaration.
45613
45614 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45615 string for the scope number.
45616
45617 2011-08-14 Ulrich Drepper <drepper@gmail.com>
45618
45619 * nscd/servicescache.c (cache_addserv): Make sure written is always
45620 initialized.
45621
45622 2011-08-14 Roland McGrath <roland@hack.frob.com>
45623
45624 * sysdeps/i386/i486/bits/atomic.h
45625 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45626 statement expression, so as to suppress "set but not used" warning.
45627 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45628
45629 * string/strncat.c (STRNCAT): Use prototype definition.
45630
45631 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45632 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45633 -Iprograms here.
45634 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45635 (localedef-modules): Add localedef.
45636 (locale-modules): Add locale.
45637
45638 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45639 * elf/rtld.c (dl_main): Invert order of assignment in last change,
45640 to avoid a warning.
45641
45642 2011-08-14 David S. Miller <davem@davemloft.net>
45643
45644 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
45645 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
45646
45647 2011-08-13 Ulrich Drepper <drepper@gmail.com>
45648
45649 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
45650 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
45651 * elf/rtld.c (dl_main): Set l_name of vDSO.
45652 Call _dl_show_scope when DL_DEBUG_SCOPES.
45653 (process_dl_debug): Recognize scopes flag and also set it for all.
45654 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
45655 Declare _dl_show_scope.
45656
45657 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
45658 (do_dlopen): Pass caller_dlopen to dl_open.
45659 (__libc_dlopen_mode): Initialize caller_dlopen.
45660
45661 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
45662 of libc. Make tolower call locale-independent. Optimize a bit by
45663 using isdigit instead of isalnum.
45664 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
45665
45666 2011-08-12 Ulrich Drepper <drepper@gmail.com>
45667
45668 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
45669 was a dependency or dynamically loaded.
45670
45671 2011-08-11 Ulrich Drepper <drepper@gmail.com>
45672
45673 * intl/l10nflist.c: Allow architecture-specific pop function.
45674 * sysdeps/x86_64/l10nflist.c: New file.
45675
45676 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
45677 classification.
45678
45679 2011-08-10 Andreas Schwab <schwab@redhat.com>
45680
45681 * include/dirent.h: Add libc_hidden_proto for scandirat and
45682 scandirat64. Don't declare __scandirat64.
45683 * dirent/scandirat.c: Add libc_hidden_def.
45684 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
45685 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
45686
45687 2011-08-10 David S. Miller <davem@davemloft.net>
45688
45689 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
45690 enum.
45691 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45692 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45693 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45694
45695 2011-08-09 Ulrich Drepper <drepper@gmail.com>
45696
45697 * Versions.def [libc]: Add GLIBC_2.15.
45698 * dirent/Makefile (routines): Add scandirat and scandirat64.
45699 * dirent/Versions [libc]: Export scandirat and scandirat64 for
45700 GLIBC_2.15.
45701 * dirent/dirent.h: Declare scandirat and scandirat64.
45702 * dirent/scandirat.c: New file.
45703 * dirent/scandirat64.c: New file.
45704 * sysdeps/wordsize-64/scandirat.c: New file.
45705 * sysdeps/wordsize-64/scandirat64.c: New file.
45706 * dirent/opendir.c: Define opendirat.
45707 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
45708 using scandirat.
45709 * dirent/scandir64.c: Adjust for scandir.c change.
45710 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
45711 __scandirat64, and __scandir_cancel_handler.
45712 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
45713 additional parameter and use openat instead of open (outside of ld.so).
45714 Add new __opendir as wrapper around __opendirat.
45715 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
45716 here without requiring old scandirat implementation.
45717
45718 2011-08-08 Ulrich Drepper <drepper@gmail.com>
45719
45720 * dirent/scandir.c (cancel_handler): Renamed to
45721 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
45722 defined. Adjust users.
45723 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
45724 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
45725
45726 2011-08-04 Ulrich Drepper <drepper@gmail.com>
45727
45728 * string/test-string.h (IMPL): Use __STRING to expand name and then
45729 stringify it.
45730
45731 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
45732 of cleanups.
45733
45734 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45735
45736 * string/Makefile: Update.
45737 (strop-tests): Append strncat.
45738 * string/test-wcscmp.c: New file.
45739 New comprehensive test for wcscmp.
45740 * string/test-strcmp.c: Update.
45741 (WIDE): New define.
45742
45743 2011-07-22 Andreas Schwab <schwab@redhat.com>
45744
45745 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
45746 line.
45747
45748 2011-07-26 Andreas Schwab <schwab@redhat.com>
45749
45750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45751 encoding to ACE if AI_IDN.
45752
45753 2011-08-01 Jakub Jelinek <jakub@redhat.com>
45754
45755 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
45756 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
45757
45758 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45759
45760 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
45761 Fix overflow bug in strncat.
45762 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
45763
45764 * string/test-strncat.c: Update.
45765 Add new tests for checking overflow bugs.
45766
45767 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45768
45769 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45770 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
45771 * sysdeps/i386/i686/multiarch/strcat.S: New file.
45772 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
45773 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
45774 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
45775 * sysdeps/i386/i686/multiarch/strncat.S: New file.
45776 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
45777 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
45778
45779 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
45780 (USE_AS_STRCAT): Define.
45781 Add strcat and strncat support.
45782 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45783
45784 2011-07-25 Andreas Schwab <schwab@redhat.com>
45785
45786 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
45787 __n bigger than INT_MAX+1.
45788 (__strncmp_g): Likewise.
45789
45790 2011-07-23 Ulrich Drepper <drepper@gmail.com>
45791
45792 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
45793 * libio/stido.h: Likewise.
45794
45795 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
45796 (AF_NFC): Define.
45797 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
45798 (AF_NFC): Define.
45799
45800 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
45801 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45802 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45803 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
45804 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45805
45806 [BZ #13021]
45807 * scripts/test-installation.pl: Don't expect libnss_test1 to be
45808 installed.
45809
45810 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
45811 typo.
45812 (_dl_x86_64_save_sse): Likewise.
45813
45814 2011-07-22 Ulrich Drepper <drepper@gmail.com>
45815
45816 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
45817 OSXSAVE.
45818 (_dl_x86_64_save_sse): Likewise.
45819
45820 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
45821
45822 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
45823
45824 2011-07-21 Andreas Schwab <schwab@redhat.com>
45825
45826 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
45827 change.
45828 (_dl_x86_64_save_sse): Use correct AVX check.
45829
45830 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45831
45832 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
45833 bug in strncpy/strncat.
45834 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
45835
45836 2011-07-21 Ulrich Drepper <drepper@gmail.com>
45837
45838 * string/tester.c (test_strcat): Add tests for different alignments
45839 of source and destination.
45840 (test_strncat): Likewise.
45841
45842 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45843
45844 [BZ #12852]
45845 * posix/glob.c (glob): Check passed in values before using them in
45846 expressions to avoid some overflows.
45847 (glob_in_dir): Likewise.
45848
45849 [BZ #13007]
45850 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
45851 check for AVX enablement so that we don't crash with old kernels and
45852 new hardware.
45853 * elf/tst-audit4.c: Add same checks here.
45854 * elf/tst-audit6.c: Likewise.
45855
45856 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
45857
45858 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
45859
45860 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
45861
45862 2011-07-20 Ulrich Drepper <drepper@gmail.com>
45863
45864 * po/cs.po: Update from translation team.
45865 * po/bg.po: Likewise.
45866
45867 2011-07-12 Marek Polacek <mpolacek@redhat.com>
45868
45869 * misc/sys/cdefs.h: Add support for const attribute.
45870 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
45871 to gnu_dev_{major,minor,makedev} functions.
45872
45873 2011-07-20 Marek Polacek <mpolacek@redhat.com>
45874
45875 * intl/dcigettext.c (get_output_charset): Add missing bracket.
45876
45877 2011-07-20 Andreas Schwab <schwab@redhat.com>
45878
45879 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
45880 strlen results.
45881
45882 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45883
45884 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45885 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45886 register in order to avoid conflicts with the soft frame pointer
45887 being held in r11 when necessary.
45888 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45889 (INTERNAL_VSYSCALL_NCS): Likewise.
45890
45891 2011-07-14 Marek Polacek <mpolacek@redhat.com>
45892
45893 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45894 * elf/dl-fini.c (_dl_fini): Adjust caller.
45895 * elf/dl-close.c (_dl_close_worker): Likewise.
45896 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45897
45898 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45899
45900 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45901 "aux_cache->nlibs < 0".
45902
45903 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45904 in the reload-count case.
45905
45906 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45907
45908 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45909 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45910 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45911 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45912 * sysdeps/x86_64/multiarch/strcat.S: New file.
45913 * sysdeps/x86_64/multiarch/strncat.S: New file.
45914 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45915 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45916 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45917 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45918 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45919 (USE_AS_STRCAT): Define.
45920 Add strcat and strncat support.
45921 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45922 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45923 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45924 * string/strncat.c: Update.
45925 (USE_AS_STRNCAT): Define.
45926 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45927 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45928 and i7.
45929 * sysdeps/x86_64/multiarch/init-arch.h
45930 (bit_Prefer_PMINUB_for_stringop): New.
45931 (index_Prefer_PMINUB_for_stringop): Likewise.
45932 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45933 bit_Prefer_PMINUB_for_stringop.
45934
45935 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45936
45937 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45938 buffer64.
45939 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45940 of casting of buffer.
45941 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45942 buffer32 and buffer64.
45943 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45944 writes instead of casting of buffer.
45945 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45946 buffer32.
45947 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45948 casting of buffer.
45949
45950 2011-07-19 Andreas Schwab <schwab@redhat.com>
45951
45952 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45953
45954 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45955
45956 * nscd/nscd.c (termination_handler): Don't do anything for a database
45957 if it has not yet been initialized.
45958
45959 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45960
45961 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45962
45963 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45964
45965 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45966
45967 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45968
45969 * po/nl.po: Update from translation team.
45970 * po/sv.po: Likewise.
45971
45972 2011-07-16 Roland McGrath <roland@hack.frob.com>
45973
45974 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45975 now disallowed by GCC.
45976
45977 * configure.in (use-default-link): Default to yes if a test -shared
45978 link meets our qualifications.
45979 * configure: Regenerated.
45980
45981 * config.make.in (output-format): New variable.
45982 * configure.in: Check for ld --print-output-format support.
45983 * configure: Regenerated.
45984 * Makerules ($(common-objpfx)format.lds)
45985 [$(output-format) != unknown]: Just use $(output-format),
45986 instead of the linker-script munging.
45987
45988 2011-07-14 Roland McGrath <roland@hack.frob.com>
45989
45990 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45991 of $(common-objpfx)shlib.lds.
45992 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45993
45994 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45995 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45996
45997 * configure.in (-z relro check): Adjust test code to add a large
45998 writable data section after it.
45999 * configure: Regenerated.
46000
46001 2011-07-11 Roland McGrath <roland@hack.frob.com>
46002
46003 * configure.in (-z relro check): Fix test code to make the variable
46004 truly const.
46005 * configure: Regenerated.
46006
46007 2011-07-11 Ulrich Drepper <drepper@gmail.com>
46008
46009 * nscd/nscd.h (struct traced_file): Define.
46010 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46011 elements. Add traced_files.
46012 (inotify_fd): Declare.
46013 (register_traced_file): Declare.
46014 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46015 (inotify_fd): Export.
46016 (resolv_conf_descr): Remove.
46017 (nscd_init): Move inotify descriptor creation to main.
46018 Don't register files for notification here.
46019 (register_traced_file): New function.
46020 (invalidate_cache): Don't use reset_res to determine whether to call
46021 res_init, go through the list of registered files.
46022 (main_loop_poll): The inotify descriptors are now stored in the
46023 structures for the traced files.
46024 (main_loop_epoll): Likewise
46025 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46026 to __nss_disable_nscd.
46027 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46028 for a database anymore. Check the records for all the registered
46029 files instead.
46030 * nss/Makefile (libnss_files-routines): Add files-init.
46031 (libnss_db-routines): Add db-init.
46032 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46033 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46034 * nss/nss_db/db-init.c: New file.
46035 * nss/nss_files/files-init.c: New file.
46036 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46037 __nss_lookup_function.
46038 (__nss_lookup_function): Call nss_load_library.
46039 (nss_load_all_libraries): New function.
46040 (__nss_disable_nscd): Take parameter with callback function for files
46041 to register. Set is_nscd. Load all the DSOs for the NSS modules
46042 used for the cached services.
46043 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46044 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46045 options for features to all the files in nscd.
46046
46047 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46048
46049 2011-07-10 Roland McGrath <roland@hack.frob.com>
46050
46051 * csu/elf-init.c (__libc_csu_init): Comment typo.
46052
46053 2011-07-09 Ulrich Drepper <drepper@gmail.com>
46054
46055 * po/pl.po: Update from translation team.
46056 * po/ja.po: Likewise.
46057 * po/ru.po: Likewise.
46058 * po/ko.po: Likewise.
46059 * po/fr.po: Likewise.
46060
46061 2011-07-09 Roland McGrath <roland@hack.frob.com>
46062
46063 * configure.in (.ctors/.dtors header and trailer check):
46064 Use an empirical test on a built program.
46065 * configure: Regenerated.
46066
46067 * configure.in (-z relro check): Use an empirical test on a built DSO.
46068 Detect, but do not require, on ia64.
46069 * configure: Regenerated.
46070
46071 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46072 Update tests that use readelf to use $READELF instead.
46073 * configure: Regenerated.
46074
46075 2011-07-08 Ulrich Drepper <drepper@gmail.com>
46076
46077 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46078 if the result is not used.
46079
46080 2011-07-05 Andreas Jaeger <aj@suse.de>
46081
46082 [BZ#9696]
46083 * stdlib/tst-strtod.c: Add testcase.
46084
46085 2011-07-07 Ulrich Drepper <drepper@gmail.com>
46086
46087 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46088 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46089 The latter has a higher limit. Take additional parameter to pass to
46090 the new function.
46091 (__pathconf): Pass file to __statfs_link_max.
46092 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46093 __statfs_link_max.
46094 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46095 __statfs_link_max.
46096
46097 [BZ #12868]
46098 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46099 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46100 Handle Lustre.
46101 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46102 (__statfs_filesize_max): Likewise.
46103 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46104
46105 2011-07-05 Andreas Jaeger <aj@suse.de>
46106
46107 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46108
46109 2011-07-06 Marek Polacek <mpolacek@redhat.com>
46110
46111 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46112 `status' variable.
46113 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46114 Likewise.
46115
46116 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46117
46118 * Makefile (strop-tests): Add strncat.
46119 * string/test-strncat.c: New file.
46120
46121 2011-06-30 Marek Polacek <mpolacek@redhat.com>
46122
46123 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46124
46125 2011-06-21 Andreas Jaeger <aj@suse.de>
46126
46127 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46128 Copy rule from iconvdata/Makefile.
46129
46130 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46131
46132 [BZ #12922]
46133 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46134 but no long options are defined, just return 'W'.
46135
46136 2011-06-22 Marek Polacek <mpolacek@redhat.com>
46137
46138 [BZ #9696]
46139 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46140
46141 2011-07-06 Ulrich Drepper <drepper@gmail.com>
46142
46143 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46144 netgroups to read.
46145 (innetgr): Likewise.
46146
46147 2011-07-05 Roland McGrath <roland@hack.frob.com>
46148
46149 * config.make.in (install_root): Default to $(DESTDIR).
46150
46151 2011-07-05 Ulrich Drepper <drepper@gmail.com>
46152
46153 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46154
46155 2011-07-02 Roland McGrath <roland@hack.frob.com>
46156
46157 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46158
46159 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46160 containing directory rather than embedding absolute directory names.
46161
46162 * scripts/check-local-headers.sh: Rewritten using awk.
46163 Match by word, not by line. Print error messages for matches.
46164 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46165
46166 * Makerules [shlib-lds-flags empty]:
46167 ($(common-objpfx)libc_pic.opts): New target.
46168 ($(common-objpfx)libc_pic.os.clean): New target.
46169 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46170
46171 * config.make.in (OBJCOPY): New variable.
46172 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46173 * configure: Regenerated.
46174
46175 * config.make.in (use-default-link): New variable.
46176 * configure.in (use_default_link): Grok --with-default-link to set it.
46177 * configure: Regenerated.
46178 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46179 (shlib-lds, shlib-lds-flags): Define to empty.
46180
46181 * Makerules (shlib-lds): New variable.
46182 (shlib-lds-flags): New variable.
46183 (build-shlib, build-moduile, build-module-asneeded): Use it.
46184 ($(common-objpfx)libc.so): Use $(shlib-lds).
46185 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46186 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46187
46188 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46189 DT_FLAGS/DT_FLAGS_1 with zero flags.
46190
46191 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46192 linker script munging.
46193
46194 2011-07-02 Ulrich Drepper <drepper@gmail.com>
46195
46196 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46197 as 128-bit value.
46198 * crypt/sha512.c (sha512_process_block): Perform total addition using
46199 128-bit if possible.
46200 (__sha512_finish_ctx): Likewise.
46201 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46202 as 64-bit value.
46203 * crypt/sha256.c (SWAP64): Define.
46204 (sha256_process_block): Perform total addition using 64-bit if
46205 possible.
46206 (__sha256_finish_ctx): Likewise.
46207
46208 2011-07-01 Ulrich Drepper <drepper@gmail.com>
46209
46210 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46211 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46212 * nscd/hstcache.c (cache_addhst): Likewise.
46213 * nscd/grpcache.c (cache_addgr): Likewise.
46214 * nscd/aicache.c (addhstaiX): Likewise
46215 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46216
46217 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
46218
46219 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46220 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46221 * nscd/hstcache.c (cache_addhst): Likewise.
46222 * nscd/grpcache.c (cache_addgr): Likewise.
46223 * nscd/aicache.c (addhstaiX): Likewise
46224
46225 2011-07-01 Andreas Schwab <schwab@redhat.com>
46226
46227 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46228 domain only when needed.
46229
46230 2011-06-30 Andreas Schwab <schwab@redhat.com>
46231
46232 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46233 is always restored.
46234
46235 2011-06-29 Ulrich Drepper <drepper@gmail.com>
46236
46237 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46238 are re-adding the entry.
46239 * nscd/servicescache.c (cache_addserv): Likewise.
46240
46241 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46242
46243 * sysdeps/generic/dl-irel.h: fix protection against multiple
46244 inclusions.
46245 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46246
46247 2011-06-28 Ulrich Drepper <drepper@gmail.com>
46248
46249 [BZ #12935]
46250 * malloc/memusage.sh: Fix quoting in message.
46251 * debug/xtrace.sh: Likewise.
46252
46253 * configure.in: Remove support for --experimental-malloc option, make
46254 it the default.
46255 * config.make.in: Likewise.
46256 * malloc/Makefile: Likewise.
46257
46258 2011-06-27 Andreas Schwab <schwab@redhat.com>
46259
46260 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46261 two-byte characters.
46262
46263 2011-06-27 Roland McGrath <roland@hack.frob.com>
46264
46265 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46266 AC_CACHE_CHECK invocation.
46267 * configure: Regenerated.
46268
46269 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46270
46271 2011-06-27 Ulrich Drepper <drepper@gmail.com>
46272
46273 [BZ #12350]
46274 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46275 bit from old_res_options.
46276
46277 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46278
46279 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46280 value type for setfct.
46281
46282 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46283
46284 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46285 __gettimeofday instead of gettimeofday.
46286
46287 2011-06-26 Ulrich Drepper <drepper@gmail.com>
46288
46289 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46290
46291 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46292
46293 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46294
46295 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46296 info.
46297
46298 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46299
46300 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46301 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46302 strcpy-sse2-unaligned strncpy-sse2-unaligned
46303 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46304 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46305 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46306 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46307 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46308 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46309 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46310 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46311 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46312 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46313 (STRCPY): Support SSE2 and SSSE3 versions.
46314
46315 2011-06-24 Ulrich Drepper <drepper@gmail.com>
46316
46317 [BZ #12874]
46318 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46319 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46320 kernels which artificially limit size of requests.
46321
46322 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46323
46324 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46325 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46326 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46327 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46328 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46329 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46330 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46331 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46332 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46333 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46334 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46335 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46336 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46337 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46338 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46339 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46340 Enable unaligned load optimization for Intel Core i3, i5 and i7
46341 processors.
46342 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46343 Define.
46344 (index_Fast_Unaligned_Load): Define.
46345 (HAS_FAST_UNALIGNED_LOAD): Define.
46346
46347 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46348
46349 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46350
46351 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46352
46353 [BZ #12907]
46354 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46355 until it is clear that the information is realy needed.
46356 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46357
46358 2011-06-22 Andreas Schwab <schwab@redhat.com>
46359
46360 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46361
46362 2011-06-22 Ulrich Drepper <drepper@gmail.com>
46363
46364 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46365 /sys/devices/system/cpu/online if it is usable.
46366
46367 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46368 reading the information from the /proc filesystem to once a second.
46369
46370 2011-06-21 Andreas Jaeger <aj@suse.de>
46371
46372 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46373 NULL after inclusion of kernel headers.
46374
46375 2011-06-21 Ulrich Drepper <drepper@gmail.com>
46376
46377 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46378 calls to internal_setent.
46379
46380 [BZ #12885]
46381 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46382 addresses using gethostbyname4_r ignore IPv4 addresses.
46383
46384 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46385 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46386
46387 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46388
46389 2011-06-20 David S. Miller <davem@davemloft.net>
46390
46391 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46392 inclusions.
46393 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46394
46395 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46396 (elf_irel): Use it.
46397 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46398 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46399 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46400 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46401 * sysdeps/x86_64/dl-irel.h: Likewise.
46402
46403 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46404 * elf/dl-sym.c: Likewise.
46405
46406 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46407
46408 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46409 need to dereference resplen2.
46410
46411 2011-06-14 Andreas Schwab <schwab@redhat.com>
46412
46413 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46414
46415 2011-06-15 Ulrich Drepper <drepper@gmail.com>
46416
46417 * Makeconfig: Define vardbdir and inst_vardbdir.
46418 * nss/Makefile: Add rules to install db-Makefile.
46419
46420 * nss/nss_db/db-XXX.c: Cleanup.
46421
46422 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46423 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46424 GLIBC_PRIVATE.
46425 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46426 * nss/makedb.c: Implement -g option to specify that value strings
46427 are generated and should not be added to table iterated over for
46428 get*ent calls.
46429 * nss/nss_db/db-initgroups.c: New file.
46430
46431 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46432 interface.
46433
46434 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46435 (internal_getgrouplist): Adjust to name change.
46436 Update use_initgroups_entry if this is not the first call.
46437 * nss/databases.def: Add initgroups entry.
46438
46439 * nss/makedb.c (compute_tables): Check result of multiple hash table
46440 sizes to minimize maximum chain length.
46441
46442 2011-06-14 Ulrich Drepper <drepper@gmail.com>
46443
46444 * Versions.def: Add entry for libnss_db.
46445 * shlib-versions: Likewise.
46446 * nss/Makefile: Add rules to build libnss_db.
46447 * nss/Versions: Add libnss_db information. Organize libnss_files
46448 entries better.
46449 * nss/db-Makefile: Add gshadow support. Change rules for the new
46450 makedb progra. Some minor improvements to generate smaller files.
46451 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46452 here from...
46453 * nss/makedb.c: ...here.
46454 Improve database format to be smaller and require less memory at
46455 runtime.
46456 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46457 db anymore.
46458 * nss/nss_db/db-netgrp.c: Likewise.
46459 * nss/nss_db/db-open.c: Likewise.
46460 * nss/nss_files/flies-XXX.x: Adjust comments.
46461 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46462 * nss/nss_files/files-grp.c: Likewise.
46463 * nss/nss_files/files-hosts.c: Likewise.
46464 * nss/nss_files/files-network.c: Likewise.
46465 * nss/nss_files/files-proto.c: Likewise.
46466 * nss/nss_files/files-pwd.c: Likewise.
46467 * nss/nss_files/files-rpc.c: Likewise.
46468 * nss/nss_files/files-service.c: Likewise.
46469 * nss/nss_files/files-sgrp.c: Likewise.
46470 * nss/nss_files/files-spwd.c: Likewise.
46471 * nss/nss_db/db-alias.c: Removed.
46472 * nss/nss_db/dummy-db.h: Removed.
46473
46474 2011-06-02 Ulrich Drepper <drepper@gmail.com>
46475
46476 * nss/makedb.c: Rewritten to not use database library.
46477 * nss/Makefile: Update to build new makedb program.
46478
46479 2011-06-14 Andreas Jaeger <aj@suse.de>
46480
46481 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46482 memset declaration.
46483
46484 2011-06-10 Andreas Schwab <schwab@redhat.com>
46485
46486 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46487 tmpbuf.
46488
46489 2011-06-10 Roland McGrath <roland@hack.frob.com>
46490
46491 * Makerules (shlib.lds): Fail if the linker script comes out empty.
46492 * elf/Makefile ($(objpfx)ld.so): Likewise.
46493
46494 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46495 Don't list ld.so twice in dependencies.
46496
46497 * posix/bug-regex31.c: Include <stdlib.h>.
46498
46499 * nscd/hstcache.c (cache_addhst): Remove unused variable.
46500
46501 * nis/nss_compat/compat-spwd.c
46502 (getspent_next_nss_netgr): Remove unused variable.
46503 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46504
46505 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46506 nonmembers" output to use the right array.
46507
46508 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46509
46510 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46511
46512 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46513 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46514 * catgets/gencat.c (read_input_file): Likewise.
46515 * locale/programs/locarchive.c (enlarge_archive): Likewise.
46516
46517 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46518 variable definition inside #if's controlling its use.
46519
46520 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46521
46522 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46523
46524 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46525
46526 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46527 unreachable code.
46528
46529 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46530
46531 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46532 * configure: Regenerated.
46533
46534 * Makerules: Revert last change.
46535 * elf/Makefile: Likewise.
46536
46537 2011-06-09 Roland McGrath <roland@hack.frob.com>
46538
46539 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46540 * elf/Makefile ($(objpfx)librtld.os): Likewise.
46541 (reloc-link): Likewise.
46542
46543 2011-06-09 Ulrich Drepper <drepper@gmail.com>
46544
46545 * elf/Makefile: Add rules to build pldd.
46546 * elf/pldd.c: New file.
46547 * elf/pldd-xx.c: New file.
46548
46549 2011-06-07 Ulrich Drepper <drepper@gmail.com>
46550
46551 * version.h: Update for 2.15 development version.
46552
46553 2011-06-07 David S. Miller <davem@davemloft.net>
46554
46555 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46556 ifuncs.
46557 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46558 elf_machine_lazy_rel): Likewise.
46559 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46560 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46561 elf_machine_lazy_rel): Likewise.
46562 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46563 dl_hwcap via passed in argument.
46564 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46565 Likewise.
46566
46567 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46568
46569 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
46570
46571 2011-06-06 Roland McGrath <roland@hack.frob.com>
46572
46573 [BZ #12849]
46574 * manual/fdl-1.1.texi: New file, verbatim from:
46575 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46576 * manual/lgpl-2.1.texi: New file, verbatim from:
46577 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46578 * manual/Makefile (licenses): New variable, list those new file names.
46579 (texis): Use it.
46580 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46581
46582 * manual/fdl.texi: File removed.
46583 * manual/lesser.texi: File removed.
46584 * manual/libc.texinfo (Copying, Documentation License):
46585 Use new @include file names, put @appendix directive before @include.
46586
46587 2011-06-04 Jakub Jelinek <jakub@redhat.com>
46588
46589 [BZ #12841]
46590 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46591 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46592 (mq_open): Add __NTH.
46593
46594 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
46595
46596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46597 Assume Intel Core i3/i5/i7 processor if AVX is available.
46598
46599 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46600
46601 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46602 typo.
46603
46604 2011-05-31 Andreas Schwab <schwab@redhat.com>
46605
46606 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46607 memory. Use alloca_account. Fix memory leak when retrying.
46608
46609 2011-05-31 Ulrich Drepper <drepper@gmail.com>
46610
46611 * version.h (RELEASE): Bump for 2.14 release.
46612 * include/features.h (__GLIBC_MINOR__): Bump to 14.
46613
46614 * config.make.in (RANLIB): Remove entry.
46615
46616 2011-05-30 Ulrich Drepper <drepper@gmail.com>
46617
46618 * po/Makefile (po-sed-cmd): Add ksh to extensions.
46619 (libc.pot): Work around missing support for .ksh extension in xgettext.
46620
46621 [BZ #12684]
46622 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46623 if both request failed.
46624 (send_dg): In case of server errors clear resplen or *resplen2.
46625
46626 [BZ #12454]
46627 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46628 when there are multiple maps.
46629 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46630 (_dl_fini): Remove test here.
46631
46632 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46633
46634 2011-05-29 Ulrich Drepper <drepper@gmail.com>
46635
46636 [BZ #12350]
46637 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46638 bit from old_res_options.
46639 (gaih_inet): Likewise.
46640
46641 [BZ #11099]
46642 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46643 as signed.
46644
46645 * resolv/res_init.c (res_setoptions): Make the code more compact.
46646
46647 [BZ #11558]
46648 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
46649 set RES_USEVC.
46650
46651 [BZ #11634]
46652 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
46653
46654 * malloc/malloc.h: Mark malloc hook variables as deprecated.
46655
46656 [BZ #11781]
46657 * malloc/malloc.h: Declare malloc hook variables as volatile.
46658
46659 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
46660 in last patch.
46661
46662 [BZ #11799]
46663 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
46664 raise in the comment.
46665 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46666 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46667 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
46668
46669 2011-05-28 Ulrich Drepper <drepper@gmail.com>
46670
46671 [BZ #12811]
46672 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
46673 grow the buffers more if it already has to be sufficient.
46674 (build_wcs_upper_buffer): Likewise.
46675 * posix/regexec.c (check_matching): Likewise.
46676 (clean_state_log_if_needed): Likewise.
46677 (extend_buffers): Don't enlarge buffers beyond size of the input
46678 buffer.
46679 Patches mostly by Emil Wojak <emil@wojak.eu>.
46680 * posix/bug-regex32.c: New file.
46681 * posix/Makefile (tests): Add bug-regex32.
46682
46683 * locale/findlocale.c (_nl_find_locale): Return right away if
46684 _nl_explode_name failed.
46685 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
46686
46687 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
46688
46689 * debug/xtrace.sh: Unify messages.
46690 * malloc/memusage.sh: Likewise.
46691
46692 [BZ #12813]
46693 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
46694 time symbol from vDSO. Substitute with vsyscall if not available.
46695 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
46696 __vdso_time.
46697
46698 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
46699 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
46700 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
46701 Add sendmmsg and internal_sendmmsg.
46702 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
46703 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
46704 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
46705
46706 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
46707 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
46708 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
46709
46710 2011-05-27 Ulrich Drepper <drepper@gmail.com>
46711
46712 [BZ #12813]
46713 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
46714 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
46715 available.
46716 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
46717 __vdso_getcpu.
46718
46719 [BZ #12814]
46720 * iconvdata/Makefile (tests): Add bug-iconv9.
46721 * iconvdata/bug-iconv9.c: New file.
46722
46723 2011-05-27 Andreas Schwab <schwab@redhat.com>
46724
46725 [BZ #12814]
46726 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
46727
46728 2011-05-25 Jakub Jelinek <jakub@redhat.com>
46729
46730 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46731 (struct user_regs_struct): Change intcs field back to cs.
46732
46733 2011-05-25 Ulrich Drepper <drepper@gmail.com>
46734
46735 * po/ja.po: Update from translation team.
46736
46737 2011-05-23 Ulrich Drepper <drepper@gmail.com>
46738
46739 [BZ #12795]
46740 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
46741 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
46742
46743 2011-05-20 Andreas Schwab <schwab@redhat.com>
46744
46745 * stdlib/longlong.h: Update from GCC.
46746
46747 2011-05-23 Andreas Schwab <schwab@redhat.com>
46748
46749 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
46750 parameter name.
46751 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
46752 Add parameter name.
46753 (__sysconf): Pass it down.
46754
46755 2011-05-22 Ulrich Drepper <drepper@gmail.com>
46756
46757 [BZ #12671]
46758 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
46759 some situations.
46760 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46761 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
46762 add in in __libc_use_alloca calls. Adjust callers.
46763 (glob): Use malloc in some situations.
46764
46765 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
46766 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
46767 pltexit.
46768
46769 2011-05-21 Ulrich Drepper <drepper@gmail.com>
46770
46771 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
46772 and CLOCK_BOOTTIME_ALARM.
46773
46774 [BZ #12782]
46775 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
46776 is returned.
46777
46778 * string/_strerror.c (__strerror_r): Print negative errors as signed
46779 numbers.
46780
46781 [BZ #12777]
46782 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
46783 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
46784 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
46785
46786 * configure.in: Fix typo in redirection and correct removal of test
46787 files in two cases.
46788
46789 [BZ #12788]
46790 * locale/setlocale.c (new_composite_name): Fix test to check for
46791 identical name of all categories.
46792
46793 [BZ #12792]
46794 * libio/filedoalloc.c (local_isatty): New function.
46795 (_IO_file_doallocate): Use local_isatty.
46796 * stdio-common/perror.c (perror): In case a new stream is used
46797 forward the stream error.
46798 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
46799 error flag.
46800
46801 2011-05-20 Ulrich Drepper <drepper@gmail.com>
46802
46803 [BZ #11869]
46804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
46805 alloca.
46806 * include/alloca.h (extend_alloca_account): Define.
46807
46808 [BZ #11857]
46809 * posix/regex.h: Fix comments with documentation of user-accessible
46810 fields after compilation and describe correct free'ing of pattern
46811 after re_compile_pattern.
46812 Patch by Reuben Thomas <rrt@sc3d.org>.
46813
46814 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
46815
46816 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
46817 and -mno-altivec to prevent the compiler from using Altivec and/or
46818 VSX instructions when the corresponding registers are not available.
46819
46820 2011-05-19 Andreas Schwab <schwab@redhat.com>
46821
46822 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
46823
46824 2011-05-19 Ulrich Drepper <drepper@gmail.com>
46825
46826 * libio/freopen.c (freopen): Use __dup2, not dup2.
46827 * libio/freopen64.c (freopen64): Likewise.
46828
46829 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
46830
46831 [BZ #12775]
46832 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
46833 * math/Makefile (tests): Add test-powl.
46834 (CFLAGS-test-powl.c): Define.
46835 * math/test-powl.c: New file.
46836
46837 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
46838
46839 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
46840
46841 2011-05-17 Ulrich Drepper <drepper@gmail.com>
46842
46843 [BZ #11837]
46844 * iconvdata/gb18030.c: Update to GB18020-2005.
46845
46846 2011-05-16 Ulrich Drepper <drepper@gmail.com>
46847
46848 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
46849 RE_SYNTAX_POSIX_AWK): Update to match recent development.
46850 Patch by Aharon Robbins <arnold@skeeve.com>.
46851
46852 [BZ #11892]
46853 * stdlib/putenv.c (putenv): Don't always create copy of the variable
46854 on the stack.
46855
46856 [BZ #11895]
46857 * misc/pselect.c (__pselect): Handle timeout value errors hidden
46858 through underflows.
46859
46860 [BZ #12766]
46861 * misc/error.c (error_at_line): Ensure file_name and old_file_name
46862 point to strings before performing equality test for error_one_per_line
46863 mode.
46864
46865 [BZ #11697]
46866 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
46867
46868 [BZ #11820]
46869 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
46870 (struct user_fpregs_struct): Avoid __uint*_t types.
46871
46872 [BZ #6420]
46873 * malloc/mtrace.c (tr_where): Add additional parameter to point to
46874 symbol info. Use it instead of calling _dl_addr locally.
46875 (lock_and_info): New function.
46876 (tr_freehook): Call lock_and_info and pass symbol info as additional
46877 parameter to tr_where.
46878 (tr_mallochook): Likewise.
46879 (tr_reallochook): Likewise.
46880 (tr_memalignhook): Likewise.
46881
46882 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46883 used and couldn't be at all thread-safe.
46884
46885 2011-05-15 Ulrich Drepper <drepper@gmail.com>
46886
46887 * libio/freopen.c (freopen): Don't close old file descriptor
46888 before the new one is opened. Instead dup the new file descriptor
46889 to the old one after the new stream is created.
46890 * libio/freopen64.c (freopen64): Likewise.
46891 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46892 * libio/fileops.c (_IO_new_file_close_it): Handle new
46893 _IO_FLAGS2_NOCLOSE flag.
46894 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46895 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46896 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46897 _IO_FLAGS2_NOCLOSE flag.
46898 * include/unistd.h: Add hidden_proto for dup3.
46899 Define __have_dup3.
46900 * io/dup3.c: Define hidden symbol.
46901 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46902
46903 [BZ #7101]
46904 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46905 when an incomplete long option is used.
46906 * posix/tst-getopt_long1.c: New file.
46907 * posix/Makefile (tests): Add tst-getopt_long1.
46908
46909 [BZ #10138]
46910 * scripts/config.guess: Update from autoconf-2.68.
46911 * scripts/config.sub: Likewise.
46912
46913 [BZ #10157]
46914 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46915 tests into ...
46916 (has_cpuclock): ...this. New function.
46917 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46918 macro here based on has_cpuclock code.
46919
46920 [BZ #10149]
46921 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46922 First byte (not low byte) is now always NUL.
46923 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46924
46925 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46926 Use non-cancelable interfaces.
46927
46928 [BZ #9809]
46929 * locale/iso-639.def: Add entry for Sorani.
46930
46931 [BZ #11901]
46932 * include/stdlib.h: Move include protection to the right place.
46933 Define abort_msg_s. Declare __abort_msg with it.
46934 * stdlib/abort.c (__abort_msg): Adjust type.
46935 * assert/assert.c (__assert_fail_base): New function. Majority
46936 of code from __assert_fail. Allocate memory for __abort_msg with
46937 mmap.
46938 (__assert_fail): Now call __assert_fail_base.
46939 * assert/assert-perr.c: Remove bulk of implementation. Use
46940 __assert_fail_base.
46941 * include/assert.hL Declare __assert_fail_base.
46942 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46943 mmap.
46944 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46945
46946 2011-05-14 Ulrich Drepper <drepper@gmail.com>
46947
46948 [BZ #11952]
46949 [BZ #12453]
46950 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46951 until all modules are registered in the DTV.
46952 * elf/Makefile: Add rules to build and run tst-tls19.
46953 * elf/tst-tls19.c: New file.
46954 * elf/tst-tls19mod1.c: New file.
46955 * elf/tst-tls19mod2.c: New file.
46956 * elf/tst-tls19mod3.c: New file.
46957 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46958
46959 [BZ #12083]
46960 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46961 correctly.
46962
46963 [BZ #12601]
46964 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46965 two-byte sequence errors.
46966 * iconvdata/Makefile (tests): Add bug-iconv8.
46967 * iconvdata/bug-iconv8.c: New file.
46968
46969 [BZ #12626]
46970 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46971 buf2 definition.
46972
46973 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46974
46975 [BZ #12432]
46976 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46977 (dummy_getcfa): New function.
46978 (init): Get _Unwind_GetCFA address, use dummy if not found.
46979 (backtrace_helper): In recursion check, also check whether CFA changes.
46980 (__backtrace): Completely initialize arg.
46981
46982 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46983 storing incomplete byte sequence in state object. Avoid testing for
46984 guaranteed too small input if we know there is enough data available.
46985
46986 2011-05-11 Andreas Schwab <schwab@redhat.com>
46987
46988 * Makeconfig (+link-pie): Indent.
46989 * Rules (binaries-pie): Define if $(have-fpie) and
46990 $(build-shared).
46991 (binaries-shared): Also filter out $(binaries-pie).
46992 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46993 * nscd/Makefile (others-pie): Add nscd.
46994 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46995 ($(objpfx)nscd): Remove command override.
46996 * login/Makefile (others-pie): Add pt_chown.
46997 ($(objpfx)pt_chown): Remove command override.
46998 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46999 remove command overrides.
47000
47001 2011-05-13 Ulrich Drepper <drepper@gmail.com>
47002
47003 * libio/tst_putwc.c: Fix error messages.
47004
47005 [BZ #12724]
47006 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47007 currently writing and seek to current position when not.
47008 * libio/Makefile (tests): Add bug-fclose1.
47009 * libio/bug-fclose1.c: New file.
47010
47011 2011-05-12 Ulrich Drepper <drepper@gmail.com>
47012
47013 [BZ #12511]
47014 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47015 don't set DF_1_NODELETE here.
47016 (do_lookup_x): When entering new entry test for copy relocation
47017 and if necessary set DF_1_NODELETE flag.
47018 * elf/tst-unique4.cc: New file.
47019 * elf/tst-unique4.h: New file.
47020 * elf/tst-unique4lib.cc: New file.
47021 * elf/Makefile: Add rules to build and run tst-unique4.
47022 Patch by Piotr Bury <pbury@goahead.com>.
47023
47024 2011-05-11 Ulrich Drepper <drepper@gmail.com>
47025
47026 [BZ #12052]
47027 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47028
47029 [BZ #12625]
47030 * misc/mntent_r.c (addmntent): Flush the stream after the output
47031
47032 [BZ #12393]
47033 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47034 (is_trusted_path_normalize): Skip initial colon. Append slash
47035 to empty buffer. Duplicate is_trusted_path code but allow
47036 constructed patch to be prefix.
47037 (is_dst): Allow $ORIGIN followed by /.
47038 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47039 Correct testing of result of is_trusted_path_normalize
47040 (decompose_rpath): Fix warning.
47041
47042 2011-05-10 Ulrich Drepper <drepper@gmail.com>
47043
47044 [BZ #11257]
47045 * grp/initgroups.c (internal_getgrouplist): When we found the service
47046 list through the initgroups entry in nsswitch.conf do not always
47047 continue on a successful lookup. Don't always use the
47048 __nss_group_database value if it is set.
47049 * nss/nsswitch.conf (initgroups): Change action for successful db
47050 lookup to continue for compatibility.
47051
47052 2011-05-09 Ulrich Drepper <drepper@gmail.com>
47053
47054 [BZ #11532]
47055 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47056 and CP774 modules.
47057 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47058 and CP774 modules.
47059 * iconvdata/tst-tables.sh: Likewise.
47060 * iconvdata/cp770.c: New file.
47061 * iconvdata/cp771.c: New file.
47062 * iconvdata/cp772.c: New file.
47063 * iconvdata/cp773.c: New file.
47064 * iconvdata/cp774.c: New file.
47065 * iconvdata/testdata/CP770: New file.
47066 * iconvdata/testdata/CP770..UTF8: New file.
47067 * iconvdata/testdata/CP771: New file.
47068 * iconvdata/testdata/CP771..UTF8: New file.
47069 * iconvdata/testdata/CP772: New file.
47070 * iconvdata/testdata/CP772..UTF8: New file.
47071 * iconvdata/testdata/CP773: New file.
47072 * iconvdata/testdata/CP773..UTF8: New file.
47073 * iconvdata/testdata/CP774: New file.
47074 * iconvdata/testdata/CP774..UTF8: New file.
47075
47076 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47077 END CHARMAP line.
47078 * iconvdata/gen-8bit-gap.sh: Likewise.
47079 * iconvdata/gen-8bit.sh: Likewise.
47080
47081 * locale/iso-639.def: Add ary entry.
47082
47083 [BZ #11258]
47084 * locale/C-translit.h.in: Add U20A1 transliteration.
47085
47086 [BZ #12178]
47087 * locale/iso-639.def: Add wae entry.
47088 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47089
47090 [BZ #12545]
47091 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47092 for n.
47093
47094 [BZ #12711]
47095 * locale/C-translit.h.in: Add entry for U20B9.
47096 Patch by pravin.d.s@gmail.com.
47097
47098 2011-05-08 Ulrich Drepper <drepper@gmail.com>
47099
47100 [BZ #12713]
47101 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47102 ENAMETOOLONG use generic getcwd.
47103 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47104 in rtld. Use *stat64.
47105 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47106 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47107 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47108 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47109 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47110 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47111 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47112 __fstatat64 macros.
47113 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47114 * dirent/rewinddir.c: Add libc_hidden_def.
47115 * sysdeps/mach/hurd/rewinddir.c: Likewise.
47116 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
47117
47118 * include/dirent.h (__alloc_dir): Add flags parameter.
47119 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47120 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47121 __alloc_dir.
47122 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47123 from fdopendir if O_CLOEXEC is already set.
47124
47125 2011-03-15 Alan Modra <amodra@gmail.com>
47126
47127 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47128 l_tls_firstbyte_offset non-zero. Save padding offset in
47129 l_tls_firstbyte_offset for later use.
47130 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47131 freeing static tls block.
47132
47133 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47134
47135 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47136 where #ifdef was intended. The intent is to prevent ARG_MAX from
47137 being defined by the kernel headers.
47138
47139 2011-05-07 Ulrich Drepper <drepper@gmail.com>
47140
47141 [BZ #12734]
47142 * resolv/resolv.h: Define RES_NOTLDQUERY.
47143 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47144 no-tld-query and set RES_NOTLDQUERY.
47145 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47146 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47147 modern BIND to search name as TLD unless forbidden.
47148
47149 2011-05-07 Petr Baudis <pasky@suse.cz>
47150 Ulrich Drepper <drepper@gmail.com>
47151
47152 [BZ #12393]
47153 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47154 (is_trusted_path): ...to here.
47155 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47156 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47157 using is_trusted_path_normalize() in setuid scripts.
47158
47159 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47160
47161 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47162 __BEGIN/__END_DECLS.
47163
47164 2011-05-06 Ulrich Drepper <drepper@gmail.com>
47165
47166 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47167 NSS_STATUS_NOTFOUND if no record was found.
47168
47169 2011-05-05 Andreas Schwab <schwab@redhat.com>
47170
47171 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47172 (headers-not-in-tirpc): Remove rpc/netdb.h
47173 * resolv/netdb.h: Revert last change.
47174
47175 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47176
47177 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47178 circular dependency between libgcc.a and libc.a.
47179
47180 2011-05-05 Andreas Schwab <schwab@redhat.com>
47181
47182 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47183 * nis/Makefile: Don't install rpcsvc/*.
47184 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47185 instead of <rpc/types.h>.
47186 (MAXHOSTNAMELEN): Define.
47187
47188 2011-05-03 Andreas Schwab <schwab@redhat.com>
47189
47190 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47191
47192 2011-04-28 Maciej Babinski <mbabinski@google.com>
47193
47194 [BZ #12714]
47195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47196 gethostbyname4_r when IPv6 results are possible.
47197
47198 2011-05-02 Ulrich Drepper <drepper@gmail.com>
47199
47200 [BZ #12723]
47201 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47202 _PC_PIPE_BUF handling.
47203
47204 2011-04-30 Bruno Haible <bruno@clisp.org>
47205
47206 [BZ #12717]
47207 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47208 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47209 to 'int'.
47210 * inet/getnameinfo.c (getnameinfo): Likewise.
47211
47212 2011-04-29 Ulrich Drepper <drepper@gmail.com>
47213
47214 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47215 to groups setting in database lookup.
47216 * nss/nsswitch.conf: Add initgroups entry.
47217
47218 2011-04-22 Ulrich Drepper <drepper@gmail.com>
47219
47220 [BZ #12685]
47221 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47222 mode string.
47223 Patch by Eric Blake <eblake@redhat.com>.
47224
47225 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47226
47227 * sunrpc/Makefile (need-export-routines): Add svc_run.
47228 (routines): Remove svc_run.
47229 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47230 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47231 * sunrpc/svc_run.c (svc_run): Likewise.
47232 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47233
47234 2011-04-21 Ulrich Drepper <drepper@gmail.com>
47235
47236 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47237 problem in reallocation in last patch.
47238
47239 2011-04-20 Ulrich Drepper <drepper@gmail.com>
47240
47241 * sunrpc/Makefile: Move inclusion of Rules.
47242
47243 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47244
47245 * nss/nss_files/files-initgroups.c: New file.
47246 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47247 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47248 _nss_files_initgroups_dyn.
47249
47250 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47251
47252 * elf/elf.h (R_ARM_IRELATIVE): Define.
47253
47254 2011-04-19 Ulrich Drepper <drepper@gmail.com>
47255
47256 * po/ru.po: Update from translation team.
47257
47258 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47259
47260 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47261 dependencies.
47262
47263 2011-02-06 Mike Frysinger <vapier@gentoo.org>
47264
47265 [BZ #12653]
47266 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47267 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47268 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47269 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47270 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47271
47272 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47273
47274 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47275 differing bytes.
47276 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47277 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47278 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47279
47280 2011-04-17 Ulrich Drepper <drepper@gmail.com>
47281
47282 [BZ #12420]
47283 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47284 storing it.
47285 * stdlib/bug-getcontext.c: New file.
47286 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47287
47288 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47289
47290 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47291 instructions into .machine "z9-109".
47292 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47293 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47294
47295 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47296
47297 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47298 between environment variables and auxiliary vector.
47299
47300 2011-04-16 Ulrich Drepper <drepper@gmail.com>
47301
47302 * Makefile: Add rules to build linkobj/libc.so.
47303 * include/libc-symbols.h: Define libc_hidden_nolink.
47304 * include/rpc/auth.h: Mark functions which are to be hidden.
47305 * include/rpc/auth_des.h: Likewise.
47306 * include/rpc/auth_unix.h: Likewise.
47307 * include/rpc/clnt.h: Likewise.
47308 * include/rpc/des_crypt.h: Likewise.
47309 * include/rpc/key_prot.h: Likewise.
47310 * include/rpc/pmap_clnt.h: Likewise.
47311 * include/rpc/pmap_prot.h: Likewise.
47312 * include/rpc/pmap_rmt.h: Likewise.
47313 * include/rpc/rpc_msg.h: Likewise.
47314 * include/rpc/svc.h: Likewise.
47315 * include/rpc/svc_auth.h: Likewise.
47316 * include/rpc/xdr.h: Likewise.
47317 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47318 * nss/Makefile: Likewise.
47319 * sunrpc/Makefile: Don't install headers. Build library with normal
47320 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47321 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47322 for the compat linking library. Remove use of INTDEF/INTUSE.
47323 * sunrpc/auth_none.c: Likewise.
47324 * sunrpc/auth_unix.c: Likewise.
47325 * sunrpc/authdes_prot.c: Likewise.
47326 * sunrpc/authuxprot.c: Likewise.
47327 * sunrpc/clnt_gen.c: Likewise.
47328 * sunrpc/clnt_perr.c: Likewise.
47329 * sunrpc/clnt_raw.c: Likewise.
47330 * sunrpc/clnt_simp.c: Likewise.
47331 * sunrpc/clnt_tcp.c: Likewise.
47332 * sunrpc/clnt_udp.c: Likewise.
47333 * sunrpc/clnt_unix.c: Likewise.
47334 * sunrpc/des_crypt.c: Likewise.
47335 * sunrpc/des_soft.c: Likewise.
47336 * sunrpc/get_myaddr.c: Likewise.
47337 * sunrpc/key_call.c: Likewise.
47338 * sunrpc/key_prot.c: Likewise.
47339 * sunrpc/netname.c: Likewise.
47340 * sunrpc/pm_getmaps.c: Likewise.
47341 * sunrpc/pm_getport.c: Likewise.
47342 * sunrpc/pmap_clnt.c: Likewise.
47343 * sunrpc/pmap_prot.c: Likewise.
47344 * sunrpc/pmap_prot2.c: Likewise.
47345 * sunrpc/pmap_rmt.c: Likewise.
47346 * sunrpc/publickey.c: Likewise.
47347 * sunrpc/rpc_cmsg.c: Likewise.
47348 * sunrpc/rpc_common.c: Likewise.
47349 * sunrpc/rpc_dtable.c: Likewise.
47350 * sunrpc/rpc_prot.c: Likewise.
47351 * sunrpc/rpc_thread.c: Likewise.
47352 * sunrpc/rtime.c: Likewise.
47353 * sunrpc/svc.c: Likewise.
47354 * sunrpc/svc_auth.c: Likewise.
47355 * sunrpc/svc_authux.c: Likewise.
47356 * sunrpc/svc_raw.c: Likewise.
47357 * sunrpc/svc_run.c: Likewise.
47358 * sunrpc/svc_simple.c: Likewise.
47359 * sunrpc/svc_tcp.c: Likewise.
47360 * sunrpc/svc_udp.c: Likewise.
47361 * sunrpc/svc_unix.c: Likewise.
47362 * sunrpc/svcauth_des.c: Likewise.
47363 * sunrpc/xcrypt.c: Likewise.
47364 * sunrpc/xdr.c: Likewise.
47365 * sunrpc/xdr_array.c: Likewise.
47366 * sunrpc/xdr_float.c: Likewise.
47367 * sunrpc/xdr_intXX_t.c: Likewise.
47368 * sunrpc/xdr_mem.c: Likewise.
47369 * sunrpc/xdr_rec.c: Likewise.
47370 * sunrpc/xdr_ref.c: Likewise.
47371 * sunrpc/xdr_sizeof.c: Likewise.
47372 * sunrpc/xdr_stdio.c: Likewise.
47373
47374 2011-04-10 Ulrich Drepper <drepper@gmail.com>
47375
47376 [BZ #12650]
47377 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47378 * sysdeps/ia64/dl-tls.h: Likewise.
47379 * sysdeps/powerpc/dl-tls.h: Likewise.
47380 * sysdeps/s390/dl-tls.h: Likewise.
47381 * sysdeps/sh/dl-tls.h: Likewise.
47382 * sysdeps/sparc/dl-tls.h: Likewise.
47383 * sysdeps/x86_64/dl-tls.h: Likewise.
47384 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47385
47386 2011-03-14 Andreas Schwab <schwab@redhat.com>
47387
47388 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47389 rpath element also skip the following colon.
47390 (expand_dynamic_string_token): Add is_path parameter and pass
47391 down to DL_DST_REQUIRED and _dl_dst_substitute.
47392 (decompose_rpath): Call expand_dynamic_string_token with
47393 non-zero is_path. Ignore empty rpaths.
47394 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47395 with zero is_path.
47396
47397 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47398
47399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47400 Make cancelable.
47401
47402 2011-04-09 Ulrich Drepper <drepper@gmail.com>
47403
47404 [BZ #12655]
47405 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47406 Patch by Filipe David Manana <fdmanana@apache.org>.
47407
47408 2011-04-07 Andreas Schwab <schwab@redhat.com>
47409
47410 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47411 Maintain aligned stack.
47412 (CHECK_RSP): Remove unused macro.
47413
47414 2011-04-03 Ulrich Drepper <drepper@gmail.com>
47415
47416 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47417 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47418
47419 2011-04-02 Ulrich Drepper <drepper@gmail.com>
47420
47421 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47422
47423 * include/features.h: Mention __USE_XOPEN2K8 in comment.
47424
47425 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47426
47427 [BZ #12518]
47428 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47429 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47430 * sysdeps/x86_64/memmove.c: New file.
47431 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47432 (memcpy): Renamed to ...
47433 (__new_memcpy): This.
47434 (memcpy): Provide GLIBC_2_14 memcpy.
47435 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47436 (memcpy): Provide GLIBC_2_2_5 memcpy.
47437
47438 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47439
47440 [BZ #12631]
47441 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47442
47443 2011-03-30 Andreas Schwab <schwab@redhat.com>
47444
47445 * misc/syncfs.c: New file.
47446 * misc/Makefile (routines): Add syncfs.
47447 * posix/unistd.h: Declare syncfs.
47448 * sysdeps/unix/syscalls.list: Add syncfs.
47449
47450 2011-04-01 Andreas Schwab <schwab@redhat.com>
47451
47452 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47453 open_by_handle_at.
47454 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47455 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47456 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47457 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47458 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47459 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47460 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47461
47462 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47463
47464 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47465 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47466 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47467 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47468 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47469 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47470 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47471
47472 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47473 sync_file_range.c with -fexceptions.
47474 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47475 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47476 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47477 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47478 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47479 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47480 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47481 sync_file_range as cancellation point
47482 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47483 now a wrapper around __call_sync_file_range with cancellation handling.
47484 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47485 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47486 function name to __call_sync_file_range.
47487 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47488 Add call_sync_file_range.
47489
47490 2011-04-01 Andreas Schwab <schwab@redhat.com>
47491
47492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47493 bits/timex.h.
47494
47495 2011-04-01 Ulrich Drepper <drepper@gmail.com>
47496
47497 * iconv/iconv.h: Fix typo in comment.
47498 * io/fcntl.h: Likewise.
47499 * libio/stdio.h: Likewise.
47500 * posix/spawn.h: Likewise.
47501 * posix/unistd.h: Likewise.
47502 * stdlib/stdlib.h: Likewise.
47503 * time/time.h: Likewise.
47504 * wcsmbs/wchar.h: Likewise.
47505
47506 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47507 open_by_handle): Add.
47508 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47509 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
47510 Augment a few comments.
47511 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47512 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47513 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47514 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47515 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47516 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47517 open_by_handle.
47518
47519 * io/fcntl.h (AT_EMPTY_PATH): Define.
47520
47521 2011-03-30 Ulrich Drepper <drepper@gmail.com>
47522
47523 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47524 * sysdeps/unix/sysv/linux/bits/time.h: New file.
47525 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47526 to...
47527 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
47528 * Versions.def: Add GLIBC_2.14.
47529 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47530 Export.
47531
47532 2011-03-22 Ulrich Drepper <drepper@gmail.com>
47533
47534 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47535 round counter.
47536 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47537
47538 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
47539
47540 [BZ #12597]
47541 * string/test-strncmp.c (do_page_test): New function.
47542 (check2): Likewise.
47543 (test_main): Call check2.
47544 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47545
47546 2011-03-20 Ulrich Drepper <drepper@gmail.com>
47547
47548 [BZ #12587]
47549 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47550 Handle cache information in CPU leaf 4.
47551 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47552
47553 2011-03-18 Ulrich Drepper <drepper@gmail.com>
47554
47555 [BZ #12583]
47556 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47557 character representation.
47558 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47559
47560 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
47561
47562 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47563 END(__isnan) to END(__isnanf) to match function entry point/label
47564 EALIGN(__isnanf,...).
47565
47566 2011-03-10 Jakub Jelinek <jakub@redhat.com>
47567
47568 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47569
47570 2011-03-10 Ulrich Drepper <drepper@gmail.com>
47571
47572 [BZ #12510]
47573 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47574 copy from the symbol referenced in the relocation to initialize the
47575 used variable.
47576 Patch by Piotr Bury <pbury@goahead.com>.
47577 * elf/Makefile: Add rules to build and tst-unique3.
47578 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47579 * elf/tst-unique3.cc: New file.
47580 * elf/tst-unique3.h: New file.
47581 * elf/tst-unique3lib.cc: New file.
47582 * elf/tst-unique3lib2.cc: New file.
47583
47584 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47585
47586 2011-03-10 Mike Frysinger <vapier@gentoo.org>
47587
47588 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47589 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
47590 to _start.
47591
47592 2011-03-06 Ulrich Drepper <drepper@gmail.com>
47593
47594 * elf/dl-load.c (_dl_map_object): If we are looking for the first
47595 to-be-loaded object along a path to loader is ld.so.
47596
47597 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47598 Ulrich Drepper <drepper@gmail.com>
47599
47600 * sysdeps/x86_64/memset.S: After aligning destination, code
47601 branches to different locations depending on the value of
47602 misalignment, when multiarch is enabled. Fix this.
47603
47604 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
47605
47606 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47607 Set _x86_64_preferred_memory_instruction for AMD processsors.
47608 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47609 Set bit_Prefer_SSE_for_memop for AMD processors.
47610
47611 2011-03-04 Ulrich Drepper <drepper@gmail.com>
47612
47613 * libio/fmemopen.c (fmemopen): Optimize a bit.
47614
47615 2011-03-03 Andreas Schwab <schwab@redhat.com>
47616
47617 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47618
47619 2011-03-03 Roland McGrath <roland@redhat.com>
47620
47621 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47622
47623 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
47624
47625 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47626 __bzero_ultra1 instead of __memset_ultra1.
47627
47628 2011-02-23 Andreas Schwab <schwab@redhat.com>
47629 Ulrich Drepper <drepper@gmail.com>
47630
47631 [BZ #12509]
47632 * include/link.h (struct link_map): Add l_orig_initfini.
47633 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47634 returning unsuccessfully.
47635 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47636 close of a file loaded at startup, restore the original l_initfini
47637 list.
47638 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47639 list, store the pointer.
47640 * elf/Makefile ($(objpfx)noload-mem): New rule.
47641 (noload-ENV): Define.
47642 (tests): Add $(objpfx)noload-mem.
47643 * elf/noload.c: Include <memcheck.h>.
47644 (main): Call mtrace. Close all opened handles.
47645
47646 2011-02-17 Andreas Schwab <schwab@redhat.com>
47647
47648 [BZ #12454]
47649 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
47650 dependencies are missing.
47651
47652 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
47653
47654 Fix __if_freereq crash: Unlike the generic version which uses free,
47655 Hurd needs munmap.
47656 * sysdeps/mach/hurd/ifreq.h: New file.
47657
47658 2011-01-27 Petr Baudis <pasky@suse.cz>
47659 Ulrich Drepper <drepper@gmail.com>
47660
47661 [BZ 12445]#
47662 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
47663 to extend_alloca().
47664 * stdio-common/bug23.c: New file.
47665 * stdio-common/Makefile (tests): Add bug23.
47666
47667 2010-09-28 Andreas Schwab <schwab@redhat.com>
47668 Ulrich Drepper <drepper@gmail.com>
47669
47670 [BZ #12489]
47671 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
47672 before performing relro protection. At old place add assertion
47673 to make sure nothing changed.
47674
47675 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
47676 Glauber de Oliveira Costa <glommer@gmail.com>
47677
47678 * elf/elf.h: Add new ARM TLS relocs.
47679
47680 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
47681
47682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47683 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
47684 cast from r3.
47685 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
47686 'tests' variable.
47687 * sysdeps/wordsize-64/tst-writev.c: New file.
47688
47689 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
47690
47691 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
47692 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
47693 insns in _dl_start to prevent a TOC reference before relocs are
47694 resolved.
47695
47696 2011-02-15 Ulrich Drepper <drepper@gmail.com>
47697
47698 [BZ #12469]
47699 * Makeconfig: Remove RANLIB definition.
47700 * Makerules: Don't use RANLIB.
47701 * aclocal.m4: Remove ranlib test.
47702 * configure.in: No need to check for ranlib.
47703 * elf/rtld-Rules: Don't use RANLIB.
47704
47705 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
47706
47707 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
47708 protection macro.
47709 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
47710 inclusion protection macro.
47711
47712 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
47713 SIGRTMIN and SIGRTMAX and print information in that case only when
47714 SIGRTMIN is defined.
47715
47716 2011-02-11 Jakub Jelinek <jakub@redhat.com>
47717
47718 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
47719 arginfo fn returning -1.
47720
47721 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
47722 and thousands string is zero terminated.
47723
47724 2011-02-03 Andreas Schwab <schwab@redhat.com>
47725
47726 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
47727 sysdeps/unix/sysv/linux/bits/socket.h.
47728
47729 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
47730
47731 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
47732 (__CPU_COUNT): Remove old macros.
47733 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
47734 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
47735 (__CPU_ALLOC, __CPU_FREE): Add macros.
47736 (__sched_cpualloc, __sched_cpufree): Add declarations.
47737
47738 2011-02-05 Ulrich Drepper <drepper@gmail.com>
47739
47740 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
47741 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
47742 * nscd/aicache.c (addhstaiX): Return timeout of added value.
47743 (readdhstai): Return value of addhstaiX call.
47744 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
47745 (addgrbyX): Return value returned by cache_addgr.
47746 (readdgrbyname): Return value returned by addgrbyX.
47747 (readdgrbygid): Likewise.
47748 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
47749 (addpwbyX): Return value returned by cache_addpw.
47750 (readdpwbyname): Return value returned by addhstbyX.
47751 (readdpwbyuid): Likewise.
47752 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
47753 (addservbyX): Return value returned by cache_addserv.
47754 (readdservbyname): Return value returned by addservbyX:
47755 (readdservbyport): Likewise.
47756 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
47757 (addhstbyX): Return value returned by cache_addhst.
47758 (readdhstbyname): Return value returned by addhstbyX.
47759 (readdhstbyaddr): Likewise.
47760 (readdhstbynamev6): Likewise.
47761 (readdhstbyaddrv6): Likewise.
47762 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
47763 (readdinitgroups): Return value returned by addinitgroupsX.
47764 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
47765 (prune_cache): Keep track of timeout value of re-added entries.
47766 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
47767 * nscd/nscd.h: Adjust prototypes of readd* functions.
47768
47769 2011-02-04 Roland McGrath <roland@redhat.com>
47770
47771 * nis/nis_server.c (nis_servstate): Use the right name for 0.
47772 (nis_stats): Likewise.
47773 * nis/nis_modify.c (nis_modify): Likewise.
47774 * nis/nis_remove.c (nis_remove): Likewise.
47775 * nis/nis_add.c (nis_add): Likewise.
47776
47777 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
47778
47779 * posix/fnmatch_loop.c: Add some consts.
47780
47781 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
47782
47783 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
47784
47785 [BZ #12460]
47786 * config.make.in (config-cflags-novzeroupper): Define.
47787 * configure.in: Substitute libc_cv_cc_novzeroupper.
47788 * elf/Makefile (AVX-CFLAGS): Define.
47789 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
47790 (CFLAGS-tst-auditmod4a.c): Likewise.
47791 (CFLAGS-tst-auditmod4b.c): Likewise.
47792 (CFLAGS-tst-auditmod6b.c): Likewise.
47793 (CFLAGS-tst-auditmod6c.c): Likewise.
47794 (CFLAGS-tst-auditmod7b.c): Likewise.
47795 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
47796
47797 2011-02-02 Ulrich Drepper <drepper@gmail.com>
47798
47799 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
47800 function to the callback.
47801 Patch partly by Jiri Olsa <jolsa@redhat.com>.
47802
47803 2011-02-02 Andreas Schwab <schwab@redhat.com>
47804
47805 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
47806 of errno.
47807
47808 2011-01-19 Ulrich Drepper <drepper@gmail.com>
47809
47810 [BZ #11724]
47811 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
47812 of constructors.
47813 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
47814 of destructors.
47815 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
47816
47817 [BZ #11724]
47818 * elf/Makefile: Add rules to build and run new test.
47819 * elf/tst-initorder.c: New file.
47820 * elf/tst-initorder.exp: New file.
47821 * elf/tst-initordera1.c: New file.
47822 * elf/tst-initordera2.c: New file.
47823 * elf/tst-initordera3.c: New file.
47824 * elf/tst-initordera4.c: New file.
47825 * elf/tst-initorderb1.c: New file.
47826 * elf/tst-initorderb2.c: New file.
47827 * elf/tst-order-a1.c: New file.
47828 * elf/tst-order-a2.c: New file.
47829 * elf/tst-order-a3.c: New file.
47830 * elf/tst-order-a4.c: New file.
47831 * elf/tst-order-b1.c: New file.
47832 * elf/tst-order-b2.c: New file.
47833 * elf/tst-order-main.c: New file.
47834 New test case by George Gensure <werkt0@gmail.com>.
47835
47836 2010-10-01 Andreas Schwab <schwab@redhat.com>
47837
47838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
47839 decoding ACE if AI_CANONIDN.
47840
47841 2011-01-18 Ulrich Drepper <drepper@gmail.com>
47842
47843 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
47844
47845 2011-01-17 Ulrich Drepper <drepper@gmail.com>
47846
47847 * version.h (RELEASE): Bump for 2.13 release.
47848 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
47849
47850 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
47851
47852 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
47853 MADV_NOHUGEPAGE.
47854 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
47855 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
47856 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47857 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47858 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47859 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47860
47861 * posix/getconf.c: Update copyright year.
47862 * catgets/gencat.c: Likewise.
47863 * csu/version.c: Likewise.
47864 * debug/catchsegv.sh: Likewise.
47865 * debug/xtrace.sh: Likewise.
47866 * elf/ldconfig.c: Likewise.
47867 * elf/ldd.bash.in: Likewise.
47868 * elf/sprof.c (print_version): Likewise.
47869 * iconv/iconv_prog.c: Likewise.
47870 * iconv/iconvconfig.c: Likewise.
47871 * locale/programs/locale.c: Likewise.
47872 * locale/programs/localedef.c: Likewise.
47873 * malloc/memusage.sh: Likewise.
47874 * malloc/mtrace.pl: Likewise.
47875 * nscd/nscd.c (print_version): Likewise.
47876 * nss/getent.c: Likewise.
47877
47878 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
47879 PF_CAIF, and PF_ALG.
47880 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47881
47882 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47883
47884 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47885 (modules-names): Use them.
47886 (ifunc-test-modules, ifunc-pie-tests): Define.
47887 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47888 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47889 (test-extras): Likewise.
47890 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47891 $(compile-command.c).
47892 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47893 (all-built-dso): Define.
47894 (check-textrel.out, check-execstack.out): Depend on it.
47895
47896 * configure.in: Don't override --enable-multi-arch.
47897
47898 2011-01-15 Ulrich Drepper <drepper@gmail.com>
47899
47900 [BZ #6812]
47901 * nscd/hstcache.c (tryagain): Define.
47902 (cache_addhst): Return tryagain not notfound for temporary errors.
47903 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47904 failed.
47905
47906 2011-01-14 Ulrich Drepper <drepper@gmail.com>
47907
47908 [BZ #10563]
47909 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47910 to make the syscall.
47911 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47912
47913 [BZ #12378]
47914 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47915 and fall back to matching as normal character if the string ends before
47916 the matching ']' is found. This is what POSIX requires.
47917 * posix/testfnm.c: Adjust test result.
47918 * posix/globtest.sh: Adjust test result. Add new test.
47919 * posix/tst-fnmatch.input: Likewise.
47920 * posix/tst-fnmatch2.c: Add new test.
47921
47922 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47923
47924 * elf/Makefile (check-execstack): Revert last change. Depend on
47925 check-execstack.h.
47926 (check-execstack.h): New target.
47927 (generated): Add check-execstack.h.
47928 * elf/check-execstack.c: Include "check-execstack.h".
47929 (main): Revert last change.
47930 (handle_file): Return zero if GNU_STACK is absent and
47931 DEFAULT_STACK_PERMS doesn't include PF_X.
47932
47933 2011-01-13 Ulrich Drepper <drepper@gmail.com>
47934
47935 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47936 in child fails because the descriptor is already closed.
47937 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47938 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47939 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47940
47941 [BZ #12397]
47942 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47943 syscall.
47944
47945 [BZ #10484]
47946 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47947 temporary buffer used to handle multi lookups locally.
47948 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47949
47950 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47951
47952 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47953 loader is ld.so.
47954
47955 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47956
47957 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47958 alignment for SSE2.
47959
47960 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47961
47962 [BZ #12394]
47963 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47964 characters. When rounding increased number of integer digits recompute
47965 number of groups.
47966 * stdio-common/tst-grouping.c: New file.
47967 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47968
47969 2011-01-09 Ulrich Drepper <drepper@gmail.com>
47970
47971 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47972 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47973
47974 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47975 void.
47976 * bits/select.h: Likewise.
47977
47978 2011-01-08 Ulrich Drepper <drepper@gmail.com>
47979
47980 * po/ja.po: Update from translation team.
47981
47982 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
47983
47984 [BZ #11155]
47985 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47986 implementation just like for lxstat, fxstatat, et al.
47987
47988 2010-12-27 Jim Meyering <meyering@redhat.com>
47989
47990 [BZ #12348]
47991 * posix/regexec.c (build_trtable): Return failure indication upon
47992 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47993
47994 2010-12-25 Ulrich Drepper <drepper@gmail.com>
47995
47996 [BZ #12201]
47997 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47998 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47999 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48000 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48001
48002 [BZ #12207]
48003 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48004
48005 [BZ #12204]
48006 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48007 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48008
48009 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48010
48011 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48012 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48013 script has SORT_BY_INIT_PRIORITY.
48014 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48015 NO_CTORS_DTORS_SECTIONS is defined.
48016 * elf/soinit.c: Likewise.
48017 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48018 NO_CTORS_DTORS_SECTIONS is defined.
48019 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48020 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48021 * sysdeps/sh/init-first.c: Likewise.
48022 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48023
48024 2010-12-24 Ulrich Drepper <drepper@gmail.com>
48025
48026 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48027 always use the slow path.
48028
48029 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48030
48031 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48032 similar rule which adds the sysdep directories to the header search in
48033 order to pick up the correct platform stackinfo.h.
48034 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48035 perform test if it is, otherwise return successfully without testing.
48036 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48037 DEFAULT_STACK_PERMS define in stackinfo.h.
48038 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48039 defined in stackinfo.h.
48040 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48041 DEFAULT_STACK_PERMS defined in stackinfo.h.
48042 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48043 * sysdeps/ia64/stackinfo.h: Likewise.
48044 * sysdeps/s390/stackinfo.h: Likewise.
48045 * sysdeps/sh/stackinfo.h: Likewise.
48046 * sysdeps/sparc/stackinfo.h: Likewise.
48047 * sysdeps/x86_64/stackinfo.h: Likewise.
48048 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48049 PF_X for powerpc64. Retain PF_X for powerpc32.
48050
48051 2010-12-19 Ulrich Drepper <drepper@gmail.com>
48052
48053 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48054 accurately.
48055 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48056 GETDENTS_64BIT_ALIGNED.
48057
48058 2010-12-14 Ulrich Drepper <dreper@gmail.com>
48059
48060 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48061
48062 2010-12-10 Andreas Schwab <schwab@redhat.com>
48063
48064 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48065 _GNU_SOURCE.
48066
48067 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48068 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48069 Remove __restrict.
48070 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48071 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48072
48073 2010-12-09 Ulrich Drepper <drepper@gmail.com>
48074
48075 [BZ #11655]
48076 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48077 are initialized.
48078
48079 2010-12-09 Jakub Jelinek <jakub@redhat.com>
48080
48081 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48082
48083 2010-12-03 Ulrich Drepper <drepper@gmail.com>
48084
48085 * po/it.po: Update from translation team.
48086
48087 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48088
48089 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48090 unused codes.
48091
48092 2010-11-30 Ulrich Drepper <drepper@gmail.com>
48093
48094 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48095
48096 2010-11-24 Andreas Schwab <schwab@redhat.com>
48097
48098 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48099 specially.
48100 (gaih_getanswer_slice): Likewise.
48101
48102 2010-10-20 Jakub Jelinek <jakub@redhat.com>
48103
48104 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48105
48106 2010-05-31 Petr Baudis <pasky@suse.cz>
48107
48108 [BZ #11149]
48109 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48110 silently even in the chroot mode.
48111
48112 2010-11-22 Ulrich Drepper <drepper@gmail.com>
48113
48114 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48115 last patch a bit. Pretty printing
48116
48117 2010-05-31 Petr Baudis <pasky@suse.cz>
48118
48119 [BZ #10085]
48120 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48121 initialization of skip_initgroups_dyn.
48122
48123 2010-11-19 Ulrich Drepper <drepper@gmail.com>
48124
48125 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48126 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48127
48128 2010-11-16 Ulrich Drepper <drepper@gmail.com>
48129
48130 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48131
48132 2010-11-11 Andreas Schwab <schwab@redhat.com>
48133
48134 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48135 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48136 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48137 ($(objpfx)tst-fnmatch-mem): New rule.
48138 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48139 * posix/tst-fnmatch.c (main): Call mtrace.
48140
48141 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48142
48143 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48144 Support Intel processor model 6 and model 0x2c.
48145
48146 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
48147
48148 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48149 signed comparison.
48150
48151 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48152
48153 [BZ #12205]
48154 * string/test-strncasecmp.c (check_result): New function.
48155 (do_one_test): Use it.
48156 (check1): New function.
48157 (test_main): Use it.
48158 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48159 Support strcasecmp and strncasecmp.
48160
48161 2010-11-08 Ulrich Drepper <drepper@gmail.com>
48162
48163 [BZ #12194]
48164 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48165 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48166
48167 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48168
48169 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48170 IFUNC support.
48171 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48172 memset-x86-64.
48173 * sysdeps/x86_64/multiarch/bzero.S: New file.
48174 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48175 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48176 * sysdeps/x86_64/multiarch/memset.S: New file.
48177 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48178 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48179 Set bit_Prefer_SSE_for_memop for Intel processors.
48180 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48181 Define.
48182 (index_Prefer_SSE_for_memop): Define.
48183 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48184
48185 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
48186
48187 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48188 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48189
48190 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48191
48192 [BZ #12191]
48193 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48194 (__x86_64_raw_data_cache_size_half): Likewise.
48195 (__x86_64_raw_shared_cache_size): Likewise.
48196 (__x86_64_raw_shared_cache_size_half): Likewise.
48197
48198 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48199 (__x86_64_raw_data_cache_size_half): Likewise.
48200 (__x86_64_raw_shared_cache_size): Likewise.
48201 (__x86_64_raw_shared_cache_size_half): Likewise.
48202 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48203 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48204 and __x86_64_raw_shared_cache_size_half. Round
48205 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48206 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48207 to multiple of 256 bytes.
48208
48209 2010-11-03 Ulrich Drepper <drepper@gmail.com>
48210
48211 [BZ #12167]
48212 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48213 of inacessible symlinks. Verify result of symlink before returning it.
48214 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48215 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48216
48217 2010-10-28 Erich Ritz <erichritz@gmail.com>
48218
48219 * math/math.h (isinf): Fix typo in comment.
48220
48221 2010-11-01 Ulrich Drepper <drepper@gmail.com>
48222
48223 * po/da.po: Update from translation team.
48224
48225 2010-10-26 Ulrich Drepper <drepper@gmail.com>
48226
48227 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48228 is added to the list.
48229
48230 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48231 Ulrich Drepper <drepper@gmail.com>
48232
48233 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48234 the global list here. Move code to...
48235 (_dl_add_to_namespace_list): ...here. New function.
48236 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48237 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48238 * elf/dl-load.c (lose): Don't remove the element from the list.
48239 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48240 (_dl_map_object): Likewise.
48241
48242 2010-10-25 Ulrich Drepper <drepper@gmail.com>
48243
48244 [BZ #12159]
48245 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48246 into all bytes of SSE register.
48247 Patch by Richard Li <richardpku@gmail.com>.
48248
48249 2010-10-24 Ulrich Drepper <drepper@gmail.com>
48250
48251 [BZ #12140]
48252 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48253 perturbing.
48254
48255 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48256
48257 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48258 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48259 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48260 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48262 submachine.
48263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48264
48265 2010-10-22 Andreas Schwab <schwab@redhat.com>
48266
48267 * include/dlfcn.h (__RTLD_SECURE): Define.
48268 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48269 mode & __RTLD_SECURE instead.
48270 (open_path): Rename preloaded parameter to secure.
48271 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48272 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48273 * elf/dl-deps.c (openaux): Likewise.
48274 * elf/rtld.c (struct map_args): Remove is_preloaded.
48275 (map_doit): Don't use it.
48276 (dl_main): Likewise.
48277 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48278 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48279
48280 2010-09-09 Andreas Schwab <schwab@redhat.com>
48281
48282 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48283 (sysd-rules-targets): Remove duplicates.
48284 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48285 rtld-%.$o dependency.
48286
48287 2010-10-18 Andreas Schwab <schwab@redhat.com>
48288
48289 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48290 _dl_map_object do it.
48291
48292 2010-10-19 Ulrich Drepper <drepper@gmail.com>
48293
48294 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48295 fast fma builtins, define the macros in the C99 standard.
48296 (FP_FAST_FMAF): Likewise.
48297 (FP_FAST_FMAL): Likewise.
48298 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48299
48300 * bits/mathdef.h: Update copyright year.
48301 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48302
48303 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48304
48305 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48306 builtins, define the macros in the C99 standard.
48307 (FP_FAST_FMAF): Likewise.
48308 (FP_FAST_FMAL): Likewise.
48309 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48310 multiply/add.
48311 (FP_FAST_FMAF): Likewise.
48312
48313 2010-10-15 Jakub Jelinek <jakub@redhat.com>
48314
48315 [BZ #3268]
48316 * math/libm-test.inc (fma_test): Some new testcases.
48317 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48318 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48319 y and infinite z. Do multiplication by C already in long double.
48320 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48321 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48322 y and infinite z. Do bitwise or of inexact bit into u.d.
48323 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48324 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48325 * sysdeps/i386/fpu/s_fma.S: Removed.
48326 * sysdeps/i386/fpu/s_fmal.S: Removed.
48327
48328 2010-10-16 Jakub Jelinek <jakub@redhat.com>
48329
48330 [BZ #3268]
48331 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48332 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48333 computation is not scheduled after fetestexcept. Fix value
48334 of minimum denormal long double.
48335
48336 2010-10-14 Jakub Jelinek <jakub@redhat.com>
48337
48338 [BZ #3268]
48339 * math/libm-test.inc (fma_test): Add some more tests.
48340 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48341 correctly.
48342
48343 2010-10-15 Andreas Schwab <schwab@redhat.com>
48344
48345 * scripts/data/localplt-s390-linux-gnu.data: New file.
48346 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48347
48348 2010-10-13 Jakub Jelinek <jakub@redhat.com>
48349
48350 [BZ #3268]
48351 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48352 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48353 instead of dbl-64.
48354 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48355 inlines.
48356 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48357 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48358 if one of x and y is very large and the other is subnormal.
48359 * sysdeps/s390/fpu/s_fmaf.c: New file.
48360 * sysdeps/s390/fpu/s_fma.c: New file.
48361 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48362 * sysdeps/powerpc/fpu/s_fma.S: New file.
48363 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48364 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48365 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48366
48367 2010-10-12 Jakub Jelinek <jakub@redhat.com>
48368
48369 [BZ #3268]
48370 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48371 fma tests.
48372 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48373 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48374 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48375 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48376 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48377 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48378 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48379
48380 2010-10-12 Ulrich Drepper <drepper@redhat.com>
48381
48382 [BZ #12078]
48383 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48384 * posix/bug-regex31.input: Add test case.
48385
48386 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48387
48388 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48389 * posix/bug-regex31.input: New file.
48390
48391 [BZ #12078]
48392 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48393 (parse_sub_exp): Fix last change, use postorder.
48394
48395 * posix/bug-regex31.c: New file.
48396 * posix/Makefile: Add rules to build and run bug-regex31.
48397
48398 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48399
48400 [BZ #12078]
48401 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48402
48403 [BZ #12108]
48404 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48405 to have entries in sys_siglist.
48406
48407 [BZ #12093]
48408 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48409 be NULL.
48410
48411 2010-10-07 Jakub Jelinek <jakub@redhat.com>
48412
48413 [BZ #3268]
48414 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48415 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48416 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48417 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48418 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48419 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48420 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48421 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48422 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48423 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48424 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48425 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48426 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48427 * math/ftestexcept.c (fetestexcept): Likewise.
48428 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48429 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48430 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48431 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48432 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48433 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48434 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48435
48436 2010-10-11 Ulrich Drepper <drepper@gmail.com>
48437
48438 [BZ #12107]
48439 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48440 newline.
48441
48442 2010-10-06 Ulrich Drepper <drepper@gmail.com>
48443
48444 * string/bug-strstr1.c: New file.
48445 * string/Makefile: Add rules to build and run bug-strstr1.
48446
48447 2010-10-05 Eric Blake <eblake@redhat.com>
48448
48449 [BZ #12092]
48450 * string/str-two-way.h (two_way_long_needle): Always clear memory
48451 when skipping input due to the shift table.
48452
48453 2010-10-03 Ulrich Drepper <drepper@gmail.com>
48454
48455 [BZ #12005]
48456 * malloc/mcheck.c: Handle large requests.
48457
48458 [BZ #12077]
48459 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48460 for strncmp and strncasecmp.
48461 * string/stratcliff.c: Add tests for strcmp and strncmp.
48462 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48463
48464 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48465
48466 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48467 __set_fpscr.
48468
48469 2010-09-30 Andreas Jaeger <aj@suse.de>
48470
48471 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48472 (CGROUP_SUPER_MAGIC): Define.
48473 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48474 Handle btrfs and cgroup file systems.
48475 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48476 Likewise.
48477
48478 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
48479
48480 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48481 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48482
48483 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48484
48485 [BZ #12067]
48486 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48487 trying to locate the ELF header.
48488
48489 2010-09-27 Andreas Schwab <schwab@redhat.com>
48490
48491 [BZ #11611]
48492 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48493 Mask out sign-bit copies when constructing f_fsid.
48494
48495 2010-09-24 Petr Baudis <pasky@suse.cz>
48496
48497 * debug/stack_chk_fail_local.c: Add missing licence exception.
48498 * debug/warning-nop.c: Likewise.
48499
48500 2010-09-15 Joseph Myers <joseph@codesourcery.com>
48501
48502 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48503 implementing getdents64 using getdents syscall, set d_type if
48504 __ASSUME_GETDENTS32_D_TYPE.
48505
48506 2010-09-16 Andreas Schwab <schwab@redhat.com>
48507
48508 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48509 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48510
48511 2010-09-21 Ulrich Drepper <drepper@redhat.com>
48512
48513 [BZ #12037]
48514 * posix/unistd.h: Undo change of feature selection for ftruncate from
48515 2010-01-11.
48516
48517 2010-09-20 Ulrich Drepper <drepper@redhat.com>
48518
48519 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48520 detection.
48521
48522 2010-09-20 Andreas Schwab <schwab@redhat.com>
48523
48524 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48525 fanotify_mark.
48526 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48527
48528 2010-09-14 Andreas Schwab <schwab@redhat.com>
48529
48530 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48531 variables after CHECK_SP call.
48532 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48533
48534 2010-09-13 Andreas Schwab <schwab@redhat.com>
48535 Ulrich Drepper <drepper@redhat.com>
48536
48537 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48538 re-relocationg ld.so.
48539 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48540 _dl_init_paths call.
48541 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
48542 here anymore.
48543
48544 2010-09-14 Ulrich Drepper <drepper@redhat.com>
48545
48546 * resolv/res_init.c (__res_vinit): Count the default server we added.
48547
48548 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
48549 Ulrich Drepper <drepper@redhat.com>
48550
48551 [BZ #11968]
48552 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48553 (____longjmp_chk): Use %ebx for saving value across system call.
48554 Add unwind info.
48555
48556 2010-09-06 Andreas Schwab <schwab@redhat.com>
48557
48558 * manual/Makefile: Don't mix pattern rules with normal rules.
48559
48560 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
48561
48562 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48563 operation.
48564 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48565 * libio/iofopncook.c (_IO_cookie_init): Likewise.
48566 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48567 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48568 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48569 Likewise.
48570
48571 2010-09-04 Ulrich Drepper <drepper@redhat.com>
48572
48573 [BZ #11979]
48574 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48575 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48576
48577 2010-09-02 Ulrich Drepper <drepper@redhat.com>
48578
48579 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48580 * sysdeps/x86_64/addmul_1.S: Likewise.
48581 * sysdeps/x86_64/lshift.S: Likewise.
48582 * sysdeps/x86_64/mul_1.S: Likewise.
48583 * sysdeps/x86_64/rshift.S: Likewise.
48584 * sysdeps/x86_64/sub_n.S: Likewise.
48585 * sysdeps/x86_64/submul_1.S: Likewise.
48586
48587 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
48588
48589 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48590 Define __sched_param instead of SCHED_* and sched_param when
48591 <bits/sched.h> is included with __need_schedparam defined.
48592 * bits/sched.h [__need_schedparam]
48593 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48594 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48595 (__defined_schedparam): Define to 1.
48596 (__sched_param): New structure, identical to sched_param.
48597 (__need_schedparam): Undefine.
48598
48599 2010-08-31 Mike Frysinger <vapier@gentoo.org>
48600
48601 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48602 (epoll_create1): Declare.
48603
48604 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48605
48606 2010-08-31 Andreas Schwab <schwab@redhat.com>
48607
48608 [BZ #7066]
48609 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48610 shifting retval into place.
48611
48612 2010-09-01 Ulrich Drepper <drepper@redhat.com>
48613
48614 * nis/rpcsvc/nis.h: Update copyright notice.
48615 * nis/rpcsvc/nis.x: Likewise.
48616 * nis/rpcsvc/nis_callback.h: Likewise.
48617 * nis/rpcsvc/nis_callback.x: Likewise.
48618 * nis/rpcsvc/nis_object.x: Likewise.
48619 * nis/rpcsvc/nis_tags.h: Likewise.
48620 * nis/rpcsvc/yp.h: Likewise.
48621 * nis/rpcsvc/yp.x: Likewise.
48622 * nis/rpcsvc/ypupd.h: Likewise.
48623 * nis/yp_xdr.c: Likewise.
48624 * nis/ypupdate_xdr.c: Likewise.
48625
48626 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
48627 mainly the body of pmap_getport. Add parameters to specify timeouts.
48628 (pmap_getport): Use __libc_rpc_getport.
48629 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48630 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48631 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48632
48633 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
48634
48635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48636 fanotify_mark.
48637
48638 2010-08-27 Roland McGrath <roland@redhat.com>
48639
48640 * sysdeps/i386/i686/multiarch/Makefile
48641 (CFLAGS-varshift.c): New variable.
48642
48643 2010-08-27 Ulrich Drepper <drepper@redhat.com>
48644
48645 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
48646 * sysdeps/i386/i686/multiarch/varshift.c: New file.
48647
48648 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
48649
48650 * sysdeps/x86_64/strlen.S: Minimal code improvement.
48651
48652 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
48653
48654 * sysdeps/x86_64/strlen.S: Unroll the loop.
48655 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48656 strlen-sse2 strlen-sse2-bsf.
48657 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
48658 __strlen_no_bsf if bit_Slow_BSF is set.
48659 (__strlen_sse42): Removed.
48660 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
48661 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
48662
48663 2010-08-25 Roland McGrath <roland@redhat.com>
48664
48665 * sysdeps/x86_64/multiarch/varshift.S: File removed.
48666 * sysdeps/x86_64/multiarch/varshift.c: New file.
48667 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
48668 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
48669 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
48670 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
48671
48672 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
48673
48674 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48675 strlen-sse2 strlen-sse2-bsf.
48676 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
48677 __strlen_sse2_bsf if bit_Slow_BSF is unset.
48678 (__strlen_sse2): Removed.
48679 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
48680 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
48681 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48682 bit_Slow_BSF for Atom.
48683 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
48684 (index_Slow_BSF): Define.
48685 (HAS_SLOW_BSF): Define.
48686
48687 2010-08-25 Ulrich Drepper <drepper@redhat.com>
48688
48689 [BZ #10851]
48690 * resolv/res_init.c (__res_vinit): When no server address at all
48691 is given default to loopback.
48692
48693 2010-08-24 Roland McGrath <roland@redhat.com>
48694
48695 * configure.in: Remove config-name.h generation.
48696 * configure: Regenerated.
48697 * config-name.in: File removed.
48698 * scripts/config-uname.sh: New file.
48699 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
48700 ($(objdir)config-name.h): New target.
48701
48702 * sunrpc/rpc_parse.h: Avoid nested comment.
48703
48704 2010-08-24 Richard Henderson <rth@redhat.com>
48705 Ulrich Drepper <drepper@redhat.com>
48706 H.J. Lu <hongjiu.lu@intel.com>
48707
48708 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
48709 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
48710 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
48711 Replace _mm_srli_si128 with __m128i_shift_right. Replace
48712 _mm_alignr_epi8 with _mm_loadu_si128.
48713 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
48714 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
48715 (__m128i_shift_right): Removed.
48716 * sysdeps/i386/i686/multiarch/varshift.h: New file.
48717 * sysdeps/i386/i686/multiarch/varshift.S: New file.
48718 * sysdeps/x86_64/multiarch/varshift.h: New file.
48719 * sysdeps/x86_64/multiarch/varshift.S: New file.
48720
48721 2010-08-21 Mike Frysinger <vapier@gentoo.org>
48722
48723 * configure.in: Move assembler checks to before sysdep dir checking.
48724
48725 2010-08-20 Petr Baudis <pasky@suse.cz>
48726
48727 * LICENSES: Sync the sunrpc license.
48728
48729 2010-08-19 Ulrich Drepper <drepper@redhat.com>
48730
48731 * sunrpc/auth_des.c: Update copyright notice once again.
48732 * sunrpc/auth_none.c: Likewise.
48733 * sunrpc/auth_unix.c: Likewise.
48734 * sunrpc/authdes_prot.c: Likewise.
48735 * sunrpc/authuxprot.c: Likewise.
48736 * sunrpc/bindrsvprt.c: Likewise.
48737 * sunrpc/clnt_gen.c: Likewise.
48738 * sunrpc/clnt_perr.c: Likewise.
48739 * sunrpc/clnt_raw.c: Likewise.
48740 * sunrpc/clnt_simp.c: Likewise.
48741 * sunrpc/clnt_tcp.c: Likewise.
48742 * sunrpc/clnt_udp.c: Likewise.
48743 * sunrpc/clnt_unix.c: Likewise.
48744 * sunrpc/des_crypt.c: Likewise.
48745 * sunrpc/des_soft.c: Likewise.
48746 * sunrpc/get_myaddr.c: Likewise.
48747 * sunrpc/getrpcport.c: Likewise.
48748 * sunrpc/key_call.c: Likewise.
48749 * sunrpc/key_prot.c: Likewise.
48750 * sunrpc/openchild.c: Likewise.
48751 * sunrpc/pm_getmaps.c: Likewise.
48752 * sunrpc/pm_getport.c: Likewise.
48753 * sunrpc/pmap_clnt.c: Likewise.
48754 * sunrpc/pmap_prot.c: Likewise.
48755 * sunrpc/pmap_prot2.c: Likewise.
48756 * sunrpc/pmap_rmt.c: Likewise.
48757 * sunrpc/rpc/auth.h: Likewise.
48758 * sunrpc/rpc/auth_unix.h: Likewise.
48759 * sunrpc/rpc/clnt.h: Likewise.
48760 * sunrpc/rpc/des_crypt.h: Likewise.
48761 * sunrpc/rpc/key_prot.h: Likewise.
48762 * sunrpc/rpc/netdb.h: Likewise.
48763 * sunrpc/rpc/pmap_clnt.h: Likewise.
48764 * sunrpc/rpc/pmap_prot.h: Likewise.
48765 * sunrpc/rpc/pmap_rmt.h: Likewise.
48766 * sunrpc/rpc/rpc.h: Likewise.
48767 * sunrpc/rpc/rpc_des.h: Likewise.
48768 * sunrpc/rpc/rpc_msg.h: Likewise.
48769 * sunrpc/rpc/svc.h: Likewise.
48770 * sunrpc/rpc/svc_auth.h: Likewise.
48771 * sunrpc/rpc/types.h: Likewise.
48772 * sunrpc/rpc/xdr.h: Likewise.
48773 * sunrpc/rpc_clntout.c: Likewise.
48774 * sunrpc/rpc_cmsg.c: Likewise.
48775 * sunrpc/rpc_common.c: Likewise.
48776 * sunrpc/rpc_cout.c: Likewise.
48777 * sunrpc/rpc_dtable.c: Likewise.
48778 * sunrpc/rpc_hout.c: Likewise.
48779 * sunrpc/rpc_main.c: Likewise.
48780 * sunrpc/rpc_parse.c: Likewise.
48781 * sunrpc/rpc_parse.h: Likewise.
48782 * sunrpc/rpc_prot.c: Likewise.
48783 * sunrpc/rpc_sample.c: Likewise.
48784 * sunrpc/rpc_scan.c: Likewise.
48785 * sunrpc/rpc_scan.h: Likewise.
48786 * sunrpc/rpc_svcout.c: Likewise.
48787 * sunrpc/rpc_tblout.c: Likewise.
48788 * sunrpc/rpc_util.c: Likewise.
48789 * sunrpc/rpc_util.h: Likewise.
48790 * sunrpc/rpcinfo.c: Likewise.
48791 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
48792 * sunrpc/rpcsvc/key_prot.x: Likewise.
48793 * sunrpc/rpcsvc/klm_prot.x: Likewise.
48794 * sunrpc/rpcsvc/mount.x: Likewise.
48795 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
48796 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
48797 * sunrpc/rpcsvc/rex.x: Likewise.
48798 * sunrpc/rpcsvc/rstat.x: Likewise.
48799 * sunrpc/rpcsvc/rusers.x: Likewise.
48800 * sunrpc/rpcsvc/sm_inter.x: Likewise.
48801 * sunrpc/rpcsvc/spray.x: Likewise.
48802 * sunrpc/rpcsvc/yppasswd.x: Likewise.
48803 * sunrpc/rtime.c: Likewise.
48804 * sunrpc/svc.c: Likewise.
48805 * sunrpc/svc_auth.c: Likewise.
48806 * sunrpc/svc_authux.c: Likewise.
48807 * sunrpc/svc_raw.c: Likewise.
48808 * sunrpc/svc_run.c: Likewise.
48809 * sunrpc/svc_simple.c: Likewise.
48810 * sunrpc/svc_tcp.c: Likewise.
48811 * sunrpc/svc_udp.c: Likewise.
48812 * sunrpc/svc_unix.c: Likewise.
48813 * sunrpc/svcauth_des.c: Likewise.
48814 * sunrpc/xcrypt.c: Likewise.
48815 * sunrpc/xdr.c: Likewise.
48816 * sunrpc/xdr_array.c: Likewise.
48817 * sunrpc/xdr_float.c: Likewise.
48818 * sunrpc/xdr_mem.c: Likewise.
48819 * sunrpc/xdr_rec.c: Likewise.
48820 * sunrpc/xdr_ref.c: Likewise.
48821 * sunrpc/xdr_sizeof.c: Likewise.
48822 * sunrpc/xdr_stdio.c: Likewise.
48823
48824 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
48825 handling.
48826
48827 2010-08-19 Andreas Schwab <schwab@redhat.com>
48828
48829 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
48830
48831 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
48832
48833 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
48834 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
48835 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
48836 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
48837 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
48838 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
48839 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
48840 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
48841 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
48842 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
48843 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
48844 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
48845 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
48846 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
48847
48848 2010-07-26 Anton Blanchard <anton@samba.org>
48849
48850 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
48851 * malloc/arena.c (heap_trim): Likewise.
48852
48853 2010-08-16 Ulrich Drepper <drepper@redhat.com>
48854
48855 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
48856 here. Not...
48857 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
48858 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
48859
48860 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
48861
48862 * sysdeps/i386/elf/Makefile: New file.
48863
48864 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48865
48866 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
48867 from fanotify_init.
48868 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
48869 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48870
48871 2010-08-15 Ulrich Drepper <drepper@redhat.com>
48872
48873 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
48874 of strncasecmp_l.
48875 * sysdeps/multiarch/strcmp.S: Likewise.
48876
48877 2010-08-14 Ulrich Drepper <drepper@redhat.com>
48878
48879 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48880 strncase_l-nonascii.
48881 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48882 Add strncase_l-ssse3.
48883 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48884 * sysdeps/x86_64/strcmp.S: Likewise.
48885 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48886 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48887 * sysdeps/x86_64/strncase.S: New file.
48888 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48889 * sysdeps/x86_64/strncase_l.S: New file.
48890 * string/Makefile (strop-tests): Add strncasecmp.
48891 * string/test-strncasecmp.c: New file.
48892
48893 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48894 warning.
48895
48896 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48897 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48898
48899 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48900
48901 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48902
48903 2010-08-12 Ulrich Drepper <drepper@redhat.com>
48904
48905 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48906 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48907 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48908
48909 2010-05-01 Alan Modra <amodra@gmail.com>
48910
48911 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48912 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48913 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48914 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48915 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48916 tidying. Don't tail-call __sigjmp_save for static lib.
48917 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48918 save location.
48919 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48920 (CALL_MCOUNT): Add eh info, and nop after bl.
48921 (TAIL_CALL_SYSCALL_ERROR): New macro.
48922 (PSEUDO_RET): Use it.
48923 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48924 Correct save location of integer regs and cr.
48925 (_dl_profile_resolve): Correct cr save location. Delete nops
48926 after bl when SHARED. Reduce cfi size a little by better
48927 placement of cfi directives.
48928 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48929 make a stack frame. Instead use parm save area as a temp.
48930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48931 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48933 Don't make a stack frame for parent, use parm save area.
48934 Increase child stack frame to 112 bytes. Don't save unused reg,
48935 and adjust reg usage. Set up cfi on error recovery and
48936 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48938 (__makecontext): Add dummy nop after jump to exit.
48939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48940 Use correct parm save area and cr save, reduce stack frame.
48941 Correct cfi for possible PSEUDO_RET frame setup.
48942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48943 Branch to local label emitted by PSEUDO_RET rather than
48944 __syscall_error.
48945
48946 2010-08-12 Andreas Schwab <schwab@redhat.com>
48947
48948 [BZ #11904]
48949 * locale/programs/locale.c (print_assignment): New function.
48950 (show_locale_vars): Use it.
48951
48952 2010-08-11 Ulrich Drepper <drepper@redhat.com>
48953
48954 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48955 field.
48956 (struct statfs64): Likewise.
48957 (_STATFS_F_FLAGS): Define.
48958 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48959 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48960 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48961 (ST_VALID): Define locally.
48962 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48963 __statvfs_getflags, use the provided value.
48964 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48965 __ASSUME_STATFS_F_FLAGS.
48966
48967 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48968
48969 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48970 Add sys/fanotify.h.
48971 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48972 fanotify_mask for GLIBC_2.13.
48973 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48974 fanotify_init and fanotify_mark.
48975 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48976 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48977
48978 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48979 Add prlimit.
48980 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48981 prlimit64 for GLIBC_2.13.
48982 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48983 prlimit64.
48984 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48985 syscall.
48986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48987 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48988 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48989 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48990 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48991 add prlimit alias.
48992 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48993
48994 [BZ #11903]
48995 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48996 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48997
48998 * nss/Makefile: Add rules to build and run tst-nss-test1.
48999 * shlib-versions: Add entry for libnss_test1.
49000 * nss/nss_test1.c: New file.
49001 * nss/tst-nss-test1.c: New file.
49002
49003 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49004 (__nss_configure_lookup): Set appropriate entry in
49005 __nss_configure_lookup to true.
49006 * nss/nsswitch.h: Define enum with indeces of databases in
49007 databases and __nss_database_custom arrays. Declare
49008 __nss_database_custom.
49009 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49010 to avoid using nscd when custom rules are installed.
49011 * nss/getXXbyYY_r.c: Likewise.
49012 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49013
49014 * nss/nss_files/files-parse.c: Whitespace fixes.
49015
49016 2010-08-09 Ulrich Drepper <drepper@redhat.com>
49017
49018 [BZ #11883]
49019 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49020 * posix/fnmatch_loop.c: Likewise.
49021
49022 2010-07-17 Andi Kleen <ak@linux.intel.com>
49023
49024 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49025 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49026 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49027 * Versions.def [GLIBC_2.13]: Add.
49028
49029 2010-08-06 Ulrich Drepper <drepper@redhat.com>
49030
49031 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49032 Also fail if tpwd after pwuid call is NULL.
49033
49034 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49035
49036 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49037 when converting to ms.
49038
49039 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49040
49041 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49042 EOPNOTSUPP errors with ENOTTY.
49043 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49044 EOPNOTSUPP errors with ENOTTY.
49045
49046 2010-07-31 Ulrich Drepper <drepper@redhat.com>
49047
49048 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49049 Add strcasecmp_l-ssse3.
49050 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49051 strcasecmp.
49052 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49053 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49054 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49055
49056 2010-07-30 Ulrich Drepper <drepper@redhat.com>
49057
49058 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49059
49060 * string/Makefile (strop-tests): Add strcasecmp.
49061 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49062 strcasecmp_l-nonascii.
49063 (gen-as-const-headers): Add locale-defines.sym.
49064 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49065 * sysdeps/x86_64/strcasecmp.S: New file.
49066 * sysdeps/x86_64/strcasecmp_l.S: New file.
49067 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49068 * sysdeps/x86_64/locale-defines.sym: New file.
49069 * string/test-strcasecmp.c: New file.
49070
49071 * string/test-strcasestr.c: Test both ends of the range of characters.
49072 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49073
49074 2010-07-29 Roland McGrath <roland@redhat.com>
49075
49076 [BZ #11856]
49077 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49078
49079 2010-07-27 Ulrich Drepper <drepper@redhat.com>
49080
49081 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49082 for ld.so.
49083
49084 2010-07-27 Andreas Schwab <schwab@redhat.com>
49085
49086 * manual/memory.texi (Malloc Tunable Parameters): Document
49087 M_PERTURB.
49088
49089 2010-07-26 Roland McGrath <roland@redhat.com>
49090
49091 [BZ #11840]
49092 * configure.in (-fgnu89-inline check): Set and substitute
49093 gnu89_inline, not libc_cv_gnu89_inline.
49094 * configure: Regenerated.
49095 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49096
49097 2010-07-26 Ulrich Drepper <drepper@redhat.com>
49098
49099 * string/test-strnlen.c: New file.
49100 * string/Makefile (strop-tests): Add strnlen.
49101 * string/tester.c (test_strnlen): Add a few more test cases.
49102 * string/tst-strlen.c: Better error reporting.
49103
49104 * sysdeps/x86_64/strnlen.S: New file.
49105
49106 2010-07-24 Ulrich Drepper <drepper@redhat.com>
49107
49108 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49109 lower-latency instructions.
49110
49111 2010-07-23 Ulrich Drepper <drepper@redhat.com>
49112
49113 * string/test-strcasestr.c: New file.
49114 * string/test-strstr.c: New file.
49115 * string/Makefile (strop-tests): Add strstr and strcasestr.
49116 * string/str-two-way.h: Don't undefine MAX.
49117 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49118
49119 2010-07-21 Andreas Schwab <schwab@redhat.com>
49120
49121 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49122 strcasestr-nonascii.
49123 (CFLAGS-strcasestr-nonascii.c): Define.
49124 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49125 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49126 Remove unused attribute.
49127
49128 2010-07-20 Roland McGrath <roland@redhat.com>
49129
49130 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49131 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49132 ld.so.cache was broken. With it, there is no way to disable dsocaps
49133 like LD_HWCAP_MASK can disable hwcaps.
49134
49135 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49136
49137 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49138
49139 2010-07-16 Ulrich Drepper <drepper@redhat.com>
49140
49141 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49142 call in strcasestr.
49143 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49144 __strcasestr_sse42_nonascii.
49145 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49146 strcasestr-nonascii.c.
49147 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49148
49149 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
49150
49151 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49152 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49153 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49154 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49155
49156 2010-07-09 Ulrich Drepper <drepper@redhat.com>
49157
49158 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49159 fcntl.
49160
49161 2010-07-06 Andreas Schwab <schwab@redhat.com>
49162
49163 [BZ #11577]
49164 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49165 dl_signal_cerror.
49166
49167 2010-07-06 Ulrich Drepper <drepper@redhat.com>
49168
49169 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49170 _PC_PIPE_BUF using F_GETPIPE_SZ.
49171
49172 2010-07-05 Roland McGrath <roland@redhat.com>
49173
49174 * manual/arith.texi (Rounding Functions): Fix rint description
49175 implicit in round description.
49176
49177 2010-07-02 Ulrich Drepper <drepper@redhat.com>
49178
49179 * elf/Makefile: Fix linking for a few tests to make recent linker
49180 happy.
49181
49182 2010-06-30 Andreas Schwab <schwab@redhat.com>
49183
49184 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49185 $(common-objpfx)libc_nonshared.a.
49186
49187 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
49188
49189 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49190 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49191 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49192 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49193 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49194 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49195 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49196 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49211 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49212 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49213 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49214 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49215 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49216 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49217 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49218 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49219 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49220 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49221 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49222 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49237
49238 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49239
49240 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49241 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49242 * string/memmove.c (memmove): Renamed to ...
49243 (MEMMOVE): ...this. Default to memmove.
49244 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49245 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49246 (END_CHK): Define.
49247 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49248 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49249 mempcpy-ssse3-back memmove-ssse3-back.
49250 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49251 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49252 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49253 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49254 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49255 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49256 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49257 * sysdeps/x86_64/multiarch/memmove.c: New file.
49258 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49259 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49260 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49261 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49262 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49263 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49264 Define.
49265 (index_Fast_Copy_Backward): Define.
49266 (HAS_ARCH_FEATURE): Define.
49267 (HAS_FAST_REP_STRING): Define.
49268 (HAS_FAST_COPY_BACKWARD): Define.
49269
49270 2010-06-21 Andreas Schwab <schwab@redhat.com>
49271
49272 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49273 Restore proper fallback handling.
49274
49275 2010-06-19 Ulrich Drepper <drepper@redhat.com>
49276
49277 [BZ #11701]
49278 * posix/group_member.c (__group_member): Correct checking loop.
49279
49280 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49281 OOM in getpwuid_r correctly. Return error number when the caller
49282 should return, otherwise -1.
49283 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49284 call returning > 0 value.
49285 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49286
49287 2010-06-07 Andreas Schwab <schwab@redhat.com>
49288
49289 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49290 libc_nonshared.a from targets in modules-names.
49291
49292 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49293
49294 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49295 requires it.
49296
49297 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
49298
49299 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49300 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49301 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49302 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49303
49304 2010-06-02 Andreas Schwab <schwab@redhat.com>
49305
49306 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49307
49308 2010-06-14 Ulrich Drepper <drepper@redhat.com>
49309
49310 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49311 and F_GETPIPE_SZ.
49312 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49313 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49314 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49315 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49316 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49317 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49318
49319 2010-06-14 Roland McGrath <roland@redhat.com>
49320
49321 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49322
49323 2010-06-07 Jakub Jelinek <jakub@redhat.com>
49324
49325 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49326 __REDIRECT followed by __THROW.
49327 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49328 * posix/getopt.h (getopt): Likewise.
49329
49330 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49331
49332 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49333 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49334 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49335 in AT_FLAGS.
49336 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49337 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49338
49339 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
49340
49341 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49342
49343 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49344
49345 [BZ #11640]
49346 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49347 Properly check family and model.
49348
49349 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49350
49351 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49352
49353 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
49354
49355 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49356
49357 2010-05-21 Ulrich Drepper <drepper@redhat.com>
49358
49359 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49360 symbol reference.
49361
49362 2010-05-19 Andreas Schwab <schwab@redhat.com>
49363
49364 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49365 symbol reference.
49366
49367 2010-05-21 Andreas Schwab <schwab@redhat.com>
49368
49369 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49370 and internal_recvmmsg.
49371 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49372 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49373 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49374 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49375
49376 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49377 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49378 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49379
49380 2010-05-20 Andreas Schwab <schwab@redhat.com>
49381
49382 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49383
49384 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
49385
49386 POWER7 optimizations.
49387 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49388 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49389
49390 2010-05-19 Ulrich Drepper <drepper@redhat.com>
49391
49392 * version.h: Update for 2.13 development version.
49393
49394 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
49395
49396 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49397 exceptions. Return 0.
49398
49399 2010-05-07 Roland McGrath <roland@redhat.com>
49400
49401 * elf/ldconfig.c (main): Add a const.
49402
49403 2010-05-06 Ulrich Drepper <drepper@redhat.com>
49404
49405 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49406 (args_options): Add no-idn option.
49407 (ahosts_keys_int): Add idn_flags to ai_flags.
49408 (parse_option): Handle 'i' option to clear idn_flags.
49409
49410 * malloc/malloc.c (_int_free): Possible race in the most recently
49411 added check. Only act on the data if no current modification
49412 happened.
49413
49414 See ChangeLog.17 for earlier changes.